paper-with-me

홈 › Papers

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

2026-04-04 · Jonas De Schouwer, Haitz Sáez de Ocáriz Borde, Xiaowen Dong 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.

📄 PDF Abstract BibTeX arXiv:2604.03815

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Communicability-Inspired Positional Encoding (CIPE)

2026-06-24 · Yipeng Zhang, Zhongtian Sun, Pietro Liò, Kelin Xia arxiv

Positional encodings (PEs) are essential for Transformers. Yet designing effective PEs for non-Euclidean graphs remains challenging. Such encodings should ideally induce an Attention-Compatible Geometry for self-attentio…

Reinforcement Routing on Proximity Graph for Efficient Recommendation

2022-01-23 · Chao Feng, Defu Lian, Xiting Wang, Zheng Liu 외

We focus on Maximum Inner Product Search (MIPS), which is an essential problem in many machine learning communities. Given a query, MIPS finds the most similar items with the maximum inner products. Methods for Nearest N…

Imitation LearningRecommendation Systems

Möbius Transformation for Fast Inner Product Search on Graph

2019-12-01 · NeurIPS 2019 12 · Zhixin Zhou, Shulong Tan, Zhaozhuo Xu, Ping Li

We present a fast search on graph algorithm for Maximum Inner Product Search (MIPS). This optimization problem is challenging since traditional Approximate Nearest Neighbor (ANN) search methods may not perform efficientl…

Understanding and Improving Proximity Graph based Maximum Inner Product Search

2019-09-30 · Jie Liu, Xiao Yan, Xinyan Dai, Zhirong Li 외

The inner-product navigable small world graph (ip-NSW) represents the state-of-the-art method for approximate maximum inner product search (MIPS) and it can achieve an order of magnitude speedup over the fastest baseline…

Non-metric Similarity Graphs for Maximum Inner Product Search

2018-12-01 · NeurIPS 2018 12 · Stanislav Morozov, Artem Babenko

In this paper we address the problem of Maximum Inner Product Search (MIPS) that is currently the computational bottleneck in a large number of machine learning applications. While being similar to the nearest neighbor …