mlsanityData to 7 Oct 2026

Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference

arXiv 2408.08590 ↗First posted 16 Aug 2024cs.CL cs.AI cs.LGcited by 28

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Recent studies on reasoning in language models (LMs) have sparked a debate on whether they can learn systematic inferential principles or merely exploit superficial patterns in the training data. To understand and uncover the mechanisms adopted for formal reasoning in LMs, this paper presents a mechanistic interpretation of syllogistic inference. Specifically, we present a methodology for circuit discovery aimed at interpreting content-independent and formal reasoning mechanisms. Through two distinct intervention methods, we uncover a sufficient and necessary circuit involving middle-term suppression that elucidates how LMs transfer information to derive valid conclusions from premises. Furthermore, we investigate how belief biases manifest in syllogistic inference, finding evidence of partial contamination from additional attention heads responsible for encoding commonsense and contextualized knowledge. Finally, we explore the generalization of the discovered mechanisms across various syllogistic schemes, model sizes and architectures. The identified circuit is sufficient and necessary for syllogistic schemes on which the models achieve high accuracy (>60%), with compatible activation patterns across models of different families. Overall, our findings suggest that LMs learn transferable content-independent reasoning mechanisms, but that, at the same time, such mechanisms do not involve generalizable and abstract logical primitives, being susceptible to contamination by the same world knowledge acquired during pre-training.

Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 8 of its 60 references that are in the map. First posted on arXiv 16 Aug 2024.

Builds on

8 of 60 references.

References · 8

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  5. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  6. 2024How to use and interpret activation patchingcited by 191
  7. 2020GenericsKB: A Knowledge Base of Generic Statementscited by 51
  8. 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 5; 2026: 17.

28 papers.

Sort:

By area:

  1. 2024Attention Heads of Large Language Models: A Surveycited by 65
  2. 2024Transformers Struggle to Learn to Searchcited by 19
  3. 2025Mitigating Content Effects on Reasoning in Language Models through Fine-Grained Activation Steeringcited by 18
  4. 2024A Implies B: Circuit Analysis in LLMs for Propositional Logical Reasoningcited by 15
  5. 2024Understanding Synthetic Context Extension via Retrieval Headscited by 10
  6. 2024SylloBio-NLI: Evaluating Large Language Models on Biomedical Syllogistic Reasoningcited by 9
  7. 2025Mechanistic Indicators of Understanding in Large Language Modelscited by 6
  8. 2025Signatures of human-like processing in Transformer forward passescited by 2
  9. 2025Emergence and Localisation of Semantic Role Circuits in LLMscited by 2
  10. 2026Compressed Sensing for Capability Localization in Large Language Modelscited by 2
  11. 2026When Do LLMs Reason? A Dynamical Systems View via Entropy Phase Transitionscited by 2
  12. 2026Logic Before Language: Pre-pretraining on Formal Derivations Fosters Skill Acquisition and Compressibilitycited by 2
16 more
  1. 2025Deductive Logic in Language Models: Horizontal vs Vertical Reasoningcited by 1
  2. 2026FregeLogic at SemEval 2026 Task 11: A Hybrid Neuro-Symbolic Architecture for Content-Robust Syllogistic Validity Predictioncited by 1
  3. 2026From Circuit Evidence to Mechanistic Theory: An Inductive Logic Approachcited by 1
  4. 2026SEF-CLGC at SemEval-2026 Task 11: Logical Notation Impact on Language Model Performancecited by 1
  5. 2026Test, then Route: How Language Models Execute In-Context Conditional Rules Across Models and Languagescited by 1
  6. 2024ResidualDroppath: Enhancing Feature Reuse over Residual Connectionscited by 0
  7. 2026ITLC at SemEval-2026 Task 11: Normalization and Deterministic Parsing for Formal Reasoning in LLMscited by 0
  8. 2026Entropy-Gradient Inversion: Moving Toward Internal Mechanism of Large Reasoning Modelscited by 0
  9. 2026Revealing Algorithmic Deductive Circuits for Logical Reasoningcited by 0
  10. 2026Reproducing and Stress-Testing Two Approaches to LLM Reasoning Reliability: Test-Time Probability Aggregation and Logic-Representation Editingcited by 0
  11. 2026Are you Talking Logic to Me? Assessing Language Models Syllogistic Reasoning Capabilitiescited by 0
  12. 2026Align, Unify, Suppress, Route: A Coherentist View of Transformer Computationcited by 0
  13. 2026A Circuit for Plural Reference: How LLMs Represent and Retrieve Singular and Plural Entitiescited by 0
  14. 2026CircuitLens: Reasoning Circuits as Data Selection Signals for Reinforcement Learning with Verifiable Rewardscited by 0
  15. 2026Understanding and Exploiting Anisotropy in Post-Trainingcited by 0
  16. 2026A Polyphonic Conception of AI Understandingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences
  2. 2024Exploring Reasoning Biases in Large Language Models Through Syllogism: Insights from the NeuBAROCO Dataset
  3. 2025Hybrid Models for Natural Language Reasoning: The Case of Syllogistic Logic
  4. 2026A Syllogistic Probe: Tracing the Evolution of Logic Reasoning in Large Language Models
  5. 2023A Systematic Comparison of Syllogistic Reasoning in Humans and Language Models
  6. 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinement
  7. 2026Towards a Mechanistic Understanding of Propositional Logical Reasoning in Large Language Models
  8. 2023Evaluating Large Language Models with NeuBAROCO: Syllogistic Reasoning Ability and Human-like Biases