NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Offline Model-Based Optimization via Policy-Guided Gradient Search

Yassine Chemingui, Aryan Deshwal, Trong Nghia Hoang, Janardhan Rao Doppa

Abstract

Offline optimization is an emerging problem in many experimental engineering domains including protein, drug or aircraft design, where online experimentation to collect evaluation data is too expensive or dangerous. To avoid that, one has to optimize an unknown function given only its offline evaluation at a fixed set of inputs. A naive solution to this problem is to learn a surrogate model of the unknown function and optimize this surrogate instead. However, such a naive optimizer is prone to erroneous overestimation of the surrogate (possibly due to over-fitting on a biased sample of function evaluation) on inputs outside the offline dataset. Prior approaches addressing this challenge have primarily focused on learning robust surrogate models. However, their search strategies are derived from the surrogate model rather than the actual offline data. To fill this important gap, we introduce a new learning-to-search perspective for offline optimization by reformulating it as an offline reinforcement learning problem. Our proposed policy-guided gradient search approach explicitly learns the best policy for a given surrogate model created from the offline data. Our empirical results on multiple benchmarks demonstrate that the learned optimization policy can be combined with existing offline surrogates to significantly improve the optimization performance.

Introduction

In fields like drug discovery or aircraft design, evaluating a new design (a "query") is incredibly expensive or dangerous. Offline Model-Based Optimization (BBO) aims to find the best possible design using only a static, pre-collected dataset of previous experiments, without any new "online" evaluations.

The standard approach is to train a surrogate model (a digital twin) of the objective function and then perform gradient ascent to find the peak. However, surrogate models are notoriously unreliable on "out-of-distribution" (OOD) data. They often erroneously predict massive performance gains in regions where no data exists, leading optimizers into "overestimation traps." While previous research focused on making surrogate models more conservative, this paper argues that the search strategy itself—how we move through the design space—is just as critical.

Policy-Guided Gradient Search (PGS)

We introduce Policy-Guided Gradient Search (PGS), a framework that treats the optimization process as a Markov Decision Process (MDP). Instead of relying on a fixed gradient ascent rule, PGS learns a policy to guide the search, effectively treating the surrogate's gradient as a noisy signal that can be corrected.

The PGS framework: Policy Learning from offline data and PGS Execution using the learned policy.

MDP Formulation

  • State: The current design candidate ($x$).
  • Action: A "step-size vector" ($\alpha$). Unlike standard gradient ascent which uses a single scalar learning rate, PGS predicts a vector that scales the gradient for every single dimension of the input. This allows for sophisticated preconditioning similar to second-order optimization methods.
  • Transition: Moving from the current design to a new one using the predicted step-size and the surrogate's gradient: $x_{i+1} = x_i + \alpha_i \nabla f(x_i)$.
  • Reward: The actual improvement in the objective function value.

Learning from Offline Data

To train this policy without new experiments, PGS uses Conservative Q-Learning (CQL). This ensures the policy doesn't become over-optimistic about regions of the design space it hasn't seen. Since offline data doesn't contain "search trajectories," we synthesize them by randomly sampling sequences from the top $p$-percentile of the available data. To handle hyperparameter selection in an offline setting, we introduce Offline State Estimation via Latent Embeddings (OSEL), which uses K-nearest neighbors in a latent space to estimate policy performance.

Experimental Results

We evaluated PGS using the Design-bench benchmark, which includes six diverse tasks across continuous spaces (Superconductor, Ant Morphology, D’Kitty Morphology) and discrete spaces (GFP, TF Bind8, UTR).

Performance comparison of PGS against state-of-the-art baselines across discrete tasks and overall mean rank.

PGS achieved a mean rank of 2.16/13 across all tasks, significantly better than state-of-the-art baselines like COMs, BDI, and BONET. Key highlights include:

  • TF Bind8: PGS reached a score of 0.981, nearly perfect optimization.
  • Superconductor: PGS found designs with a score of 0.563, outperforming the next best method (BDI at 0.520).
  • Robustness: Ablation studies confirmed that using Offline RL (CQL) was vital; replacing it with standard RL caused performance to plummet, proving that handling OOD data is the "make or break" factor in offline BBO.

Conclusion

PGS demonstrates that a robust search policy can navigate even imperfect surrogate models by learning which directions are actually trustworthy. By treating gradients as hints rather than laws, PGS provides a powerful new perspective for high-stakes engineering and biological design problems. Future work will explore more sophisticated trajectory synthesis and sequence modeling to further enhance optimization performance.

Summary updated

BibTeX
@inproceedings{chemingui2024offline,
  author = {Yassine Chemingui and Aryan Deshwal and Trong Nghia Hoang and Janardhan Rao Doppa},
  title = {{Offline Model-Based Optimization via Policy-Guided Gradient Search}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=gn9RAmQT0S},
}
Figure