SyncAI.news, a Varaisys broadcasting
LLMs Think with DAGs: Probing the Latent Graph Structure of Reasoning
TZ

Tianjun Zhong, Linyang He, Ziyang Li, Nima Mesgarani

· 1 min read

ResearcharXiv cs.CL

LLMs Think with DAGs: Probing the Latent Graph Structure of Reasoning

arXiv:2601.17593v4 Announce Type: replace Abstract: Large language models often externalize reasoning as linear chains, but 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 to answer this question. 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 LLM hidden states. Across logical, mathematical, and code reasoning benchmarks, we find that DAG structure is meaningfully encoded in LLM representations: it peaks in intermediate layers, with later layers preferentially recover deeper nodes and longer-range reasoning dependencies, and becomes stronger with model scale. DAG structure also progressively emerges during autoregressive generation in ways that anticipate answer correctness, while steering activations toward the ground-truth DAG structure can convert some originally incorrect generations into correct ones. These results suggest that LLM reasoning is not purely sequential, but reflects measurable latent graph structure.

Original source

This story was published by arXiv cs.CL and written by Tianjun Zhong, Linyang He, Ziyang Li, Nima Mesgarani. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News