Introduction
Tuning hyperparameters for deep neural networks is a significant computational bottleneck in machine learning. Standard Bayesian Optimization (BO) treats the training process as a "black box," requiring full training runs to obtain a single validation score. While multi-fidelity optimization uses low-fidelity proxies (e.g., training on data subsets) to speed up this process, existing methods often overlook the "trace" of intermediate validation scores generated during iterative training and struggle with continuous fidelity controls.
This paper introduces trace-aware knowledge-gradient (taKG), a novel approach that leverages these intermediate observations and manages multiple continuous fidelity controls simultaneously to find optimal hyperparameters significantly faster than current state-of-the-art methods like Hyperband and FaBOLAS.
Methodology
The core innovation of taKG lies in its acquisition function, which optimizes the value of information relative to computational cost.
Key Features
- Trace-Awareness: taKG explicitly models the sequence of observations obtained along a training path. Since intermediate data points are essentially "free" once a high-fidelity run begins, they provide valuable information for building a global model at no extra cost.
- Value of Information (VOI): The method calculates the expected reduction in the objective function's minimum, normalized by cost.
- 0-Avoiding Variant ($taKG^\emptyset$): To prevent the algorithm from oversampling near-zero fidelities that offer no real information, the authors introduce a variant that assumes the result of a zero-resource run is already known.
- Efficient Optimization: The acquisition function is maximized using Stochastic Gradient Ascent (SGA), making the selection process itself highly efficient.
- Warm-Starting: The method supports caching model states, allowing training to resume from checkpoints rather than starting from scratch.
Experimental Setup
The researchers evaluated taKG across a variety of benchmarks:
- Synthetic Functions: Augmented versions of Branin (2D), Rosenbrock (3D), and Hartmann (3D & 6D) functions modified for multi-fidelity testing.
- Deep Learning Tasks: Tuning feedforward networks on MNIST and convolutional neural networks (CNNs) on CIFAR-10 and SVHN.
- Large-Scale Learning: A KISS-GP kernel learning task involving one million training points to test derivative-enabled optimization.
Key Results
In almost every test, taKG reached lower regret significantly faster than competitors like BOCA, Hyperband, and FaBOLAS.
The algorithm's ability to treat fidelity as a continuous variable allows it to navigate the cost-information trade-off more precisely than discrete-step methods. On real-world tasks like CIFAR-10 and SVHN, taKG found hyperparameter settings that achieved ~12% and ~5% test error respectively, reaching these milestones with a fraction of the resources used by other methods.
Discussion and Conclusion
The primary insight of this work is treating information acquisition as a resource allocation problem where the training trace has zero marginal cost. While taKG offers significant speedups, it relies on Gaussian Processes (GPs), which can face scalability issues as the number of trace observations grows. The authors mitigate this by sub-sampling the trace, though automated memory management remains an area for future research. Overall, taKG represents a substantial advancement in practical, high-efficiency hyperparameter tuning.
Summary updated