paper-with-me

홈 › Papers

How to Make Large Language Models Generate 100% Valid Molecules?

2025-09-27 · Wen Tao, Jing Tang, Alvin Chan, Bryan Hooi, Baolong Bi, Nanyun Peng, Yuansheng Liu, Yiwei Wang arxiv

Molecule generation is key to drug discovery and materials science, enabling the design of novel compounds with specific properties. Large language models (LLMs) can learn to perform a wide range of tasks from just a few examples. However, generating valid molecules using representations like SMILES is challenging for LLMs in few-shot settings. In this work, we explore how LLMs can generate 100% valid molecules. We evaluate whether LLMs can use SELFIES, a representation where every string corresponds to a valid molecule, for valid molecule generation but find that LLMs perform worse with SELFIES than with SMILES. We then examine LLMs' ability to correct invalid SMILES and find their capacity limited. Finally, we introduce SmiSelf, a cross-chemical language framework for invalid SMILES correction. SmiSelf converts invalid SMILES to SELFIES using grammatical rules, leveraging SELFIES' mechanisms to correct the invalid SMILES. Experiments show that SmiSelf ensures 100% validity while preserving molecular characteristics and maintaining or even enhancing performance on other metrics. SmiSelf helps expand LLMs' practical applications in biomedicine and is compatible with all SMILES-based generative models. Code is available at https://github.com/wentao228/SmiSelf.

📄 PDF Abstract BibTeX arXiv:2509.23099

Code (0)

등록된 구현이 없습니다.

Tasks

Drug Discovery

Similar Papers 제목 키워드 기반

A Deep Generative Model for Fragment-Based Molecule Generation

2020-02-28 · Marco Podda, Davide Bacciu, Alessio Micheli

Molecule generation is a challenging open problem in cheminformatics. Currently, deep generative approaches addressing the challenge belong to two broad categories, differing in how molecules are represented. One approac…

Drug DesignLanguage ModelingLanguage Modelling

Can LLMs Generate Diverse Molecules? Towards Alignment with Structural Diversity

2024-10-04 · Hyosoon Jang, Yunhui Jang, Jaehyung Kim, Sungsoo Ahn

Recent advancements in large language models (LLMs) have demonstrated impressive performance in molecular generation, which offers potential to accelerate drug discovery. However, the current LLMs overlook a critical req…

DiversityDrug Discovery

Diffusing on Two Levels and Optimizing for Multiple Properties: A Novel Approach to Generating Molecules with Desirable Properties

2023-10-05 · Siyuan Guo, Jihong Guan, Shuigeng Zhou

In the past decade, Artificial Intelligence driven drug design and discovery has been a hot research topic, where an important branch is molecule generation by generative models, from GAN-based models and VAE-based model…

Drug Design

mCLM: A Function-Infused and Synthesis-Friendly Modular Chemical Language Model

2025-05-18 · Carl Edwards, Chi Han, Gawon Lee, Thao Nguyen 외

Despite their ability to understand chemical knowledge and accurately generate sequential representations, large language models (LLMs) remain limited in their capacity to propose novel molecules with drug-like propertie…

Language ModelingLanguage Modelling

AUTODIFF: Autoregressive Diffusion Modeling for Structure-based Drug Design

2024-04-02 · Xinze Li, Penglei Wang, Tianfan Fu, Wenhao Gao 외

Structure-based drug design (SBDD), which aims to generate molecules that can bind tightly to the target protein, is an essential problem in drug discovery, and previous approaches have achieved initial success. However,…

Drug DesignDrug Discoveryvalid