From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Recent progress in large language models has renewed interest in how multi-step reasoning is represented internally. While prior work often treats reasoning as a linear chain, many reasoning problems can be more naturally modeled as directed acyclic graphs (DAGs), where intermediate conclusions branch, merge, and are reused. Whether such graph structure is reflected in model internals remains unclear. We introduce Reasoning DAG Probing, a framework for testing whether LLM hidden states linearly encode properties of an underlying reasoning DAG. We formalize each premise, intermediate conclusion, and final answer as a DAG node, and train lightweight probes to predict node depth, pairwise distance, and adjacency from hidden states. Using these probes, we analyze the layerwise emergence of DAG structure, reconstruct approximate reasoning graphs, and evaluate controls that disrupt reasoning-relevant structure. Across logical, mathematical, and code reasoning benchmarks, we find that DAG structure is meaningfully encoded in LLM representations: recoverability peaks in intermediate layers; later layers preferentially recover deeper nodes and longer-range dependencies; larger models exhibit stronger DAG recoverability. During autoregressive generation, post-trained models exhibit clearer, progressively strengthening DAG structure, which broadly anticipates answer correctness trends. These findings suggest that LLM reasoning is not purely sequential, but exhibits measurable internal graph structure.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 38 of its 55 references that are in the map. First posted on arXiv 24 Jan 2026.
Builds on
38 of 55 references.
Closest ancestors · 7
Same direction, newest first
- 2025Far from the Shallow: Brain-Predictive Reasoning Embedding through Residual Disentanglement26 Oct
- 2025Qwen3 Technical Report14 May
- 2025Phi-4-reasoning Technical Report30 Apr
- 2024A Implies B: Circuit Analysis in LLMs for Propositional Logical Reasoning6 Nov
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May
- 2024Understanding Reasoning Ability of Language Models From the Perspective of Reasoning Paths Aggregation5 Feb
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought3 Oct
Other references · 31
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2025OpenAI GPT-5 System Cardcited by 910
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
19 more
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2023Measuring Faithfulness in Chain-of-Thought Reasoningcited by 668
- 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2024LLMs Know More Than They Show: On the Intrinsic Representation of LLM Hallucinationscited by 230
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 150
- 2021Explaining Answers with Entailment Treescited by 148
- 2023Why think step by step? Reasoning emerges from the locality of experiencecited by 103
- 2022Iteratively Prompt Pre-trained Language Models for Chain of Thoughtcited by 75
- 2024Decoding Probing: Revealing Internal Linguistic Structures in Neural Language Models using Minimal Pairscited by 24
- 2022COMPS: Conceptual Minimal Pair Sentences for testing Robust Property Knowledge and its Inheritance in Pre-trained Language Modelscited by 15
- 2023Crystal: Introspective Reasoners Reinforced with Self-Feedbackcited by 15
- 2025LinguaLens: Towards Interpreting Linguistic Mechanisms of Large Language Models via Sparse Auto-Encodercited by 13
- 2025I Predict Therefore I Am: Is Next Token Prediction Enough to Learn Human-Interpretable Concepts from Data?cited by 13
- 2025XCOMPS: A Multilingual Benchmark of Conceptual Minimal Pairscited by 9
- 2026From Chains to Graphs: Self-Structured Reasoning for General-Domain LLMscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
- 2025Topology of Reasoning: Understanding Large Reasoning Models through Reasoning Graph Properties
- 2025Grounding LLM Reasoning with Knowledge Graphs
- 2025GraphGhost: Tracing Structures Behind Large Language Models
- 2026Reasoning Consensus: Structural Ensembling of LLM Reasoning via Weighted DAG Aggregation
- 2026Beyond Input Understanding: Diagnosing Multilingual Mathematical Reasoning with Directed Acyclic Trace Graphs
- 2026Revealing Algorithmic Deductive Circuits for Logical Reasoning
- 2026LogicGraph : Benchmarking Multi-Path Logical Reasoning via Neuro-Symbolic Generation and Verification