# DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs

- **ID:** 935
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2510.19842
- **Authors:** Zhang, Yuanhe, Kuzborskij, Ilja, Lee, Jason D., Leng, Chenlei, Liu, Fanghui
- **Venue:** arXiv 2510.19842
- **Publisher:** arXiv 2510.19842
- **Published:** 2025
- **Source:** arxiv
- **Access:** open arXiv PDF/abs
- **Tags:** arxiv, 2510-19842, reasoning-rl, code-sql, linkedin-thread
- **Topics:** reasoning / RL; code / SQL
- **Added:** 2026-09-15
- **Verified:** 2026-09-15
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/935

## 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…

## Attributes

- **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)

## From the source (fetched 2026-10-03)

- **Published:** Oct 19, 2025 (arXiv)
- **Last revised:** Mar 1, 2026 (arXiv)
- **arXiv categories:** cs.AI, cs.LG (arXiv)
- **Author comment:** Accepted by ICLR 2026 (arXiv)
- **Citations:** 6 (Semantic Scholar)
- **References:** 45 (Semantic Scholar)

## Abstract

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.

## 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

- [The Lessons of Developing Process Reward Models in Mathematical Reasoning](https://papers.projxon.ai/entries/927) (paper 2025, #927)

## Similar entries

- [Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward](https://papers.projxon.ai/entries/957) (paper, #957)
- [Are Large Reasoning Models Interruptible?](https://papers.projxon.ai/entries/969) (paper, #969)
- [Variational Reasoning for Language Models](https://papers.projxon.ai/entries/948) (paper, #948)
- [TROLL: Trust Regions improve Reinforcement Learning for Large Language Models](https://papers.projxon.ai/entries/931) (paper, #931)
- [Budget-aware Test-time Scaling via Discriminative Verification](https://papers.projxon.ai/entries/954) (paper, #954)
- [Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization](https://papers.projxon.ai/entries/941) (paper, #941)
