Rethinking Graph Transformers with Spectral Attention

By Devin Kreuzer, Dominique Beaini, William L. Hamilton, Vincent L'etourneau, Prudencio Tossou. Neural Information Processing Systems, 2021

808 citations recorded by the source corpus.

In recent years, the Transformer architecture has proven to be very successful in sequence processing, but its application to other data structures, such as graphs, has remained limited due to the difficulty of properly defining positions. Here, we present the $\textit{Spectral Attention Network}$ (SAN), which uses a learned positional encoding (LPE) that can take advantage of the full Laplacian spectrum to learn the position of each node in a given graph. This LPE is then added to the node features of the graph and passed to a fully-connected Transformer. By leveraging the full spectrum of the Laplacian, our model is theoretically powerful in distinguishing graphs, and can better detect similar sub-structures from their resonance. Further, by fully connecting the graph, the Transformer does not suffer from over-squashing, an information bottleneck of most GNNs, and enables better modeling of physical phenomenons such as heat transfer and electric interaction. When tested empirically on a set of 4 standard datasets, our model performs on par or better than state-of-the-art GNNs, and outperforms any attention-based model by a wide margin, becoming the first fully-connected architecture to perform well on graph benchmarks.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Materials Chemistry

View Paper: https://www.semanticscholar.org/paper/5863d7b35ea317c19f707376978ef1cc53e3534c

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Tie-Yan Liu
  2. Di He
  3. Vijay Prakash Dwivedi
  4. Anh Tuan Luu
  5. Yoshua Bengio
  6. Xavier Bresson
  7. Thomas Laurent
  8. Dominique Beaini

In Computer Vision and Pattern Recognition

  1. Tie-Yan Liu
  2. Vijay Prakash Dwivedi
  3. Di He
  4. Xavier Bresson
  5. Anh Tuan Luu
  6. Thomas Laurent
  7. Chaitanya K. Joshi
  8. Yoshua Bengio

In Materials Chemistry

  1. Vijay Prakash Dwivedi
  2. Dominique Beaini
  3. Anh Tuan Luu
  4. Xavier Bresson
  5. Thomas Laurent
  6. Yoshua Bengio
  7. Karsten M. Borgwardt
  8. Guy Wolf

Citations in the corpus