LGAIApr 4

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

arXiv:2604.0381545.6h-index: 7
Predicted impact top 55% in LG · last 90 daysOriginality Highly original
AI Analysis

This work addresses the scalability bottleneck of graph transformers for large-scale graphs while maintaining expressive power, benefiting practitioners who need efficient yet powerful models for graph learning tasks.

The authors propose k-Maximum Inner Product (k-MIP) attention for graph transformers, which selects the top-k most relevant key nodes per query to achieve linear memory complexity and up to 10x speedups, enabling processing of graphs with over 500k nodes on a single GPU. They prove that k-MIP attention does not compromise expressiveness, as it can approximate any full-attention transformer to arbitrary precision, and validate their approach on multiple benchmarks, achieving top-tier performance among scalable graph transformers.

Graph transformers have shown promise in overcoming limitations of traditional graph neural networks, such as oversquashing and difficulties in modelling 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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes