Multiresolution Graph Transformers and Wavelet Positional Encoding for Learning Hierarchical Structures
Abstract
Contemporary graph learning algorithms are not well-suited for large molecules since they do not consider the hierarchical interactions among the atoms, which are essential to determining the molecular properties of macromolecules. In this work, we propose Multiresolution Graph Transformers (MGT), the first graph transformer architecture that can learn to represent large molecules at multiple scales. MGT can learn to produce representations for the atoms and group them into meaningful functional groups or repeating units. We also introduce Wavelet Positional Encoding (WavePE), a new positional encoding method that can guarantee localization in both spectral and spatial domains. Our proposed model achieves competitive results on three macromolecule datasets consisting of polymers, peptides, and protein-ligand complexes, along with one drug-like molecule dataset. Significantly, our model outperforms other state-of-the-art methods and achieves chemical accuracy in estimating molecular properties (e.g., highest occupied molecular orbital, lowest unoccupied molecular orbital, and their gap) calculated by Density Functional Theory in the polymers dataset. Furthermore, the visualizations, including clustering results on macromolecules and low-dimensional spaces of their representations, demonstrate the capability of our methodology in learning to represent long-range and hierarchical structures. Our PyTorch implementation is publicly available at https://github.com/HySonLab/Multires-Graph-Transformer.
Benchmark Results
Tested on 2 datasets 8 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
LRGB
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | GCN | 0.2421
±0.0016 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 2 | IPR-MPNN | 0.2422
±0.0007 | |
| 3 | TANGO-GPS | 0.2422
±0.0014 | |
| 5 | GIN | 0.2429
±0.0019 | |
| 7 | GatedGCN | 0.2431
±0.0020 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 25 | MGT+WavePE | 0.2453
±0.0025 | This paper |
| 49 | GINE | 0.2473
±0.0017 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 69 | GatedGCN+RWSE | 0.2485
±0.0022 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: Benchmarking Positional Encodings for GNNs and Graph Transformers (KDD 2024) |
| 75 | MGT + LapPE | 0.2488
±0.0014 | This paper |
| 84 | MGT + RWPE | 0.2496
±0.0009 | This paper |
| 113 | Transformer+LapPE | 0.2529
±0.0016 | This paper |
| 123 | SAN+RWSE | 0.2545
±0.0012 | This paper |
| 155 | SAN+LapPE | 0.2680
±0.0040 best reported | best at pub: LRGB (NeurIPS 2022) best today: Learning Efficient Positional Encodings with Graph Neural Networks (ICLR 2025) Difference within reported uncertainty; not counted as underperformance. |
| 201 | MLP | 0.4351
±0.0008 |
| # | Model | AP ↑ | Paper |
|---|---|---|---|
| 1 | S^2GCN | 0.7311
±0.0066 | |
| 2 | S4G | 0.7293
±0.0004 | |
| 3 | BuNN | 0.7276
±0.0065 | |
| 4 | GCN | 0.7261
±0.0011 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 26 | GIN | 0.7059
±0.0089 | |
| 34 | GatedGCN | 0.7006
±0.0033 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 55 | MGT+WavePE | 0.6817
±0.0064 | This paper |
| 66 | MGT + LapPE | 0.6728
±0.0152 | This paper |
| 67 | MGT + RWPE | 0.6709
±0.0083 | This paper |
| 73 | GatedGCN+RWSE | 0.6685
±0.0062 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) |
| 78 | GINE | 0.6621
±0.0067 best reported | best at pub: On the Connection Between MPNN and Graph Transformer (ICML 2023) best today: From Message-Passing to Linearized Graph Sequence Models (2026) |
| 89 | SAN+RWSE | 0.6562
±0.0075 | prev best: LRGB (NeurIPS 2022) Improvement within reported uncertainty; not highlighted. |
| 116 | SAN+LapPE | 0.6384
±0.0121 | This paper |
| 118 | Transformer+LapPE | 0.6326
±0.0126 | This paper |
| 181 | MLP | 0.4060
±0.0021 |
