arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.03712cs.LG
收藏

当图标记沉没:图语言模型的机制分析

When Graph Tokens Sink: A Mechanistic Analysis of Graph Language Models

University of Virginia(弗吉尼亚大学);Capital One

Ding Zhang, Runtao Zhou, Wenqing Zheng, Rizal Fathony, Bayan Bruss, Chirag Agarwal

AI总结:

本文通过分析图语言模型中图标记的内部行为,发现激活层面的显著性与图信息利用之间存在解耦,揭示了现有图标记构建、放置和对齐机制的局限性。

摘要:

图语言模型(GLMs)已成为将大型语言模型(LLMs)适应图学习任务的一个有前景的方向。通过将图拓扑和节点信息转换为图标记,GLMs允许LLMs联合处理结构化图输入和文本指令。然而,LLMs如何内部解释这些图标记以及图标记是否作为图结构的有意义载体仍不清楚。在这项工作中,我们通过代表性GLM架构中的图标记行为分析了LLMs如何处理图信息。发现:我们发现GLMs中图标记的内部显著性与图信息利用并不等价。图沉没标记一致地表现为激活层面的异常值:它们可以通过一小部分隐藏状态维度上的巨大激活值来识别,并且偏向于早期的图标记位置。然而,这种激活层面的显著性并不意味着这些标记是图信息的主要载体。与语言和视觉-语言模型中的经典注意力沉没不同,图沉没标记不一定从查询标记中吸引最大的注意力权重。通过剪枝、重新定位和交换干预,我们表明图沉没标记对于下游预测并不是最重要的语义或结构标记。含义:这些结果共同表明,在当前的GLMs将图结构映射到LLM标记空间后,产生的图标记表示并不会自然地形成完全可用的拓扑感知内部表示;相反,它们在激活层面的显著性和图语义效用之间表现出解耦。这种解耦指出了现有图标记构建、放置和对齐机制的局限性。

英文摘要:

Graph Language Models (GLMs) have become a promising direction for adapting Large Language Models (LLMs) to graph learning tasks. By transforming graph topology and node information into graph tokens, GLMs allow LLMs to jointly process structured graph inputs and textual instructions. Yet, it remains unclear how LLMs internally interpret these graph tokens and whether graph tokens act as meaningful carriers of graph structure. In this work, we analyze how LLMs process graph information through graph-token behavior in representative GLM architectures. Findings. We find that the internal saliency of graph tokens in GLMs is not equivalent to graph information utilization. Graph sink tokens consistently emerge as activation-level outliers: they can be identified by massive activation values along a small set of hidden-state dimensions and are biased toward early graph-token positions. However, this activation-level saliency does not imply that these tokens are the main carriers of graph information. Unlike classical attention sinks in language and vision-language models, graph sink tokens do not necessarily attract the largest attention weights from query tokens. Through pruning, repositioning, and swapping interventions, we show that graph sink tokens are not the most important semantic or structural tokens for downstream prediction. Implications. Together, these results suggest that after current GLMs map graph structure into the LLM token space, the resulting graph-token representations do not naturally form a fully usable topology-aware internal representation; instead, they exhibit a decoupling between activation-level saliency and graph-semantic utility. This decoupling points to limitations in existing graph-token construction, placement, and alignment mechanisms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑