Attention Graphons: A Graph Limit Perspective on Graph Transformers

Caio F. Deberaldini Netto, Moshe Eliasof, Luana Ruiz
9/28/2026
cs.LG
transformer-attentiongnn

No confident code implementation found for this paper.

Abstract

Graph Transformers produce, for each attention head, a dense $n\times n$ matrix of learned pairwise interactions. We ask a fundamental question: do these attention-induced graphs converge to a stable limit object as $n$ grows, or does the learned interaction pattern remain unstructured and size-dependent?

Show full abstract

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 $n$ consistent with our bounds; and that attention graphons transfer to larger graph sizes with error decreasing in $n$.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{netto2026attention,
  title  = {Attention Graphons: A Graph Limit Perspective on Graph Transformers},
  author = {Caio F. Deberaldini Netto and Moshe Eliasof and Luana Ruiz},
  year   = {2026},
  eprint = {2609.35620},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.35620v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.35620.svg)](https://codeofpaper.com/paper/2609.35620)

Discussion