Clustering as Reasoning: A $k$-Means Interpretation of Chain-of-Thought Graph Learning
Abstract
Lay Summary
Current AI models struggle to properly handle interconnected data that contains both text and network structures. Traditional methods usually process text descriptions and network shapes separately in isolated stages. This disconnect limits the model's step-by-step reasoning ability and treats its thinking process as "black box". We introduce a new framework called KCoT to bridge this gap. Mathematically, we discovered that the text-processing blocks in large language models actually operate similarly to how humans naturally group similar items together, a process known as clustering. Leveraging this insight, we designed a smart prompt that rigorously screening out irrelevant connections in the network and summarizing the most important shared features into a clean "knowledge centroid". KCoT consistently outperforms existing methods on graph tasks. More importantly, it opens up the "black box" of graph AI, proving that language-based reasoning can be grounded in a mathematically rigorous clustering mechanism that humans can easily interpret.