Linearity of Relation Decoding in Transformer Language Models
Not on the map. Why?
Abstract (arXiv)
Much of the knowledge encoded in transformer language models (LMs) may be expressed in terms of relations: relations between words and their synonyms, entities and their attributes, etc. We show that, for a subset of relations, this computation is well-approximated by a single linear transformation on the subject representation. Linear relation representations may be obtained by constructing a first-order approximation to the LM from a single prompt, and they exist for a variety of factual, commonsense, and linguistic relations. However, we also identify many cases in which LM predictions capture relational knowledge accurately, but this knowledge is not linearly encoded in their representations. Our results thus reveal a simple, interpretable, but heterogeneously deployed knowledge representation strategy in transformer LMs.
Key facts. Cited by 190 papers in the map (data through 7 Oct 2026). Builds on 28 of its 49 references that are in the map. First posted on arXiv 17 Aug 2023.
Builds on
28 of 49 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2016Layer Normalizationcited by 5,579
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2019How Can We Know What Language Models Know?cited by 953
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
16 more
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2020Information-Theoretic Probing with Minimum Description Lengthcited by 230
- 2021Implicit Representations of Meaning in Neural Language Modelscited by 179
- 2017What do Neural Machine Translation Models Learn about Morphology?cited by 165
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
- 2023Language Models Implement Simple Word2Vec-style Vector Arithmeticcited by 97
- 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformationscited by 89
- 2023Crawling the Internal Knowledge-Base of Language Modelscited by 85
Built on by
Citing papers per year: 2023: 10; 2024: 54; 2025: 50; 2026: 76.
190 papers.
Sort:
By area:
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Language Models Represent Space and Timecited by 306
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 179
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023How do Language Models Bind Entities in Context?cited by 102
38 more
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
- 2023Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Modelscited by 67
- 2024Attention Heads of Large Language Models: A Surveycited by 65
- 2024SelfIE: Self-Interpretation of Large Language Model Embeddingscited by 63
- 2024Knowledge Circuits in Pretrained Transformerscited by 60
- 2024LatentQA: Teaching LLMs to Decode Activations Into Natural Languagecited by 49
- 2024Do language models plan ahead for future tokens?cited by 47
- 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuitcited by 45
- 2024On Large Language Models' Hallucination with Regard to Known Factscited by 43
- 2025Lost in Multilinguality: Dissecting Cross-lingual Factual Inconsistency in Transformer Language Modelscited by 43
- 2025Activation Oracles: Training and Evaluating LLMs as General-Purpose Activation Explainerscited by 41
- 2024Who's asking? User personas and the mechanics of latent misalignmentcited by 40
- 2024Summing Up the Facts: Additive Mechanisms Behind Factual Recall in LLMscited by 39
- 2024Estimating Knowledge in Large Language Models Without Generating a Single Tokencited by 39
- 2024Monitoring Latent World States in Language Models with Propositional Probescited by 39
- 2024Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinationscited by 38
- 2024Locating and Editing Factual Associations in Mambacited by 35
- 2025Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMscited by 35
- 2024Safety-Aware Fine-Tuning of Large Language Modelscited by 33
- 2024Towards Unifying Interpretability and Control: Evaluation via Interventioncited by 28
- 2024Representational Analysis of Binding in Language Modelscited by 27
- 2024Relational Composition in Neural Networks: A Survey and Call to Actioncited by 23
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2025The Dual-Route Model of Inductioncited by 22
- 2024Optimal ablation for interpretabilitycited by 21
- 2024Position: Understanding LLMs Requires More Than Statistical Generalizationcited by 20
- 2024Residual Stream Analysis with Multi-Layer SAEscited by 18
- 2024InstructEdit: Instruction-based Knowledge Editing for Large Language Modelscited by 17
- 2024Inferring Functionality of Attention Heads from their Parameterscited by 17
- 2024In-Context Learning State Vector with Inner and Momentum Optimizationcited by 15
- 2025Communicating Activations Between Language Model Agentscited by 15
- 2025How Do LLMs Use Their Depth?cited by 15
- 2026Subliminal Effects in Your Data: A General Mechanism via Log-Linearitycited by 15
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14
- 2024All or None: Identifiable Linear Properties of Next-token Predictors in Language Modelingcited by 14
- 2025Does Time Have Its Place? Temporal Heads: Where Language Models Recall Time-specific Informationcited by 14
- 2024Poser: Unmasking Alignment Faking LLMs by Manipulating Their Internalscited by 13
50 most cited of 190 All 190 (JSON)
- 2026Causal and Interpretable Structures in LLM Compositional Tasks28 Sep 2026
- 2026Agent Safety From Within: Detecting Harmful Trajectories from LLM Internal States27 Sep 2026
- 2026A Survey on the Linear Representation Hypothesis19 Sep 2026
- 2026Using OCR Heads to Verbalize Image Semantics16 Sep 2026
- 2026ForeSight: Enhancing Risk Monitoring via Early Safety Signal Distillation12 Sep 2026
- 2026Contrastive Projection: Reading Transformer Internals by Differencing Logit Lenses9 Sep 2026
- 2026LLM Layers Immediately Correct Each Other7 Sep 2026
- 2026Lagged Coupling: Internal Representations Become Readable Before They Become Causal1 Sep 2026
- 2026The Hallucination Signal Is a Mean Shift: Why Simple Probes Suffice28 Aug 2026
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMs22 Aug 2026
- 2026CARD: Diagnosing Belief to Action Routing Failures in Vision Language Models21 Aug 2026
- 2026A Calibrated Test of Internal Action Maps: State Signals Without Global Affine Closure13 Aug 2026
38 more
- 2026DMDIntel: Interpreting Large Language Models via Dynamic Mode Decomposition13 Aug 2026
- 2026STEREODISCO: Discovering Stereotypicality in LLMs30 Jul 2026
- 2026Suppressed, Not Erased: A Representational Trace of Edited Facts Survives Even Weight-Free Knowledge Editing17 Jul 2026
- 2026Relation Before Entity: Deferred Commitment in Language Model Factual Recall13 Jul 2026
- 2026Distributed Sparse Interventions in Language Models8 Jul 2026
- 2026RSF-GLLM: Bridging the Semantic Gap in Multi-Hop Knowledge Graph QA via Recurrent Soft-Flow and Decoupled LLM Generation7 Jul 2026
- 2026EVAF: A Test-Retest Protocol for Selective Parametric Consolidation29 Jun 2026
- 2026LMs as Task-Specific Knowledge Bases: An Interpretability Analysis25 Jun 2026
- 2026Evaluating the Interpretability of Sparse Autoencoders with Concept Annotations23 Jun 2026
- 2026Sentence-Level Contextual Entrainment in Large Language Models23 Jun 2026
- 2026Factual Retrieval in LLMs Is a Redundant, Distributed and Non-Contiguous Process19 Jun 2026
- 2026Constitutional Value Potentials: reading and steering internal priority margins in language models13 Jun 2026
- 2026Beyond Importance: Interchange-Sobol Sensitivity Reveals Task-Specific Content Channels in Transformer Components12 Jun 2026
- 2026When Language Representations Interact: Separability and Cross-Lingual Effects in LLMs12 Jun 2026
- 2026Trajectory Geometry of Transformer Representations Across Layers8 Jun 2026
- 2026Necessary, Decodable and Reversible, Yet Not Transferable: A Stress Test for Attention-Head Role Claims6 Jun 2026
- 2026Fast & Faithful Function Vectors3 Jun 2026
- 2026Vision-Language Models are Fragile Multilingual Associators2 Jun 2026
- 2026Hallucinations as Orthogonal Noise: Inference-Time Manifold Alignment via Dynamic Contextual Orthogonalization2 Jun 2026
- 2026Trait-space Monitoring for Emergent Misalignment During Supervised Finetuning31 May 2026
- 2026Query Lens: Interpreting Sparse Key-Value Features with Indirect Effects30 May 2026
- 2026Relational Rank Geometry in Transformers: Detecting and Steering Hidden-State Relation Frames28 May 2026
- 2026GeoMathCode: Understanding Interleaved Math-Code Reasoning for Geometry Problem Solving25 May 2026
- 2026CSP-Atlas: Concept-Specific Neural Circuits in a Sparse Python Transformer23 May 2026
- 2026Measuring Alignment-Induced Activation Shifts Correctly: A Template-Controlled Difference-in-Differences Protocol23 May 2026
- 2026As X, Do Y: How Persona and Task Combine in Instruction-Tuned LLMs22 May 2026
- 2026Relational Linear Properties in Language Models: An Empirical Investigation21 May 2026
- 2026Uncovering the Representation Geometry of Minimal Cores in Overcomplete Reasoning Traces14 May 2026
- 2026The Mechanism of Weak-to-Strong Generalization: Feature Elicitation from Latent Knowledge13 May 2026
- 2026Correcting Influence: Unboxing LLM Outputs with Orthogonal Latent Spaces12 May 2026
- 2026Geometric Factual Recall in Transformers12 May 2026
- 2026GKnow: Measuring the Entanglement of Gender Bias and Factual Gender12 May 2026
- 2026Freeze Deep, Train Shallow: Interpretable Layer Allocation for Continued Pre-Training12 May 2026
- 2026Architecture, Not Scale: Circuit Localization in Large Language Models9 May 2026
- 2026Decodable but Not Corrected by Fixed Residual-Stream Linear Steering: Evidence from Medical LLM Failure Regimes7 May 2026
- 2026The Right Answer, the Wrong Direction: Why Transformers Fail at Counting and How to Fix It5 May 2026
- 2026Bucketing the Good Apples: A Method for Diagnosing and Improving Causal Abstraction4 May 2026
- 2026SteeringDiffusion: A Bottlenecked Activation Control Interface for Diffusion Models3 May 2026
50 newest of 190 All 190 (JSON)
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2025Communicating Activations Between Language Model Agentscited by 15
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14
- 2026Linear Mechanisms for Spatiotemporal Reasoning in Vision Language Modelscited by 11
- 2024The Geometry of Numerical Reasoning: Language Models Compare Numeric Properties in Linear Subspacescited by 10
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvaturecited by 1
- 2026Uncovering the Representation Geometry of Minimal Cores in Overcomplete Reasoning Tracescited by 1
- 2026Causal Concept Graphs in LLM Latent Space for Stepwise Reasoningcited by 0
- 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanismscited by 0
- 2026GeoMathCode: Understanding Interleaved Math-Code Reasoning for Geometry Problem Solvingcited by 0
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMscited by 0
- 2026Beyond Fixed Directions: Adaptive Representation Analysis of Reasoning and Memorization in LLMs22 Aug 2026
- 2026GeoMathCode: Understanding Interleaved Math-Code Reasoning for Geometry Problem Solving25 May 2026
- 2026Uncovering the Representation Geometry of Minimal Cores in Overcomplete Reasoning Traces14 May 2026
- 2026Disentangling Mathematical Reasoning in LLMs: A Methodological Investigation of Internal Mechanisms17 Apr 2026
- 2026Causal Concept Graphs in LLM Latent Space for Stepwise Reasoning11 Mar 2026
- 2026Linear Mechanisms for Spatiotemporal Reasoning in Vision Language Models18 Jan 2026
- 2025From Memorization to Reasoning in the Spectrum of Loss Curvature28 Oct 2025
- 2025Communicating Activations Between Language Model Agents23 Jan 2025
- 2024The Geometry of Numerical Reasoning: Language Models Compare Numeric Properties in Linear Subspaces17 Oct 2024
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language models14 Apr 2024
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?26 Feb 2024
- 2025Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMscited by 35
- 2026Evaluating the Interpretability of Sparse Autoencoders with Concept Annotationscited by 2
- 2026Vision-Language Models are Fragile Multilingual Associatorscited by 0
- 2026CARD: Diagnosing Belief to Action Routing Failures in Vision Language Modelscited by 0
- 2026CARD: Diagnosing Belief to Action Routing Failures in Vision Language Models21 Aug 2026
- 2026Evaluating the Interpretability of Sparse Autoencoders with Concept Annotations23 Jun 2026
- 2026Vision-Language Models are Fragile Multilingual Associators2 Jun 2026
- 2025Same Task, Different Circuits: Disentangling Modality-Specific Mechanisms in VLMs10 Jun 2025
- 2024Who's asking? User personas and the mechanics of latent misalignmentcited by 40
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2026LLM Safety From Within: Detecting Harmful Content with Internal Representationscited by 10
- 2026ForeSight: Enhancing Risk Monitoring via Early Safety Signal Distillationcited by 0
- 2026ForeSight: Enhancing Risk Monitoring via Early Safety Signal Distillation12 Sep 2026
- 2026LLM Safety From Within: Detecting Harmful Content with Internal Representations20 Apr 2026
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2024Who's asking? User personas and the mechanics of latent misalignment17 Jun 2024
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Language Models Represent Space and Timecited by 306
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
12 most cited of 159 All 159 (JSON)
- 2026Causal and Interpretable Structures in LLM Compositional Tasks28 Sep 2026
- 2026A Survey on the Linear Representation Hypothesis19 Sep 2026
- 2026Using OCR Heads to Verbalize Image Semantics16 Sep 2026
- 2026Contrastive Projection: Reading Transformer Internals by Differencing Logit Lenses9 Sep 2026
- 2026LLM Layers Immediately Correct Each Other7 Sep 2026
- 2026Lagged Coupling: Internal Representations Become Readable Before They Become Causal1 Sep 2026
- 2026The Hallucination Signal Is a Mean Shift: Why Simple Probes Suffice28 Aug 2026
- 2026A Calibrated Test of Internal Action Maps: State Signals Without Global Affine Closure13 Aug 2026
- 2026DMDIntel: Interpreting Large Language Models via Dynamic Mode Decomposition13 Aug 2026
- 2026STEREODISCO: Discovering Stereotypicality in LLMs30 Jul 2026
- 2026Suppressed, Not Erased: A Representational Trace of Edited Facts Survives Even Weight-Free Knowledge Editing17 Jul 2026
- 2026Relation Before Entity: Deferred Commitment in Language Model Factual Recall13 Jul 2026
12 newest of 159 All 159 (JSON)