cs.LGSep 28, 2026

Attention Graphons: A Graph Limit Perspective on Graph Transformers

Authors: Caio F. Deberaldini Netto, Moshe Eliasof, Luana Ruiz

Organizations: Johns Hopkins University Baltimore, MD · University of Cambridge Cambridge, UK

Abstract

Graph Transformers produce, for each attention head, a dense n×nn\times n matrix of learned pairwise interactions. We ask a fundamental question: do these attention-induced graphs converge to a stable limit object as nn 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 nn consistent with our bounds; and that attention graphons transfer to larger graph sizes with error decreasing in nn.

Figures & tables

Appendix figures & tables33 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Capacity-Controlled Global Attention for Graph Transformers

    Apr 19, 2026Yang Liu, Dongxin Guo, Tom Zheng +3Transformer AttentionLinear Attention

  2. Graph Convolutional Attention: A Spectral Perspective on Graph Denoising and Diffusion

    Jul 7, 2026Shervin Khalafi, Igor Krawczuk, Sergio Rozada +3Interleaved Graph AttentionIterative Denoising Methods

  3. Attention Dispersion in Dynamic Graph Transformers: Diagnosis and a Transferable Fix

    May 15, 2026Jinhao Zhang, Kangfei Zhao, Qiuhao Zeng +1Multiplex Graph TransformersTransformer Attention