Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Pre-trained language models (LMs) are able to perform complex reasoning without explicit fine-tuning. To understand how pre-training with a next-token prediction objective contributes to the emergence of such reasoning capability, we propose that we can view an LM as deriving new conclusions by aggregating indirect reasoning paths seen at pre-training time. We found this perspective effective in two important cases of reasoning: logic reasoning with knowledge graphs (KGs) and chain-of-thought (CoT) reasoning. More specifically, we formalize the reasoning paths as random walk paths on the knowledge/reasoning graphs. Analyses of learned LM distributions suggest that a weighted sum of relevant random walk path probabilities is a reasonable way to explain how LMs reason. Experiments and analysis on multiple KG and CoT datasets reveal the effect of training on random walk paths and suggest that augmenting unlabeled random walk reasoning paths can improve real-world multi-step reasoning performance. code: https://github.com/WANGXinyiLinda/LM_random_walk
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 43 of its 59 references that are in the map. First posted on arXiv 5 Feb 2024.
Builds on
43 of 59 references.
Closest ancestors · 4
Same direction, newest first
- 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
- 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning15 Feb
Other references · 39
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
- 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
27 more
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
- 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
- 2021Causal Abstractions of Neural Networkscited by 401
- 2023Llemma: An Open Language Model For Mathematicscited by 385
- 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
- 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
- 2020RNNLogic: Learning Logic Rules for Reasoning on Knowledge Graphscited by 117
- 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
- 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
- 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
- 2023When Do Program-of-Thoughts Work for Reasoning?cited by 19
- 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolationcited by 13
- 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
- 2023Triggering Multi-Hop Reasoning for Question Answering in Language Models using Soft Prompts and Random Walkscited by 2
Built on by
Citing papers per year: 2024: 7; 2025: 10; 2026: 5.
22 papers.
Sort:
By area:
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
- 2024Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gapcited by 79
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 73
- 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2025Learning from Diverse Reasoning Paths with Routing and Collaborationcited by 12
- 2025Emergent Slow Thinking in LLMs as Inverse Tree Freezingcited by 8
- 2024On the Empirical Complexity of Reasoning and Planning in LLMscited by 6
10 more
- 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Searchcited by 5
- 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Modelscited by 3
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddingscited by 3
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic datacited by 3
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMscited by 2
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMscited by 1
- 2026Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoningcited by 0
- 2026SPARK: Self-Play with Asymmetric Reward from Knowledge Graphscited by 0
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systemscited by 0
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systems29 Jul 2026
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026SPARK: Self-Play with Asymmetric Reward from Knowledge Graphs7 May 2026
- 2026Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoning6 May 2026
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs24 Jan 2026
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Emergent Slow Thinking in LLMs as Inverse Tree Freezing28 Sep 2025
- 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic data22 Sep 2025
- 2025Learning from Diverse Reasoning Paths with Routing and Collaboration23 Aug 2025
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddings8 Aug 2025
- 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Search10 Jun 2025
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMs29 May 2025
10 more
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025On Linear Representations and Pretraining Data Frequency in Language Models16 Apr 2025
- 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models4 Apr 2025
- 2024Disentangling Memory and Reasoning Ability in Large Language Models20 Nov 2024
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data20 Jul 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May 2024
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics7 May 2024
- 2024On the Empirical Complexity of Reasoning and Planning in LLMs17 Apr 2024
- 2024Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gap29 Feb 2024
- 2024Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gapcited by 79
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 73
- 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
- 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
- 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
- 2025Learning from Diverse Reasoning Paths with Routing and Collaborationcited by 12
- 2025Emergent Slow Thinking in LLMs as Inverse Tree Freezingcited by 8
- 2024On the Empirical Complexity of Reasoning and Planning in LLMscited by 6
- 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Searchcited by 5
- 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Modelscited by 3
12 most cited of 15 All 15 (JSON)
- 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modes9 Jun 2026
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs24 Jan 2026
- 2025The Geometry of Reasoning: Flowing Logics in Representation Space10 Oct 2025
- 2025Emergent Slow Thinking in LLMs as Inverse Tree Freezing28 Sep 2025
- 2025Learning from Diverse Reasoning Paths with Routing and Collaboration23 Aug 2025
- 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Search10 Jun 2025
- 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMs29 May 2025
- 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thought18 May 2025
- 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Models4 Apr 2025
- 2024Disentangling Memory and Reasoning Ability in Large Language Models20 Nov 2024
- 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanism24 May 2024
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May 2024
12 newest of 15 All 15 (JSON)
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
- 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddingscited by 3
- 2026Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoningcited by 0
- 2026Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoning6 May 2026
- 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddings8 Aug 2025
- 2025On Linear Representations and Pretraining Data Frequency in Language Models16 Apr 2025
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data20 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2024ProcBench: Benchmark for Multi-Step Reasoning and Following Procedure
- 2026Mean-Field Dynamics of Chain-of-Thought Reasoning in Large Language Models
- 2025Correct Reasoning Paths Visit Shared Decision Pivots
- 2025KnowPath: Knowledge-enhanced Reasoning via LLM-generated Inference Paths over Knowledge Graphs
- 2025Grounding LLM Reasoning with Knowledge Graphs
- 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
- 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning