LGAIJan 31, 2024

Graph Transformers without Positional Encodings

arXiv:2401.17791v33 citationsh-index: 1
Originality Incremental advance
AI Analysis

This addresses the challenge of simplifying graph transformer design for researchers and practitioners, though it is incremental as it builds on existing transformer architectures.

The paper tackles the problem of designing positional encodings for graph transformers by proposing Eigenformer, a graph transformer that uses a spectrum-aware attention mechanism to incorporate graph structure without encodings, achieving competitive performance with state-of-the-art methods on standard benchmarks.

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 graph neural networks (MP-GNNs). Infusing graph inductive-biases in the innately structure-agnostic transformer architecture in the form of structural or positional encodings (PEs) is key to achieving these impressive results. However, designing such encodings is tricky and disparate attempts have been made to engineer such encodings including Laplacian eigenvectors, relative random-walk probabilities (RRWP), spatial encodings, centrality encodings, edge encodings etc. In this work, we argue that such encodings may not be required at all, provided the attention mechanism itself incorporates information about the graph structure. We introduce Eigenformer, a Graph Transformer employing a novel spectrum-aware attention mechanism cognizant of the Laplacian spectrum of the graph, and empirically show that it achieves performance competetive with SOTA Graph Transformers on a number of standard GNN benchmarks. Additionally, we theoretically prove that Eigenformer can express various graph structural connectivity matrices, which is particularly essential when learning over smaller graphs.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes