Introduction
Hyper-parameter optimization (HPO) is a critical yet resource-intensive phase in the machine learning pipeline. Traditional manual tuning is often prohibitively expensive and relies heavily on expert intuition. While automated methods like Sequential Model-Based Optimization (SMBO) exist, they are computationally demanding because they require training the target model iteratively to evaluate different parameter sets. Furthermore, many existing autoHPO tools lack transferability, failing to apply knowledge gained from one dataset to another.
This paper introduces a novel approach to autoHPO by reframing the problem from an iterative search to a direct prediction task. By learning a mapping from dataset characteristics to optimal hyper-parameters, the proposed method achieves state-of-the-art accuracy with significant gains in computational efficiency.
Methodology
The core innovation of this research is the development of a system that predicts optimal hyper-parameters almost instantaneously for new datasets. The architecture consists of three primary components: Network Parameter Embedding (NPE), the Core Network (CN), and Local Optimization (LOPT).
Network Parameter Embedding (NPE)
To process diverse datasets, the authors utilize an auto-encoder to compress data into fixed-size vectors. A unique aspect of this approach is using the parameters (weights) of the trained encoder as the input features for the downstream network. Two variants were developed: Normal-NPE for structured tabular data and Image-NPE for unstructured image data. This method effectively captures complex data distributions in a format suitable for neural processing.
Core Network (CN)
The Core Network is a sophisticated neural architecture designed to model the relationship between the dataset embeddings and their corresponding optimal hyper-parameters. Once pre-trained on a variety of tasks, the CN can output a set of hyper-parameters for a previously unseen dataset in seconds.
Local Optimization (LOPT)
While the CN provides a highly accurate initial estimate, the authors include a refinement step called Local Optimization. LOPT employs a recursive "mountain climbing" algorithm to fine-tune the predicted parameters within their local neighborhood, ensuring the model reaches the absolute peak performance for the specific task.
Experimental Evaluation
The researchers evaluated the framework on two distinct algorithms:
- XGBoost: Tested on 280 distinct classification tasks derived from the UCI repository.
- CNN: Evaluated using the standard MNIST and SVHN (Street View House Numbers) datasets.
To train the Core Network, "ground truth" optimal parameters were generated using existing high-performance HPO tools like SRACOS and Bayesian Optimization across a wide variety of data samples.
Results and Discussion
The proposed method demonstrated superior performance in both accuracy and speed:
- Accuracy: In XGBoost classification tasks, the CN + LOPT approach outperformed standard Bayesian Optimization (BO) on 75% of the datasets. For CNNs, it achieved a maximum accuracy of 0.975, surpassing the ZOOpt baseline of 0.9625.
- Efficiency: The Core Network predicts parameters in seconds. Even with the LOPT refinement, the total time overhead remains significantly lower than traditional iterative search methods.
- Transferability: By learning general patterns across many datasets, the system generalizes to new tasks far more effectively than methods that start the search process from scratch for every new problem.
Conclusion
This research presents a paradigm shift in HPO by treating it as a mapping discovery problem. While the current implementation requires an upfront pre-training phase for specific algorithms, the efficiency gains at scale are massive. Future work will focus on expanding the Core Network structures to support a wider variety of machine learning algorithms and complex data types like video and natural language, eventually building a comprehensive "CN-NPE knowledge base."
Summary updated