NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Visual Explanation by Interpretation: Improving Visual Feedback Capabilities of Deep Neural Networks

José Oramas M., Kaili Wang, Tinne Tuytelaars

Deep Neural Networks (DNNs) have achieved remarkable success across a variety of complex tasks, yet they largely remain "black boxes." When a model classifies an image, understanding exactly which internal neurons or features drove that decision is notoriously difficult. This paper bridges the gap between interpretation (understanding what a model has learned globally) and explanation (understanding why it made a specific local prediction) by introducing a novel pipeline that automatically identifies relevant internal filters and visualizes them without common distortion artifacts.

The Problem with Peeking Inside the Black Box

Existing tools designed to peek inside neural networks suffer from several significant drawbacks:

  1. Subjectivity: Manually inspecting thousands of filters to determine their purpose is exhausting and highly prone to human bias.
  2. Annotation Cost: Some explanation methods require expensive, pixel-level ground-truth labels to verify what a neuron is actually "seeing."
  3. Visual Artifacts: Popular visualization techniques often produce poor-quality images. For instance, simple up-scaled activation maps are frequently too blurry to be useful. Conversely, gradient-based methods like DeconvNet often produce severe "checkerboard" or grid-like noise due to strided operations in the network.
Grid-like artifacts in standard DeconvNet and Guided Backpropagation

The authors aim to overcome these hurdles by providing high-resolution, artifact-free visual feedback that highlights exactly which parts of an image—and which internal concepts—led to a specific prediction.

A Two-Stage Pipeline for Clearer Explanations

To generate better visual feedback, the proposed method utilizes a two-stage pipeline:

1. Identifying Relevant Features ($\mu$-lasso)

The authors hypothesize that only a small subset of a network's filters are actually important for identifying any given class. Instead of looking at the whole network, they extract activations from all layers (both convolutional and fully connected) and apply a $\mu$-lasso optimization.

This mathematical approach identifies a sparse set of filters that can linearly predict the class label. By doing this, the system can isolate the specific logic for a class—for example, determining that out of thousands of filters, only a specific set of 10 are crucial for identifying a "Siamese Cat."

2. Generating High-Quality Visual Feedback

Once the relevant filters are identified, they must be visualized. The authors use a modified version of DeconvNet and Guided Backpropagation, introducing a key innovation: artifact attenuation.

Standard backpropagation through strided layers creates the aforementioned grid-like noise. The authors fix this by setting the stride to 1 during the backward pass and using nearest-neighbor interpolation to resample the input to the correct size. This results in much cleaner, more detailed heatmaps that accurately reflect the filter's "receptive field" without the distracting noise.

The proposed method generates clean, artifact-free visualizations across different network layers

Key Insights and Results

The paper evaluates this method across diverse datasets, including MNIST, ImageNet, Fashion144k, and a newly introduced synthetic dataset called an8Flower, which strictly controls discriminative features (like color vs. shape) to provide an objective "ground truth" for explanations.

  • The Power of Sparsity: You don't need the whole network to explain a class. A very small number of filters (controlled by the $\mu$ parameter) are sufficient to reconstruct the model's logic. Furthermore, ablation studies proved that when these specific $\mu$-lasso-identified filters were removed, the model's accuracy plummeted compared to removing random filters, confirming the method successfully finds the "engine room" of the model.
  • Beyond Convolutions: Unlike many visualization methods that only work on convolutional layers, this method can incorporate and visualize features from Fully Connected (FC) layers, which often encode more abstract, high-level semantic information.
  • Context Matters: The visualizations reveal that models often rely on "extrinsic" features—like the grass under a leopard or the sky behind a castle—to make predictions, rather than just the object itself.
  • Quantitative Superiority: On the an8Flower benchmark, the proposed method achieved a higher Intersection over Union (IoU) with ground-truth masks (22.5% - 23.2%) compared to state-of-the-art methods like Grad-CAM (approx. 14.8% - 17.5%).

Limitations and Future Directions

While powerful, the method does have limitations. Unlike "plug-and-play" methods like Grad-CAM that work instantly on any image, this approach requires a one-time training phase (the $\mu$-lasso optimization) to identify relevant filters for each class. Additionally, the sparsity parameter $\mu$ requires careful tuning: set it too low, and you miss important features; set it too high, and the explanation becomes cluttered and computationally expensive.

Ultimately, the paper successfully demonstrates that by identifying relevant filters first, we can use global interpretation to power much more accurate and visually coherent local explanations. As the community develops more robust visualization techniques, they can be easily swapped into this framework to provide even deeper insights into the minds of neural networks.

Summary updated

BibTeX
@inproceedings{m2019visual,
  author = {José Oramas M. and Kaili Wang and Tinne Tuytelaars},
  title = {{Visual Explanation by Interpretation: Improving Visual Feedback Capabilities of Deep Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=rWBwM5Uo-vB},
}
Figure