Token-Mol 1.0: Tokenized drug design with large language model

Jike Wang, Rui Qin, Mingyang Wang, Meijing Fang, Yangyang Zhang +15 more
7/10/2024
q-bio.BMcs.LG

No official code found. Best implementation: jkwang93/Token-Mol (65 stars, MIT, last commit 2025-12-09).

Abstract

Significant interests have recently risen in leveraging sequence-based large language models (LLMs) for drug design. However, most current applications of LLMs in drug discovery lack the ability to comprehend three-dimensional (3D) structures, thereby limiting their effectiveness in tasks that explicitly involve molecular conformations. In this study, we introduced Token-Mol, a token-only 3D drug design model. This model encodes all molecular information, including 2D and 3D structures, as well as molecular property data, into tokens, which transforms classification and regression tasks in drug discovery into probabilistic prediction problems, thereby enabling learning through a unified paradigm. Token-Mol is built on the transformer decoder architecture and trained using random causal masking techniques. Additionally, we proposed the Gaussian cross-entropy (GCE) loss function to overcome the challenges in regression tasks, significantly enhancing the capacity of LLMs to learn continuous numerical values. Through a combination of fine-tuning and reinforcement learning (RL), Token-Mol achieves performance comparable to or surpassing existing task-specific methods across various downstream tasks, including pocket-based molecular generation, conformation generation, and molecular property prediction. Compared to existing molecular pre-trained models, Token-Mol exhibits superior proficiency in handling a wider range of downstream tasks essential for drug design. Notably, our approach improves regression task accuracy by approximately 30% compared to similar token-only methods. Token-Mol overcomes the precision limitations of token-only models and has the potential to integrate seamlessly with general models such as ChatGPT, paving the way for the development of a universal artificial intelligence drug design model that facilitates rapid and high-quality drug design by experts.

View on arXivView PDF

Code Implementations(1)

jkwang93/Token-MolCommunity66%
MIT

Token-Mol 1.0:tokenized drug design with large language model

6513PythonJun 23, 202410 months agoMIT

Similar Papers

Cite this paper

@article{wang2024tokenmol,
  title  = {Token-Mol 1.0: Tokenized drug design with large language model},
  author = {Jike Wang and Rui Qin and Mingyang Wang and Meijing Fang and Yangyang Zhang and Yuchen Zhu and Qun Su and Qiaolin Gou and Chao Shen and Odin Zhang and Zhenxing Wu and Dejun Jiang and Xujun Zhang and Huifeng Zhao and Xiaozhe Wan and Zhourui Wu and Liwei Liu and Yu Kang and Chang-Yu Hsieh and Tingjun Hou},
  year   = {2024},
  eprint = {2407.07930},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.07930v2}
}

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/2407.07930.svg)](https://codeofpaper.com/paper/2407.07930)

Discussion