mlsanityData to 14 Oct 2026

k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS

arXiv 2604.03815 ↗First posted 4 Apr 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Graph transformers have shown promise in overcoming limitations of traditional graph neural networks, such as oversquashing and difficulties in modeling long-range dependencies. However, their application to large-scale graphs is hindered by the quadratic memory and computational complexity of the all-to-all attention mechanism. Although alternatives such as linearized attention and restricted attention patterns have been proposed, these often degrade performance or limit expressive power. To better balance efficiency and effectiveness, we introduce k-Maximum Inner Product (k-MIP) attention for graph transformers. k-MIP attention selects the most relevant key nodes per query via a top-k operation, yielding a sparse yet flexible attention pattern. Combined with an attention score computation based on symbolic matrices, this results in linear memory complexity and practical speedups of up to an order of magnitude compared to all-to-all attention, enabling the processing of graphs with over 500k nodes on a single A100 GPU. We provide a theoretical analysis of expressive power, showing that k-MIP attention does not compromise the expressiveness of graph transformers: specifically, we prove that k-MIP transformers can approximate any full-attention transformer to arbitrary precision. In addition, we analyze the expressive power of the GraphGPS framework, in which we integrate our attention mechanism, and establish an upper bound on its graph distinguishing capability in terms of the S-SEG-WL test. Finally, we validate our approach on the Long Range Graph Benchmark, the City-Networks benchmark, and two custom large-scale inductive point cloud datasets, consistently ranking among the top-performing scalable graph transformers.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 61 of its 83 references that are in the map. First posted on arXiv 4 Apr 2026.

Builds on

61 of 83 references.

References · 61

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2017Graph Attention Networkscited by 8,923
  4. 2018How Powerful are Graph Neural Networks?cited by 4,393
  5. 2015ShapeNet: An Information-Rich 3D Model Repositorycited by 2,897
  6. 2017Billion-scale similarity search with GPUscited by 2,497
  7. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  9. 2020Reformer: The Efficient Transformercited by 1,668
  10. 2020Rethinking Attention with Performerscited by 1,601
  11. 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,167
  12. 2020LightGCN: Simplifying and Powering Graph Convolution Network for Recommendationcited by 1,139
38 more
  1. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,102
  2. 2016Geometric deep learning: going beyond Euclidean datacited by 1,048
  3. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  4. 2019Graph Neural Networks for Social Recommendationcited by 714
  5. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  6. 2020Benchmarking Graph Neural Networkscited by 680
  7. 2019Neural Graph Collaborative Filteringcited by 661
  8. 2020A Generalization of Transformer Networks to Graphscited by 661
  9. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  10. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  11. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  12. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
  13. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
  14. 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 313
  15. 2022Long Range Graph Benchmarkcited by 263
  16. 2020Sparse Sinkhorn Attentioncited by 251
  17. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
  18. 2019What graph neural networks cannot learn: depth vs widthcited by 201
  19. 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
  20. 2020Random Features Strengthen Graph Neural Networkscited by 186
  21. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
  22. 2023Exphormer: Sparse Transformers for Graphscited by 170
  23. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  24. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
  25. 2020Fast Transformers with Clustered Attentioncited by 123
  26. 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
  27. 2020Kernel Operations on the GPU, with Autodiff, without Memory Overflowscited by 104
  28. 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
  29. 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 85
  30. 2018Local Spectral Graph Convolution for Point Set Feature Learningcited by 84
  31. 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 83
  32. 2021KVT: k-NN Attention for Boosting Vision Transformerscited by 65
  33. 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
  34. 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 62
  35. 2021Memory-efficient Transformers via Top-k Attentioncited by 60
  36. 2020A Large-Scale Database for Graph Representation Learningcited by 55
  37. 2024Graph Transformers: A Surveycited by 32
  38. 2024LiGNN: Graph Neural Networks at LinkedIncited by 31

50 most cited of 61 All 61 (JSON)

Built on by

Not cited yet.