Provably Reduced Sample Cost in Prior-Guided Hyperparameter Optimization

Leona Hennig, Jasmin Brandt, Lukas Fehring, Barbara Hammer, Marius Lindauer, Marcel WeverarXiv 2026

TL;DR

Hyperparameter optimization (HPO) is a notorious compute hog, but leveraging prior knowledge to speed it up has traditionally been a heuristic guessing game. This paper provides the first mathematical proof showing exactly how much an informative prior reduces the evaluation budget, and introduces Prior-Guided Successive Halving (PSH)—an algorithm that cuts compute costs by up to 80% while guaranteeing that a bad or misleading prior won't degrade performance below the standard baseline.

What Problem Does This Paper Address?

Finding the best hyperparameters for machine learning models (HPO) requires training hundreds of candidate configurations, which consumes massive amounts of energy and compute time. To mitigate this, "multi-fidelity" optimization evaluates configurations on cheap, partial resources (like fewer training epochs) to eliminate bad candidates early.

Engineers often have "priors"—expert intuition or historical data from previous tasks—about which configurations will perform best. While existing HPO frameworks use these priors to guide their search, they do so heuristically. Until now, there was no quantitative theory explaining how prior quality translates into actual budget savings. Furthermore, there were no safety guarantees: if an expert provided a completely misleading prior, it was unknown whether the optimization process would break or severely degrade.

Methods

The authors tackle this problem by framing multi-fidelity HPO through the mathematical lens of fixed-budget Best-Arm Identification (BAI) in stochastic multi-armed bandits.

Key methodological components include:

  • $\epsilon$-Best Arm Objective: Instead of wasting resources trying to identify the absolute exact mathematical optimum, the framework aims to find an $\epsilon$-optimal configuration (one that is close enough to the best to be practically indistinguishable).
  • Error Bound Decomposition: The authors derive explicit error bounds showing that the probability of picking a bad configuration decomposes into two parts: a prior effect (the gap between the prior and ground truth) and a sampling effect (evidence gathered from evaluations).
  • Prior-Guided Successive Halving (PSH): They introduce a new algorithm that uses Gaussian Processes (GPs) to model and extrapolate learning curves across fidelities. PSH calculates a dynamic stopping condition ($N_{\text{stop}}$) at each round. If the combined evidence of the prior and the evaluations is strong enough to confidently identify the best configurations, the algorithm terminates early, saving the remaining budget.

Datasets

The authors evaluated PSH using two benchmarks:

  1. Synthetic Benchmark: A custom-constructed search space of 256 configurations characterized by smooth, saturating learning curves designed to simulate diverse learning dynamics.
  2. LCBench: A standard, real-world HPO benchmark containing tabular performance data for neural network configurations across 34 different datasets, evaluated via the YAHPO Gym interface.

Key Insights and Ideas

  • Exponential Suppression of Bad Configurations: The math reveals that an informative prior causes an exponential decay in the misidentification probability of suboptimal configurations. This effectively "mutes" bad choices early on, allowing the algorithm to focus resources only on top-tier candidates.
  • The Robustness Certificate: Crucially, the paper proves that if a prior is uninformative (flat) or completely misleading (pointing to the worst configurations), the prior-effect term simply vanishes or incurs a bounded penalty. The algorithm automatically defaults back to standard Successive Halving behavior, meaning bad priors do not ruin your optimization.
  • Principled Green AutoML: By proving that early termination maintains solution quality, the paper provides a rigorous theoretical foundation for reducing the carbon footprint of automated machine learning.

Key Results

  • Up to 80% Compute Reduction: On the synthetic benchmark, using an informative "rank-based" prior allowed PSH to stop after just 256 evaluations compared to the 1,150 evaluations required by standard Successive Halving—an 80% reduction in budget with virtually no increase in final regret (error).
  • 35% Savings on Real Data: On LCBench, the same rank-based prior triggered early stopping at around 750 evaluations instead of 1,150 (a ~35% savings) while maintaining identical solution quality.
  • Empirical Robustness: When tested with an intentionally misleading "inverse rank" prior (which ranks the worst configurations as the best), PSH successfully recovered. The GP surrogate quickly overruled the bad prior as data accumulated, ensuring performance did not degrade below the baseline.

Limitations and Future Work

  • Dependence on Prior Quality: The magnitude of the budget savings is directly tied to how accurate the prior is. If the prior is mediocre, the savings are negligible.
  • Gaussian Process Assumptions: The worst-case guarantees rely on the assumption that the GP surrogate successfully converges to the true learning curve. This assumption can fail if the kernel is misspecified, if there is non-stationary noise (e.g., from data subsampling), or if there are massive distribution shifts across different fidelities.
  • Future Directions: The authors suggest replacing standard GP surrogates with emerging "learning-curve foundation models" to provide more robust extrapolation and further strengthen early-stopping decisions.

Summary updated

BibTeX
@misc{hennig2026provably,
  author = {Leona Hennig and Jasmin Brandt and Lukas Fehring and Barbara Hammer and Marius Lindauer and Marcel Wever},
  title = {{Provably Reduced Sample Cost in Prior-Guided Hyperparameter Optimization}},
  year = {2026},
  eprint = {2606.04866},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.04866},
}

Loading related content...

Figure