[Paper Review] CLIP-Dissect: Automatic Description of Neuron Representations in Deep Vision Networks
CLIP-Dissect is a training-free, model-agnostic method that uses pre-trained vision-language models like CLIP to automatically describe the functional concepts of individual neurons in deep vision networks. It achieves state-of-the-art accuracy in labeling final-layer neurons and is over 10× faster than prior methods, enabling rapid analysis of all neurons in ResNet-50 in under 4 minutes.
In this paper, we propose CLIP-Dissect, a new technique to automatically describe the function of individual hidden neurons inside vision networks. CLIP-Dissect leverages recent advances in multimodal vision/language models to label internal neurons with open-ended concepts without the need for any labeled data or human examples. We show that CLIP-Dissect provides more accurate descriptions than existing methods for last layer neurons where the ground-truth is available as well as qualitatively good descriptions for hidden layer neurons. In addition, our method is very flexible: it is model agnostic, can easily handle new concepts and can be extended to take advantage of better multimodal models in the future. Finally CLIP-Dissect is computationally efficient and can label all neurons from five layers of ResNet-50 in just 4 minutes, which is more than 10 times faster than existing methods. Our code is available at https://github.com/Trustworthy-ML-Lab/CLIP-dissect. Finally, crowdsourced user study results are available at Appendix B to further support the effectiveness of our method.
Motivation & Objective
- To address the limitations of existing neuron interpretation methods that require expensive, human-annotated datasets for concept detection.
- To enable automatic, open-ended labeling of neuron representations without relying on fixed concept sets or pixel-level annotations.
- To develop a computationally efficient and flexible method that can scale to large models and adapt to future multimodal models.
- To uncover structural insights about neural network representations, such as the relationship between weight magnitude and concept similarity.
Proposed method
- CLIP-Dissect leverages pre-trained CLIP models to embed input images and neuron activation patterns into a shared text-image embedding space.
- For each neuron, it identifies the top-activating images and uses CLIP to generate open-ended textual descriptions of the neuron’s function.
- It computes similarity between the CLIP-embedded neuron activation patterns and CLIP-embedded text prompts to find the most semantically aligned concept labels.
- The method is entirely inference-based and does not require fine-tuning or training data, making it model-agnostic and scalable.
- It uses top-k activation statistics to select representative images per neuron, ensuring robustness to noise and outliers.
- The approach is extensible to new concepts and can be enhanced with better vision-language models as they become available.
Experimental results
Research questions
- RQ1Can a vision-language model like CLIP be used to automatically describe neuron functions without any labeled data or human-annotated concepts?
- RQ2How does CLIP-Dissect compare in accuracy to existing methods like Network Dissection and MILAN when labeling final-layer neurons with known ground-truth concepts?
- RQ3To what extent does the magnitude of connection weights correlate with the semantic similarity of neuron concepts in deep networks?
- RQ4Can CLIP-Dissect detect concepts that are missing from traditional probing datasets like Broden?
- RQ5How computationally efficient is CLIP-Dissect compared to existing neuron interpretation techniques?
Key findings
- CLIP-Dissect achieves higher accuracy than Network Dissection and MILAN in labeling final-layer neurons, where ground-truth labels are available.
- The method labels all neurons in five layers of ResNet-50 in just 4 minutes, which is more than 10× faster than existing methods.
- A strong correlation (r = 0.258, p < 10−300) exists between the magnitude of weights connecting neurons and the semantic similarity of their encoded concepts.
- Neurons connected by high weights tend to represent very similar concepts, suggesting that final-layer representations are already highly localized and semantically coherent.
- The method successfully detects concepts not present in the Broden dataset, demonstrating its ability to generalize beyond fixed concept sets.
- CLIP-Dissect enables new insights into network architecture, such as the observation that high-weight connections often link neurons encoding similar concepts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.