ZeroShotOpt: Towards Zero-Shot Pretrained Models for Efficient Black-Box Optimization

Jamison Meindl, Yunsheng Tian, Tony Cui, Veronika Thost, Zhang-Wei Hong +4 more
10/3/2025
cs.LGcs.AI

Official code: jamisonmeindl/zeroshotopt (7 stars, last commit 2025-09-29).

Abstract

Global optimization of expensive, derivative-free black-box functions requires extreme sample efficiency. While Bayesian optimization (BO) is the current state-of-the-art, its performance hinges on surrogate and acquisition function hyper-parameters that are often hand-tuned and fail to generalize across problem landscapes. We present ZeroShotOpt, a general-purpose, pretrained model for continuous black-box optimization tasks ranging from 2D to 20D. Our approach leverages offline reinforcement learning on large-scale optimization trajectories collected from 12 BO variants. To scale pretraining, we generate millions of synthetic Gaussian process-based functions with diverse landscapes, enabling the model to learn transferable optimization policies. As a result, ZeroShotOpt achieves robust zero-shot generalization on a wide array of unseen benchmarks, matching or surpassing the sample efficiency of leading global optimizers, including BO, while also offering a reusable foundation for future extensions and improvements. Our open-source code, dataset, and model are available at: https://github.com/jamisonmeindl/zeroshotopt

View on arXivView PDF

Code Implementations(1)

Implementation of ZeroShotOpt

70PythonJun 5, 20251 years ago

Similar Papers

Cite this paper

@article{meindl2025zeroshotopt,
  title  = {ZeroShotOpt: Towards Zero-Shot Pretrained Models for Efficient Black-Box Optimization},
  author = {Jamison Meindl and Yunsheng Tian and Tony Cui and Veronika Thost and Zhang-Wei Hong and Johannes Dürholt and Jie Chen and Wojciech Matusik and Mina Konaković Luković},
  year   = {2025},
  eprint = {2510.03051},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.03051v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.03051.svg)](https://codeofpaper.com/paper/2510.03051)

Discussion