gimlet: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learning

Haiteng Zhao, Shengchao Liu, Chang Ma, Hannan Xu, Jie Fu, Zhihong Deng, Lingpeng Kong, Qi Liu

Main figure for gimlet: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learning

Abstract

Molecule property prediction has gained significant attention in recent years. The main bottleneck is the label insufficiency caused by expensive lab experiments. In order to alleviate this issue and to better leverage textual knowledge for tasks, this study investigates the feasibility of employing natural language instructions to accomplish molecule-related tasks in a zero-shot setting. We discover that existing molecule-text models perform poorly in this setting due to inadequate treatment of instructions and limited capacity for graphs. To overcome these issues, we propose gimlet, which unifies language models for both graph and text data. By adopting generalized position embedding, our model is extended to encode both graph structures and instruction text without additional graph encoding modules. gimlet also decouples encoding of the graph from tasks instructions in the attention mechanism, enhancing the generalization of graph features across novel tasks. We construct a dataset consisting of more than two thousand molecule tasks with corresponding instructions derived from task descriptions. We pretrain gimlet on the molecule tasks along with instructions, enabling the model to transfer effectively to a broad range of tasks. Experimental results demonstrate that gimlet significantly outperforms molecule-text baselines in instruction-based zero-shot learning, even achieving closed results to supervised GNN models on tasks such as toxcast and muv.

Proposed method: gimlet

Benchmark Results

Tested on 4 datasets 5 baseline values reported too low

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

MoleculeNet

#ModelROC-AUC ↑Paper
1
HIMP
0.8740 ±0.0050
2
GINE w/ VN
0.8720 ±0.0030
3
NaiveGINe+ K=3 w/ VN
0.8700 ±0.0040
14
GCN
0.8400 ±0.0040
334
gimlet
actual #334 vs paper #334
0.6120
best reported
actual #334 vs paper #334
paper 0.6119
paper 0.6119 Δ today 0.0001
339
MoMu
0.5757
This paper
345
Galactica-125M
0.4964
This paper
346
Galactica-1.3B
0.4946
This paper
347
KVPLM
0.4917
This paper
#ModelROC-AUC ↑Paper
1
ProtoMol
0.9140 ±0.0030
2
MMSG
0.9080 ±0.0050
3
MemGNN
0.9070
43
GIN
actual #43 vs paper #280 237 places worse
0.8646 ±0.0081
best reported
actual #43 vs paper #280 237 places worse
paper 0.7010 ±0.0540
paper 0.7010 ±0.0540 Δ at pub 0.1600 Δ today 0.1636
52
GAT
actual #52 vs paper #283 231 places worse
0.8600 ±0.0110
best reported
actual #52 vs paper #283 231 places worse
paper 0.6970 ±0.0640
paper 0.6970 ±0.0640 Δ at pub 0.1630
53
Graphormer
actual #53 vs paper #225 172 places worse
0.8600 ±0.0130
best reported
actual #53 vs paper #225 172 places worse
paper 0.7760 ±0.0150
paper 0.7760 ±0.0150 Δ today 0.0840
60
Graphormer-p
0.8575 ±0.0060
This paper
64
GCN
actual #64 vs paper #255 191 places worse
0.8540 ±0.0110
best reported
actual #64 vs paper #255 191 places worse
paper 0.7360 ±0.0300
82
GraphSAGE
0.8451
284
gimlet
actual #284 vs paper #284
0.6960
best reported
actual #284 vs paper #284
paper 0.6957
paper 0.6957 Δ today 0.0003
291
MoMu
0.6656
This paper
295
CLAMP
0.6476
This paper
309
Galactica-1.3B
0.5648
This paper
318
KVPLM
0.5126
This paper
323
Galactica-125M
0.4451
This paper
#ModelROC-AUC ↑Paper
1
MAGPrompt+
0.9432 ±0.0238
2
CamS-LLaMA
0.9420
3
SE(3)-I MPPH
0.9400 ±0.0210
21
Graphormer
actual #21 vs paper #143 122 places worse
0.9170 ±0.0100
best reported
actual #21 vs paper #143 122 places worse
paper 0.7015 ±0.0130
paper 0.7015 ±0.0130 Δ today 0.2155
34
GIN
actual #34 vs paper #256 222 places worse
0.8875 ±0.0049
best reported
actual #34 vs paper #256 222 places worse
paper 0.6580 ±0.0450
38
GCN
actual #38 vs paper #274 236 places worse
0.8810 ±0.0360
best reported
actual #38 vs paper #274 236 places worse
paper 0.6490 ±0.0300
paper 0.6490 ±0.0300 Δ at pub 0.2320
57
GraphSAGE
0.8304 ±0.0038
110
Graphormer-p
0.7163 ±0.0090
This paper
210
GAT
actual #210 vs paper #250 40 places worse
0.6776
best reported
actual #210 vs paper #250 40 places worse
paper 0.6620 ±0.0260

Difference within reported uncertainty; not counted as underperformance.

paper 0.6620 ±0.0260 Δ at pub 0.0156
299
Galactica-125M
0.6052
This paper
301
KVPLM
0.6020
This paper
306
gimlet
actual #306 vs paper #306
0.5940
best reported
actual #306 vs paper #306
paper 0.5939
paper 0.5939 Δ today 0.0001
313
Galactica-1.3B
0.5394
This paper
318
MoMu
0.4981
This paper
320
CLAMP
0.4788
This paper
#ModelROC-AUC ↑Paper
1
GeomGCL
0.7630
2
LiGhT DeepGPT
0.7570 ±0.0110
3
CoMPT
0.7550
14
GCN
0.7350 ±0.0020
204
gimlet
0.5904
This paper
211
MoMu
0.5238
This paper
212
Galactica-1.3B
0.5123
This paper
213
Galactica-125M
0.5106
This paper
214
KVPLM
0.5096
This paper
SOTA performance (not significantly different from the best) Proposed method (this paper) 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 today — OK at publication; today's leaderboard best is elsewhere