paper-with-me

Papers

Understanding Truncated Positional Encodings for Graph Neural Networks

2026-06-11 · James Flora, Mitchell Black, Weng-Keen Wong, Amir Nayyeri arxiv

Positional encodings (PEs) enhance the power of graph neural networks (GNNs), both theoretically and empirically. Two of the most popular families of PEs - spectral (e.g., Laplacian eigenspaces, effective resistance) and walk-based (polynomials of the adjacency matrix) - are theoretically equivalent in expressive power, with expressivity between the 1-WL and 3-WL tests. However, this equivalence assumes the GNN uses the "complete" version of these PEs, which requires $O(n^3)$ time and space complexity. Instead, practitioners commonly use truncated variants of these encodings, such as the first $k$ eigenspaces or powers of the adjacency matrix. However, the theoretical properties of these truncated PEs are unknown. In this work, we initiate the study of these truncated PEs. Theoretically, we show that, under truncation, several families of PEs are fundamentally different in expressive power. As a corollary, we show that truncated spectral PEs are no longer stronger than the 1-WL test. We also study a family of spectral PEs, the $k$-harmonic distances, to highlight the differences in expressive power of even closely related truncated PEs. Finally, we experimentally show that a mix of truncated PEs is preferable to any single family on real-world datasets.

📄 PDF Abstract BibTeX arXiv:2606.13671

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Bridging Distance and Spectral Positional Encodings via Anchor-Based Diffusion Geometry Approximation

2026-01-08 · Zimo Yan, Zheng Xie, Runfan Duan, Chang Liu 외 arxiv

Molecular graph learning benefits from positional signals that capture both local neighborhoods and global topology. Two widely used families are spectral encodings derived from Laplacian or diffusion operators and ancho…

Graph Learning

Size Transferability of Graph Transformers with Convolutional Positional Encodings

2026-02-16 · Javier Porras-Valenzuela, Zhiyang Wang, Xiaotao Shang, Yusu Wang 외 arxiv

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 Neu…

Graph Neural Network

HyPE-GT: where Graph Transformers meet Hyperbolic Positional Encodings

2023-12-11 · Kushal Bose, Swagatam Das

Graph Transformers (GTs) facilitate the comprehension of graph-structured data by calculating the self-attention of node pairs without considering node position information. To address this limitation, we introduce an in…

Position

Rewiring with Positional Encodings for Graph Neural Networks

2022-01-29 · Rickard Brüel-Gabrielsson, Mikhail Yurochkin, Justin Solomon

Several recent works use positional encodings to extend the receptive fields of graph neural network (GNN) layers equipped with attention mechanisms. These techniques, however, extend receptive fields to the complete gra…

Graph Neural Network

Comparing Graph Transformers via Positional Encodings

2024-02-22 · Mitchell Black, Zhengchao Wan, Gal Mishne, Amir Nayyeri 외

The distinguishing power of graph transformers is closely tied to the choice of positional encoding: features used to augment the base transformer with information about the graph. There are two primary types of position…

Navigate