HelixMO: Sample-Efficient Molecular Optimization in Scene-Sensitive Latent Space

Zhiyuan Chen, Xiaomin Fang, Zixu Hua, Yueyang Huang, Fan Wang, Hua Wu

Abstract

Efficient exploration of the chemical space to search the candidate drugs that satisfy various constraints is a fundamental task of drug discovery. Advanced deep generative methods attempt to optimize the molecules in the compact latent space instead of the discrete original space, but the mapping between the original and latent spaces is always kept unchanged during the entire optimization process. The unchanged mapping makes those methods challenging to fast adapt to various optimization scenes and leads to the great demand for assessed molecules (samples) to provide optimization direction, which is a considerable expense for drug discovery. To this end, we design a sample-efficient molecular generative method, HelixMO, which explores the scene-sensitive latent space to promote sample efficiency. The scene-sensitive latent space focuses more on modeling the promising molecules by dynamically adjusting the space mapping by leveraging the correlations between the general and scene-specific characteristics during the optimization process. Extensive experiments demonstrate that HelixMO can achieve competitive performance with only a few assessed samples on four molecular optimization scenes. Ablation studies verify the positive impact of the scene-specific latent space, which is capable of identifying the critical characteristics of the promising molecules. We also deployed HelixMO on the website PaddleHelix (https://paddlehelix.baidu.com/app/drug/drugdesign/forecast) to provide drug design service.

Introduction

Searching for a new drug is akin to finding a needle in a haystack of roughly $10^{80}$ possible molecules. To navigate this vast "chemical space," researchers utilize deep generative models like Variational Autoencoders (VAEs) to map complex molecular graphs into a simplified, continuous "latent space" where optimization is more tractable.

However, standard models typically employ a static mapping. Once trained on a general database, the latent space remains fixed. If the ideal molecules for a specific target are located in a sparse or poorly modeled region of that space, optimization algorithms struggle, requiring millions of expensive evaluations (samples) to find a viable direction. HelixMO addresses this by introducing a Scene-Sensitive Latent Space that significantly reduces the number of evaluations needed—achieving competitive results with up to 100x fewer samples than traditional methods.

Methodology: Scene-Sensitive Latent Space

HelixMO's core innovation is its ability to fine-tune its internal representation during the optimization process, adapting to the specific "scene" or target properties.

Comparison between Scene-Insensitive (static) and Scene-Sensitive (dynamic) Latent Spaces during optimization.

Model Architecture

The framework utilizes a Junction Tree VAE (JT-VAE) as its backbone, representing molecules as trees of chemical substructures to ensure chemical validity. As a Genetic Algorithm (GA) searches the latent space, HelixMO updates its encoder and decoder through three simultaneous learning tasks:

  1. Reconstruction Task: Maintains the model's ability to accurately recreate promising molecules discovered during search.
  2. Scene-Specific Property Prediction: A surrogate head learns to predict target drug properties directly from latent vectors, helping the model distinguish high-quality regions.
  3. General Property Prediction (Self-Supervised): By predicting molecular fingerprints, this task acts as a regularizer, ensuring the model retains general chemical knowledge while specializing.

Experimental Setup and Results

HelixMO was pre-trained on the MOSES dataset (~250,000 molecules) and evaluated on four standard optimization targets: bio-activity (GSK3$\beta$ and JNK3), drug-likeness (QED), and synthetic accessibility (SA).

Key Findings

  • Sample Efficiency: While most state-of-the-art models require millions of property assessments, HelixMO achieves similar or superior performance with only 10,000 assessments.
  • Dynamic Mapping: By fine-tuning the mapping, HelixMO effectively "drags" promising molecules toward the center of the latent space (the origin), where the VAE is most accurate. This makes high-quality variations easier to find.
  • Multi-Task Synergy: Ablation studies confirmed that the scene-specific task is the primary driver of efficiency, while the general property prediction prevents the latent space from collapsing.

Conclusion

HelixMO demonstrates that making the latent space "aware" of the optimization goal drastically improves sample efficiency in drug discovery. A case study on BTK inhibitors for leukemia showed that the model generates molecules capable of forming critical hydrogen bonds similar to known drugs. While the method relies on a solid initial pre-trained mapping, its ability to specialize dynamically marks a significant step forward. HelixMO is currently available for public use via the PaddleHelix platform.

Summary updated

BibTeX
@inproceedings{chen2021helixmo,
  author = {Zhiyuan Chen and Xiaomin Fang and Zixu Hua and Yueyang Huang and Fan Wang and Hua Wu},
  title = {{HelixMO: Sample-Efficient Molecular Optimization in Scene-Sensitive Latent Space}},
  booktitle = {2022},
  year = {2021},
}
Figure