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

Hugging Face Daily Papers Papers

Summary

This paper analyzes how large language models internally process graph tokens in Graph Language Models (GLMs), finding a decoupling between activation-level saliency and graph-semantic utility. Graph sink tokens emerge as activation outliers but are not the primary carriers of graph structure, revealing limitations in current graph-token construction and alignment mechanisms.

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.
Original Article

Similar Articles

Why don't Graph Transformers attend to the same token?

arXiv cs.LG

The paper investigates why Graph Transformers rarely form attention sinks compared to LLMs, showing that the attention scoring function — not graph structure — is the main cause: replacing GRIT's gated logit with dot-product attention raises its sink rate from 0.09 to 0.68.

Agentic Graph Token Reasoning

arXiv cs.LG

Introduces agentic graph token reasoning, a method that recasts graph tokenization as part of an LLM's step-by-step reasoning process, allowing the model to dynamically choose graph views and granularity during inference. The method outperforms baselines across seven graph domains and transfers zero-shot to unseen domains.

Emergent Structure in the Marginal Attention Space of Language Models

arXiv cs.CL

The paper introduces a marginal attention space for language models, showing that token-wise reduction yields a text-intrinsic signal conserved across 60+ LLMs while head-wise reduction forms a model-private signature, enabling offline per-head KV-cache eviction budgets that perform competitively with per-document methods.