DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Large Language Models (LLMs) demonstrate strong performance on mathematical problems when prompted with Chain-of-Thought (CoT), yet it remains unclear whether this success stems from search, rote procedures, or rule-consistent reasoning. To address this, we propose modeling CoT as a certain rule-based stochastic process over directed acyclic graphs (DAGs), where nodes represent intermediate derivation states and edges encode rule applications. Within this framework, we introduce logical closeness, a metric that quantifies how well a model's CoT trajectory (i.e., the LLM's final output) adheres to the DAG structure, providing evaluation beyond classical PASS@k metrics. Building on this, we introduce the DAG-MATH CoT format and construct a benchmark that guides LLMs to generate CoT trajectories in this format, thereby enabling the evaluation of their reasoning ability under our framework. Across standard mathematical reasoning datasets, our analysis uncovers statistically significant differences in reasoning fidelity among representative LLM families-even when PASS@k is comparable-highlighting gaps between final-answer accuracy and rule-consistent derivation. Our framework provides a balance between free-form CoT and formal proofs systems, offering actionable diagnostics for LLMs reasoning evaluation. Our benchmark and code are available at https://github.com/YuanheZ/DAG-MATH.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 22 of its 46 references that are in the map. First posted on arXiv 19 Oct 2025.
Builds on
22 of 46 references.
Closest ancestors · 3
Same direction, newest first
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decomposition30 Apr
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learning15 Apr
- 2024Omni-MATH: A Universal Olympiad Level Mathematic Benchmark For Large Language Models10 Oct
Other references · 19
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2025Qwen3 Technical Reportcited by 8,820
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 688
- 2025The Lessons of Developing Process Reward Models in Mathematical Reasoningcited by 415
- 2025Goedel-Prover-V2: Scaling Formal Theorem Proving with Scaffolded Data Synthesis and Self-Correctioncited by 154
- 2025Thought Anchors: Which LLM Reasoning Steps Matter?cited by 129
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 50
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thoughtcited by 50
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methodscited by 29
7 more
- 2025Metastable Dynamics of Chain-of-Thought Reasoning: Provable Benefits of Search, RL and Distillationcited by 25
- 2025A Theory of Learning with Autoregressive Chain of Thoughtcited by 23
- 2025To CoT or To Loop? A Formal Comparison Between Chain-of-Thought and Looped Transformerscited by 11
- 2025From Reasoning to Super-Intelligence: A Search-Theoretic Perspectivecited by 9
- 2025Beyond Statistical Learning: Exact Learning Is Essential for General Intelligencecited by 6
- 2025Are Transformers Able to Reason by Connecting Separated Knowledge in Training Data?cited by 3
- 2025Data Shifts Hurt CoT: A Theoretical Studycited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalizationcited by 12
- 2025ReJump: A Tree-Jump Representation for Analyzing and Improving LLM Reasoningcited by 5
- 2026Characterizing, Evaluating, and Optimizing Complex Reasoningcited by 5
- 2026Toward Skill-Native LLMs: Skill Entropy for Benchmarking and Training Long-Horizon Reasoningcited by 0
- 2026SearchAtlas: Analyzing Agentic Search Strategies via Evidential Query Graphscited by 0
- 2026SearchAtlas: Analyzing Agentic Search Strategies via Evidential Query Graphs9 Sep 2026
- 2026Toward Skill-Native LLMs: Skill Entropy for Benchmarking and Training Long-Horizon Reasoning5 Aug 2026
- 2026LeanMarathon: Toward Reliable AI Co-Mathematicians through Long-Horizon Lean Autoformalization3 Jun 2026
- 2026Characterizing, Evaluating, and Optimizing Complex Reasoning9 Feb 2026
- 2025ReJump: A Tree-Jump Representation for Analyzing and Improving LLM Reasoning30 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025KisMATH: Do LLMs Have Knowledge of Implicit Structures in Mathematical Reasoning?
- 2026From Chains to DAGs: Probing the Graph Structure of Reasoning in LLMs
- 2026Beyond Input Understanding: Diagnosing Multilingual Mathematical Reasoning with Directed Acyclic Trace Graphs
- 2024Scheherazade: Evaluating Chain-of-Thought Math Reasoning in LLMs with Chain-of-Problems
- 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning
- 2026GTBench: A Curriculum-Grounded Benchmark for Evaluating LLMs as Mathematical Research Assistants in Graph Theory
- 2025Premise-Augmented Reasoning Chains Improve Error Identification in Math reasoning with LLMs
- 2025Improving LLMs' Generalized Reasoning Abilities by Graph Problems