[Paper Review] Domain-Agnostic Molecular Generation with Chemical Feedback
MolGen is a pre-trained molecular language model that uses SELFIES-based pre-training, domain-agnostic prefix tuning, and a self-feedback loop to generate chemically valid molecules and optimize properties, reducing molecular hallucinations across synthetic and natural product domains.
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.
Motivation & Objective
- Tackle challenges in molecule generation including syntactic/chemical invalidity, domain bias toward synthetic molecules, and hallucinations.
- Develop a domain-agnostic pre-trained molecular language model for robust molecule generation across synthetic and natural products.
- Mitigate molecular hallucinations by aligning generated molecule probabilities with real-world chemical preferences.
- Enable efficient exploration of chemical space while optimizing for properties like penalized logP, QED, and docking scores.
Proposed method
- Two-stage domain-agnostic pre-training: (i) reconstruct over 100 million corrupted SELFIES molecules to learn grammar and structure; (ii) domain-agnostic molecular prefix tuning by injecting shared prefixes into Transformer attention to transfer knowledge across domains.
- Self-feedback paradigm that aligns model-derived property rankings with chemical preferences using a rank loss, combining token-level cross-entropy with sequence-level guidance to reduce hallucinations.
- Use of SELFIES, a robust molecular language, to ensure syntactic validity, avoiding common SMILES pitfalls.
- Combines label smoothing and a tunable weight to balance generation quality with property optimization.
- Evaluation on synthetic and natural product datasets to assess distribution learning, substructure capture, and docking-relevant property optimization.
Experimental results
Research questions
- RQ1Can a domain-agnostic pre-trained molecular language model generate chemically valid molecules across synthetic and natural product domains?
- RQ2Does domain-agnostic prefix tuning improve cross-domain transfer and molecule generation quality?
- RQ3Can a self-feedback mechanism reduce molecular hallucinations and improve alignment with chemical preferences while maintaining generation ability?
- RQ4How effectively can the model optimize properties such as penalized logP, QED, and protein docking affinities while preserving molecular diversity?
Key findings
- MolGen generates chemically valid molecules without additional valency checks and captures realistic distribution patterns across synthetic and natural product domains.
- MolGen achieves high validity and diversity metrics and demonstrates strong substructure (SNN, IntDiv) and novelty performance, indicating good exploration of chemical space.
- The self-feedback paradigm substantially improves property optimization (e.g., penalized logP and docking-affinity targets) while mitigating molecular hallucinations.
- MolGen shows superior or competitive performance in targeting binding affinities for ESR1 and ACAA1 compared with several baselines, and enables effective constrained optimization with maintained similarity.
- Attention visualization indicates MolGen focuses on meaningful substructures, aided by domain-agnostic prefixes that guide cross-domain learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.