Identifying Interpretable Subspaces in Image Representations

Neha Kalibhat, Shweta Bhardwaj, C. Bayan Bruss, Hamed Firooz, Maziar Sanjabi, Soheil Feizi

Introduction

Deep learning models, particularly convolutional neural networks (CNNs) and vision transformers, have achieved remarkable performance across various tasks. However, they remain largely "black boxes," where the internal logic driving specific predictions is opaque. Traditional interpretability research has focused on saliency maps—heatmaps indicating which pixels influence a decision—but these often require subjective human interpretation and fail to provide semantic context. Furthermore, existing text-based explanation methods often assume a "one-neuron-one-concept" mapping. In reality, individual neurons are frequently polysemantic, responding to multiple unrelated stimuli, which makes them appear uninterpretable when viewed in isolation.

This paper introduces FALCON (Automatic Feature Explanation using Contrasting Concepts), a framework designed to automatically translate internal neural network features into human-readable concepts. By shifting the focus from individual neurons to interpretable subspaces and employing a novel contrastive filtering mechanism, FALCON reveals that much of the "noise" in neural representations actually encodes robust, identifiable concepts.

The FALCON Framework

FALCON automates the explanation process by leveraging the massive scale of vision-language models like CLIP and the LAION-400m dataset. The pipeline consists of four primary stages:

  1. Feature Cropping: To understand what a specific feature (or neuron) is detecting, the system identifies images from a dataset that trigger high activations for that feature. Using GradCAM, FALCON isolates the specific spatial regions responsible for the activation and crops them to focus the analysis.
  2. Automated Captioning: Rather than relying on a fixed, manually annotated vocabulary, FALCON uses CLIP to find the top five captions from the LAION-400m dataset that best match the cropped image features in a shared embedding space. This provides a vast and flexible vocabulary for descriptions.
  3. Contrastive Interpretation: A significant challenge in automated explanation is the presence of "spurious" concepts—generic terms like "photo" or "background" that appear in many captions but do not define the feature's specific function. FALCON introduces a contrastive filtering step: it identifies concepts present in lowly activating images (images that look similar but do not trigger the feature) and discards them. This leaves only the "discriminative" concepts that uniquely define the feature’s behavior.
  4. Subspace Discovery: The authors observe that while fewer than 20% of individual neurons are easily interpretable, clear concepts often emerge when looking at subspaces—groups of features that fire together. By analyzing these ensembles, FALCON can identify complex concepts (e.g., "coral reef") that are represented across multiple "noisy" neurons.

Key Insights and Results

The Polysemantic Trap and Subspace Robustness

The research highlights that interpretability is not a property of single neurons but of the subspaces they inhabit. Features that appear as noise individually often represent coherent, human-understandable concepts when studied in combination. This suggests that previous attempts to interpret models may have underestimated their internal logic by focusing on too narrow a scale.

Universal Representations

A compelling finding of this work is the evidence for "Universal Representations." The authors demonstrate that a simple linear transformation can map explanations from a known model (e.g., SimCLR) to a completely different, unseen model (e.g., MoCo). This suggests that different models, regardless of their specific training objectives or architectures, tend to converge toward a shared semantic understanding of the visual world.

Quantitative and Qualitative Validation

FALCON was evaluated against state-of-the-art baselines like MILAN and Net-Dissect. In human preference studies conducted via Amazon Mechanical Turk, participants preferred FALCON’s explanations 86.4% of the time. Quantitatively, the framework achieved a precision of 0.86 and a recall of 0.84 for its top suggested concepts, demonstrating high alignment with human intuition.

Model Debugging

Beyond mere explanation, FALCON serves as a diagnostic tool. In one instance, the framework revealed why a model misclassified a "Goose" as a "Wing." FALCON identified that the model was over-indexing on the "triangular shape" and the "sky" background rather than the biological features of the bird, allowing researchers to pinpoint the specific representational failure.

Limitations and Future Work

While FALCON represents a significant step forward, it is currently limited by the "vocabulary" of the underlying vision-language model (CLIP). If CLIP has not learned a specific niche concept, FALCON cannot extract it. Future applications in specialized fields, such as medical imaging or satellite analysis, will require the integration of domain-specific models like MedCLIP. Additionally, while the framework explains visual features using text, the inverse problem—how language models internally represent these concepts—remains a fertile ground for future research.

Conclusion

FALCON provides a scalable, automated, and highly accurate method for peering into the internal representations of deep learning models. By moving beyond the single-neuron paradigm and utilizing contrastive filtering, it demonstrates that neural networks are far more interpretable than previously thought, provided we look at the right subspaces.

Summary updated

BibTeX
@inproceedings{kalibhat2023identifying,
  author = {Neha Kalibhat and Shweta Bhardwaj and C. Bayan Bruss and Hamed Firooz and Maziar Sanjabi and Soheil Feizi},
  title = {{Identifying Interpretable Subspaces in Image Representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=5YUyJYElAc},
}
Figure