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

Interpreting and Explaining Deep Models Visually

José Oramas M., Kaili Wang, Tinne Tuytelaars

Introduction

Deep Neural Networks (DNNs) have achieved remarkable success in complex visual tasks, yet they remain largely "black boxes." Understanding the logic behind their decisions is critical for trust and safety. Research in this area typically diverges into two paths: Interpretation, which seeks to understand the internal representations learned by the model (e.g., "What does this specific neuron detect?"), and Explanation, which aims to justify specific predictions (e.g., "Why was this image classified as a cat?").

Traditional interpretation methods often require labor-intensive manual inspection of thousands of filters or external datasets with fine-grained concept annotations (like pixel-wise masks for "fur" or "wheels"). This paper proposes a unified framework that automates the link between these two domains. By identifying a sparse set of "indicator" features directly from the original training data, the authors generate high-quality visual explanations without the need for expensive, manually annotated "concept" datasets.

Methodology: Bridging Interpretation and Explanation

The core of the proposed approach is a two-step pipeline that leverages mathematical sparsity to isolate the most influential internal components of a model.

1. Sparse Feature Identification (Interpretation)

Instead of analyzing every filter in a deep architecture, the authors employ a μ-Lasso formulation. This mathematical approach identifies a minimal, "sparse" set of internal filter responses that are most relevant to a specific class. By calculating a weight ($w$) for each filter, the system creates a unique signature for each category. For instance, the model might learn that a specific combination of filters represents the "ears" or "stripes" of a tiger cat.

2. Heatmap Generation (Explanation)

When presented with a new test image, the framework utilizes the previously identified class-specific weights. By combining the responses of these "important" filters with their relevance weights, the system generates a heatmap that highlights the specific image regions responsible for the classification. This ensures that the explanation is grounded in the model's actual internal logic rather than being a post-hoc approximation.

The proposed framework connects model interpretation (identifying relevant features from training data) with model explanation (generating heatmaps for specific predictions).

Experimental Evaluation

The authors evaluated their method using both synthetic and real-world datasets to ensure both objective accuracy and practical utility:

  • an8Flower: A synthetic dataset introduced by the authors where defining features are known a priori. This allows for the creation of "ground-truth" masks to quantitatively measure explanation accuracy using the Intersection over Union (IoU) metric.
  • ImageNet and Fashion 144k: Standard datasets used to demonstrate the "self-sufficient" nature of the method. The framework derives interpretations directly from the same data used to train the original model, removing the dependency on external labels.
Visualizations of the sparse 'indicator' features identified for various cat breeds in the ImageNet-Cats dataset, illustrating the model's internal representation of specific classes.

Key Insights and Results

The research highlights several critical findings for the field of XAI (Explainable AI):

  • Sparsity Matters: The use of Lasso regularization forces the model to select only the most relevant features. This results in explanations that are clearer and less noisy than those produced by dense methods, which may include irrelevant background information.
  • Closing the Loop: The authors argue that a valid explanation must be rooted in a solid interpretation of the model's internal features. By automating this link, they move away from qualitative "looks good" heatmaps toward a more rigorous understanding of model behavior.
  • Quantitative Performance: On the an8Flower benchmark, the method achieved an IoU of 22.5% to 23.2%, significantly outperforming popular baselines like Grad-CAM (17.5%) and Grad-CAM++ (15.6%).
  • Qualitative Clarity: Visualizations produced by this method offer a superior balance between detail and coverage. While some methods produce blurry heatmaps and others produce overly pixelated ones, this approach more accurately identifies the semantic components of objects.

Conclusion and Future Work

This research provides a promising framework for making deep learning models more transparent. By enforcing sparsity and re-using training data, the authors provide a way to generate objective justifications for DNN decisions.

However, several challenges remain. Future work will need to address the scalability of μ-Lasso selection to massive models with thousands of classes and deeper architectures, such as large-scale Transformers. Additionally, testing the "ground truth" accuracy of explanations on messy, real-world datasets remains a significant hurdle. Despite these limitations, the paper marks a significant step toward a unified theory of visual model interpretation and explanation.

Summary updated

BibTeX
@inproceedings{m2019interpreting,
  author = {José Oramas M. and Kaili Wang and Tinne Tuytelaars},
  title = {{Interpreting and Explaining Deep Models Visually}},
  booktitle = {BNAIC/BENELEARN},
  year = {2019},
}
Figure