TL;DR
Tuning deep learning models requires balancing multiple competing objectives like accuracy, latency, and computational cost. PriMO (Prior Informed Multi-objective Optimizer) is the first hyperparameter optimization (HPO) algorithm that allows practitioners to inject expert prior knowledge across multiple objectives simultaneously while leveraging cheap, low-fidelity approximations to achieve up to a 10x speedup.
What Problem Does This Paper Address?
Deep learning (DL) practitioners rarely optimize for a single metric. In the real world, a model must not only be accurate but also cheap to train, fast to deploy (low latency), and fair. At the same time, engineers usually don't start tuning from scratch; they have strong intuitions—or expert priors—about which hyperparameter ranges (like learning rates or batch sizes) work best.
While single-objective HPO algorithms have successfully integrated expert priors to speed up optimization, multi-objective HPO has remained a blind spot. Existing multi-objective algorithms either ignore expert priors entirely or fail catastrophically if the expert's intuition happens to be wrong or misleading. This paper introduces a robust way to combine multi-objective optimization, multi-fidelity optimization (using cheap proxies like training for fewer epochs), and expert priors.
Methods
The authors introduce PriMO, a Bayesian optimization framework built on three core components:
- Factorized Multi-Objective Priors: Instead of asking experts to define a complex joint distribution over a Pareto front, PriMO allows users to provide independent prior probability distributions (e.g., a Gaussian distribution) over the optimum of each individual objective.
- Linear Scalarization: To handle multiple objectives scalably, PriMO converts the vector of objectives into a single scalar using a linear weighted sum, where weights are randomly sampled at each iteration.
- Decaying Prior-Augmented Acquisition Function with $\epsilon$-Greedy Exploration: PriMO multiplies a standard acquisition function (
qLogNoisyEI) by the expert prior. Crucially, the influence of the prior decays aggressively over time ($\gamma = \exp(-n_{BO}^2/n_d)$) to prevent the algorithm from getting stuck if the prior is bad. It also uses an $\epsilon$-greedy strategy, occasionally ignoring the prior entirely to explore the search space freely. - Multi-Fidelity Initial Design: Before starting the expensive Bayesian optimization phase, PriMO uses a multi-fidelity bandit algorithm, Multi-Objective Asynchronous Successive Halving (MOASHA), to evaluate configurations on cheap proxy tasks (e.g., low epochs) and surface strong initial seed points at maximum fidelity.
Datasets
PriMO was evaluated across 8 diverse deep learning benchmarks spanning image classification, language modeling, and translation:
- LCBench (Yahpo-Gym Suite): 4 tabular surrogate benchmarks (IDs: 126026, 146212, 168330, 168868) evaluating validation cross-entropy vs. training time.
- PD1 (HyperBO Suite): 4 expensive neural network tuning tasks including
cifar100-wide_resnet,imagenet-resnet,lm1b-transformer, andtranslatewmt-xformer. The objectives here were validation error rate vs. training cost.
Key Insights and Ideas
- Naive Adaptations Fail: Simply forcing single-objective prior-based sampling into multi-objective algorithms (like MOASHA) lacks robustness. If the expert priors are misleading, naive methods perform worse than random search because they cannot recover from bad advice.
- Aggressive Decay is Essential: Unlike previous single-objective methods that phase out priors slowly, practical DL tuning operates on tight budgets (e.g., 20 full evaluations). PriMO reduces its dependence on priors quadratically with the number of samples, allowing it to pivot and recover within just ~10 iterations if the prior proves wrong.
- Smart Engineering over Complex Modeling: Instead of maintaining a complex multi-fidelity Gaussian Process throughout the entire optimization process, PriMO uses multi-fidelity optimization only during its initial design phase to gather high-quality seed points quickly. This simple hybrid approach yields massive early-game performance boosts.
Key Results
PriMO achieved state-of-the-art anytime and final performance across all 8 benchmarks.
- 10x Speedup: When provided with good expert priors, PriMO reached optimal hypervolume targets up to 10 times faster than prominent baselines like MOASHA or ParEGO on the Transformer language model benchmark.
- Remarkable Robustness: Even when intentionally fed "bad" (misleading) priors, PriMO's aggressive decay and exploration mechanisms allowed it to rapidly recover and match or outperform non-prior baselines by the end of the tuning budget.
Limitations and Future Work
- Gaussian Prior Assumption: The empirical evaluation focused exclusively on Gaussian distributions for user beliefs, though the mathematical framework theoretically supports any distribution.
- Per-Objective Priors vs. Pareto Priors: PriMO asks for priors on individual objective optima. It remains an open question how experts could intuitively define priors directly over a trade-off surface (Pareto front).
- Linear Scalarization Constraints: PriMO relies on linear scalarization, which is computationally efficient but mathematically struggles to converge to non-convex regions of a Pareto front. The authors suggest exploring Hypervolume scalarization in future iterations to resolve this.
Summary updated