Spectral Basis Learning for Expressive Graph Neural Networks in Link Prediction

Authors

  • Niloofar Azizi Cambridge Center for AI in Medicine, University of Cambridge, Cambridge, United Kingdom
  • Nils M. Kriege Faculty of Computer Science, University of Vienna, Vienna, Austria Research Network Data Science, University of Vienna, Vienna, Austria
  • Nicholas J. A. Harvey Department of Computer Science, University of British Columbia, Vancouver, BC, Canada
  • Horst Bischof Institute of Computer Graphics and Vision, Graz University of Technology, Graz, Austria

DOI:

https://doi.org/10.1609/aaai.v40i24.39044

Abstract

Graph Neural Networks (GNNs) excel in handling graph-structured data but often underperform in link prediction tasks compared to classical methods, mainly due to the limitations of the commonly used message-passing principle. Notably, their ability to distinguish non-isomorphic graphs is limited by the 1-dimensional Weisfeiler-Lehman test (WL). Our study presents a novel method to enhance the expressivity of GNNs by embedding induced subgraphs into the eigenbasis of the graph Laplacian. We introduce a Learnable Lanczos algorithm with Linear Constraints (LLwLC), proposing two novel subgraph extraction strategies: encoding vertex-deleted subgraphs and applying Neumann eigenvalue constraints. For the former, we demonstrate the ability to distinguish graphs that are indistinguishable by 2-WL, while maintaining efficiency. The latter focuses on link representations enabling differentiation between k-regular graphs and node automorphism, a vital aspect for link prediction tasks. Our approach results in a lightweight architecture, reducing the need for extensive training datasets. Empirically, our method improves performance in challenging link prediction tasks across benchmark datasets, establishing its practical utility and supporting our theoretical findings. Notably, LLwLC achieves 20x and 10x speedups by requiring only 5% and 10% of the data from the PubMed and OGBL-Vessel datasets, while comparing to the state-of-the-art.

Downloads

Published

2026-03-14

How to Cite

Azizi, N., Kriege, N. M., Harvey, N. J. A., & Bischof, H. (2026). Spectral Basis Learning for Expressive Graph Neural Networks in Link Prediction. Proceedings of the AAAI Conference on Artificial Intelligence, 40(24), 19640–19648. https://doi.org/10.1609/aaai.v40i24.39044

Issue

Section

AAAI Technical Track on Machine Learning I