A Implies B: Circuit Analysis in LLMs for Propositional Logical Reasoning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
also in 1 more
Abstract (arXiv)
Due to the size and complexity of modern large language models (LLMs), it has proven challenging to uncover the underlying mechanisms that models use to solve reasoning problems. For instance, is their reasoning for a specific problem localized to certain parts of the network? Do they break down the reasoning problem into modular components that are then executed as sequential steps as we go deeper in the model? To better understand the reasoning capability of LLMs, we study a minimal propositional logic problem that requires combining multiple facts to arrive at a solution. By studying this problem on Mistral and Gemma models, up to 27B parameters, we illuminate the core components the models use to solve such logic problems. From a mechanistic interpretability point of view, we use causal mediation analysis to uncover the pathways and components of the LLMs' reasoning processes. Then, we offer fine-grained insights into the functions of attention heads in different layers. We not only find a sparse circuit that computes the answer, but we decompose it into sub-circuits that have four distinct and modular uses. Finally, we reveal that three distinct models -- Mistral-7B, Gemma-2-9B and Gemma-2-27B -- contain analogous but not identical mechanisms.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 25 of its 81 references that are in the map. First posted on arXiv 6 Nov 2024.
Builds on
25 of 81 references.
Closest ancestors · 5
Same direction, newest first
- 2024Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference16 Aug
- 2024Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models24 Jun
- 2024Rethinking Interpretability in the Era of Large Language Models30 Jan
- 2023Towards LogiGLUE: A Brief Survey and A Benchmark for Analyzing Logical Reasoning Capabilities of Language Models2 Oct
- 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep
Other references · 20
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2016Layer Normalizationcited by 5,669
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2023Mistral 7Bcited by 3,164
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
- 2024How to use and interpret activation patchingcited by 214
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 209
- 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 156
- 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 108
- 2024Premise Order Matters in Reasoning with Large Language Modelscited by 72
- 2023DreamSync: Aligning Text-to-Image Generation with Image Understanding Feedbackcited by 58
8 more
- 2024Decomposing The Dark Matter of Sparse Autoencoderscited by 45
- 2024Monitoring Latent World States in Language Models with Propositional Probescited by 43
- 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 41
- 2024Interpreting Arithmetic Mechanism in Large Language Models through Comparative Neuron Analysiscited by 31
- 2024Bayesian scaling laws for in-context learningcited by 19
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2024Logicbreaks: A Framework for Understanding Subversion of Rule-based Inferencecited by 4
- 2024Locating and Extracting Relational Concepts in Large Language Modelscited by 3
Built on by
Citing papers per year: 2025: 3; 2026: 12.
15 papers.
Sort:
By area:
- 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Unitscited by 10
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMscited by 5
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worldscited by 3
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMscited by 2
- 2025Deductive Logic in Language Models: Horizontal vs Vertical Reasoningcited by 1
- 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approachcited by 1
- 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languagescited by 1
- 2025Position: On the Methodological Pitfalls of Evaluating Base LLMs for Reasoningcited by 0
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Locationcited by 0
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformercited by 0
- 2026Revealing Algorithmic Deductive Circuits for Logical Reasoningcited by 0
- 2026Grounding latent algorithm routing in transformer reasoningcited by 0
3 more
- 2026Align, Unify, Suppress, Route: A Coherentist View of Transformer Computationcited by 0
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretabilitycited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learningcited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning29 Sep 2026
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretability29 Aug 2026
- 2026Align, Unify, Suppress, Route: A Coherentist View of Transformer Computation22 Aug 2026
- 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languages4 Aug 2026
- 2026Grounding latent algorithm routing in transformer reasoning27 Jul 2026
- 2026Revealing Algorithmic Deductive Circuits for Logical Reasoning27 May 2026
- 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approach20 May 2026
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformer18 May 2026
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMs9 Apr 2026
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location9 Feb 2026
- 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Units29 Jan 2026
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs24 Jan 2026
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMscited by 5
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worldscited by 3
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMscited by 2
- 2025Deductive Logic in Language Models: Horizontal vs Vertical Reasoningcited by 1
- 2025Position: On the Methodological Pitfalls of Evaluating Base LLMs for Reasoningcited by 0
- 2026Revealing Algorithmic Deductive Circuits for Logical Reasoningcited by 0
- 2026Grounding latent algorithm routing in transformer reasoningcited by 0
- 2026Grounding latent algorithm routing in transformer reasoning27 Jul 2026
- 2026Revealing Algorithmic Deductive Circuits for Logical Reasoning27 May 2026
- 2026Wiring the 'Why': A Unified Taxonomy and Survey of Abductive Reasoning in LLMs9 Apr 2026
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs24 Jan 2026
- 2025Position: On the Methodological Pitfalls of Evaluating Base LLMs for Reasoning13 Nov 2025
- 2025Deductive Logic in Language Models: Horizontal vs Vertical Reasoning10 Oct 2025
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worlds28 May 2025
- 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Unitscited by 10
- 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approachcited by 1
- 2026Align, Unify, Suppress, Route: A Coherentist View of Transformer Computationcited by 0
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretabilitycited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learningcited by 0
- 2026RESCUE: Repairing Language Model Errors to Sparse Circuits via Reinforcement Learning29 Sep 2026
- 2026A Unifying Perspective on Language Model Representations: From Filler-Role Structure to Mechanistic Interpretability29 Aug 2026
- 2026Align, Unify, Suppress, Route: A Coherentist View of Transformer Computation22 Aug 2026
- 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approach20 May 2026
- 2026Mechanistic Data Attribution: Tracing the Training Origins of Interpretable LLM Units29 Jan 2026
- 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languagescited by 1
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Locationcited by 0
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformercited by 0
- 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languages4 Aug 2026
- 2026One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformer18 May 2026
- 2026How Do Language Models Understand Tables? A Mechanistic Analysis of Cell Location9 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Models
- 2024Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
- 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes
- 2025LogiDynamics: Unraveling the Dynamics of Inductive, Abductive and Deductive Logical Inferences in LLM Reasoning
- 2023DetermLR: Augmenting LLM-based Logical Reasoning from Indeterminacy to Determinacy
- 2026ReEfBench: Quantifying the Reasoning Efficiency of LLMs
- 2025Dissecting Logical Reasoning in LLMs: A Fine-Grained Evaluation and Supervision Study