Abstract
Deep Neural Networks (DNNs) are often criticized as "black boxes" due to their lack of interpretability. This paper proposes a "network flow" perspective, treating neural networks as plumbing systems where information flows through specific "class-pathways." By analyzing these pathways, the researchers provide a structural explanation for classification errors and a method for network pruning.
Introduction
Despite the widespread success of DNNs, understanding the internal mechanisms behind their decisions remains a challenge. Current visualization techniques often focus on local features or saliency maps, which do not explain global structural behavior. This research aims to bridge the gap by defining a "map" of how information for different classes flows through the network, allowing us to see why a model might confuse similar inputs.
Methods
The core methodology relies on a "water flow" metaphor where neurons are containers and weights are pipelines. Utilizing the ReLU activation function—which acts like a valve—only a subset of neurons is activated for any given class. The sequence of these activated nodes from input to output forms a "class-pathway."
To handle complex architectures like Convolutional Neural Networks (CNNs), the authors simplify convolutional operations into an MLP-like structure by averaging kernel values and feature maps, effectively mapping feature maps to individual nodes.
Experimental Setup
The approach was evaluated using the MNIST dataset. To analyze model errors more effectively, the researchers created an "enlarged" test set of 70,000 samples by adding random noise to the original data, inducing more frequent misclassifications for structural analysis.
Key Insights: Structural Confusion
A key finding is that ReLU is essential for creating sparsity. Much like biological neurons, ReLU ensures that only a small percentage of the network is active at any time, creating distinct pathways. The authors discovered that classification errors are structural: if the geometric distance between the pathways of two classes (e.g., '3' and '8') is small, the model is statistically more likely to confuse them.
Results and Optimization
The "class-pathway" distance proved to be a strong predictor of behavior. In MLP experiments, the four classes with the closest pathways to a target accounted for over 80.76% of misclassifications. For CNNs, the top five closest pathways accounted for 86.52% of errors.
Furthermore, the authors developed an importance measure ($V_{neu}$) by summing node values across all classes. This allowed for effective pruning; for an MLP with layers of 784-600-600-10, they could remove significant numbers of nodes from hidden layers without impacting accuracy, identifying "lazy" neurons that contributed little to any pathway.
Conclusion and Future Work
While the network flow perspective offers powerful insights into model interpretability and optimization, it currently relies on simplifications for CNNs that might omit spatial nuances. Future research will explore the scalability of this method to larger architectures like ResNets and its applicability in explaining adversarial examples.
Summary updated