Domain-Agnostic Molecular Generation with Chemical Feedback

Yin Fang, Ningyu Zhang, Zhuo Chen, Lingbing Guo, Xiaohui Fan +1 more
2/12/2026

No official code found. Best implementation: zjunlp/MolGen (195 stars, MIT, PyTorch, last commit 2024-12-17).

Abstract

The generation of molecules with desired properties has become increasingly popular, revolutionizing the way scientists design molecular structures and providing valuable support for chemical and drug design. However, despite the potential of language models in molecule generation, they face challenges such as generating syntactically or chemically flawed molecules, having narrow domain focus, and struggling to create diverse and feasible molecules due to limited annotated data or external molecular databases. To tackle these challenges, we introduce MolGen, a pre-trained molecular language model tailored specifically for molecule generation. Through the reconstruction of over 100 million molecular SELFIES, MolGen internalizes structural and grammatical insights. This is further enhanced by domain-agnostic molecular prefix tuning, fostering robust knowledge transfer across diverse domains. Importantly, our chemical feedback paradigm steers the model away from molecular hallucinations, ensuring alignment between the model's estimated probabilities and real-world chemical preferences. Extensive experiments on well-known benchmarks underscore MolGen's optimization capabilities in properties such as penalized logP, QED, and molecular docking. Additional analyses confirm its proficiency in accurately capturing molecule distributions, discerning intricate structural patterns, and efficiently exploring the chemical space. Code is available at https://github.com/zjunlp/MolGen.

View on arXivView PDF

Code Implementations(1)

zjunlp/MolGenCommunity100%
PyTorchMIT

[ICLR 2024] Domain-Agnostic Molecular Generation with Chemical Feedback

19519Shell, PythonJan 4, 20231 years agoMIT
generationhuggingfaceiclr2024language-modelmolecular-generation+10 more

Similar Papers

Cite this paper

@article{fang2026domainagnostic,
  title  = {Domain-Agnostic Molecular Generation with Chemical Feedback},
  author = {Yin Fang and Ningyu Zhang and Zhuo Chen and Lingbing Guo and Xiaohui Fan and Huajun Chen},
  year   = {2026},
  eprint = {2301.11259},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2301.11259},
  journal = {ICLR 2023 2023}
}

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

Discussion