Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals
Not on the map. Why?
Abstract (arXiv)
Interpretability research aims to bridge the gap between empirical success and our scientific understanding of the inner workings of large language models (LLMs). However, most existing research focuses on analyzing a single mechanism, such as how models copy or recall factual knowledge. In this work, we propose a formulation of competition of mechanisms, which focuses on the interplay of multiple mechanisms instead of individual mechanisms and traces how one of them becomes dominant in the final prediction. We uncover how and where mechanisms compete within LLMs using two interpretability methods: logit inspection and attention modification. Our findings show traces of the mechanisms and their competition across various model components and reveal attention positions that effectively control the strength of certain mechanisms. Code: https://github.com/francescortu/comp-mech. Data: https://huggingface.co/datasets/francescortu/comp-mech.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 6 of its 15 references that are in the map. First posted on arXiv 18 Feb 2024.
Builds on
6 of 15 references.
References · 6
- 2019How Can We Know What Language Models Know?cited by 959
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 202
- 2022Inverse scaling can become U-shapedcited by 76
- 2023Copy Suppression: Comprehensively Understanding an Attention Headcited by 76
- 2020Hierarchical nucleation in deep neural networkscited by 31
Built on by
Citing papers per year: 2024: 12; 2025: 15; 2026: 13.
40 papers.
Sort:
By area:
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineeringcited by 63
- 2024Activation Scaling for Steering and Interpreting Language Modelscited by 35
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Tracescited by 29
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 23
- 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 17
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformerscited by 17
- 2024Counterfactual Token Generation in Large Language Modelscited by 14
- 2025Understanding and Leveraging the Expert Specialization of Context Faithfulness in Mixture-of-Experts LLMscited by 12
- 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentationcited by 11
28 more
- 2025When Seeing Overrides Knowing: Disentangling Knowledge Conflicts in Vision-Language Modelscited by 11
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language modelscited by 10
- 2025Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Modelscited by 10
- 2024Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification Taskscited by 9
- 2024A Reality Check on Context Utilisation for Retrieval-Augmented Generationcited by 9
- 2025Why Safeguarded Ships Run Aground? Aligned Large Language Models' Safety Mechanisms Tend to Be Anchored in The Template Regioncited by 6
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitrationcited by 6
- 2026Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Modelscited by 5
- 2025CUB: Benchmarking Context Utilisation Techniques for Language Modelscited by 4
- 2025Non-Interactive Symbolic-Aided Chain-of-Thought for Logical Reasoningcited by 4
- 2025Understanding Fact Recall in Language Models: Why Two-Stage Training Encourages Memorization but Mixed Training Teaches Knowledgecited by 1
- 2025Neuron-Level Analysis of Cultural Understanding in Large Language Modelscited by 1
- 2025Where does an LLM begin computing an instruction?cited by 1
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recallcited by 1
- 2026Diagnosing LLM Arbitration Behavior over Pre-evidence Epistemic States in RAG-based Fact-Checkingcited by 1
- 2024Identifying Sub-networks in Neural Networks via Functionally Similar Representationscited by 0
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Modelscited by 0
- 2025On the Generalizability of "Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals"cited by 0
- 2025Tracing Facts or just Copies? A critical investigation of the Competitions of Mechanisms in Large Language Modelscited by 0
- 2026TRUE: A Trustworthy Unified Explanation Framework for Large Language Model Reasoningcited by 0
- 2026Persistent Priors, Preserved Targets: A Stroop-Style Paradigm for Lexical Overridecited by 0
- 2026Attention-Path Fragility as an Uncertainty Signal in Large Language Modelscited by 0
- 2026How Do Language Models Choose Between Context and Memory?cited by 0
- 2026From Vision to Language: Investigating Causal Information Flow in Multimodal Decision-Makingcited by 0
- 2026Stale-Document Poisoning: When Outdated Retrieval Overrides Correct Model Answerscited by 0
- 2026Generalization Dynamics of LM Pre-trainingcited by 0
- 2026Don't Forget! Decomposing the Training Dynamics of Memorization in Language Modelscited by 0
- 2026Spontaneous Context Restoration: How Language Models Recover from Corrupted Inputscited by 0
- 2026Spontaneous Context Restoration: How Language Models Recover from Corrupted Inputs28 Sep 2026
- 2026Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models28 Sep 2026
- 2026Generalization Dynamics of LM Pre-training27 Sep 2026
- 2026Stale-Document Poisoning: When Outdated Retrieval Overrides Correct Model Answers25 Sep 2026
- 2026From Vision to Language: Investigating Causal Information Flow in Multimodal Decision-Making4 Sep 2026
- 2026How Do Language Models Choose Between Context and Memory?1 Sep 2026
- 2026Attention-Path Fragility as an Uncertainty Signal in Large Language Models11 Aug 2026
- 2026Diagnosing LLM Arbitration Behavior over Pre-evidence Epistemic States in RAG-based Fact-Checking31 May 2026
- 2026Persistent Priors, Preserved Targets: A Stroop-Style Paradigm for Lexical Override25 May 2026
- 2026TRUE: A Trustworthy Unified Explanation Framework for Large Language Model Reasoning21 Feb 2026
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitration3 Feb 2026
- 2026To Copy or Not to Copy: Copying Is Easier to Induce Than Recall17 Jan 2026
28 more
- 2026Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Models14 Jan 2026
- 2025Where does an LLM begin computing an instruction?12 Nov 2025
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformers24 Oct 2025
- 2025Neuron-Level Analysis of Cultural Understanding in Large Language Models9 Oct 2025
- 2025Reasoning or Retrieval? A Study of Answer Attribution on Large Reasoning Models29 Sep 2025
- 2025Understanding and Leveraging the Expert Specialization of Context Faithfulness in Mixture-of-Experts LLMs27 Aug 2025
- 2025Non-Interactive Symbolic-Aided Chain-of-Thought for Logical Reasoning17 Aug 2025
- 2025When Seeing Overrides Knowing: Disentangling Knowledge Conflicts in Vision-Language Models18 Jul 2025
- 2025Tracing Facts or just Copies? A critical investigation of the Competitions of Mechanisms in Large Language Models16 Jul 2025
- 2025On the Generalizability of "Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals"28 Jun 2025
- 2025Time Course MechInterp: Analyzing the Evolution of Components and Knowledge in Large Language Models3 Jun 2025
- 2025CUB: Benchmarking Context Utilisation Techniques for Language Models22 May 2025
- 2025Understanding Fact Recall in Language Models: Why Two-Stage Training Encourages Memorization but Mixed Training Teaches Knowledge22 May 2025
- 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentation21 May 2025
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language models1 Apr 2025
- 2025Why Safeguarded Ships Run Aground? Aligned Large Language Models' Safety Mechanisms Tend to Be Anchored in The Template Region19 Feb 2025
- 2024A Reality Check on Context Utilisation for Retrieval-Augmented Generation22 Dec 2024
- 2024Controllable Context Sensitivity and the Knob Behind It11 Nov 2024
- 2024Identifying Sub-networks in Neural Networks via Functionally Similar Representations21 Oct 2024
- 2024Analysing the Residual Stream of Language Models Under Knowledge Conflicts21 Oct 2024
- 2024Steering Knowledge Selection Behaviours in LLMs via SAE-Based Representation Engineering21 Oct 2024
- 2024Activation Scaling for Steering and Interpreting Language Models7 Oct 2024
- 2024Counterfactual Token Generation in Large Language Models25 Sep 2024
- 2024Attention Heads of Large Language Models: A Survey5 Sep 2024
- 2024Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification Tasks9 Aug 2024
- 2024Intrinsic Test of Unlearning Using Parametric Knowledge Traces17 Jun 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Models28 Mar 2024
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 85
- 2024Attention Heads of Large Language Models: A Surveycited by 67
- 2024Activation Scaling for Steering and Interpreting Language Modelscited by 35
- 2024Interpreting Key Mechanisms of Factual Recall in Transformer-Based Language Modelscited by 31
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 23
- 2024Analysing the Residual Stream of Language Models Under Knowledge Conflictscited by 17
- 2024Counterfactual Token Generation in Large Language Modelscited by 14
- 2025The Atlas of In-Context Learning: How Attention Heads Shape In-Context Retrieval Augmentationcited by 11
- 2025Repetitions are not all alike: distinct mechanisms sustain repetition in language modelscited by 10
- 2024Generalisation First, Memorisation Second? Memorisation Localisation for Natural Language Classification Taskscited by 9
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitrationcited by 6
- 2026Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Modelscited by 5
12 most cited of 26 All 26 (JSON)
- 2026Don't Forget! Decomposing the Training Dynamics of Memorization in Language Models28 Sep 2026
- 2026Generalization Dynamics of LM Pre-training27 Sep 2026
- 2026How Do Language Models Choose Between Context and Memory?1 Sep 2026
- 2026Attention-Path Fragility as an Uncertainty Signal in Large Language Models11 Aug 2026
- 2026Diagnosing LLM Arbitration Behavior over Pre-evidence Epistemic States in RAG-based Fact-Checking31 May 2026
- 2026Persistent Priors, Preserved Targets: A Stroop-Style Paradigm for Lexical Override25 May 2026
- 2026Instruction Anchor: Dissecting the Mechanistic Dynamics of Modality Arbitration3 Feb 2026
- 2026Where Knowledge Collides: A Mechanistic Study of Intra-Memory Knowledge Conflict in Language Models14 Jan 2026
- 2025Where does an LLM begin computing an instruction?12 Nov 2025
- 2025Neuron-Level Analysis of Cultural Understanding in Large Language Models9 Oct 2025
- 2025Tracing Facts or just Copies? A critical investigation of the Competitions of Mechanisms in Large Language Models16 Jul 2025
- 2025On the Generalizability of "Competition of Mechanisms: Tracing How Language Models Handle Facts and Counterfactuals"28 Jun 2025
12 newest of 26 All 26 (JSON)