Understanding and Patching Compositional Reasoning in LLMs
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
LLMs have marked a revolutonary shift, yet they falter when faced with compositional reasoning tasks. Our research embarks on a quest to uncover the root causes of compositional reasoning failures of LLMs, uncovering that most of them stem from the improperly generated or leveraged implicit reasoning results. Inspired by our empirical findings, we resort to Logit Lens and an intervention experiment to dissect the inner hidden states of LLMs. This deep dive reveals that implicit reasoning results indeed surface within middle layers and play a causative role in shaping the final explicit reasoning results. Our exploration further locates multi-head self-attention (MHSA) modules within these layers, which emerge as the linchpins in accurate generation and leveraing of implicit reasoning results. Grounded on the above findings, we develop CREME, a lightweight method to patch errors in compositional reasoning via editing the located MHSA modules. Our empirical evidence stands testament to CREME's effectiveness, paving the way for autonomously and continuously enhancing compositional reasoning capabilities in language models.
Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 10 of its 52 references that are in the map. First posted on arXiv 22 Feb 2024.
Builds on
10 of 52 references.
Closest ancestors · 1
Same direction, newest first
Other references · 9
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020GLU Variants Improve Transformercited by 1,724
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 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
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2023Identifying Linear Relational Concepts in Large Language Modelscited by 12
- 2023KLoB: a Benchmark for Assessing Knowledge Locating Methods in Language Modelscited by 8
Built on by
Citing papers per year: 2024: 13; 2025: 20; 2026: 12.
45 papers.
Sort:
By area:
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queriescited by 78
- 2025A Survey on Latent Reasoningcited by 71
- 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
- 2024Decoding by Contrasting Knowledge: Enhancing LLMs' Confidence on Edited Factscited by 36
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editingcited by 36
- 2024Reasoning Abilities of Large Language Models: In-Depth Analysis on the Abstraction and Reasoning Corpuscited by 32
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspectivecited by 32
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustmentcited by 29
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?cited by 26
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Modelscited by 23
- 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Modelscited by 22
33 more
- 2026Large Language Model Reasoning Failurescited by 20
- 2024Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editingcited by 18
- 2025Unlocking the Power of Function Vectors for Characterizing and Mitigating Catastrophic Forgetting in Continual Instruction Tuningcited by 16
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2024Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neuronscited by 15
- 2024Understanding the Interplay between Parametric and Contextual Knowledge for Large Language Modelscited by 14
- 2025Credible Plan-Driven RAG Method for Multi-Hop Question Answeringcited by 12
- 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inferencecited by 12
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoningcited by 10
- 2026Do Latent-CoT Models Think Step-by-Step? A Mechanistic Study on Sequential Reasoning Taskscited by 10
- 2025CaKE: Circuit-aware Editing Enables Generalizable Knowledge Learnerscited by 9
- 2025How Do Language Models Compose Functions?cited by 7
- 2025Local Success Does Not Compose: Benchmarking Large Language Models for Compositional Formal Verificationcited by 6
- 2026Fine-Grained Activation Steering: Steering Less, Achieving Morecited by 6
- 2025CryptoX : Compositional Reasoning Evaluation of Large Language Modelscited by 5
- 2025The Thin Line Between Comprehension and Persuasion in LLMscited by 5
- 2025All for One: LLMs Solve Mental Math at the Last Token With Information Transferred From Other Tokenscited by 5
- 2025Understanding Subword Compositionality of Large Language Modelscited by 3
- 2025AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarioscited by 3
- 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbationscited by 3
- 2024From Words to Worlds: Compositionality for Cognitive Architecturescited by 1
- 2025On the Effect of Uncertainty on Layer-wise Inference Dynamicscited by 1
- 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Modelscited by 1
- 2025Concept Attractors in LLMs and their Applicationscited by 1
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformerscited by 0
- 2026Tracing Pharmacological Knowledge In Large Language Modelscited by 0
- 2026Evaluating Adjective-Noun Compositionality in LLMs: Functional vs Representational Perspectivescited by 0
- 2026How Psychological Learning Paradigms Shaped and Constrained Artificial Intelligencecited by 0
- 2026The Power of Power Law: Asymmetry Enables Compositional Reasoningcited by 0
- 2026Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspectivecited by 0
- 2026Framing Matters: Addressing Framing Sensitivity in Decision-Making through Behaviorally-Grounded Value Alignmentcited by 0
- 2026Multi-Hop Knowledge Composition is Bound by Pretraining Exposurecited by 0
- 2026Why Knowing Both Hops Is Not Enough: Understanding Two-Hop Generalization in Language Modelscited by 0
- 2026Why Knowing Both Hops Is Not Enough: Understanding Two-Hop Generalization in Language Models7 Aug 2026
- 2026Multi-Hop Knowledge Composition is Bound by Pretraining Exposure8 Jun 2026
- 2026Framing Matters: Addressing Framing Sensitivity in Decision-Making through Behaviorally-Grounded Value Alignment27 May 2026
- 2026Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective30 Apr 2026
- 2026The Power of Power Law: Asymmetry Enables Compositional Reasoning24 Apr 2026
- 2026How Psychological Learning Paradigms Shaped and Constrained Artificial Intelligence18 Mar 2026
- 2026Tracing Pharmacological Knowledge In Large Language Models3 Mar 2026
- 2026Evaluating Adjective-Noun Compositionality in LLMs: Functional vs Representational Perspectives14 Feb 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2026Fine-Grained Activation Steering: Steering Less, Achieving More4 Feb 2026
- 2026Do Latent-CoT Models Think Step-by-Step? A Mechanistic Study on Sequential Reasoning Tasks31 Jan 2026
- 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Models7 Jan 2026
33 more
- 2025Concept Attractors in LLMs and their Applications30 Dec 2025
- 2025How Do Language Models Compose Functions?2 Oct 2025
- 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbations1 Oct 2025
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformers27 Sep 2025
- 2025Local Success Does Not Compose: Benchmarking Large Language Models for Compositional Formal Verification27 Sep 2025
- 2025All for One: LLMs Solve Mental Math at the Last Token With Information Transferred From Other Tokens11 Sep 2025
- 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inference1 Sep 2025
- 2025AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarios27 Aug 2025
- 2025Understanding Subword Compositionality of Large Language Models25 Aug 2025
- 2025On the Effect of Uncertainty on Layer-wise Inference Dynamics9 Jul 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
- 2025The Thin Line Between Comprehension and Persuasion in LLMs2 Jul 2025
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspective19 May 2025
- 2025Credible Plan-Driven RAG Method for Multi-Hop Question Answering23 Apr 2025
- 2025CaKE: Circuit-aware Editing Enables Generalizable Knowledge Learners20 Mar 2025
- 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Models24 Feb 2025
- 2025Unlocking the Power of Function Vectors for Characterizing and Mitigating Catastrophic Forgetting in Continual Instruction Tuning16 Feb 2025
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Models15 Feb 2025
- 2025CryptoX : Compositional Reasoning Evaluation of Large Language Models8 Feb 2025
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning7 Feb 2025
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?25 Nov 2024
- 2024Disentangling Memory and Reasoning Ability in Large Language Models20 Nov 2024
- 2024Understanding the Interplay between Parametric and Contextual Knowledge for Large Language Models10 Oct 2024
- 2024Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editing9 Oct 2024
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editing8 Oct 2024
- 2024Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neurons6 Aug 2024
- 2024From Words to Worlds: Compositionality for Cognitive Architectures18 Jul 2024
- 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queries18 Jun 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2024Decoding by Contrasting Knowledge: Enhancing LLMs' Confidence on Edited Facts19 May 2024
- 2024Reasoning Abilities of Large Language Models: In-Depth Analysis on the Abstraction and Reasoning Corpus18 Mar 2024
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustment5 Mar 2024
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?26 Feb 2024
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2025A Survey on Latent Reasoningcited by 71
- 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
- 2024Reasoning Abilities of Large Language Models: In-Depth Analysis on the Abstraction and Reasoning Corpuscited by 32
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspectivecited by 32
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustmentcited by 29
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?cited by 26
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Modelscited by 23
- 2026Large Language Model Reasoning Failurescited by 20
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inferencecited by 12
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoningcited by 10
12 most cited of 17 All 17 (JSON)
- 2026Multi-Hop Knowledge Composition is Bound by Pretraining Exposure8 Jun 2026
- 2026Large Language Model Reasoning Failures5 Feb 2026
- 2026Do Latent-CoT Models Think Step-by-Step? A Mechanistic Study on Sequential Reasoning Tasks31 Jan 2026
- 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Models7 Jan 2026
- 2025When LLM Meets Time Series: Can LLMs Perform Multi-Step Time Series Reasoning and Inference1 Sep 2025
- 2025AgentCoMa: A Compositional Benchmark Mixing Commonsense and Mathematical Reasoning in Real-World Scenarios27 Aug 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
- 2025Detection and Mitigation of Hallucination in Large Reasoning Models: A Mechanistic Perspective19 May 2025
- 2025Back Attention: Understanding and Enhancing Multi-Hop Reasoning in Large Language Models15 Feb 2025
- 2025CryptoX : Compositional Reasoning Evaluation of Large Language Models8 Feb 2025
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning7 Feb 2025
- 2024Do Large Language Models Perform Latent Multi-Hop Reasoning without Exploiting Shortcuts?25 Nov 2024
12 newest of 17 All 17 (JSON)
- 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queriescited by 78
- 2024Decoding by Contrasting Knowledge: Enhancing LLMs' Confidence on Edited Factscited by 36
- 2024Locate-then-edit for Multi-hop Factual Recall under Knowledge Editingcited by 36
- 2025LogitLens4LLMs: Extending Logit Lens Analysis to Modern Large Language Modelscited by 22
- 2024Mitigating the Language Mismatch and Repetition Issues in LLM-based Machine Translation via Model Editingcited by 18
- 2025Unlocking the Power of Function Vectors for Characterizing and Mitigating Catastrophic Forgetting in Continual Instruction Tuningcited by 16
- 2024Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neuronscited by 15
- 2024Understanding the Interplay between Parametric and Contextual Knowledge for Large Language Modelscited by 14
- 2025CaKE: Circuit-aware Editing Enables Generalizable Knowledge Learnerscited by 9
- 2025How Do Language Models Compose Functions?cited by 7
- 2025Local Success Does Not Compose: Benchmarking Large Language Models for Compositional Formal Verificationcited by 6
- 2026Fine-Grained Activation Steering: Steering Less, Achieving Morecited by 6
12 most cited of 27 All 27 (JSON)
- 2026Why Knowing Both Hops Is Not Enough: Understanding Two-Hop Generalization in Language Models7 Aug 2026
- 2026Framing Matters: Addressing Framing Sensitivity in Decision-Making through Behaviorally-Grounded Value Alignment27 May 2026
- 2026Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective30 Apr 2026
- 2026The Power of Power Law: Asymmetry Enables Compositional Reasoning24 Apr 2026
- 2026How Psychological Learning Paradigms Shaped and Constrained Artificial Intelligence18 Mar 2026
- 2026Tracing Pharmacological Knowledge In Large Language Models3 Mar 2026
- 2026Evaluating Adjective-Noun Compositionality in LLMs: Functional vs Representational Perspectives14 Feb 2026
- 2026Fine-Grained Activation Steering: Steering Less, Achieving More4 Feb 2026
- 2025Concept Attractors in LLMs and their Applications30 Dec 2025
- 2025How Do Language Models Compose Functions?2 Oct 2025
- 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbations1 Oct 2025
- 2025Limit Analysis for Symbolic Multi-step Reasoning Tasks with Information Propagation Rules Based on Transformers27 Sep 2025
12 newest of 27 All 27 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Reasoning or a Semblance of it? A Diagnostic Study of Transitive Reasoning in LLMs
- 2024Benchmarking and Understanding Compositional Relational Reasoning of LLMs
- 2024Do Large Language Models Have Compositional Ability? An Investigation into Limitations and Scalability
- 2025Dissecting Logical Reasoning in LLMs: A Fine-Grained Evaluation and Supervision Study
- 2025Implicit Reasoning in Large Language Models: A Comprehensive Survey
- 2025Comprehension Without Competence: Architectural Limits of LLMs in Symbolic Computation and Reasoning
- 2026Beyond Memorization: Testing LLM Reasoning on Unseen Theory of Computation Tasks
- 2023Skills-in-Context Prompting: Unlocking Compositionality in Large Language Models