Skip to main content
QUICK REVIEW

[Paper Review] Size Transferability of Graph Transformers with Convolutional Positional Encodings

Javier Porras-Valenzuela, Zhiyang Wang|arXiv (Cornell University)|Feb 16, 2026
Advanced Graph Neural NetworksComputer Science0 citations
TL;DR

The paper proves that graph transformers with transferable GNN-based positional encodings inherit size-transferability across graphs of different scales and introduces Sparse Graph Transformer (SGT) with RPEARL encodings, backed by theory and experiments on large graphs.

ABSTRACT

Transformers have achieved remarkable success across domains, motivating the rise of Graph Transformers (GTs) as attention-based architectures for graph-structured data. A key design choice in GTs is the use of Graph Neural Network (GNN)-based positional encodings to incorporate structural information. In this work, we study GTs through the lens of manifold limit models for graph sequences and establish a theoretical connection between GTs with GNN positional encodings and Manifold Neural Networks (MNNs). Building on transferability results for GNNs under manifold convergence, we show that GTs inherit transferability guarantees from their positional encodings. In particular, GTs trained on small graphs provably generalize to larger graphs under mild assumptions. We complement our theory with extensive experiments on standard graph benchmarks, demonstrating that GTs exhibit scalable behavior on par with GNNs. To further show the efficiency in a real-world scenario, we implement GTs for shortest path distance estimation over terrains to better illustrate the efficiency of the transferable GTs. Our results provide new insights into the understanding of GTs and suggest practical directions for efficient training of GTs in large-scale settings.

Motivation & Objective

  • Motivate and analyze how Graph Transformers (GTs) can generalize across graph sizes using GNN-based positional encodings.
  • Establish a theoretical link between GTs and manifold neural networks (MNNs) via limit models.
  • Propose a transferable, practical sparse GT with RPEARL encodings and attention masking.
  • Validate transferability through extensive experiments on standard graph benchmarks and a terrain SPD estimation task.

Proposed method

  • Model GTs with GNN-based positional encodings (RPEARL) feeding a self-attention backbone.
  • Use a manifold limit framework to show that transferable encodings induce transferability to GTs.
  • State assumptions ensuring Lipschitz, bounded operators, and transferable encodings to guarantee convergence to a manifold transformer (MT).
  • Define a Sparse GT by limiting attention to k-hop neighborhoods and prove transferability bounds analogous to the dense GT.
  • Propose practical implementation with RPEARL encodings and masking, and analyze training efficiency and transferability empirically.
Figure 1 : Diagram of Graph Transformer (GT) with RPEARL Positional Encodings. The graph ${\mathbf{G}}$ is sampled from manifold ${\mathcal{M}}$ . The graph structure is processed by RPEARL using a graph neural network. The positional encodings are added to the node features and passed to the graph
Figure 1 : Diagram of Graph Transformer (GT) with RPEARL Positional Encodings. The graph ${\mathbf{G}}$ is sampled from manifold ${\mathcal{M}}$ . The graph structure is processed by RPEARL using a graph neural network. The positional encodings are added to the node features and passed to the graph

Experimental results

Research questions

  • RQ1Do GTs equipped with transferable GNN positional encodings generalize to larger graphs not seen during training?
  • RQ2Can the transferability of GTs be established via a manifold limit framework and transferred from GNN encodings to the GT attention mechanism?
  • RQ3How does sparsity via k-hop masking affect transferability and computation in GTs?
  • RQ4Do RPEARL encodings improve the expressivity and transferability of GTs beyond standard GNN/SAN variants?
  • RQ5Do the proposed Sparse GT and RPEARL approach perform competitively on large-scale real-world graphs and terrain SPD tasks?

Key findings

  • GTs with transferable encodings inherit size-transferability, enabling training on small graphs and deployment on larger graphs without retraining.
  • The pointwise difference between GTs and the manifold transformer decays with graph size, at rate O((log N / N)^(1/d)).
  • Sparse GT with RPEARL maintains transferability and achieves substantial speedups (up to 100x training speedups) with comparable performance to dense GTs.
  • RPEARL + Masking provides the strongest transferability gains among ablations, improving test accuracy by up to ~58.6% over GT without PE in SNAP-patents.
  • GTs on standard benchmarks (ArXiv-year, MAG, Reddit, SNAP) show transferability patterns, with performance approaching or exceeding GNNs and dense GTs on large graphs.
Figure 2 : Transferability plots. For each dataset, the $x$ axis represents the train graph sizes as a proportion of the largest graph $(\alpha)$ , and the $y$ axis is the test accuracy at the full-sized graph. The titles show dataset name and largest graph size.
Figure 2 : Transferability plots. For each dataset, the $x$ axis represents the train graph sizes as a proportion of the largest graph $(\alpha)$ , and the $y$ axis is the test accuracy at the full-sized graph. The titles show dataset name and largest graph size.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.