Reproduce “Universal Neurons in GPT2 Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Wes Gurnee, Theo Horsley, Zifan Carl Guo, Tara Rezaei Kheirkhah, Qinyi Sun, Will Hathaway, Neel Nanda, Dimitris Bertsimas
Researchers from MIT and Cambridge investigated neuron universality in GPT2 language models, finding that a small percentage (1-5%) of neurons consistently activate for the same features across different random initializations. These universal neurons exhibit distinct statistical properties and perform specific functions, including predicting and suppressing tokens, modulating prediction entropy, and deactivating attention heads.
Key insights
- Only a small fraction (1-5%) of individual neurons achieve universality across models trained with different random seeds, suggesting that universality at the individual neuron level is rare but present in interpretable components.
- Universal neurons possess distinct statistical characteristics, such as higher weight norms, lower activation frequency, and high skew/kurtosis in their pre-activations, indicating specialized and often monosemantic roles.
- Beyond feature detection, universal neurons perform abstract functional roles, including promoting or suppressing sets of tokens (prediction/suppression neurons), modulating model uncertainty by influencing LayerNorm scale (entropy neurons), and controlling attention heads (attention deactivation neurons).
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.