DrugLLM: Open Large Language Model for Few-shot Molecule Generation
Xianggen Liu, Yan Guo, Haoran Li, Jin Liu, Shudong Huang, Bowen Ke, Jiancheng Lv
TL;DR
DrugLLM introduces a transformer-based large language model tailored for drug design by leveraging Group-based Molecular Representation (GMR) to convert molecules into structured, token-efficient sequences. It trains on modification paragraphs that link molecular structure to properties, enabling few-shot molecule generation and optimization via autoregressive prediction of the next molecule given past modifications; the objective can be viewed as maximizing $P(x_t|x_{<t})$ over token sequences. Empirically, DrugLLM (with GMR) achieves superior few-shot performance for physicochemical properties and biological activities, and demonstrates zero-shot instruction-guided optimization that outperforms leading LLMs in several tasks. The work highlights a scalable path toward AI-assisted drug design, capable of generating novel molecules with desirable properties from limited examples, albeit with current limitations on shot count and scope of zero-shot tasks.
Abstract
Large Language Models (LLMs) have made great strides in areas such as language processing and computer vision. Despite the emergence of diverse techniques to improve few-shot learning capacity, current LLMs fall short in handling the languages in biology and chemistry. For example, they are struggling to capture the relationship between molecule structure and pharmacochemical properties. Consequently, the few-shot learning capacity of small-molecule drug modification remains impeded. In this work, we introduced DrugLLM, a LLM tailored for drug design. During the training process, we employed Group-based Molecular Representation (GMR) to represent molecules, arranging them in sequences that reflect modifications aimed at enhancing specific molecular properties. DrugLLM learns how to modify molecules in drug discovery by predicting the next molecule based on past modifications. Extensive computational experiments demonstrate that DrugLLM can generate new molecules with expected properties based on limited examples, presenting a powerful few-shot molecule generation capacity.
