Evolutionary training-free guidance in diffusion model for 3D multi-objective molecular generation

Ruiqing Sun, Dawei Feng, Sen Yang, Yijie Wang, Huaimin Wang · OpenReview

Abstract

Optimizing multiple objective properties while satisfying structural constraints is a major challenge in 3D molecular discovery. This difficulty arises because optimization objectives can be non-differentiable and the structure-property relationship is often unknown. Evolutionary algorithms (EAs) are widely used for multi-objective optimization to find Pareto fronts and can naturally handle structural constraints without any explicit modelling; however, in the 3D molecular space they lack mechanisms to guarantee chemical validity and are therefore prone to producing invalid structures. Conversely, diffusion models excel at generating chemically valid 3D molecules but typically require modifying the model and retraining to incorporate structural constraints. Moreover, diffusion models are not inherently designed for direct multi-objective optimization and struggle to explore the Pareto front of the learned property distribution - a critical capability for discovering novel, high-performing molecules. To bridge this gap, we propose a novel 3D molecular multi-objective evolutionary algorithm that leverages the generative power of a pretrained diffusion model. Instead of manipulating molecules directly in the complex chemical space, our method performs crossover operations in the noise space defined by the diffusion model's forward process, thereby enabling parental features or desired fragments to be fused into offspring. The pretrained model's denoising process then restores structural validity. The approach is highly composable and, requiring no retraining, can be readily integrated with existing guidance methods to improve discovery. Experimental results demonstrate strong performance on single-objective, multi-objective, and structurally constrained optimization tasks.

The Challenge: Balancing Validity and Optimization

Designing new 3D molecules is a complex balancing act between chemical validity and property optimization. Traditional Evolutionary Algorithms (EAs) are powerful tools for searching multi-objective landscapes (e.g., maximizing potency while minimizing toxicity), but they struggle with 3D geometry. Directly manipulating 3D coordinates through standard genetic operations often results in "monsters"—structures that violate fundamental physical and chemical laws.

Visualization of the evolutionary process for single-objective (left) and multi-objective (right) optimization, showing the convergence toward target solutions and the Pareto front.

On the other hand, 3D diffusion models have emerged as masters of generating realistic molecular structures. However, these models are typically "rigid" generators. Steering them toward specific, often non-differentiable properties usually requires expensive retraining or complex guidance techniques that struggle to balance multiple conflicting objectives simultaneously. DEMO (Diffusion-based Evolutionary Molecular Optimization) bridges this gap by combining the "creative" search power of an EA with the "chemical intuition" of a diffusion model.

Methodology: Evolution in the Noise Space

The core innovation of DEMO is Noise-Space Evolutionary Operations. Rather than manipulating molecules in the complex 3D coordinate space, DEMO moves the evolutionary process into the latent noise space defined by a pretrained diffusion model.

The DEMO framework cycle, illustrating how evolutionary operations like crossover and mutation are performed in the noise space of a diffusion model.

Key Components of the DEMO Cycle:

  1. Noise-Space Crossover: To create an offspring from two parent molecules, the algorithm first adds Gaussian noise to both (the forward diffusion process). It then performs a crossover—swapping segments of coordinates and features—on these noisy representations.
  2. The Denoising "Fix": Because crossover occurs at a specific noise level ($t'$), the resulting hybrid is sufficiently "blurry" for the diffusion model's reverse process to project it back onto the manifold of chemically valid molecules. This "thickened" manifold allows the denoiser to act as a projection operator, fixing nonsensical hybrids into valid molecules that inherit traits from both parents.
  3. Annealed Search: The algorithm employs a dynamic noise schedule. Early generations use high noise levels to encourage global exploration (finding entirely new molecular types), while later generations use lower noise levels for local exploitation (fine-tuning the best candidates).
  4. Black-Box Optimization: As an EA-based framework, DEMO can optimize for any property—even those without available gradients—by using the property score directly as a fitness value.

Experimental Results and Insights

The authors evaluated DEMO using standard benchmarks including QM9 (small organic molecules), GEOM-Drugs (larger drug-like molecules), and CrossDocked2020 (protein-ligand docking).

  • Superior Multi-Objective Performance: In tasks requiring the optimization of multiple properties, such as dipole moment and electronic gap, DEMO significantly outperformed "generate-and-screen" baselines, capturing a much wider and higher-performing Pareto front.
  • Constraint Satisfaction: In protein-ligand tasks, DEMO successfully generated molecules that satisfied strict structural constraints (e.g., acyclic feasibility), achieving 94-97% success compared to approximately 70% for baselines.
  • Efficiency: DEMO reached superior optimization results in significantly less time than brute-force screening. For a population of 32, it was over 3.5 times faster than equivalent screening baselines.

Conclusion and Future Directions

DEMO offers a "plug-and-play" flexibility that allows researchers to use general-purpose pretrained 3D diffusion models for any combination of new properties without retraining. While the iterative denoising process remains a computational bottleneck compared to 1D or 2D generation, the ability to discover novel, high-quality molecules opens new doors for molecular discovery. Future work may involve using the high-performing molecules discovered by DEMO to "self-improve" generative models by incorporating them back into the training set, creating a virtuous cycle for drug discovery.

Summary updated

BibTeX
@misc{sun2025evolutionary,
  author = {Ruiqing Sun and Dawei Feng and Sen Yang and Yijie Wang and Huaimin Wang},
  title = {{Evolutionary training-free guidance in diffusion model for 3D multi-objective molecular generation}},
  year = {2025},
  eprint = {2505.11037},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.11037},
}
Figure