On the limits of neural network explainability via descrambling
Shashank Sule, Richard G. Spencer, Wojciech Czaja
TL;DR
The paper investigates neural network descrambling as a rigorous method for explaining trained weights by applying descramblers on layer preactivations to minimize an explainability loss. It builds a theoretical bridge between the smoothness-based descrambling objective and the Brockett cost, showing that, in the large-data limit, optimal descramblers converge to $P \to T U^{\top}$, where $T$ and $U$ come from the eigen- and singular-value decompositions of relevant matrices. The authors develop results for general settings and specialized cases, including isotropic data, SMG linear networks, and CNNs, and demonstrate that eigendecompositions can recover interpretable motifs such as notch filters and Chebyshev bases, aligning with practical observations in DEERNet experiments. They also discuss non-uniqueness of descramblers and propose practical computation strategies, highlighting the potential of SVD-based explainability for operator-learning and physics-informed NNs. Overall, the work advances a spectral, mathematically grounded view of NN explainability and identifies concrete directions for extending the framework to broader loss functions and symmetry groups.
Abstract
We characterize the exact solutions to neural network descrambling--a mathematical model for explaining the fully connected layers of trained neural networks (NNs). By reformulating the problem to the minimization of the Brockett function arising in graph matching and complexity theory we show that the principal components of the hidden layer preactivations can be characterized as the optimal explainers or descramblers for the layer weights, leading to descrambled weight matrices. We show that in typical deep learning contexts these descramblers take diverse and interesting forms including (1) matching largest principal components with the lowest frequency modes of the Fourier basis for isotropic hidden data, (2) discovering the semantic development in two-layer linear NNs for signal recovery problems, and (3) explaining CNNs by optimally permuting the neurons. Our numerical experiments indicate that the eigendecompositions of the hidden layer data--now understood as the descramblers--can also reveal the layer's underlying transformation. These results illustrate that the SVD is more directly related to the explainability of NNs than previously thought and offers a promising avenue for discovering interpretable motifs for the hidden action of NNs, especially in contexts of operator learning or physics-informed NNs, where the input/output data has limited human readability.
