NeurIPS 2020

Molecule Attention Transformer

Lukasz Maziarka, Tomasz Danel, Slawomir Mucha, Krzysztof Rataj, J. Tabor, Stanislaw Jastrzebski

Main figure for Molecule Attention Transformer

Abstract

Designing a single neural network architecture that performs competitively across a range of molecule property prediction tasks remains largely an open challenge, and its solution may unlock a widespread use of deep learning in the drug discovery industry. To move towards this goal, we propose Molecule Attention Transformer (MAT). Our key innovation is to augment the attention mechanism in Transformer using inter-atomic distances and the molecular graph structure. Experiments show that MAT performs competitively on a diverse set of molecular prediction tasks. Most importantly, with a simple self-supervised pretraining, MAT requires tuning of only a few hyperparameter values to achieve state-of-the-art performance on downstream tasks. Finally, we show that attention weights learned by MAT are interpretable from the chemical point of view.

Proposed method: MAT

Benchmark Results

Tested on 1 dataset

Tables show presented results in global context (best 3 papers + GCN + MLP).

MoleculeNet

#ModelROC-AUC ↑Paper
1
MAGPrompt+
0.9432 ±0.0238
2
CamS-LLaMA
0.9420
3
SE(3)-I MPPH
0.9400 ±0.0210
34
GIN
0.8875 ±0.0049
38
GCN
actual #38 vs paper #118 80 places worse
0.8810 ±0.0360
best reported
actual #38 vs paper #118 80 places worse
paper 0.7120 ±0.0100
paper 0.7120 ±0.0100 Δ today 0.1690
56
Weave
actual #56 vs paper #140 84 places worse
0.8370 ±0.0650
best reported
actual #56 vs paper #140 84 places worse
paper 0.7020 ±0.0090
76
MAT
0.7370 ±0.0090
This paper
85
SVM
actual #85 vs paper #95 10 places worse
0.7290
best reported
actual #85 vs paper #95 10 places worse
paper 0.7230
92
rf
0.7250 ±0.0060
This paper
108
SMILES
0.7170 ±0.0080
This paper
187
EAGCN
0.6870 ±0.0230
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) Baseline / comparison (this paper) Global context (other papers) Best today — OK at publication; today's leaderboard best is elsewhere