English

N2G: A Scalable Approach for Quantifying Interpretable Neuron Representations in Large Language Models

Machine Learning 2023-04-26 v1

Abstract

Understanding the function of individual neurons within language models is essential for mechanistic interpretability research. We propose Neuron to Graph (N2G)\textbf{Neuron to Graph (N2G)}, a tool which takes a neuron and its dataset examples, and automatically distills the neuron's behaviour on those examples to an interpretable graph. This presents a less labour intensive approach to interpreting neurons than current manual methods, that will better scale these methods to Large Language Models (LLMs). We use truncation and saliency methods to only present the important tokens, and augment the dataset examples with more diverse samples to better capture the extent of neuron behaviour. These graphs can be visualised to aid manual interpretation by researchers, but can also output token activations on text to compare to the neuron's ground truth activations for automatic validation. N2G represents a step towards scalable interpretability methods by allowing us to convert neurons in an LLM to interpretable representations of measurable quality.

Keywords

Cite

@article{arxiv.2304.12918,
  title  = {N2G: A Scalable Approach for Quantifying Interpretable Neuron Representations in Large Language Models},
  author = {Alex Foote and Neel Nanda and Esben Kran and Ionnis Konstas and Fazl Barez},
  journal= {arXiv preprint arXiv:2304.12918},
  year   = {2023}
}

Comments

To be published at ICLR 2023 Workshop on Trustworthy and Reliable Large-Scale Machine Learning Models

R2 v1 2026-06-28T10:17:23.896Z