Mapping the Minds of LLMs: A Graph-Based Analysis of Reasoning LLMs
Zhen Xiong, Yujun Cai, Zhecheng Li, Yiwei Wang · 2025 · 39 citationsRead the paper
Recent advances in test-time scaling have enabled Large Language Models (LLMs) to display sophisticated reasoning abilities via extended Chain-of-Thought (CoT) generation. Despite their impressive reasoning abilities, Large Reasoning Models (LRMs) frequently display unstable behaviors, e.g., hallucinating unsupported premises, overthinking simple tasks, and displaying higher sensitivity to prompt variations. This raises a deeper research question: How can we represent the reasoning process of LRMs to map their minds? To address this, we propose a unified graph-based analytical framework for fine-grained modeling and quantitative analysis of LRM reasoning dynamics. Our method first clusters long, verbose CoT outputs into semantically coherent reasoning steps, then constructs directed reasoning graphs to capture contextual and logical dependencies among these steps. Through a comprehensive analysis of derived reasoning graphs, we also reveal that key structural properties, such as exploration density, branching, and convergence ratios, strongly correlate with models’ performance. The proposed framework enables quantitative evaluation of internal reasoning structure and quality beyond conventional metrics and also provides practical insights for prompt engineering and cognitive analysis of LLMs. Code and resources will be released to facilitate future research in this direction.
What the full text shows
Working prototype- Structural properties of reasoning graphs (exploration density, branching, and convergence ratios) strongly correlate with model problem-solving performance. (Across various reasoning LLMs and prompting regimes)
- Few-shot prompting can degrade the performance of reasoning LLMs (RLMs) compared to zero-shot prompting. (In-context learning scenarios)
- The proposed graph-based framework enables quantification of reasoning quality beyond traditional accuracy metrics. (Applied to mathematical and coding tasks)
- Setup
- Evaluated on DeepSeek-R1-distilled-Llama-8B, DeepSeek-R1-distilled-Qwen-14B, and QWEN3-32B, using DEEPSEEK-V3-0324 for conditional sampling.
- How
- The authors developed a toolkit that converts raw Chain-of-Thought tokens into directed reasoning graphs by first clustering tokens into semantically coherent steps using an ensemble-scoring framework and then detecting inter-dependencies (support, contradict, or independent) via rejection sampling-based semantic detection.
- Limitations
- Analysis focused primarily on mathematical and coding tasks. · Does not yet extend to multi-modal or open-domain reasoning.
Summarized by Gemma 4 from the open-access full text · 28 Nov 2026. Read it