Benchmarking Positional Encodings for GNNs and Graph Transformers

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Grötschla, Florian, Xie, Jiaqing, Wattenhofer, Roger
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918287813640192
author Grötschla, Florian
Xie, Jiaqing
Wattenhofer, Roger
author_facet Grötschla, Florian
Xie, Jiaqing
Wattenhofer, Roger
contents Positional Encodings (PEs) are essential for injecting structural information into Graph Neural Networks (GNNs), particularly Graph Transformers, yet their empirical impact remains insufficiently understood. We introduce a unified benchmarking framework that decouples PEs from architectural choices, enabling a fair comparison across 8 GNN and Transformer models, 9 PEs, and 10 synthetic and real-world datasets. Across more than 500 model-PE-dataset configurations, we find that commonly used expressiveness proxies, including Weisfeiler-Lehman distinguishability, do not reliably predict downstream performance. In particular, highly expressive PEs frequently fail to improve, and can even degrade performance on real-world tasks. At the same time, we identify several simple and previously overlooked model-PE combinations that match or outperform recent state-of-the-art methods. Our results demonstrate the strong task-dependence of PEs and underscore the need for empirical validation beyond theoretical expressiveness. To support reproducible research, we release an open-source benchmarking framework for evaluating PEs for graph learning tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2411_12732
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Benchmarking Positional Encodings for GNNs and Graph Transformers
Grötschla, Florian
Xie, Jiaqing
Wattenhofer, Roger
Machine Learning
Artificial Intelligence
Positional Encodings (PEs) are essential for injecting structural information into Graph Neural Networks (GNNs), particularly Graph Transformers, yet their empirical impact remains insufficiently understood. We introduce a unified benchmarking framework that decouples PEs from architectural choices, enabling a fair comparison across 8 GNN and Transformer models, 9 PEs, and 10 synthetic and real-world datasets. Across more than 500 model-PE-dataset configurations, we find that commonly used expressiveness proxies, including Weisfeiler-Lehman distinguishability, do not reliably predict downstream performance. In particular, highly expressive PEs frequently fail to improve, and can even degrade performance on real-world tasks. At the same time, we identify several simple and previously overlooked model-PE combinations that match or outperform recent state-of-the-art methods. Our results demonstrate the strong task-dependence of PEs and underscore the need for empirical validation beyond theoretical expressiveness. To support reproducible research, we release an open-source benchmarking framework for evaluating PEs for graph learning tasks.
title Benchmarking Positional Encodings for GNNs and Graph Transformers
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2411.12732