Attention Graphons: A Graph Limit Perspective on Graph Transformers
Abstract
Graph Transformers produce, for each attention head, a dense matrix of learned pairwise interactions. We ask a fundamental question: do these attention-induced graphs converge to a stable limit object as grows, or does the learned interaction pattern remain unstructured and size-dependent? We answer this using dense graph limit theory, treating each attention matrix as a finite sample from an underlying kernel---an \emph{attention graphon}---and studying concentration around this limit under the cut-distance. We derive a worst-case variance bound requiring no assumptions on the graphon, and a sharper regularity-aware bound based on nonparametric estimation theory. To operationalize the theory, we propose a canonicalize-then-block-average pipeline for estimating dataset-level attention graphons, and a variance-based diagnostic for testing whether attention admits a stable continuum description. Experiments across multiple graph benchmarks show that learned attention stabilizes to dataset-specific graphon structure on several datasets; that empirical cut-distance and cut-norm variance decreases with consistent with our bounds; and that attention graphons transfer to larger graph sizes with error decreasing in .
Create a lesson
Metadata
- Comments
- 42 pages, 32 figures
Related papers
Interpretable generative graph attention for representation learning and reconstruction of multimodal neuroimaging data
Shared title terminologycs.LGMeenu Ajith, Ishaan Batta, Vince Calhoun
Linear Attention Has Superlinear Capacity
Shared title terminologycs.LGHao Guo, Sudhaunshu Hardikar, Simon Dennis et al.
Certify the decision, not the outcome: Bayesian experimental design on search graphs
Shared title terminologycs.LGAurelien Pelissier
MLP Cache: A Post-Hoc Memory-Compute Trade-off for Transformer Inference
Shared title terminologycs.LGHuzheng Yang, Yiqiao Huang, Qingqiao Hu et al.
Tabular Selective Attention
Shared title terminologycs.LGRohith Saai Pemmasani Prabakaran, Daniel De Dios Allegue, Nour Shaheen et al.
Logic Gate Graph Neural Networks with Exact Count-Preserving Rules
Shared title terminologycs.LGDehn Xu, Tim Katzke, Emmanuel Müller