Sample Efficient Generative Molecular Optimization with Joint Self-Improvement

Serra Korkmaz, Adam Izdebski, Jonathan Pirnay, Rasmus Møller-Larsen, Michal Kmicikiewicz, Pankhil Gawade, Dominik G. Grimm, Ewa Szczurek

TL;DR

This paper introduces JOINT SELF-IMPROVEMENT, a novel framework for efficiently designing new molecules with desired properties. It tackles the challenge of expensive molecule evaluations by jointly training a generative model and a predictive model, and then using a clever sampling strategy to guide the generation process, leading to significant improvements over existing methods.

What Problem Does This Paper Address?

Designing new molecules with specific, improved properties (like drug efficacy) is a cornerstone of fields like drug discovery. However, the molecules that actually possess these desired properties are often rare, and experimentally verifying them is incredibly expensive and time-consuming. This makes "sample efficiency" – getting the most out of a limited number of evaluations – crucial.

A common approach is to use "surrogate models" to predict a molecule's properties, guiding the search without needing to test every single candidate. The problem is that as the generative model creates molecules that are increasingly optimized (and thus, potentially very different from the initial training data), these surrogate models can become unreliable due to "distribution shift." This means the surrogate's predictions become inaccurate, leading the optimization process astray.

Methods

The paper proposes JOINT SELF-IMPROVEMENT, a framework built on two key innovations:

  1. Joint Generative-Predictive Model: Instead of training a generative model and a surrogate model separately, this framework unifies them into a single, "joint" model. This shared architecture helps align the generative and predictive components, mitigating the distribution shift problem. The joint model is trained using a likelihood-based loss, which is more stable and less prone to high-variance updates than traditional policy-gradient methods used in reinforcement learning.
  2. Joint Self-Improving Sampling Scheme: This is the core novelty. At inference time (when generating new molecules), the predictive part of the joint model is used to "bias" the generative part. This isn't just about picking the best from a batch; it's a more sophisticated method that leverages "advantages" (how much better a molecule is predicted to be) to guide the generation process more effectively. This scheme is derived from theoretical principles of policy improvement and aims to efficiently generate optimized molecules even with very limited evaluations.

Datasets

The paper uses the ZINC250K dataset for pre-training the generative model (Hyformer). For evaluation, they create offline datasets by selecting molecules from ZINC250K and computing their properties (docking score, SA, QED). They also evaluate on online benchmarks, where the objective function (oracle) is available for querying.

Key Insights and Ideas

  • The synergy of joint modeling is key: Decoupling generative and predictive models creates a fundamental misalignment that hinders optimization. A unified model addresses this directly.
  • Distribution shift is a major bottleneck: As optimization progresses, molecules become "out-of-distribution" for surrogates, rendering them useless or even misleading. The joint model inherently combats this.
  • Self-improvement at inference time is powerful: Instead of just relying on a pre-trained surrogate, actively using its predictions to guide the generation process during sampling leads to much higher sample efficiency.
  • Likelihood-based training is more stable: For generative optimization, this approach avoids the high-variance issues common in policy-gradient methods, leading to more reliable learning.

Key Results

JOINT SELF-IMPROVEMENT consistently outperforms state-of-the-art methods in both offline and online molecular optimization benchmarks, particularly under strict evaluation budgets (e.g., 3,000 evaluations).

  • In offline settings, it achieved significantly higher Hit Ratios (molecules meeting specific criteria) across multiple protein targets compared to methods like REINVENT and SATURN. For example, on the BRAF target, it achieved a Hit Ratio of 21.637 (±4.607), far exceeding other methods.
  • In online settings, it also demonstrated superior performance, with Hit Ratios consistently outperforming baselines like REINVENT, JT-VAE, and SATURN.
  • Ablation studies showed that both the joint modeling and the joint self-improving sampling scheme are crucial for the framework's success. The sampling scheme, in particular, was shown to be critical for generating optimized molecules.

Limitations and Future Work

  • Surrogate accuracy: The authors acknowledge that in challenging tasks, inaccuracies in the surrogate component could limit optimization performance.
  • Future work: They suggest focusing on developing more robust methods for improving the predictive component of the joint model, potentially by incorporating uncertainty estimates to further enhance robustness and exploration.

Summary updated

BibTeX
@inproceedings{korkmaz2026sample,
  author = {Serra Korkmaz and Adam Izdebski and Jonathan Pirnay and Rasmus Møller-Larsen and Michal Kmicikiewicz and Pankhil Gawade and Dominik G. Grimm and Ewa Szczurek},
  title = {{Sample Efficient Generative Molecular Optimization with Joint Self-Improvement}},
  booktitle = {AI4Mat @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=mT2amOMf8c},
}
Figure