菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-06-11
📄 Abstract - Understanding Truncated Positional Encodings for Graph Neural Networks

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.

顶级标签: machine learning theory
详细标签: graph neural networks positional encodings expressive power truncation theoretical analysis 或 搜索:

理解图神经网络的截断位置编码 / Understanding Truncated Positional Encodings for Graph Neural Networks


1️⃣ 一句话总结

本文研究了图神经网络中常用的两类位置编码(基于图谱和基于随机游走)在截断使用时的表达能力差异,发现截断后它们不再等价,且传统上更强大的谱编码甚至可能弱于最简单的图同构检测器1-WL,实验表明混合使用不同截断编码效果更优。

源自 arXiv: 2606.13671