Abstract
Hyperparameter optimization (HPO) is essential for maximizing the performance of deep learning models, yet it remains prohibitively expensive in modern high-compute regimes. Traditional automated methods often ignore the domain expertise of researchers or fail to utilize cheap proxy tasks effectively. PriorBand is a novel HPO algorithm designed to bridge this gap by combining expert-defined "priors" with multi-fidelity optimization and a robust "incumbent-based" sampling strategy. By dynamically balancing expert intuition with observed data, PriorBand achieves state-of-the-art performance even when compute budgets are limited to a few full model trainings, while remaining robust to misleading expert advice.
Introduction
In the current era of deep learning, the cost of training state-of-the-art models makes exhaustive hyperparameter search nearly impossible. This has led to a "misalignment" between HPO research and practical application. While Bayesian Optimization (BO) and multi-fidelity methods like HyperBand (HB) offer theoretical advantages, practitioners often resort to manual search because existing tools either ignore their intuition or perform poorly if that intuition is slightly inaccurate.
PriorBand was developed to satisfy six critical requirements for modern DL: strong performance under low budgets, integration of cheap proxies (multi-fidelity), utilization of expert beliefs, handling of mixed search spaces, simplicity of implementation, and effective parallelism.
Methodology
PriorBand is built upon the foundation of HyperBand (HB), utilizing its "Successive Halving" mechanism to prune poor configurations early. Its primary innovation is the Ensemble Sampling Policy (ESP), denoted as $\mathcal{E}_\pi$, which replaces the standard uniform random sampling used in HB.
The ESP integrates three distinct sampling strategies to navigate the search space:
- Uniform Sampling ($p_U$): Maintains robustness by ensuring the algorithm continues to explore the search space randomly.
- Prior-based Sampling ($p_\pi$): Samples configurations from a distribution provided by the expert, leveraging domain knowledge.
- Incumbent-based Sampling ($p_{\hat{\lambda}}$): Performs a local search via Gaussian perturbation around the current best-seen configuration.
PriorBand dynamically balances these strategies using a geometric decay to trust the expert prior more at higher fidelities, where evaluations are more reliable. Crucially, it implements a data-driven weighting between the prior and the incumbent. If the observed data suggests that the expert's prior is incorrect, the algorithm automatically shifts its weight toward the incumbent, allowing it to "escape" a bad prior and focus on the most promising regions discovered during the search.
Experimental Setup
The authors evaluated PriorBand across a diverse suite of 12 benchmarks to ensure generalizability:
- PD1 Benchmarks: Large-scale surrogate benchmarks based on real training traces of Transformers and WideResNets on datasets like LM1B, WMT, and ImageNet.
- LCBench: Tabular benchmarks covering various neural network architectures.
- JAHS-Bench-201: A benchmark for joint architecture and hyperparameter search with a 14-dimensional mixed search space.
- Synthetic Hartmann Functions: Multi-fidelity versions of Hartmann 3D and 6D functions used to test robustness under varying task correlations.
Key Insights and Results
Dominant Anytime Performance
Across all 12 benchmarks, PriorBand consistently ranked as the top performer. It was particularly effective in the "low compute" regime, where budgets were equivalent to approximately 10 full model trainings. This makes it uniquely suited for the constraints of modern large-scale model development.
The "Escape Hatch" and Robustness
A significant finding was PriorBand's robustness to "bad" experts. In adversarial tests where the expert prior was intentionally set to the worst possible configuration, PriorBand successfully recovered to match the performance of vanilla HyperBand. In contrast, other prior-based methods like $\pi$BO failed significantly under these conditions. This recovery is driven by the incumbent-based sampling, which acts as a counter-weight to the prior when the data contradicts expert intuition.
Modularity and Extensibility
The ESP is not restricted to HyperBand; it can be integrated into other asynchronous algorithms like ASHA or Async-HB. Furthermore, when extended with Gaussian Process surrogates (PriorBand+BO), the method outperformed established model-based HPO algorithms such as BOHB and Mobster.
Interpretability
PriorBand offers post-hoc feedback to the researcher. By tracking the sampling probabilities ($p_\pi$ vs $p_{\hat{\lambda}}$), a user can determine if their prior was well-aligned with the actual landscape. A rapid drop in $p_\pi$ indicates that the expert's intuition was likely misaligned with the empirical results.
Limitations and Future Work
While PriorBand represents a significant step forward, it inherits some weaknesses from HyperBand, such as sensitivity to the choice of fidelity bounds and early stopping rates. Additionally, the algorithm introduces its own internal hyperparameters, such as the perturbation noise $\sigma$, which were kept fixed for these experiments. Future research could explore dynamic adjustments for these internal settings. Finally, while the framework supports any distribution, the practical difficulty of accurately specifying complex priors remains a hurdle for some users.
Conclusion
PriorBand offers a practical, robust, and efficient solution for HPO in deep learning. By treating expert knowledge as a flexible guide rather than an absolute constraint, it provides a reliable "booster" for multi-fidelity search that excels in the resource-constrained environments typical of modern AI research.
Summary updated