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.
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
| # | Model | ROC-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 | 0.6120 best reported | best today: <SO$ _k$>: One LLM Token for Explicit Graph Structural Understanding (2026) |
| 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 |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | ProtoMol | 0.9140
±0.0030 | |
| 2 | MMSG | 0.9080
±0.0050 | |
| 3 | MemGNN | 0.9070 | |
| 43 | GIN | 0.8646
±0.0081 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) |
| 52 | GAT | 0.8600
±0.0110 best reported | best at pub: Optimal Transport Graph Neural Networks (2020) |
| 53 | Graphormer | 0.8600
±0.0130 best reported | best today: Atom-Motif Contrastive Transformer for Molecular Property Prediction (2023) |
| 60 | Graphormer-p | 0.8575
±0.0060 | This paper |
| 64 | GCN | 0.8540
±0.0110 best reported | best at pub: Motif-based Graph Representation Learning with Application to Chemical Molecules (2022) best today: Atom-Motif Contrastive Transformer for Molecular Property Prediction (2023) |
| 82 | GraphSAGE | 0.8451 | |
| 284 | gimlet | 0.6960 best reported | best today: <SO$ _k$>: One LLM Token for Explicit Graph Structural Understanding (2026) |
| 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 |
| # | Model | ROC-AUC ↑ | Paper |
|---|---|---|---|
| 1 | MAGPrompt+ | 0.9432
±0.0238 | |
| 2 | CamS-LLaMA | 0.9420 | |
| 3 | SE(3)-I MPPH | 0.9400
±0.0210 | |
| 21 | Graphormer | 0.9170
±0.0100 best reported | best today: Atom-Motif Contrastive Transformer for Molecular Property Prediction (2023) |
| 34 | GIN | 0.8875
±0.0049 best reported | |
| 38 | GCN | 0.8810
±0.0360 best reported | best at pub: Motif-based Graph Representation Learning with Application to Chemical Molecules (2022) |
| 57 | GraphSAGE | 0.8304
±0.0038 | |
| 110 | Graphormer-p | 0.7163
±0.0090 | This paper |
| 210 | GAT | 0.6776 best reported | best at pub: Application of Graph Neural Networks and graph descriptors for graph classification (2022) Difference within reported uncertainty; not counted as underperformance. |
| 299 | Galactica-125M | 0.6052 | This paper |
| 301 | KVPLM | 0.6020 | This paper |
| 306 | gimlet | 0.5940 best reported | best today: <SO$ _k$>: One LLM Token for Explicit Graph Structural Understanding (2026) |
| 313 | Galactica-1.3B | 0.5394 | This paper |
| 318 | MoMu | 0.4981 | This paper |
| 320 | CLAMP | 0.4788 | This paper |
| # | Model | ROC-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 |
