MolEditRL: Structure-Preserving Molecular Editing via Discrete Diffusion and Reinforcement Learning
Yuanxin Zhuang, Dazhong Shen, Ying Sun
Abstract
Molecular editing aims to modify a given molecule to optimize desired chemical properties while preserving structural similarity. However, current approaches typically rely on string-based or continuous representations, which fail to adequately capture the discrete, graph-structured nature of molecules, resulting in limited structural fidelity and poor controllability. In this paper, we propose MolEditRL, a molecular editing framework that explicitly integrates structural constraints with precise property optimization. Specifically, MolEditRL consists of two stages: (1) a discrete graph diffusion model pretrained to reconstruct target molecules conditioned on source structures and natural language instructions; (2) an editing-aware reinforcement learning fine-tuning stage that further enhances property alignment and structural preservation by explicitly optimizing editing decisions under graph constraints. For comprehensive evaluation, we construct MolEdit-Instruct, the largest and most property-rich molecular editing dataset, comprising 3 million diverse examples spanning single- and multi-property tasks across 10 chemical attributes. Experimental results demonstrate that MolEditRL significantly outperforms state-of-the-art methods in both property optimization accuracy and structural fidelity, achieving a 74% improvement in editing success rate while using 98% fewer parameters.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on9
- Structured Denoising Diffusion Models in Discrete State-SpacesJacob Austin, Daniel D. Johnson, Jonathan Ho, Daniel Tarlow et al.NeurIPS 2021 · 2,256 citations
- Training Diffusion Models with Reinforcement LearningKevin Black, Michael Janner, Yilun Du, Ilya Kostrikov et al.ICLR 2024 · 816 citations
- GraphAF: a Flow-based Autoregressive Model for Molecular Graph GenerationChence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang et al.ICLR 2020 · 532 citations
- Hierarchical Generation of Molecular Graphs using Structural MotifsWengong Jin, Regina Barzilay, Tommi S. JaakkolaICML 2020 · 356 citations
- MIMOSA: Multi-constraint Molecule Sampling for Molecule OptimizationTianfan Fu, Cao Xiao, Xinhao Li, Lucas M. Glass et al.AAAI 2021 · 94 citations
Related papers
- MoE-Guided Graph Diffusion for Oriented Molecule DesignShuochen Li, Xiangqi Guo, Huobin Tan, Lei ShiAAAI 2026 · 1 citation
- Disentangled Graph LLM for Molecule Graph Editing under Distribution ShiftsYang Yao, Xin Wang, Yuan Meng, Zeyang Zhang et al.WWW 2026
- Searching for High-Value Molecules Using Reinforcement Learning and TransformersRaj Ghugare, Santiago Miret, Adriana Hugessen, Mariano Phielipp et al.ICLR 2024 · 22 citations
- Controllable Molecule Generation via Sparse Representation Editing: An Interpretability-Driven PerspectiveZhuoran Li, Xu Sun, Chang Chen, Wanyu LINICML 2026
- Chemical-Reaction-Aware Molecule Representation LearningHongwei Wang, Weijiang Li, Xiaomeng Jin, Kyunghyun Cho et al.ICLR 2022 · 79 citations
