Transformers are efficient hierarchical chemical graph learners
Not on the map. Why?
Abstract (arXiv)
Transformers, adapted from natural language processing, are emerging as a leading approach for graph representation learning. Contemporary graph transformers often treat nodes or edges as separate tokens. This approach leads to computational challenges for even moderately-sized graphs due to the quadratic scaling of self-attention complexity with token count. In this paper, we introduce SubFormer, a graph transformer that operates on subgraphs that aggregate information by a message-passing mechanism. This approach reduces the number of tokens and enhances learning long-range interactions. We demonstrate SubFormer on benchmarks for predicting molecular properties from chemical structures and show that it is competitive with state-of-the-art graph transformers at a fraction of the computational cost, with training times on the order of minutes on a consumer-grade graphics card. We interpret the attention weights in terms of chemical structures. We show that SubFormer exhibits limited over-smoothing and avoids over-squashing, which is prevalent in traditional graph neural networks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 2 Oct 2023.
Builds on
41 of 53 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2016Layer Normalizationcited by 5,579
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Rethinking Attention with Performerscited by 1,584
29 more
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2021Scaling Vision Transformerscited by 993
- 2021How Attentive are Graph Attention Networks?cited by 818
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 647
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
- 2021Understanding over-squashing and bottlenecks on graphs via curvaturecited by 471
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019Provably Powerful Graph Networkscited by 385
- 2018Invariant and Equivariant Graph Networkscited by 339
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2022Long Range Graph Benchmarkcited by 258
- 2023A Survey on Oversmoothing in Graph Neural Networkscited by 246
- 2019Understanding and Improving Layer Normalizationcited by 213
- 2021ChemRL-GEM: Geometry Enhanced Molecular Representation Learning for Property Predictioncited by 204
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2023On Over-Squashing in Message Passing Neural Networks: The Impact of Width, Depth, and Topologycited by 163
- 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
- 2022Equivariant and Stable Positional Encoding for More Powerful Graph Neural Networkscited by 94
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 71
- 2022GRPE: Relative Positional Encoding for Graph Transformercited by 67
- 2020Hierarchical Inter-Message Passing for Learning on Molecular Graphscited by 59
- 2022Anti-Symmetric DGN: a stable architecture for Deep Graph Networkscited by 58
- 2021Autobahn: Automorphism-based Graph Neural Netscited by 39
- 2023On Structural Expressive Power of Graph Transformerscited by 19
- 2023Are More Layers Beneficial to Graph Transformers?cited by 14
- 2023Probing Graph Representationscited by 10
Built on by
Citing papers per year: 2024: 2; 2025: 2.
4 papers.
- 2024Using pretrained graph neural networks with token mixers as geometric featurizers for conformational dynamicscited by 5
- 2025BSA: Ball Sparse Attention for Large-scale Geometriescited by 1
- 2025Hierarchical geometric deep learning enables scalable analysis of molecular dynamicscited by 1
- 2024Technical Report: The Graph Spectral Token -- Enhancing Graph Transformers with Spectral Informationcited by 0
- 2025Hierarchical geometric deep learning enables scalable analysis of molecular dynamics6 Dec 2025
- 2025BSA: Ball Sparse Attention for Large-scale Geometries14 Jun 2025
- 2024Using pretrained graph neural networks with token mixers as geometric featurizers for conformational dynamics30 Sep 2024
- 2024Technical Report: The Graph Spectral Token -- Enhancing Graph Transformers with Spectral Information8 Apr 2024