Understanding the role of individual units in a deep neural network
Open accessAbstract
Deep neural networks excel at finding hierarchical representations that solve complex tasks over large datasets. How can we humans understand these learned representations? In this work, we present network dissection, an analytic framework to systematically identify the semantics of individual hidden units within image classification and image generation networks. First, we analyze a convolutional neural network (CNN) trained on scene classification and discover units that match a diverse set of object concepts. We find evidence that the network has learned many object classes that play crucial roles in classifying scene classes. Second, we use a similar analytic method to analyze a generative adversarial network (GAN) model trained to generate scenes. By analyzing changes made when small sets of units are activated or deactivated, we find that objects can be added and removed from the output scenes while adapting to the context. Finally, we apply our analytic framework to understanding adversarial attacks and to semantic image editing.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
A 'cat neuron' phenomenon has been found and is remarkably replicable across newer models and analyses.
“[41] famously found evidence of a ‘cat neuron’, a phenomenon that has been remarkably replicable across newer models and analyses [14,42,43]”
From Symbols and grounding in large language models (2023) · cites this paper as [42]
The Results (pp. 2–3) identify individual object-detector units, including an airplane detector, supporting the general phenomenon of neurons responsive to recognizable objects. The passages found do not identify a cat neuron specifically. The sentence attributes replication across newer models to other citations, not to this paper. (LLM, conf=0.78)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
Deep Residual Learning for Image Recognition
He, K., Zhang, X., Ren, S., & Sun, J. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.90 · Cited by 235,474 · see citing works
ImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155 · see citing works
A Unified Approach to Interpreting Model Predictions
Lundberg, S., & Lee, S.-I. (2017) · arXiv · doi:10.48550/arxiv.1705.07874 · Cited by 23,707 · see citing works
Unpaired image-to-image translation using cycle-consistent adversarial networks
Zhu, J.-Y., Park, T., Isola, P., & Efros, A. A. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.244 · Cited by 23,602 · see citing works
Self-citationTowards Evaluating the Robustness of Neural Networks
Carlini, N., & Wagner, D. (2017) · 2017 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp.2017.49 · Cited by 8,859 · see citing works
Show and tell: A neural image caption generator
Vinyals, O., Toshev, A., Bengio, S., & Erhan, D. (2015) · 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2015.7298935 · Cited by 6,318 · see citing works
Unified Perceptual Parsing for Scene Understanding
Xiao, T., Liu, Y., Zhou, B., Jiang, Y., & Sun, J. (2018) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-01228-1_26 · Cited by 2,201 · see citing works
Self-citationGeirhos, R., Rubisch, P., Michaelis, C., Bethge, M., Wichmann, F. A., & Brendel, W. (2018) · arXiv · doi:10.48550/arxiv.1811.12231 · Cited by 1,490 · cited 2× · see citing works
“(c) “Ski resort” accuracy when removing sets of units of different sizes analysis of the texture versus shape sensitivity of units using a stylization method based on (34).”
BackgroundMethodLearning to Generate Reviews and Discovering Sentiment
Radford, A., Jozefowicz, R., & Sutskever, I. (2017) · arXiv · doi:10.48550/arxiv.1704.01444 · Cited by 330 · cited 1× · see citing works
“Intriguingly, within state-of-the-art deep networks, it has been observed that many single units match human-interpretable concepts that were not explicitly taught to the network: units have been found to detect objects, parts, textures, tense, gender, context, and sentiment (1–7).”
Background
Flagged first, then by citations
Research works printed but not linked: 43
- [1]B. Zhou, A. Khosla, A. Lapedriza, A. Oliva, A. Torralba, Object detectors emerge in deep scene CNNs. arXiv:1412.6856 (22 December 2014). · arXiv
- [2]M. D. Zeiler, R. Fergus, 'Visualizing and understanding convolutional networks' in European Conference on Computer Vision (Springer, Berlin, Germany, 2014), pp. 818833.
- [3]A. Mahendran, A. Vedaldi, 'Understanding deep image representations by inverting them' in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (IEEE, New York, NY, 2015), pp. 5188-5196.
- [5]A. Bau et al. , Identifying and controlling important neurons in neural machine translation. https://openreview.net/pdf?id=H1z-PsR5KX. Accessed 24 August 2020.
- [6]A. Karpathy, J. Johnson, L. Fei-Fei, Visualizing and understanding recurrent networks. arXiv:1506.02078 (5 June 2015). · arXiv
- [8]Y. Bengio, A. Courville, P. Vincent, Representation learning: A review and new perspectives. IEEE Trans. Pattern Anal. Mach. Intelligence 35 , 1798-1828 (2013).
- [9]B. Zhou, D. Bau, A. Oliva, A. Torralba, Interpreting deep visual representations via network dissection. arXiv:1711.05611 (26 June 2018). · arXiv
- [10]D. Bau et al. , Gan dissection: Visualizing and understanding generative adversarial networks. https://openreview.net/pdf?id=Hyg X2C5FX. Accessed 24 August 2020.
- [11]Y. LeCun, Y. Bengio, 'Convolutional networks for images, speech, and time series' in The Handbook of Brain Theory and Neural Networks , M. A. Arbib, Ed. (MIT Press, Cambridge, MA, 1995), vol. 3361, pp. 255-258.
- [13]K. Simonyan, A. Zisserman, Very deep convolutional networks for large-scale image recognition. arXiv:1409.1556 (4 September 2014). · arXiv
- [14]I. Goodfellow et al. , 'Generative adversarial nets' in Advances in Neural Information Processing Systems (Curran Associates, Red Hook, NY, 2014), pp. 2672-2680.
- [17]P. Isola, J. Y . Zhu, T. Zhou, A. A. Efros, 'Image-to-image translation with conditional adversarial networks' in Proceedings of the IEEE conference on Computer Vision and Pattern Recognition (IEEE, New York, NY, 2017), pp. 1125-1134.
- [19]T. Karras, T. Aila, S. Laine, J. Lehtinen, Progressive growing of GANs for improved quality, stability, and variation. https://openreview.net/pdf?id=Hk99zCeAb. Accessed 24 August 2020.
- [21]T. Zhou, P. Krahenbuhl, M. Aubry, Q. Huang, A. A. Efros, 'Learning dense correspondence via 3D-guided cycle consistency' in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (IEEE, New York, NY, 2016), pp. 117-126.
- [22]R. C. Fong, A. Vedaldi, 'Interpretable explanations of black boxes by meaningful perturbation' in International Conference on Computer Vision (IEEE, New York, NY, 2017), pp. 3429-3437.
- [24]R. R. Selvaraju et al. , 'Grad-cam: Visual explanations from deep networks via gradient-based localization' in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (IEEE, New York, NY, 2017), pp. 618-626.
- [25]M. Sundararajan, A. Taly, Q. Yan, 'Axiomatic attribution for deep networks' in Proceedings of the 34th International Conference on Machine Learning (JMLR, 2017), vol. 70 , pp. 3319-3328.
- [26]D. Smilkov, N. Thorat, B. Kim, F. Vi´ egas, M. Wattenberg, Smoothgrad: Removing noise by adding noise. arXiv:1706.03825 (12 June 2017). · arXiv
- [27]V. Petsiuk, A. Das, K. Saenko, 'Rise: Randomized input sampling for explanation of black-box models' in British Machine Vision Conference (BMVA Press, Malvern, UK, 2018).
- [28]M. T. Ribeiro, S. Singh, C. Guestrin, 'Why should I trust you?: Explaining the predictions of any classifier' in Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (ACM, New York, NY, 2016), pp. 1135-1144.
- [29]B. Kim, J. Gilmer, F. Viegas, U. Erlingsson, M. Wattenberg, Interpretability beyond feature attribution: Quantitative testing with concept activation vectors (TCAV). arXiv:1711.11279 (7 June 2018). · arXiv
- [30]A. Koul, A. Fern, S. Greydanus, Learning finite state representations of recurrent policy networks. https://openreview.net/pdf?id=S1gOpsCctm. Accessed 24 August 2020.
- [31]L. A. Hendricks et al. , 'Generating visual explanations' in European Conference on Computer Vision (Springer, Berlin, Germany, 2016), pp. 3-19.
- [32]B. Zhou, A. Lapedriza, J. Xiao, A. Torralba, A. Oliva, 'Learning deep features for scene recognition using places database' in Advances in Neural Information Processing Systems (Curran Associates, Red Hook, NY, 2014), pp. 487-495.
- [35]J. Deng et al. , 'Imagenet: A large-scale hierarchical image database' in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (IEEE, New York, NY, 2009), pp. 248-255.
- [36]W. Wen, C. Wu, Y. Wang, Y. Chen, H. Li, 'Learning structured sparsity in deep neural networks' in Advances in Neural Information Processing Systems (Curran Associates, Red Hook, NY, 2016), pp. 2074-2082.
- [37]H. Li, A. Kadav, I. Durdanovic, H. Samet, H. P. Graf, Pruning filters for efficient convnets. https://openreview.net/pdf?id=rJqFGTslg. Accessed 24 August 2020.
- [38]A. S. Morcos, D. G. Barrett, N. C. Rabinowitz, M. Botvinick, On the importance of single directions for generalization. arXiv:1803.06959 (22 May 2018). · arXiv
- [39]B. Zhou, Y. Sun, D. Bau, A. Torralba, Revisiting the importance of individual units in CNNs via ablation. arXiv:1806.02891 (7 June 2018). · arXiv
- [40]A. Radford, L. Metz, S. Chintala, Unsupervised representation learning with deep convolutional generative adversarial networks. arXiv:1511.06434 (19 November 2015). · arXiv
- [41]J. Y. Zhu, P. Kr¨ ahenb ¨ uhl, E. Shechtman, A. A. Efros, 'Generative visual manipulation on the natural image manifold' in European Conference on Computer Vision (Springer, Berlin, Germany, 2016), pp. 597-613.
- [42]F. Yu et al. , LSUN: Construction of a large-scale image dataset using deep learning with humans in the loop. arXiv:1506.03365 (4 June 2016). · arXiv
- [43]C. Szegedy et al. , Intriguing properties of neural networks. arXiv:1312.6199 (21 December 2013). · arXiv
- [44]I. J. Goodfellow, J. Shlens, C. Szegedy, Explaining and harnessing adversarial examples. arXiv:1412.6572 (20 December 2014). · arXiv
- [46]A. Madry, A. Makelov, L. Schmidt, D. Tsipras, A. Vladu, Towards deep learning models resistant to adversarial attacks. https://openreview.net/pdf?id=rJzIBfZAb. Accessed 24 August 2020.
- [47]J. Rauber, W. Brendel, M. Bethge, Foolbox: A python toolbox to benchmark the robustness of machine learning models. arXiv:1707.04131 (20 March 2018). · arXiv
- [48]A. Ilyas et al. , Adversarial examples are not bugs, they are features. arXiv:1905.02175 (12 August 2019). · arXiv
- [49]X. Chen et al. , 'Infogan: Interpretable representation learning by information maximizing generative adversarial nets' in Advances in Neural Information Processing Systems (Curran Associates, Red Hook, NY, 2016), pp. 2172-2180.
- [50]I. Higgins et al. , β -vae: Learning basic visual concepts with a constrained variational framework. https://openreview.net/pdf?id=Sy2fzU9gl. Accessed 24 August 2020.
- [51]Q. Zhang, Y. Nian Wu, S. C. Zhu, Interpretable convolutional neural arXiv:1710.00935 (2 October 2017). · arXiv
- [52]A. Achille, S. Soatto, Emergence of invariance and disentanglement in deep representations. JMLR 19 , 1947-1980 (2018).
- [53]B. Zhou et al. , 'Scene parsing through ade20k dataset' in Computer Vision and Pattern Recognition (IEEE, 2017).
- [61]J. Van De Weijer, C. Schmid, J. Verbeek, D. Larlus, Learning color names for real-world applications. IEEE Trans. Image Process. 18 , 1512-1523 (2009).
Cited by
Sorted by citations
Explaining Deep Neural Networks and Beyond: A Review of Methods and Applications
Samek, W., Montavon, G., Lapuschkin, S., Anders, C. J., & Muller, K.-R. (2021) · Proceedings of the IEEE · doi:10.1109/jproc.2021.3060483 · Cited by 1,477 · see citing works
“Orthogonal to the quest for better and more holistic machine learning models, Explainable AI (XAI) [159], [73], [112], [128], [18] has developed as a subfield of machine learning that seeks to augment the training process, the learned representations and the decisions with human-interpretable explanations.”
BackgroundInfluentialLeichtmann, B., Humer, C., Hinterreiter, A., Streit, M., & Mara, M. (2023) · Computers in Human Behavior · doi:10.1016/j.chb.2022.107539 · Cited by 200 · see citing works
From attribution maps to human-understandable explanations through Concept Relevance Propagation
Achtibat, R., Dreyer, M., Eisenbraun, I., Bosse, S., Wiegand, T., Samek, W., & Lapuschkin, S. (2023) · Nature Machine Intelligence · doi:10.1038/s42256-023-00711-8 · Cited by 181 · see citing works
Toward an AI Era: Advances in Electronic Skins
Fu, X., Cheng, W., Wan, G., Yang, Z., & Tee, B. C. K. (2024) · Chemical Reviews · doi:10.1021/acs.chemrev.4c00049 · Cited by 172 · see citing works
Brain-like functional specialization emerges spontaneously in deep neural networks
Dobs, K., Martinez, J., Kell, A. J. E., & Kanwisher, N. (2022) · Science Advances · doi:10.1126/sciadv.abl8913 · Cited by 129 · see citing works
Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networks
Räuker, T., Ho, A., Casper, S., & Hadfield-Menell, D. (2023) · 2023 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML) · doi:10.1109/satml54575.2023.00039 · Cited by 122 · see citing works
Lu, L., Dercle, L., Zhao, B., & Schwartz, L. H. (2021) · Nature Communications · doi:10.1038/s41467-021-26990-6 · Cited by 104 · see citing works
Symbols and grounding in large language models
Pavlick, E. (2023) · Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences · doi:10.1098/rsta.2022.0041 · Cited by 95 · see citing works
“[41] famously found evidence of a ‘cat neuron’, a phenomenon that has been remarkably replicable across newer models and analyses [14,42,43] (albeit, some studies focus on dogs, not cats, but I hope the point still stands).”
ResultEmergent Linear Representations in World Models of Self-Supervised Sequence Models
Nanda, N., Lee, A., & Wattenberg, M. (2023) · Proceedings of the 6th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP · doi:10.18653/v1/2023.blackboxnlp-1.2 · Cited by 55 · see citing works
Marks, S., & Tegmark, M. (2023) · arXiv · doi:10.48550/arxiv.2310.06824 · Cited by 21 · see citing works
- Authors
- Bau, D., Zhu, J.-Y., Strobelt, H., Lapedriza, A., Zhou, B., & Torralba, A.
- Affiliations
- MIT Computer Science and Artificial Intelligence Laboratory (US)
- Adobe Systems (United States) (US)
- IBM (United States) (US)
- Media Lab, Massachusetts Institute of Technology, Cambridge, MA 02139;
- Chinese University of Hong Kong (HK)
- Venue
- Proceedings of the National Academy of Sciences
- Publisher
- National Academy of Sciences
- Published
- 2020-09
- Volume
- 117
- Issue
- 48
- Pages
- 30071-30078
- ISSN
- 0027-8424 (ISSN-L)
- 1091-6490
- PMC
- PMC7720226
- OpenAlex
- W3082665562
- Cited by
- 375
- References
- 9
- Citations by year
- 2026: 22 · 2025: 51 · 2024: 66 · 2023: 87 · 2022: 76 · 2021: 62 · 2020: 11
- FWCI
- 22.98
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- Proceedings of the National Academy of Sciences (publishedVersion)
- PubMed Central (publishedVersion)
- PubMed (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- DSpace@MIT (Massachusetts Institute of Technology) (submittedVersion, cc-by-nc)
- arXiv (Cornell University)
- Funders
- Defense Sciences Office, DARPA (FA8750-18- 413 C000)
- National Science Foundation (1524817, 1447476)
- University Grants Committee (24206219)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Generative Adversarial Networks and Image Synthesis
- Keywords
- deep neural network interpretability, convolutional neural networks, generative adversarial networks, scene classification, image generation, object concepts, adversarial attacks, semantic image editing, hierarchical representation
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review