Analyzing Transformers in Embedding Space
Not on the map. Why?
Abstract (arXiv)
Understanding Transformer-based models has attracted significant attention, as they lie at the heart of recent technological advances across machine learning. While most interpretability methods rely on running models over inputs, recent work has shown that a zero-pass approach, where parameters are interpreted directly without a forward/backward pass is feasible for some Transformer parameters, and for two-layer attention networks. In this work, we present a theoretical analysis where all parameters of a trained Transformer are interpreted by projecting them into the embedding space, that is, the space of vocabulary items they operate on. We derive a simple theoretical framework to support our arguments and provide ample evidence for its validity. First, an empirical analysis showing that parameters of both pretrained and fine-tuned models can be interpreted in embedding space. Second, we present two applications of our framework: (a) aligning the parameters of different models that share a vocabulary, and (b) constructing a classifier without training by ``translating'' the parameters of a fine-tuned classifier to parameters of a different model that was only pretrained. Overall, our findings open the door to interpretation methods that, at least in part, abstract away from model specifics and operate in the embedding space only.
Key facts. Cited by 131 papers in the map (data through 7 Oct 2026). Builds on 28 of its 60 references that are in the map. First posted on arXiv 6 Sep 2022.
Builds on
28 of 60 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representationscited by 3,853
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
16 more
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2016Using the Output Embedding to Improve Language Modelscited by 266
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
- 2014Understanding image representations by measuring their equivariance and equivalencecited by 240
- 2016Fine-grained Analysis of Sentence Embeddings Using Auxiliary Prediction Taskscited by 216
- 2021Revisiting Model Stitching to Compare Neural Representationscited by 203
- 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
- 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
- 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
- 2019Augmenting Self-attention with Persistent Memorycited by 92
- 2021The MultiBERTs: BERT Reproductions for Robustness Analysiscited by 89
- 2021Similarity and Matching of Neural Network Representationscited by 77
- 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28
- 2022How to Dissect a Muppet: The Structure of Transformer Embedding Spacescited by 19
Built on by
Citing papers per year: 2022: 3; 2023: 26; 2024: 40; 2025: 40; 2026: 22.
131 papers.
Sort:
By area:
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022Mass-Editing Memory in a Transformercited by 976
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2023Function Vectors in Large Language Modelscited by 292
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2026LTX-2: Efficient Joint Audio-Visual Foundation Modelcited by 213
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
38 more
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
- 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 145
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 138
- 2024A Practical Review of Mechanistic Interpretability for Transformer-Based Language Modelscited by 113
- 2024Playground v3: Improving Text-to-Image Alignment with Deep-Fusion Large Language Modelscited by 113
- 2024Universal Neurons in GPT2 Language Modelscited by 100
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristicscited by 94
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformationscited by 89
- 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 73
- 2023Attention Satisfies: A Constraint-Satisfaction Lens on Factual Errors of Language Modelscited by 67
- 2024Cross-modal Information Flow in Multimodal Large Language Modelscited by 65
- 2024Confidence Regulation Neurons in Language Modelscited by 57
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2024Spectral Filters, Dark Signals, and Attention Sinkscited by 54
- 2024From Understanding to Utilization: A Survey on Explainability for Large Language Modelscited by 47
- 2024From Tokens to Words: On the Inner Lexicon of LLMscited by 46
- 2023Self-Detoxifying Language Models via Toxification Reversalcited by 45
- 2024Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Eracited by 45
- 2024In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigationcited by 43
- 2023Explaining How Transformers Use Context to Build Predictionscited by 42
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editingcited by 36
- 2024Answer, Assemble, Ace: Understanding How LMs Answer Multiple Choice Questionscited by 35
- 2023A Survey on Knowledge Editing of Neural Networkscited by 34
- 2024HiVG: Hierarchical Multimodal Fine-grained Modulation for Visual Groundingcited by 31
- 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 30
- 2022What Are You Token About? Dense Retrieval as Distributions Over the Vocabularycited by 28
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Tracescited by 28
- 2025Large Language Models Are Human-Like Internallycited by 28
- 2023Analyzing Vision Transformers for Image Classification in Class Embedding Spacecited by 26
- 2023Overcoming Generic Knowledge Loss with Selective Parameter Updatecited by 23
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Modelscited by 23
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Modelscited by 22
- 2023DecoderLens: Layerwise Interpretation of Encoder-Decoder Transformerscited by 22
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Modelscited by 21
- 2023Attention Lens: A Tool for Mechanistically Interpreting the Attention Head Information Retrieval Mechanismcited by 21
- 2024Optimal ablation for interpretabilitycited by 21
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMscited by 20
50 most cited of 131 All 131 (JSON)
- 2026Understanding Deep Learning via Entropy Space Theory29 Aug 2026
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognition28 Jul 2026
- 2026surprisal is Not a Theory22 Jul 2026
- 2026Training, Reading, and Editing Legible Transformers9 Jul 2026
- 2026Analysis-by-Proxy: Localization Signals in VLMs Operating as Condition Encoders7 Jul 2026
- 2026Legible-by-Construction: Attention and End-to-End Transformers5 Jul 2026
- 2026A Negative Result on Cross-Model Activation Transfer in a Pythia Multi-Hop Setting2 Jun 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
- 2026Geometry of Human Perceptual Domains Emerges Transiently in LLM Representations27 May 2026
- 2026Structure Retention in Embedding Spaces as a Predictor of Benchmark Performance21 May 2026
- 2026Event-Grounded Sparse Autoencoders for Vision-Language-Action Policies17 May 2026
- 2026Scale Determines Whether Language Models Organize Representation Geometry for Prediction16 May 2026
38 more
- 2026TIDE: Every Layer Knows the Token Beneath the Context7 May 2026
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It16 Apr 2026
- 2026Disentangling MLP Neuron Weights in Vocabulary Space7 Apr 2026
- 2026Rethinking Token Prediction: Tree-Structured Diffusion Language Model4 Apr 2026
- 2026Steerable but Not Decodable: Function Vectors Operate Beyond the Logit Lens3 Apr 2026
- 2026How Transformers Reject Wrong Answers: Rotational Dynamics of Factual Constraint Processing25 Feb 2026
- 2026Fine-Grained Activation Steering: Steering Less, Achieving More4 Feb 2026
- 2026MemoryLLM: Plug-n-Play Interpretable Feed-Forward Memory for Transformers30 Jan 2026
- 2026LTX-2: Efficient Joint Audio-Visual Foundation Model6 Jan 2026
- 2026BARE: Towards Bias-Aware and Reasoning-Enhanced One-Tower Visual Grounding4 Jan 2026
- 2025In-Context Algebra18 Dec 2025
- 2025GRAN-TED: Generating Robust, Aligned, and Nuanced Text Embedding for Diffusion Models17 Dec 2025
- 2025Multi-Granular Node Pruning for Causal Circuit Discovery11 Dec 2025
- 2025Knowing Your Uncertainty -- On the application of LLM in social sciences5 Dec 2025
- 2025Generating an Image From 1,000 Words: Enhancing Text-to-Image With Structured Captions10 Nov 2025
- 2025Can Fine-Tuning Erase Your Edits? On the Fragile Coexistence of Knowledge Editing and Adaptation8 Nov 2025
- 2025Principled Coarse-Grained Acceptance for Speculative Decoding in Speech5 Nov 2025
- 2025Understanding Multi-View Transformers28 Oct 2025
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformers24 Oct 2025
- 2025Restoring Pruned Large Language Models via Lost Component Compensation22 Oct 2025
- 2025VisiPruner: Decoding Discontinuous Cross-Modal Dynamics for Efficient Multimodal LLMs20 Oct 2025
- 2025Emergence of Linear Truth Encodings in Language Models17 Oct 2025
- 2025Analysing Moral Bias in Finetuned LLMs through Mechanistic Interpretability14 Oct 2025
- 2025The Geometry of Truth: Layer-wise Semantic Dynamics for Hallucination Detection in Large Language Models6 Oct 2025
- 2025Can Linear Probes Measure LLM Uncertainty?5 Oct 2025
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammars2 Oct 2025
- 2025mini-vec2vec: Scaling Universal Geometry Alignment with Linear Transformations27 Sep 2025
- 2025Probability Signature: Bridging Data Semantics and Embedding Structure in Language Models24 Sep 2025
- 2025Energy-Guided Decoding for Object Hallucination Mitigation10 Jul 2025
- 2025The Generalization Ridge: Information Flow in Natural Language Generation7 Jul 2025
- 2025Failure by Interference: Language Models Make Balanced Parentheses Errors When Faulty Mechanisms Overshadow Sound Ones30 Jun 2025
- 2025A Comprehensive Study of Decoder-Only LLMs for Text-to-Image Generation9 Jun 2025
- 2025From Raw Corpora to Domain Benchmarks: Automated Evaluation of LLM Domain Expertise9 Jun 2025
- 2025Towards an Explainable Comparison and Alignment of Feature Embeddings6 Jun 2025
- 2025Localizing Knowledge in Diffusion Transformers24 May 2025
- 2025Emergent Hierarchical Structure in Large Language Models: An Information-Theoretic Framework for Multi-Scale Representation23 May 2025
- 2025The Rise of Parameter Specialization for Knowledge Storage in Large Language Models22 May 2025
- 2025Mechanistic Understanding and Mitigation of Language Confusion in English-Centric Large Language Models22 May 2025
50 newest of 131 All 131 (JSON)
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristicscited by 94
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Modelscited by 23
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Modelscited by 21
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMscited by 20
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoningcited by 10
- 2025What are Models Thinking about? Understanding Large Language Model Hallucinations "Psychology" through Model Inner State Analysiscited by 2
- 2025Cognitive Activation and Chaotic Dynamics in Large Language Models: A Quasi-Lyapunov Analysis of Reasoning Mechanismscited by 1
- 2024Rethinking Associative Memory Mechanism in Induction Headcited by 0
- 2026Rethinking Token Prediction: Tree-Structured Diffusion Language Modelcited by 0
- 2026Analysis-by-Proxy: Localization Signals in VLMs Operating as Condition Encoderscited by 0
- 2026Analysis-by-Proxy: Localization Signals in VLMs Operating as Condition Encoders7 Jul 2026
- 2026Rethinking Token Prediction: Tree-Structured Diffusion Language Model4 Apr 2026
- 2025Cognitive Activation and Chaotic Dynamics in Large Language Models: A Quasi-Lyapunov Analysis of Reasoning Mechanisms15 Mar 2025
- 2025What are Models Thinking about? Understanding Large Language Model Hallucinations "Psychology" through Model Inner State Analysis19 Feb 2025
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Models15 Feb 2025
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning7 Feb 2025
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristics28 Oct 2024
- 2024An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs18 Jun 2024
- 2023Memory Injections: Correcting Multi-Hop Reasoning Failures during Inference in Transformer-Based Language Models11 Sep 2023
- 2024Cross-modal Information Flow in Multimodal Large Language Modelscited by 65
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformerscited by 16
- 2025VisiPruner: Decoding Discontinuous Cross-Modal Dynamics for Efficient Multimodal LLMscited by 14
- 2024Understanding Multimodal LLMs: the Mechanistic Interpretability of Llava in Visual Question Answeringcited by 11
- 2025Energy-Guided Decoding for Object Hallucination Mitigationcited by 2
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformers24 Oct 2025
- 2025VisiPruner: Decoding Discontinuous Cross-Modal Dynamics for Efficient Multimodal LLMs20 Oct 2025
- 2025Energy-Guided Decoding for Object Hallucination Mitigation10 Jul 2025
- 2024Cross-modal Information Flow in Multimodal Large Language Models27 Nov 2024
- 2024Understanding Multimodal LLMs: the Mechanistic Interpretability of Llava in Visual Question Answering17 Nov 2024
- 2023Self-Detoxifying Language Models via Toxification Reversalcited by 45
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Tracescited by 28
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Modelscited by 22
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Spacecited by 12
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Traces17 Jun 2024
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Space13 Jun 2024
- 2023Self-Detoxifying Language Models via Toxification Reversal14 Oct 2023
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Models24 Feb 2023
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022Mass-Editing Memory in a Transformercited by 976
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
- 2023Finding Neurons in a Haystack: Case Studies with Sparse Probingcited by 328
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 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
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 145
12 most cited of 107 All 107 (JSON)
- 2026Understanding Deep Learning via Entropy Space Theory29 Aug 2026
- 2026Cognitive Convergence: Deep Similarities Between Large Language Models and Human Cognition28 Jul 2026
- 2026surprisal is Not a Theory22 Jul 2026
- 2026Training, Reading, and Editing Legible Transformers9 Jul 2026
- 2026Legible-by-Construction: Attention and End-to-End Transformers5 Jul 2026
- 2026A Negative Result on Cross-Model Activation Transfer in a Pythia Multi-Hop Setting2 Jun 2026
- 2026Assign and Add: A Mechanistic Study of Compositional Arithmetic29 May 2026
- 2026Geometry of Human Perceptual Domains Emerges Transiently in LLM Representations27 May 2026
- 2026Structure Retention in Embedding Spaces as a Predictor of Benchmark Performance21 May 2026
- 2026Scale Determines Whether Language Models Organize Representation Geometry for Prediction16 May 2026
- 2026TIDE: Every Layer Knows the Token Beneath the Context7 May 2026
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It16 Apr 2026
12 newest of 107 All 107 (JSON)