Which Eigenvectors Do Graph Transformers Need for Node Classification?

Vinam Arora, Divyansha Lachi, Shivashriganesh P. Mahato, Zihao Chen, Mehdi Azabou, Eva L DyerOpenReview 2026 · Submission to ICLR 2026 · Rejected

Abstract

Graph transformers have emerged as powerful tools for modeling complex graph-structured data, offering the ability to capture long-range dependencies beyond the graph adjacency. Yet their performance on node classification often lags behind that of message passing and spectral graph networks. Unlike these methods, graph transformers require additional mechanisms to inject structural information. In this work, we focus on Laplacian positional encodings, which use eigenvectors of the graph Laplacian to provide node-level positional information. Existing methods select eigenvectors using data-agnostic heuristics, assuming one-size-fits-all rules suffice. In contrast, we show that the spectral distribution of class information is graph-specific. To address this, we introduce Broaden the Spectrum (BTS), a novel, intuitive, and data-driven algorithm for selecting subsets of Laplacian eigenvectors for node classification. Our method is grounded in theory: we characterize the structure of optimal attention matrices for classification and show, in a simplified setting, how BTS naturally emerges as the eigenvector selection rule for achieving such attention matrices. When evaluated with standard graph transformer architectures, it delivers substantial performance gains across a wide range of node classification benchmarks. Our work shows that the performance of graph transformers on node classification has been held back by the choice of positional encodings and can be improved by employing a broader, well-chosen set of Laplacian eigenvectors.
BibTeX
@misc{arora2026which,
  author = {Vinam Arora and Divyansha Lachi and Shivashriganesh P. Mahato and Zihao Chen and Mehdi Azabou and Eva L Dyer},
  title = {{Which Eigenvectors Do Graph Transformers Need for Node Classification?}},
  year = {2026},
  url = {https://openreview.net/forum?id=s1avhccyvg},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure