Incorporating Expert Priors into Bayesian Optimization via Dynamic Mean Decay

Chongqi Qu, Meiqin Liu, Jian Lan, Shanling Dong, Zhunga LiuICLR 2026

DynMeanBO is a simple yet powerful framework that allows Bayesian Optimization (BO) to "listen" to human experts without being misled by them. By embedding expert knowledge into a Gaussian Process mean function that dynamically decays over time, the algorithm exploits prior insights for early speedups while remaining robust enough to ignore "bad" advice as more data is collected.

The Challenge of Expert Priors in BO

Bayesian Optimization is the gold standard for optimizing expensive black-box functions—such as tuning hyperparameters for massive neural networks or discovering new materials where every trial is costly in terms of time or money.

In practice, engineers rarely start from scratch; they usually possess a "hunch" or prior knowledge about promising regions of the search space. However, existing methods for incorporating these "expert priors" into BO suffer from three main issues:

  1. Complexity: They often require specialized math or custom acquisition functions (the logic that dictates the next point to test).
  2. Fragility: If the expert is wrong (a "bad prior"), the optimization can get stuck in suboptimal regions for extended periods.
  3. Computational Cost: Some methods rely on heavy Monte Carlo simulations, making the optimization overhead too slow.

Introducing DynMeanBO

To address these challenges, the authors introduce DynMeanBO, a framework that stands out for its elegant simplicity. Instead of altering how the model calculates uncertainty (the kernel) or how it picks points (the acquisition function), DynMeanBO modifies the mean function of the Gaussian Process (GP).

Visualizing the effect of an expert prior on the Gaussian Process mean and posterior.
  • The Expert Mean: A mean function $m_{prior}(x)$ is defined based on the expert's probability distribution. If an expert believes a region is promising, the mean function is elevated there.
  • Dynamic Decay: To prevent the model from trusting the expert indefinitely, a dynamic decay coefficient ($\gamma_n$) is introduced. It starts high and drops exponentially as the number of iterations ($n$) increases.
  • The Formula: $m_n(x) = \gamma_n \cdot m_{prior}(x) + (1 - \gamma_n) \cdot \mu_0(x)$.
  • Early stages: The model follows the expert's guidance.
  • Later stages: The model reverts to standard "zero-mean" BO, allowing the actual observed data to drive the search.

This approach is surrogate-agnostic and acquisition-agnostic, meaning it can be plugged into almost any existing BO pipeline with negligible extra code or compute time.

Experimental Setup and Key Insights

The authors evaluated DynMeanBO across a rigorous battery of tests, including classic synthetic benchmarks (Hartmann, Levy, Rosenbrock, Stybtang) ranging from 4D to 20D, and real-world hyperparameter optimization tasks from the PD1 benchmark suite (tuning deep learning models for WMT, CIFAR, and LM1B).

Key Advantages

  • Simplicity as a Feature: By targeting the mean function, expert priors can work seamlessly with any acquisition function (EI, UCB, Thompson Sampling, etc.). This makes it highly practical for production environments.
  • The "Safety Net" Effect: The exponential decay acts as a mathematical safety net. The paper proves that DynMeanBO eventually achieves the same asymptotic convergence rates as standard BO. Even if the expert is entirely wrong, the algorithm is guaranteed to eventually find the real optimum.
  • Hybrid Initialization: A "best of both worlds" initialization strategy is suggested—sampling some initial points from the expert's suggested area and others uniformly to ensure broad coverage of the search space.

Results: Speed, Robustness, and Efficiency

When provided with a "good" prior, DynMeanBO consistently found better solutions faster than standard BO across all seven tested acquisition functions.

Optimization performance across multiple synthetic and real-world benchmarks, demonstrating DynMeanBO's accelerated convergence.

Crucially, in "bad prior" scenarios where the expert's guess was shifted significantly away from the truth, DynMeanBO quickly recovered and outperformed competing methods, which often remained trapped by the misleading advice. Furthermore, computational benchmarks showed that DynMeanBO adds almost zero overhead to the optimization loop, unlike competing frameworks that rely on nested Monte Carlo sampling.

Limitations and Future Directions

While highly effective, the framework has a few areas for future exploration:

  • Surrogate Variety: The current implementation focuses on Gaussian Processes. While adaptable to Random Forests or Bayesian Neural Networks, these were not the primary focus of the experiments.
  • Scaling: Extremely high-dimensional spaces (hundreds of variables) remain a general challenge for BO methods, including DynMeanBO.
  • Future Work: The authors plan to combine DynMeanBO with multi-fidelity optimization (using cheap, low-quality data to inform expensive trials) and parallel evaluation strategies to scale the system for massive industrial tasks.

Summary updated

BibTeX
@inproceedings{qu2026incorporating,
  author = {Chongqi Qu and Meiqin Liu and Jian Lan and Shanling Dong and Zhunga Liu},
  title = {{Incorporating Expert Priors into Bayesian Optimization via Dynamic Mean Decay}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ylX5PWfK0v},
}
Figure