Incorporating Surrogate Gradient Norm to Improve Offline Optimization Techniques

Manh Dao, Thang V. Hoang, Phi Le Nguyen, Thi-Thuy-Trang Truong

Abstract

Offline model-based optimization (MBO) is essential for high-stakes scientific discovery where real-world experimentation is costly. A primary challenge in MBO is the out-of-distribution (OOD) problem, where surrogate models produce erratic, over-optimistic predictions in regions with sparse data. This paper presents IGNITE, a novel, model-agnostic regularizer that improves surrogate reliability by constraining "sharpness." By mathematically linking prediction sharpness to the surrogate's gradient norm, IGNITE provides a practical and effective way to stabilize optimization. Evaluated on the Design-Bench suite, IGNITE improves performance in 91% of tested cases, offering a robust solution for diverse offline optimization tasks.

Introduction: The Challenge of Offline Optimization

In fields like protein engineering or robot morphology design, finding optimal configurations often requires navigating a vast search space where each "test" is expensive or time-consuming. Offline optimization addresses this by training a surrogate model $g(x; \omega)$ on a static dataset of past experiments. The goal is to find $x$ that maximizes the surrogate's prediction.

However, surrogate models frequently fail due to the out-of-distribution (OOD) issue. In regions of the design space not covered by the training data, the model may "hallucinate" peaks—predicting high performance for designs that are actually mediocre. Existing methods often attempt to penalize high predictions in unknown areas, but these are often model-specific and lack a unifying theoretical framework.

Methodology: Constraining Sharpness with IGNITE

The authors propose that the reliability of a surrogate model is tied to its sharpness. A "sharp" model exhibits large swings in output for small changes in its parameters, making it prone to erratic behavior in OOD regions.

Visualizing Surrogate Sharpness and its impact on optimization. (a) defines sharpness as the maximum prediction change under parameter perturbation. (b) illustrates how a smoother surrogate better approximates the oracle's peak.

The core innovation of IGNITE (Incorporating Surrogate Gradient Norm to Improve Offline Optimization Techniques) is to constrain this sharpness during training. The researchers define Surrogate Sharpness $\mathcal{R}_{\mathcal{X}}(\omega)$ as the maximum expected change in prediction under a small parameter perturbation $\delta$. Using a first-order Taylor expansion, they demonstrate that this sharpness can be effectively approximated by the norm of the surrogate's gradient with respect to its parameters: $\|\nabla_\omega g(x; \omega)\|$.

By incorporating this gradient norm as a constraint in the training objective, IGNITE ensures the surrogate remains "smooth" and less likely to produce spurious peaks. The optimization problem is solved using a Lagrangian approach (Basic Differential Multiplier Method), which adaptively balances training accuracy with the smoothness constraint.

Experimental Evaluation and Results

The effectiveness of IGNITE was tested across the Design-Bench suite, covering continuous tasks (e.g., Ant and D’Kitty robot morphologies) and discrete tasks (e.g., TF-Bind DNA sequences).

Performance comparison of various offline optimization algorithms with and without the IGNITE regularizer across different Design-Bench tasks.

The results demonstrate that IGNITE is a powerful, "plug-and-play" enhancement for existing optimizers:

  • Universal Improvement: IGNITE enhanced the performance of 11 different baseline algorithms (including CbAS, ROMA, and COMs) in 40 out of 44 experimental scenarios.
  • Significant Performance Gains: The method achieved a peak improvement of 9.6% on the D’Kitty Morphology task.
  • State-of-the-Art Results: By adding the IGNITE regularizer, several baselines reached new state-of-the-art performance levels on benchmarks like Ant Morphology and TF-Bind.
  • Robustness to Noise: IGNITE consistently improved outcomes even when the training data contained noise, highlighting its ability to create more grounded surrogate models.

Conclusion

IGNITE addresses a fundamental weakness in offline optimization by focusing on the smoothness of the surrogate's prediction landscape. By leveraging the gradient norm as a proxy for sharpness, it provides a theoretically grounded and practically simple regularizer that generalizes across various model architectures and optimization algorithms. While future work may explore its scalability to extremely high-dimensional spaces, IGNITE currently stands as a significant step forward in making offline discovery more reliable and efficient.

Summary updated

BibTeX
@inproceedings{dao2024incorporating,
  author = {Manh Dao and Thang V. Hoang and Phi Le Nguyen and Thi-Thuy-Trang Truong},
  title = {{Incorporating Surrogate Gradient Norm to Improve Offline Optimization Techniques}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ag7piyoyut},
}
Figure