Neuron to Graph: Interpreting Language Model Neurons at Scale
Not on the map. Why?
Abstract (arXiv)
Advances in Large Language Models (LLMs) have led to remarkable capabilities, yet their inner mechanisms remain largely unknown. To understand these models, we need to unravel the functions of individual neurons and their contribution to the network. This paper introduces a novel automated approach designed to scale interpretability techniques across a vast array of neurons within LLMs, to make them more interpretable and ultimately safe. Conventional methods require examination of examples with strong neuron activation and manual identification of patterns to decipher the concepts a neuron responds to. We propose Neuron to Graph (N2G), an innovative tool that automatically extracts a neuron's behaviour from the dataset it was trained on and translates it into an interpretable graph. N2G uses truncation and saliency methods to emphasise only the most pertinent tokens to a neuron while enriching dataset examples with diverse samples to better encompass the full spectrum of neuron behaviour. These graphs can be visualised to aid researchers' manual interpretation, and can generate token activations on text for automatic validation by comparison with the neuron's ground truth activations, which we use to show that the model is better at predicting neuron activation than two baseline methods. We also demonstrate how the generated graph representations can be flexibly used to facilitate further automation of interpretability research, by searching for neurons with particular properties, or programmatically comparing neurons to each other to identify similar neurons. Our method easily scales to build graph representations for all neurons in a 6-layer Transformer model using a single Tesla T4 GPU, allowing for wide usability. We release the code and instructions for use at https://github.com/alexjfoote/Neuron2Graph.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 18 of its 29 references that are in the map. First posted on arXiv 31 May 2023.
Builds on
18 of 29 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2016Concrete Problems in AI Safetycited by 1,642
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2022Toy Models of Superpositioncited by 971
- 2022In-context Learning and Induction Headscited by 964
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2021Unsolved Problems in ML Safetycited by 292
- 2020Compositional Explanations of Neuronscited by 172
- 2017Learning to Generate Reviews and Discovering Sentimentcited by 148
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
6 more
- 2018Identifying and Controlling Important Neurons in Neural Machine Translationcited by 111
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2021An Interpretability Illusion for BERTcited by 97
- 2020Intrinsic Probing through Dimension Selectioncited by 45
- 2018Interpretable Textual Neuron Representations for NLPcited by 16
- 2023System III: Learning with Domain Knowledge for Safety Constraintscited by 2
Built on by
Citing papers per year: 2023: 5; 2024: 8; 2025: 9; 2026: 5.
27 papers.
Sort:
By area:
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 76
- 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoderscited by 27
- 2024Disentangling Dense Embeddings with Sparse Autoencoderscited by 23
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
- 2024Data Attribution for Text-to-Image Models by Unlearning Synthesized Imagescited by 22
- 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoderscited by 21
- 2023Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Modelscited by 15
- 2025Hidden Breakthroughs in Language Model Trainingcited by 15
- 2023In-Context Learning Dynamics with Random Binary Sequencescited by 13
- 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactionscited by 12
15 more
- 2025Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencodercited by 12
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2023Unpacking the Ethical Value Alignment in Big Modelscited by 9
- 2025Discovering Influential Neuron Path in Vision Transformerscited by 7
- 2023Interpreting Learned Feedback Patterns in Large Language Modelscited by 4
- 2025Deceptive Automated Interpretability: Language Models Coordinating to Fool Oversight Systemscited by 3
- 2025Semantic Convergence: Investigating Shared Representations Across Scaled LLMscited by 3
- 2026Step-Level Sparse Autoencoder for Reasoning Process Interpretationcited by 3
- 2023DeepDecipher: Accessing and Investigating Neuron Activation in Large Language Modelscited by 2
- 2024Tackling Polysemanticity with Neuron Embeddingscited by 2
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligencecited by 2
- 2026ADAG: Automatically Describing Attribution Graphscited by 1
- 2025Self-Ablating Transformers: More Interpretability, Less Sparsitycited by 0
- 2026Discovering Implicit Large Language Model Alignment Objectivescited by 0
- 2026Understanding Large Language Modelscited by 0
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence12 Aug 2026
- 2026Understanding Large Language Models1 Jul 2026
- 2026ADAG: Automatically Describing Attribution Graphs8 Apr 2026
- 2026Step-Level Sparse Autoencoder for Reasoning Process Interpretation3 Mar 2026
- 2026Discovering Implicit Large Language Model Alignment Objectives17 Feb 2026
- 2025Semantic Convergence: Investigating Shared Representations Across Scaled LLMs21 Jul 2025
- 2025Hidden Breakthroughs in Language Model Training18 Jun 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Self-Ablating Transformers: More Interpretability, Less Sparsity1 May 2025
- 2025Deceptive Automated Interpretability: Language Models Coordinating to Fool Oversight Systems10 Apr 2025
- 2025Discovering Influential Neuron Path in Vision Transformers12 Mar 2025
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models7 Mar 2025
15 more
- 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoders21 Feb 2025
- 2025Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencoder19 Feb 2025
- 2024Tackling Polysemanticity with Neuron Embeddings12 Nov 2024
- 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoders9 Oct 2024
- 2024Disentangling Dense Embeddings with Sparse Autoencoders1 Aug 2024
- 2024Data Attribution for Text-to-Image Models by Unlearning Synthesized Images13 Jun 2024
- 2024Scaling and evaluating sparse autoencoders6 Jun 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agenda15 Apr 2024
- 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactions23 Feb 2024
- 2023Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Models7 Nov 2023
- 2023In-Context Learning Dynamics with Random Binary Sequences26 Oct 2023
- 2023Unpacking the Ethical Value Alignment in Big Models26 Oct 2023
- 2023Interpreting Learned Feedback Patterns in Large Language Models12 Oct 2023
- 2023DeepDecipher: Accessing and Investigating Neuron Activation in Large Language Models3 Oct 2023
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 76
- 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoderscited by 27
- 2024Disentangling Dense Embeddings with Sparse Autoencoderscited by 23
- 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoderscited by 21
- 2023Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Modelscited by 15
- 2025Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencodercited by 12
- 2025Deceptive Automated Interpretability: Language Models Coordinating to Fool Oversight Systemscited by 3
- 2025Semantic Convergence: Investigating Shared Representations Across Scaled LLMscited by 3
- 2025Semantic Convergence: Investigating Shared Representations Across Scaled LLMs21 Jul 2025
- 2025Deceptive Automated Interpretability: Language Models Coordinating to Fool Oversight Systems10 Apr 2025
- 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Models7 Mar 2025
- 2025Interpreting and Steering LLMs with Mutual Information-based Explanations on Sparse Autoencoders21 Feb 2025
- 2025Diversity-driven Data Selection for Language Model Tuning through Sparse Autoencoder19 Feb 2025
- 2024Quantifying Feature Space Universality Across Large Language Models via Sparse Autoencoders9 Oct 2024
- 2024Disentangling Dense Embeddings with Sparse Autoencoders1 Aug 2024
- 2024Scaling and evaluating sparse autoencoders6 Jun 2024
- 2024Mechanistic Interpretability for AI Safety -- A Review22 Apr 2024
- 2023Towards Interpretable Sequence Continuation: Analyzing Shared Circuits in Large Language Models7 Nov 2023
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agendacited by 22
- 2025Hidden Breakthroughs in Language Model Trainingcited by 15
- 2023In-Context Learning Dynamics with Random Binary Sequencescited by 13
- 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactionscited by 12
- 2023Unpacking the Ethical Value Alignment in Big Modelscited by 9
- 2025Discovering Influential Neuron Path in Vision Transformerscited by 7
- 2023DeepDecipher: Accessing and Investigating Neuron Activation in Large Language Modelscited by 2
- 2024Tackling Polysemanticity with Neuron Embeddingscited by 2
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligencecited by 2
- 2026ADAG: Automatically Describing Attribution Graphscited by 1
- 2025Self-Ablating Transformers: More Interpretability, Less Sparsitycited by 0
- 2026Understanding Large Language Modelscited by 0
- 2026Mechanist: AI as a Scientific Instrument for Discovering the Mechanisms of Intelligence12 Aug 2026
- 2026Understanding Large Language Models1 Jul 2026
- 2026ADAG: Automatically Describing Attribution Graphs8 Apr 2026
- 2025Hidden Breakthroughs in Language Model Training18 Jun 2025
- 2025Self-Ablating Transformers: More Interpretability, Less Sparsity1 May 2025
- 2025Discovering Influential Neuron Path in Vision Transformers12 Mar 2025
- 2024Tackling Polysemanticity with Neuron Embeddings12 Nov 2024
- 2024Explainable Generative AI (GenXAI): A Survey, Conceptualization, and Research Agenda15 Apr 2024
- 2024Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactions23 Feb 2024
- 2023In-Context Learning Dynamics with Random Binary Sequences26 Oct 2023
- 2023Unpacking the Ethical Value Alignment in Big Models26 Oct 2023
- 2023DeepDecipher: Accessing and Investigating Neuron Activation in Large Language Models3 Oct 2023