Direct Regret Optimization in Bayesian Optimization

Fengxue Zhang, Yuxin Chen

TL;DR

This paper introduces Direct Regret Optimization (DRO), a novel Bayesian Optimization (BO) approach that directly optimizes for minimizing cumulative regret by learning a non-myopic decision-making policy. By leveraging simulated trajectories from an ensemble of Gaussian Processes and training a decision transformer, DRO achieves superior performance and robustness, especially in high-dimensional and noisy settings.

What Problem Does This Paper Address?

Bayesian Optimization (BO) is a powerful technique for optimizing expensive black-box functions, commonly used in fields like hyperparameter tuning and engineering design. Traditional BO methods typically rely on a separation between a surrogate model (like a Gaussian Process) and a hand-crafted acquisition function. These acquisition functions often operate in a "myopic" manner, meaning they only consider the immediate next step, which can lead to suboptimal long-term performance. This separation and myopic nature can hinder the ability to effectively balance exploration and exploitation, especially in complex, high-dimensional, or noisy optimization landscapes. Tuning these components can also be challenging and may not capture intricate objective structures.

Methods

The core of DRO is a "direct regret optimization" framework. Instead of relying on separate, myopic acquisition functions, DRO learns an end-to-end, non-myopic policy. This is achieved through a "dense training-sparse learning" paradigm:

  1. Ensemble of Gaussian Processes (GPs): DRO uses an ensemble of GPs with varying hyperparameters. This ensemble provides diverse beliefs about the objective function.
  2. Adaptive Region of Interest (ROI): For each GP in the ensemble, an ROI is identified. This ROI focuses simulations on regions most likely to contain the global optimum, improving efficiency.
  3. Simulated Rollouts with Bayesian Early Stop: The ensemble GPs generate numerous simulated BO trajectories within their respective ROIs. These simulations use conventional acquisition functions and a Bayesian Early Stop (BES) criterion to terminate rollouts when further improvement is unlikely, ensuring tractability and focus.
  4. Decision Transformer: These simulated trajectories, capturing rich multi-step exploration strategies, are used to train a decision transformer. This transformer learns to predict the optimal next query point to minimize the final simple regret, effectively embodying a non-myopic acquisition policy.
  5. Dense Training-Sparse Learning: The decision transformer is trained offline on abundant simulated data ("dense training"). Limited real-world function evaluations are then used to update the GP ensemble and potentially fine-tune the transformer ("sparse learning"), grounding the learned policy in reality and enhancing robustness.

Datasets

The paper evaluates DRO on:

  • Synthetic Functions: Ackley function across various dimensions (2D, 5D, 10D, 20D).
  • Hyperparameter Optimization (HPO) Tasks: XGBoost tuning (from YAHPO Gym) and Adam optimizer tuning for Neural Networks on UCI datasets (Bayesmark setups).
  • Complex Simulation: LunarLander-v3 control problem.

No new benchmarks were introduced; existing standard benchmarks were used.

Key Insights and Ideas

  • Directly Optimizing for Regret: The most significant insight is shifting from optimizing intermediate acquisition function values to directly learning a policy that minimizes the ultimate, cumulative regret. This is a more principled approach to achieving good final performance.
  • Simulated Trajectories as Rich Supervision: Using an ensemble of GPs to generate diverse, multi-step simulated BO trajectories provides a powerful source of supervisory signals for training a sophisticated decision-making model like a transformer.
  • ROI Filtering is Crucial: The adaptive ROI filtering significantly improves efficiency by focusing expensive simulation efforts on promising regions, as demonstrated by ablation studies.
  • Dense Training for Non-Myopic Policies: The dense training paradigm allows the decision transformer to internalize complex, non-myopic exploration strategies from simulated data, which would be prohibitively expensive to learn from real evaluations alone.
  • Ensemble Diversity Matters: Using an ensemble of GPs with varying hyperparameters is key to capturing diverse beliefs and generating robust simulation data, leading to better learned policies.

Key Results

  • Superior Performance: DRO consistently outperforms established BO baselines (standard GP-BO, TuRBO, PFNs4BO, SCoreBO) across synthetic functions, HPO tasks, and complex simulations.
  • Scalability: DRO demonstrates favorable scalability to higher-dimensional problems, outperforming methods like PFNs4BO on the 20D Ackley task.
  • Robustness: DRO shows robust performance in noisy settings and is competitive on practical HPO problems.
  • Efficiency: The ROI filtering and dense training approach lead to enhanced sample efficiency.
  • Ablation Studies: ROI filtering was found to be critical for performance, and larger GP ensembles generally improved results.

Limitations and Future Work

  • Theoretical Analysis: Full theoretical analysis of DRO's convergence and regret bounds is noted as future work.
  • Extensibility: The paper discusses potential extensions to constrained and multi-fidelity BO, suggesting these are promising future research directions.
  • Hyperparameter Tuning: While DRO aims to reduce the burden of tuning acquisition functions, the hyperparameters of DRO itself (e.g., ensemble size, transformer architecture) would still require careful selection.
  • Computational Cost: While simulations are cheaper than real evaluations, generating a large number of simulated trajectories and training a transformer can still be computationally intensive.

Summary updated

BibTeX
@inproceedings{zhang2025direct,
  author = {Fengxue Zhang and Yuxin Chen},
  title = {{Direct Regret Optimization in Bayesian Optimization}},
  booktitle = {EXAIT @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=Vk6qlff6Qb},
}
Figure