MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction

Yuyan Liu, Sirui Ding, Sheng Zhou, Wenqi Fan, Qiaoyu Tan
6/18/2024
q-bio.QMcs.AIcs.CE

Official code: NYUSHCS/MolecularGPT (39 stars, Apache-2.0, last commit 2024-07-05).

Abstract

Molecular property prediction (MPP) is a fundamental and crucial task in drug discovery. However, prior methods are limited by the requirement for a large number of labeled molecules and their restricted ability to generalize for unseen and new tasks, both of which are essential for real-world applications. To address these challenges, we present MolecularGPT for few-shot MPP. From a perspective on instruction tuning, we fine-tune large language models (LLMs) based on curated molecular instructions spanning over 1000 property prediction tasks. This enables building a versatile and specialized LLM that can be adapted to novel MPP tasks without any fine-tuning through zero- and few-shot in-context learning (ICL). MolecularGPT exhibits competitive in-context reasoning capabilities across 10 downstream evaluation datasets, setting new benchmarks for few-shot molecular prediction tasks. More importantly, with just two-shot examples, MolecularGPT can outperform standard supervised graph neural network methods on 4 out of 7 datasets. It also excels state-of-the-art LLM baselines by up to 15.7% increase on classification accuracy and decrease of 17.9 on regression metrics (e.g., RMSE) under zero-shot. This study demonstrates the potential of LLMs as effective few-shot molecular property predictors. The code is available at https://github.com/NYUSHCS/MolecularGPT.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
393Shell, PythonJun 18, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2024moleculargpt,
  title  = {MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction},
  author = {Yuyan Liu and Sirui Ding and Sheng Zhou and Wenqi Fan and Qiaoyu Tan},
  year   = {2024},
  eprint = {2406.12950},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.12950v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.12950.svg)](https://codeofpaper.com/paper/2406.12950)

Discussion