mlsanityData to 7 Oct 2026

Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation

arXiv 2402.03268 ↗First posted 5 Feb 2024cs.LG cs.AI cs.CLcited by 22

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

  1. 2023Towards a Mechanistic Interpretation of Multi-Step Reasoning Capabilities of Language Models23 Oct
  2. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
  3. 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
  4. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoning15 Feb

Other references · 39

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  8. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  10. 2022Emergent Abilities of Large Language Modelscited by 2,483
  11. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  12. 2017Modeling Relational Data with Graph Convolutional Networkscited by 1,684
27 more
  1. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  2. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  3. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
  4. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  5. 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 417
  6. 2023LeanDojo: Theorem Proving with Retrieval-Augmented Language Modelscited by 414
  7. 2021Causal Abstractions of Neural Networkscited by 401
  8. 2023Llemma: An Open Language Model For Mathematicscited by 385
  9. 2021A Diverse Corpus for Evaluating and Developing English Math Word Problem Solverscited by 314
  10. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
  11. 2021Neural Bellman-Ford Networks: A General Graph Neural Network Framework for Link Predictioncited by 273
  12. 2017DeepPath: A Reinforcement Learning Method for Knowledge Graph Reasoningcited by 265
  13. 2022Transformers Learn Shortcuts to Automatacited by 260
  14. 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
  15. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
  16. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
  17. 2017Go for a Walk and Arrive at the Answer: Reasoning Over Paths in Knowledge Bases using Reinforcement Learningcited by 161
  18. 2020RNNLogic: Learning Logic Rules for Reasoning on Knowledge Graphscited by 117
  19. 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 110
  20. 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
  21. 2023Interpretability at Scale: Identifying Causal Mechanisms in Alpacacited by 102
  22. 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
  23. 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learningcited by 19
  24. 2023When Do Program-of-Thoughts Work for Reasoning?cited by 19
  25. 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolationcited by 13
  26. 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
  27. 2023Triggering Multi-Hop Reasoning for Question Answering in Language Models using Soft Prompts and Random Walkscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 10; 2026: 5.

22 papers.

Sort:

By area:

  1. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
  2. 2024Functional Benchmarks for Robust Evaluation of Reasoning Performance, and the Reasoning Gapcited by 79
  3. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
  4. 2025Reasoning by Superposition: A Theoretical Perspective on Chain of Continuous Thoughtcited by 73
  5. 2024Disentangling Memory and Reasoning Ability in Large Language Modelscited by 43
  6. 2024Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamicscited by 27
  7. 2025On Linear Representations and Pretraining Data Frequency in Language Modelscited by 23
  8. 2025The Geometry of Reasoning: Flowing Logics in Representation Spacecited by 21
  9. 2024Understanding the Language Model to Solve the Symbolic Multi-Step Reasoning Problem from the Perspective of Buffer Mechanismcited by 15
  10. 2025Learning from Diverse Reasoning Paths with Routing and Collaborationcited by 12
  11. 2025Emergent Slow Thinking in LLMs as Inverse Tree Freezingcited by 8
  12. 2024On the Empirical Complexity of Reasoning and Planning in LLMscited by 6
10 more
  1. 2025A Theory of Inference Compute Scaling: Reasoning through Directed Stochastic Skill Searchcited by 5
  2. 2025Finding the Minimal Parameter Budget for Implicit Reasoning: A Data Complexity Driven Scaling Law for Language Modelscited by 3
  3. 2025Efficient Knowledge Probing of Large Language Models by Adapting Pre-trained Embeddingscited by 3
  4. 2025Achilles' Heel of Mamba: Essential difficulties of the Mamba architecture demonstrated by synthetic datacited by 3
  5. 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMscited by 2
  6. 2025Scalable Complexity Control Facilitates Reasoning Ability of LLMscited by 1
  7. 2026Shortcut Solutions Learned by Transformers Impair Continual Compositional Reasoningcited by 0
  8. 2026SPARK: Self-Play with Asymmetric Reward from Knowledge Graphscited by 0
  9. 2026The Periodic Table of LLM Reasoning: A Structured Survey of Reasoning Paradigms, Methods, and Failure Modescited by 0
  10. 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systemscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024ProcBench: Benchmark for Multi-Step Reasoning and Following Procedure
  2. 2026Mean-Field Dynamics of Chain-of-Thought Reasoning in Large Language Models
  3. 2025Correct Reasoning Paths Visit Shared Decision Pivots
  4. 2025KnowPath: Knowledge-enhanced Reasoning via LLM-generated Inference Paths over Knowledge Graphs
  5. 2025Grounding LLM Reasoning with Knowledge Graphs
  6. 2023Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
  7. 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performance
  8. 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning