聚类即推理:思维链图学习的 $k$-均值解释
Clustering as Reasoning: A $k$-Means Interpretation of Chain-of-Thought Graph Learning
AI总结:
提出KCoT框架,通过将Transformer块与$k$-均值算法建立数学对应,将思维链推理与图表示学习统一,实现迭代语义-拓扑交互,在标准基准上超越现有方法。
摘要:
思维链(CoT)提示在增强大型语言模型(LLMs)对文本属性图(TAGs)的推理能力方面显示出潜力。本文通过聚类即推理的原则重新审视基于CoT的图学习,提供了关于迭代推理如何在图结构数据上运行的$k$-均值解释。我们观察到现有的图CoT方法依赖于分离的架构和固定的图表示,限制了逐步的语义-拓扑交互和可解释性。为克服这一限制,我们提出了一个名为KCoT的统一框架,将CoT推理与图表示学习相结合。我们的关键理论结果揭示了Transformer块与$k$-均值算法之间的形式数学对应,使得推理可以被解释为迭代的分配和更新步骤。基于这一见解,我们引入了一个语义判别提示,明确将这些步骤形式化为结构化的CoT推理,并采用结构对齐策略将拓扑先验与演化的思维条件表示融合。在标准基准上的实验表明,与最先进的方法相比,该方法持续改进,验证了聚类作为基于CoT的图学习的原则性机制。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。