When Graph Tokens Sink: A Mechanistic Analysis of Graph Language Models
AuthorsDing Zhang, Runtao Zhou, Wenqing Zheng, Rizal Fathony, Bayan Bruss, Chirag Agarwal
Resources
This paper shows that the most salient graph tokens in graph language models are not actually the ones carrying the important graph information, revealing a hidden mismatch in how these models represent graphs.
Key results
Repeatedly appears as the main activation spike across LLaGA and TEA-GLM.
Known sink dimension inherited by LLaGA-style LLaMA-family backbones.
What the paper found
This paper from UVA and Capital One performs a mechanistic audit of Graph Language Models, focusing on LLaGA and TEA-GLM built on Vicuna-7B/LLaMA-family backbones. The authors show that so-called graph sink tokens are sparse activation outliers: across Cora, Arxiv, and PubMed, a small set of hidden dimensions repeatedly spikes, especially dimension 1512, while LLaGA also inherits the known LLaMA2 sink dimension 2533. However, this saliency does not make them the main carriers of graph information. In TEA-GLM, the strongest sink positions are mostly indices 0 and 1, yet query-to-graph attention often concentrates on later slots, and logit-lens decoding usually returns weak, generic domain terms such as paper rather than labels or topology-aware concepts. Direct interventions reinforce the same conclusion: pruning the top-2 sink tokens barely changes node classification or link prediction, while removing random non-sink tokens can be more harmful, and moving sink tokens to the front in LLaGA produces only minor shifts. The key result is a decoupling between activation-level saliency and graph-semantic utility, suggesting that current graph-token construction and alignment methods do not reliably produce topology-aware internal representations inside the LLM.
Original abstract
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.
Read the original paperMore in Graph Learning
Browse all 32 papers →CodeGraph: Open-Taxonomy Knowledge Graph for Source Code with Wikidata Grounding
Federico Pennino, Andrea Gurioli, Stefano Zacchiroli, Maurizio Gabbrielli, Paolo Ferragina
CodeGraph turns 167 million source files into a Wikidata-grounded knowledge graph of algorithms, paradigms, patterns, and software domains.
GraphWrit3R: End-to-End 3D Scene Graph Writing
Luka Milivojevic, Nikola Popovic, Sayan Deb Sarkar, Sebastian Koch, Iro Armeni, Luc Van Gool, Danda Pani Paudel
GraphWrit3R turns 3D spatial data into open-vocabulary scene graphs using multimodal encoders and an LLM, without requiring ground-truth object annotations at inference.
Statistical Inference for Causal Discovery under Selection and Latent Variables via Single-Target Interventions
Xiaotian Hou, Kwangmoon Park, Hongzhe Li
This work shows how a small, carefully designed set of single-variable interventions can recover causal structure even when hidden confounders and selection bias complicate the data.