Clustering as Reasoning: A k-Means Interpretation of Chain-of-Thought Graph Learning
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Chain-of-Thought (CoT) prompting has shown promise in enhancing the reasoning capabilities of large language models (LLMs) on text-attributed graphs (TAGs). This work reframes CoT-based graph learning through the principle of clustering as reasoning, offering a k-means interpretation of how iterative reasoning operates over graph-structured data. We observe that existing graph CoT methods rely on disjoint architectures and fixed graph representations, limiting step-by-step semantic-topological interaction and interpretability. To overcome this limitation, we propose a unified framework named KCoT that integrates CoT reasoning with graph representation learning. Our key theoretical result reveals a formal mathematical correspondence between a Transformer block and the k-means algorithm, allowing reasoning to be interpreted as iterative assignment and update steps. Based on this insight, we introduce a Semantic Discriminating Prompt that explicitly formulates these steps as structured CoT reasoning, together with a structure-grounded alignment strategy to fuse topological priors with evolving thought-conditioned representations. Experiments on standard benchmarks demonstrate consistent improvements over state-of-the-art methods, validating clustering as a principled mechanism for CoT-based graph learning.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 8 of its 60 references that are in the map. First posted on arXiv 24 May 2026.
Builds on
8 of 60 references.
Closest ancestors · 1
Same direction, newest first
Other references · 7
- 2023GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and Benchmarkingcited by 209
- 2024Graph Chain-of-Thought: Augmenting Large Language Models by Reasoning on Graphscited by 116
- 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 57
- 2023Evaluating Large Language Models on Graphs: Performance Insights and Comparative Analysiscited by 35
- 2023Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?cited by 31
- 2025GraphChain: Large Language Models for Large-scale Graph Analysis via Tool Chainingcited by 5
- 2025Summaries as Centroids for Interpretable and Scalable Text Clusteringcited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026CoEvoT: Co-Evolving Chain-of-Thought Prompting for Graph-LLM Reasoning
- 2025GCoT: Chain-of-Thought Prompt Learning for Graphs
- 2025CDW-CoT: Clustered Distance-Weighted Chain-of-Thoughts Reasoning
- 2023Resprompt: Residual Connection Prompting Advances Multi-Step Reasoning in Large Language Models
- 2024Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Text
- 2025Explainable Chain-of-Thought Reasoning: An Empirical Analysis on State-Aware Reasoning Dynamics
- 2025Topology of Reasoning: Understanding Large Reasoning Models through Reasoning Graph Properties
- 2025CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMs