Triplet Interaction Improves Graph Transformers: Accurate Molecular Graph Learning with Triplet Graph Transformers
Abstract
Graph transformers typically lack third-order interactions, limiting their geometric understanding which is crucial for tasks like molecular geometry prediction. We propose the Triplet Graph Transformer (TGT) that enables direct communication between pairs within a 3-tuple of nodes via novel triplet attention and aggregation mechanisms. TGT is applied to molecular property prediction by first predicting interatomic distances from 2D graphs and then using these distances for downstream tasks. A novel three-stage training procedure and stochastic inference further improve training efficiency and model performance. Our model achieves new state-of-the-art (SOTA) results on open challenge benchmarks PCQM4Mv2 and OC20 IS2RE. We also obtain SOTA results on QM9, MOLPCBA, and LIT-PCBA molecular property prediction benchmarks via transfer learning. We also demonstrate the generality of TGT with SOTA results on the traveling salesman problem (TSP).
Benchmark Results
Tested on 2 datasets 3 baseline values reported too low
Tables show presented results in global context (best 3 papers + GCN + MLP).
OGB
| # | Model | MAE ↓ | Paper |
|---|---|---|---|
| 1 | DeMol | 0.0603 | |
| 2 | TGT-At | 0.0671 | |
| 3 | TGT-At (+RDKit) | 0.0683 | This paper |
| 5 | Uni-Mol+ (+RDKit) | 0.0705 | This paper |
| 6 | GPS | 0.0720 | This paper |
| 7 | Transformer-M | 0.0782 | prev best: One Transformer Can Understand Both 2D & 3D Molecular Data (ICLR 2022) best today: Enhancing Molecular Property Predictions by Learning from Bond Modelling and Interactions (ICLR 2026) |
| 11 | GEM-2 (+RDKit) | 0.0806 | This paper |
| 30 | GraphGPS | 0.0862 | This paper |
| 29 | EGT | 0.0862 | This paper |
| 35 | GRPE | 0.0876 | prev best: Recipe for a General, Powerful, Scalable Graph Transformer (NeurIPS 2022) |
| 44 | TokenGT | 0.0910 best reported | best at pub: One Transformer Can Understand Both 2D & 3D Molecular Data (ICLR 2022) best today: Enhancing Molecular Property Predictions by Learning from Bond Modelling and Interactions (ICLR 2026) |
| 58 | GIN-VN | 0.1083 best reported | best at pub: Pure Transformers are Powerful Graph Learners (NeurIPS 2022) best today: Enhancing Molecular Property Predictions by Learning from Bond Modelling and Interactions (ICLR 2026) |
| 60 | GCN-VN | 0.1152 | This paper |
| 64 | GIN | 0.1195 |
GNNBenchmark
| # | Model | F1 ↑ | Paper |
|---|---|---|---|
| 1 | TGT-Agx4 | 0.8710
±0.0010 | This paper |
| 2 | TGT-Agx3 | 0.8660
±0.0010 | This paper |
| 3 | GIG-GatedGCN | 0.8630
±0.0010 | |
| 4 | TGT-Agx2 | 0.8620
±0.0010 | This paper |
| 5 | TGT-Ag | 0.8570
±0.0010 | This paper |
| 6 | ARGNP | 0.8550
±0.0010 | This paper |
| 7 | EGT | 0.8530
±0.0010 | This paper |
| 8 | GatedGCN | 0.8380
±0.0020 | prev best: Formatting Instructions for ICLR 2021 Conference Submissions (2020) |
| 10 | TGT-At | 0.8330
±0.0010 | This paper |
| 14 | Graphormer | 0.6980
±0.0070 | This paper |
| 18 | GAT | 0.6710
±0.0020 | This paper |
| 19 | GraphSAGE | 0.6650
±0.0030 | |
| 20 | GIN | 0.6560
±0.0030 | This paper |
| 21 | GCN | 0.6430
±0.0010 best reported | best at pub: GNNBenchmark (JMLR 2023) best today: Graph in Graph Neural Network (2024) |
| 24 | MLP | 0.5440
±0.0010 |
