Interpretable Next-token Prediction via the Generalized Induction Head
Not on the map. Why?
Abstract (arXiv)
While large transformer models excel in predictive performance, their lack of interpretability restricts their usefulness in high-stakes domains. To remedy this, we propose the Generalized Induction-Head Model (GIM), an interpretable model for next-token prediction inspired by the observation of "induction heads" in LLMs. GIM is a retrieval-based module that identifies similar sequences in the input context by combining exact n-gram matching and fuzzy matching based on a neural similarity metric. We evaluate GIM in two settings: language modeling and fMRI response prediction. In language modeling, GIM improves next-token prediction by up to 25%p over interpretable baselines, significantly narrowing the gap with black-box LLMs. In an fMRI setting, GIM improves neural response prediction by 20% and offers insights into the language selectivity of the brain. GIM represents a significant step toward uniting interpretability and performance across domains. The code is available at https://github.com/ejkim47/generalized-induction-head.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 44 of its 95 references that are in the map. First posted on arXiv 31 Oct 2024.
Builds on
44 of 95 references.
References · 44
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2016Concrete Problems in AI Safetycited by 1,642
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2018Sanity Checks for Saliency Mapscited by 1,156
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2016Bag of Tricks for Efficient Text Classificationcited by 876
32 more
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 761
- 2020Artificial Intelligence, Values and Alignmentcited by 448
- 2021Interpretable Machine Learning: Fundamental Principles and 10 Grand Challengescited by 367
- 2016European Union regulations on algorithmic decision-making and a "right to explanation"cited by 344
- 2022Language in a Bottle: Language Model Guided Concept Bottlenecks for Interpretable Image Classificationcited by 312
- 2023Can Large Language Models Transform Computational Social Science?cited by 250
- 2024Retrieval Head Mechanistically Explains Long-Context Factualitycited by 232
- 2024Infini-gram: Scaling Unbounded n-gram Language Models to a Trillion Tokenscited by 153
- 2019Interpreting and improving natural-language processing (in machines) with natural language-processing (in the brain)cited by 128
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 118
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2024Rethinking Interpretability in the Era of Large Language Modelscited by 111
- 2023Large Language Models for Automated Open-domain Scientific Hypotheses Discoverycited by 100
- 2023Tell Your Model Where to Attend: Post-hoc Attention Steering for LLMscited by 91
- 2024Zero Shot Health Trajectory Prediction Using Transformercited by 77
- 2023Scaling laws for language encoding models in fMRIcited by 68
- 2023Explaining black box text modules in natural language with language modelscited by 62
- 2022Describing Differences between Text Distributions with Natural Languagecited by 54
- 2023Describing Differences in Image Sets with Natural Languagecited by 53
- 2021Disentangling Syntax and Semantics in the Brain with Deep Networkscited by 40
- 2022Augmenting Interpretable Models with LLMs during Trainingcited by 38
- 2022Joint processing of linguistic properties in brains and language modelscited by 37
- 2021Adaptive wavelet distillation from neural networks through interpretationscited by 32
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
- 2023Tree Prompting: Efficient Task Adaptation without Fine-Tuningcited by 18
- 2024Bayesian Concept Bottleneck Models with LLM Priorscited by 17
- 2023CHiLL: Zero-shot Custom Interpretable Feature Extraction from Clinical Notes with Large Language Modelscited by 15
- 2023Information-Restricted Neural Language Models Reveal Different Brain Regions' Sensitivity to Semantics, Syntax and Contextcited by 13
- 2023Humans and language models diverge when predicting repeating textcited by 13
- 2024Assessing Episodic Memory in LLMs with Sequence Order Recall Taskscited by 10
- 2024Great Memory, Shallow Reasoning: Limits of kNN-LMscited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.