ICML 2024

Triplet Interaction Improves Graph Transformers: Accurate Molecular Graph Learning with Triplet Graph Transformers

Md Shamim Hussain, M. J. Zaki, D. Subramanian

Main figure for 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

#ModelMAE ↓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
actual #7 vs paper #8 1 place worse
0.0782
actual #7 vs paper #8 1 place worse
paper 0.0782
11
GEM-2 (+RDKit)
0.0806
This paper
30
GraphGPS
0.0862
This paper
29
EGT
0.0862
This paper
35
GRPE
actual #35 vs paper #35
0.0876
actual #35 vs paper #35
paper 0.0876
paper 0.0876 Δ at pub 0.0014
44
TokenGT
actual #44 vs paper #46 2 places worse
0.0910
best reported
actual #44 vs paper #46 2 places worse
paper 0.0919
58
GIN-VN
actual #58 vs paper #59 1 place worse
0.1083
best reported
actual #58 vs paper #59 1 place worse
paper 0.1084
paper 0.1084 Δ at pub 0.0001 Δ today 0.0001
60
GCN-VN
0.1152
This paper
64
GIN
0.1195

GNNBenchmark

#ModelF1 ↑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
actual #8 vs paper #8
0.8380 ±0.0020
actual #8 vs paper #8
paper 0.8380 ±0.0020
paper 0.8380 ±0.0020 Δ at pub 0.0300
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
actual #21 vs paper #22 1 place worse
0.6430 ±0.0010
best reported
actual #21 vs paper #22 1 place worse
paper 0.6300 ±0.0010
best at pub: GNNBenchmark (JMLR 2023)
paper 0.6300 ±0.0010 Δ at pub 0.0130 Δ today 0.0130
24
MLP
0.5440 ±0.0010
SOTA performance (not significantly different from the best) Baseline / comparison (this paper) Global context (other papers) Best at pub — reported result worse than the best known when published (best reported in green) Best at pub — reported value improved over the best known when published Improved at pub — later paper surpassed this result