TL;DR
This paper introduces Sub-Sampling (SS), a novel bandit-based algorithm for efficiently evaluating hyperparameter configurations. SS is theoretically proven to be asymptotically optimal in minimizing cumulative regret. By combining SS with Bayesian Optimization, the authors develop BOSS, a powerful hyperparameter optimization framework that demonstrates superior performance across various machine learning tasks.
What Problem Does This Paper Address?
In modern deep learning, selecting the right hyperparameters, neural architectures, and data augmentation policies is crucial for achieving optimal model performance. This process, known as hyperparameter optimization (HPO), is challenging due to the vast search spaces involved. Traditional methods often require extensive computation for evaluating each configuration, making the overall optimization process slow and expensive. The paper aims to address this by proposing an efficient and robust method for evaluating hyperparameter configurations, specifically focusing on minimizing the cumulative regret, which is a key metric in sequential decision-making problems like HPO.
Methods
The core contribution is the Sub-Sampling (SS) algorithm. Unlike existing methods like Successive Halving (SH) that discard configurations based on current performance, SS evaluates the potential of hyperparameters by using sub-samples of observations. This allows it to make more informed decisions about which configurations to explore further. SS is theoretically proven to be asymptotically optimal in terms of cumulative regret.
The authors then integrate SS with Bayesian Optimization (BO) to create a novel HPO algorithm called BOSS. In BOSS, SS is used to efficiently gather high-quality data for training the surrogate model in BO. This improved data allows BO to sample better configurations in subsequent iterations, leading to a more reliable and efficient search. The paper also introduces parallel versions of BOSS (e.g., "parallel BOSS") to further accelerate the optimization process by better utilizing computational resources.
Datasets
The paper evaluates its proposed methods on several standard machine learning tasks and datasets:
- Image Classification: CIFAR-10 and CIFAR-100 datasets are used for Data Augmentation Search and Neural Architecture Search.
- Object Detection: MSCOCO dataset is used for anchor box optimization.
- Reinforcement Learning: The PPO Cartpole task is used for hyperparameter tuning.
- Industrial Feature Classification: A large-scale dataset (2.2TB training, 11GB testing) is used to evaluate the parallel BOSS algorithm.
Key Insights and Ideas
- Evaluating Potential vs. Current Performance: The key insight is that focusing on the potential of a hyperparameter configuration (using sub-sampling) is more effective for long-term optimization than solely relying on its current observed performance, especially in the presence of randomness.
- Asymptotic Optimality for BO: SS's theoretical guarantee of asymptotic optimality in cumulative regret makes it an ideal candidate for providing data to Bayesian Optimization models, leading to more efficient surrogate model estimation.
- BOSS: A Synergistic Approach: Combining the efficient evaluation of SS with the intelligent search of BO (BOSS) creates a powerful framework that outperforms existing methods.
- Robustness to Randomness: SS is shown to be more robust to the inherent randomness in hyperparameter evaluation (e.g., due to initialization) compared to methods like SH.
Key Results
- Theoretical Guarantees: The proposed Sub-Sampling (SS) algorithm is theoretically proven to be asymptotically optimal in terms of cumulative regret for an exponential family of distributions.
- Empirical Performance of BOSS: BOSS consistently outperforms baseline methods like Random Search, SH, HB, and BOHB across various applications:
- Data Augmentation: BOSS achieved the best accuracy on CIFAR-10 and CIFAR-100.
- Neural Architecture Search (NAS): BOSS showed comparable or superior accuracy to BOHB and DARTS on CIFAR-10 and significantly better accuracy on CIFAR-100.
- Object Detection: BOSS achieved a 2.4% mAP improvement on MSCOCO compared to baseline methods.
- Reinforcement Learning: BOSS found the fastest learner for the PPO Cartpole task.
- Efficiency: The parallel version of BOSS ("parallel BOSS") effectively utilizes GPU resources, leading to stronger results in large-scale tasks.
Limitations and Future Work
- Early Stopping Suitability: The paper acknowledges that the effectiveness of early-stopping techniques (like SS) depends on the relationship between performance and different budgets. Determining whether a task is suitable for early stopping is an important prerequisite not addressed in this work.
- Different Goals: For tasks focused on "best arm identification," SH-based algorithms might have theoretical advantages. However, for BO iterations, cumulative regret is the more appropriate criterion, which SS addresses.
- Future Work: The authors suggest future research directions such as learning the search space itself or exploring hyperparameter importance. They also propose considering different criteria for different goals and investigating how to judge task suitability for early stopping.
Summary updated