DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
Summary
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 proces…
- Venue
- arXiv 2510.19842
- Publisher
- arXiv 2510.19842
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Purpose
- DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
- Domain
- reasoning / RL; code / SQL
- Used for
- LLM research reference
- Time period
- arXiv 2025/10/19; Discord LinkedIn mid harvested 2026-09-15
- Author type
- academic/industry (see abs)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Oct 19, 2025
- Last revised
- Mar 1, 2026
- arXiv categories
- cs.AI, cs.LG
- Author comment
- Accepted by ICLR 2026
- Citations
- 6
- References
- 45
Abstract (from 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 \textbf{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 \emph{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.
Tags
Topics
reasoning / RL; code / SQL
Research notes
- From LinkedIn thread (Discord mid 1305505046888321134). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_does-incorrect-reasoning-explanation-help-activity-7261692742513176576-sowk?utm_source=share&utm_medium=member_desktop.
Cites, within this collection
Similar entries
- Paper Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward
- Paper Are Large Reasoning Models Interruptible?
- Paper Variational Reasoning for Language Models
- Paper TROLL: Trust Regions improve Reinforcement Learning for Large Language Models
- Paper Budget-aware Test-time Scaling via Discriminative Verification
- Paper Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization