aiqbench analysis
This research extends the success of rotary position encodings (RoPE) from sequence data to graph-structured inputs by leveraging the spectrum of the graph Laplacian. The resulting Wave-Induced Rotary Encodings (WIRE) efficiently inject structural information into attention mechanisms while maintaining compatibility with linear attention models. This advancement offers a theoretically grounded method for improving performance in graph learning tasks without relying on bias-based relative position encodings.
Rotary Position Encodings for Graphs
arXiv:2509.22259v5 Announce Type: replace-cross Abstract: We study the extent to which rotary position encodings (RoPE), a recent transformer position encoding algorithm broadly adopted in large language models (LLMs) and vision transformers (ViTs), can be applied to graph-structured data. We find that rotating tokens depending on the spectrum of the graph Laplacian efficiently injects structural information into the attention mechanism, boosting performance in synthetic and real-world graph learning tasks. This approach, coined _Wave-Induced Rotary Encodings_ (WIRE), enjoys intriguing theoretical properties: it recovers regular RoPE on grids, and depends asymptotically on the graph effective resistance. Unlike bias-based relative position encodings, WIRE is compatible with linear attention.
Abstract:We study the extent to which rotary position encodings (RoPE), a recent transformer position encoding algorithm broadly adopted in large language models (LLMs) and vision transformers (ViTs), can be applied to graph-structured data. We find that rotating tokens depending on the spectrum of the graph Laplacian efficiently injects structural information into the attention mechanism, boosting performance in synthetic and real-world graph learning tasks. This approach, coined _Wave-Induced Rotary Encodings_ (WIRE), enjoys intriguing theoretical properties: it recovers regular RoPE on grids, and depends asymptotically on the graph effective resistance. Unlike bias-based relative position encodings, WIRE is compatible with linear attention.
Machine Learning (cs.LG); Artificial Intelligence (cs.AI)
arXiv:2509.22259 [cs.LG]
(or arXiv:2509.22259v5 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2509.22259 Focus to learn more arXiv-issued DOI via DataCite
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 194 words
Related coverage
Analytic-Walk Rotary Positional Encodings for Graphs
arXiv · Sep 30, 2026
WEECFP-SuRGE: Wide Embedded Extended Connectivity Fingerprint with Substructure Rotary Graph-distance Encoding
arXiv · Sep 7, 2026
Inter-Residue Geometry Attention for Antibody-Specific Epitope Prediction
arXiv · Aug 5, 2026
Higher-Order Positional Encodings for Graph Representation Learning
arXiv · Oct 2, 2026