paper-with-me

홈 › Papers

Comparing Graph Transformers via Positional Encodings

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

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 positional encoding: absolute positional encodings (APEs) and relative positional encodings (RPEs). APEs assign features to each node and are given as input to the transformer. RPEs instead assign a feature to each pair of nodes, e.g., graph distance, and are used to augment the attention block. A priori, it is unclear which method is better for maximizing the power of the resulting graph transformer. In this paper, we aim to understand the relationship between these different types of positional encodings. Interestingly, we show that graph transformers using APEs and RPEs are equivalent in terms of distinguishing power. In particular, we demonstrate how to interchange APEs and RPEs while maintaining their distinguishing power in terms of graph transformers. Based on our theoretical results, we provide a study on several APEs and RPEs (including the resistance distance and the recently introduced stable and expressive positional encoding (SPE)) and compare their distinguishing power in terms of transformers. We believe our work will help navigate the huge number of choices of positional encoding and will provide guidance on the future design of positional encodings for graph transformers.

📄 PDF Abstract BibTeX arXiv:2402.14202

Code (1)

blackmit/comparing_graph_transformers_via_positional_encodings 공식 구현 pytorch

Tasks

Navigate

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

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

Higher-Order Positional Encodings for Graph Representation Learning

2026-10-01 · Caleb Stam, Aagrim Hoysal, Sanjukta Krishnagopal arxiv

Many real-world systems exhibit higher-order interactions among groups of entities that cannot be captured by pairwise relationships alone. Graph Transformers and Graph Neural Networks increasingly rely on positional enc…

Graph Representation LearningGraph Learning

Towards Principled Graph Transformers

2024-01-18 · Luis Müller, Daniel Kusuma, Blai Bonet, Christopher Morris

Graph learning architectures based on the k-dimensional Weisfeiler-Leman (k-WL) hierarchy offer a theoretically well-understood expressive power. However, such architectures often fail to deliver solid predictive perform…

Graph Learning

Graph Transformers without Positional Encodings

2024-01-31 · Ayush Garg

Recently, Transformers for graph representation learning have become increasingly popular, achieving state-of-the-art performance on a wide-variety of graph datasets, either alone or in combination with message-passing g…

Graph ClassificationGraph RegressionGraph Representation LearningNode Classification+1

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