Abstract
Deep learning models, particularly Convolutional Neural Networks (CNNs), are notoriously difficult to interpret due to their complex, distributed representations. This paper proposes "Architecture Decoupling," a novel framework that transforms a standard CNN into a dynamic network where each input image activates a specific "calculation path" or subset of filters. By utilizing an Architecture Controlling Module (ACM) and a multi-objective loss function, the method encourages semantic sparsity and path-level distinctness. Experimental results on ImageNet and BRODEN datasets demonstrate that decoupled networks are not only more interpretable but also more computationally efficient and resilient to adversarial attacks.
Introduction: The Interpretability Gap
Standard CNNs typically apply every filter in every layer to every input image. This "one-size-fits-all" approach makes it challenging to isolate the specific logic used to classify different objects. Existing interpretability methods often struggle between two extremes: analyzing individual filters (which may only capture low-level features) or treating the entire network as a single unit (which is too coarse-grained).
The authors argue that a network's true "working rationale" lies in the specific combination of filters used for a task. By decoupling the architecture, they force the network to select a unique subset of filters for every input, creating a visible and interpretable calculation path.
Methodology
The core of the proposed method is the Architecture Controlling Module (ACM), which is integrated into each layer of a standard CNN.
Architecture Controlling Module (ACM)
For each input $X^i$ at layer $i$, the ACM generates a binary gating vector $\mathbf{z}^i$. This vector acts as a filter selector, turning specific convolutional filters on or off. This process effectively creates a custom "sub-architecture" tailored to the specific input image. To overcome the non-differentiability of discrete gating, the authors employ an "Improved SemHash" technique, allowing for stable end-to-end training via backpropagation.
Three-Pronged Loss Function
To guide the decoupling process, the training objective includes three specialized loss terms:
- Mutual Information Loss ($L_{mi}$): Maximizes the correlation between the selected calculation path and the input's ground-truth category.
- KL-Divergence Loss ($L_{kl}$): Encourages filters to specialize in specific semantic concepts, preventing them from becoming redundant "jacks-of-all-trades."
- Sparse Loss ($L_s$): Penalizes the use of excessive filters, forcing the network to find the most efficient path possible.
Experimental Evaluation
The researchers evaluated the decoupled architectures across several benchmarks, including CIFAR-10/100, ImageNet 2012, and the BRODEN dataset.
Interpretability and Efficiency
On the BRODEN dataset, which matches filter activations to human-labeled concepts, the decoupled ResNet-18 achieved interpretability scores 1.2× to 2× higher than the baseline. Furthermore, the sparsity induced by the ACM led to a 2.03× reduction in FLOPs on ImageNet with minimal accuracy loss, outperforming traditional static pruning methods.
Security and Adversarial Robustness
A unique benefit of calculation paths is their utility in security. The authors found that even when an adversarial attack successfully changes a model's final prediction, the underlying calculation path often remains distinct from that of the target class. Using these paths as "fingerprints," they achieved an AUC of up to 0.953 in detecting adversarial samples.
Analysis: Filter Dynamics
The study identifies three distinct states for filters in a decoupled network:
- Energetic Filters: These are almost always active and typically capture fundamental low-level features like edges and textures.
- Silent Filters: These remain inactive across most inputs, representing redundant parameters that can be pruned.
- Dynamic Filters: These are input-dependent and typically emerge in deeper layers to handle high-level semantic features.
Conclusion
Interpretable Neural Network Decoupling offers a promising path toward transparent and efficient AI. By shifting the focus from individual neurons to dynamic calculation paths, the method provides a clearer view of a model's internal logic while simultaneously improving performance and security. Future work may extend this approach to other architectures, such as Transformers, or explore its application in unsupervised learning environments.
Summary updated