mlsanityData to 14 Oct 2026

A Implies B: Circuit Analysis in LLMs for Propositional Logical Reasoning

arXiv 2411.04105 ↗First posted 6 Nov 2024cs.LG cs.AI cs.CLcited by 15

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

  1. 2024Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference16 Aug
  2. 2024Multi-LogiEval: Towards Evaluating Multi-Step Logical Reasoning Ability of Large Language Models24 Jun
  3. 2024Rethinking Interpretability in the Era of Large Language Models30 Jan
  4. 2023Towards LogiGLUE: A Brief Survey and A Benchmark for Analyzing Logical Reasoning Capabilities of Language Models2 Oct
  5. 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep

Other references · 20

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2016Layer Normalizationcited by 5,669
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  4. 2023Mistral 7Bcited by 3,164
  5. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  6. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
  7. 2024How to use and interpret activation patchingcited by 214
  8. 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 209
  9. 2023The Hydra Effect: Emergent Self-repair in Language Model Computationscited by 156
  10. 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 108
  11. 2024Premise Order Matters in Reasoning with Large Language Modelscited by 72
  12. 2023DreamSync: Aligning Text-to-Image Generation with Image Understanding Feedbackcited by 58
8 more
  1. 2024Decomposing The Dark Matter of Sparse Autoencoderscited by 45
  2. 2024Monitoring Latent World States in Language Models with Propositional Probescited by 43
  3. 2024Talking Heads: Understanding Inter-layer Communication in Transformer Language Modelscited by 41
  4. 2024Interpreting Arithmetic Mechanism in Large Language Models through Comparative Neuron Analysiscited by 31
  5. 2024Bayesian scaling laws for in-context learningcited by 19
  6. 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
  7. 2024Logicbreaks: A Framework for Understanding Subversion of Rule-based Inferencecited by 4
  8. 2024Locating and Extracting Relational Concepts in Large Language Modelscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 12.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Models
  2. 2024Leveraging LLMs for Hypothetical Deduction in Logical Inference: A Neuro-Symbolic Approach
  3. 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems
  4. 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes
  5. 2025LogiDynamics: Unraveling the Dynamics of Inductive, Abductive and Deductive Logical Inferences in LLM Reasoning
  6. 2023DetermLR: Augmenting LLM-based Logical Reasoning from Indeterminacy to Determinacy
  7. 2026ReEfBench: Quantifying the Reasoning Efficiency of LLMs
  8. 2025Dissecting Logical Reasoning in LLMs: A Fine-Grained Evaluation and Supervision Study