Understanding and improving zeroth-order optimization methods on AI-driven molecule optimization

Elvin Lo, Pin‐Yu ChenDigital 2023

Abstract

Finding novel molecules with specific properties is a fundamental challenge in drug discovery. This paper benchmarks various zeroth-order (ZO) optimization methods within the context of AI-driven molecule optimization. We investigate how these methods navigate the non-smooth, discrete landscapes of chemical space and demonstrate that sign-based gradient descent (ZO-signGD) and hybrid optimization strategies significantly improve the discovery of high-scoring candidates.

The Challenge of Chemical "Activity Cliffs"

In modern drug discovery, researchers often use continuous latent spaces—created by autoencoders—to optimize molecular structures. However, real-world properties like drug efficacy or docking scores lack exact mathematical gradients. This requires treating the property evaluator as a black-box oracle.

Zeroth-order (ZO) optimization estimates gradients by querying this oracle. The primary obstacle is the "activity cliff": the chemical landscape is highly non-smooth, where tiny structural changes can lead to massive score fluctuations, or large regions can remain entirely flat. This study evaluates which ZO algorithms can effectively traverse these hostile landscapes.

Methodology: The QMO Framework

The authors utilize the Query-based Molecule Optimization (QMO) framework, employing a pre-trained SMILES autoencoder (CDDD) to map molecules into a 512-dimensional latent space. Three primary optimizers were tested:

  • ZO-GD: Standard zeroth-order gradient descent.
  • ZO-signGD: An optimizer that utilizes only the sign of the estimated gradient, ignoring magnitude to increase robustness.
  • ZO-Adam: An adaptive method incorporating momentum and variable learning rates.

These were paired with gradient estimators like Gaussian Smoothing (GS) and Bernoulli Smoothing-shrinkage (BeS-shrink). To improve practical utility, the authors also proposed a hybrid approach, using genetic algorithms to identify promising starting neighborhoods before applying QMO for fine-grained local search.

Datasets and Benchmarks

The study utilized the Guacamol benchmark suite, focusing on three diverse tasks: perindopril_mpo, zaleplon_mpo, and deco_hop. These tasks represent varying levels of difficulty, from simple aromatic ring similarity to complex isomer scoring.

Representative molecules and SMILES strings for the benchmark tasks used in the study.

To simulate lead discovery, the authors also used the 20 lowest-scoring molecules from the ZINC 250K dataset as starting points, forcing the optimizers to travel long distances in the latent space.

Key Insights and Results

The Power of Sign Operations

One of the most significant findings is the superior performance of ZO-signGD. In landscapes characterized by discrete jumps and flat regions, standard gradient magnitudes become unreliable noise. By focusing solely on the direction (the sign), ZO-signGD proved highly robust, often outperforming the more complex ZO-Adam.

Failure of Standard ZO-GD

Standard ZO-GD failed significantly on difficult tasks like zaleplon_mpo. In these scenarios, estimated gradient vectors often shrank to near-zero in flat regions, leaving the optimizer unable to make meaningful progress. ZO-GD frequently remained stuck at scores below 0.01, while sign-based methods successfully navigated toward optimal neighborhoods.

Efficiency of Hybrid Models

Standalone ZO methods can be query-intensive. The study found that hybrid models—starting with a global search method like a genetic algorithm followed by QMO refinement—offered the best balance. This approach matched or exceeded the convergence speed of baseline models within a strict 10,000-query budget.

Conclusion and Future Directions

While ZO-signGD and hybrid models show great promise for navigating non-smooth chemical spaces, challenges remain. Current objective functions often overlook synthesizability, potentially leading to molecules that are impossible to create in a lab. Future work will focus on integrating Synthetic Accessibility (SA) penalties and exploring how different autoencoder architectures impact the smoothness of the latent landscape.

Summary updated

BibTeX
@inproceedings{lo2023understanding,
  author = {Elvin Lo and Pin‐Yu Chen},
  title = {{Understanding and improving zeroth-order optimization methods on AI-driven molecule optimization}},
  booktitle = {Digital},
  year = {2023},
  doi = {10.1039/d3dd00076a},
}
Figure