TL;DR
ExperienceThinking is a novel framework for Constrained Hyperparameter Optimization (CHPO) that finds high-performing model configurations within a strictly limited number of evaluations. By combining a "knowledge-driven" approach using neural networks with a "pruning-driven" approach using Random Forests, it outperforms traditional methods like Bayesian Optimization in both accuracy and computational efficiency.
What Problem Does This Paper Address?
Hyperparameter Optimization (HPO) is essential for peak machine learning performance, but it is notoriously expensive. Standard techniques like Grid Search or Bayesian Optimization (BO) often require hundreds or thousands of trial evaluations to converge. In the real world—where training a single large model can take days or cost thousands of dollars—users face a Constrained HPO (CHPO) problem: they need the best possible configuration within a very small, finite budget (e.g., fewer than 200 trials).
Existing methods struggle here:
- Grid/Random Search: Suffer from the "curse of dimensionality" and ignore historical trial data.
- Bayesian Optimization: While smart, it scales poorly with the number of hyperparameters and can be extremely slow to suggest new candidates as the search space grows.
Methods
The authors propose ExperienceThinking, which treats HPO as a dual-process system inspired by human reasoning. It alternates between two core modules:
-
Human Experience (The "Knowledge" Module): This module uses two specialized neural networks to "discuss" and infer optimal settings:
-
NNAdjust: Learns the relationship between a configuration and the adjustment needed to improve performance.
-
NNVerify: Acts as a critic, predicting how much performance will actually increase if a specific adjustment is made. By comparing the outputs of these two "brains," the algorithm selects candidates where both networks agree on a high probability of success.
-
Parameter Analysis (The "Pruning" Module): To combat high-dimensional noise, this module uses a Random Forest to rank hyperparameter importance. It identifies "KeyPars"—the few parameters that actually drive performance—and prunes the rest of the search space. This allows the search to focus on the most impactful variables rather than getting lost in redundant settings.
The Workflow: The algorithm starts with a small set of random evaluations to build initial "experience." It then iteratively invokes both modules to suggest new candidates, evaluates them, and updates its knowledge base until the budget is exhausted.
Datasets
The researchers evaluated ExperienceThinking across 10 diverse datasets:
- Data Classification (UCI Repository): 8 datasets including zoo, ecoli, breast cancer, banknote, and cbsonar (which features a high-dimensional space of 60 features).
- Image Classification: The classic CIFAR-10 and Fashion MNIST benchmarks.
These were used to optimize various models, including XGBoost, Multi-Layer Perceptrons (MLP), and Convolutional Neural Networks (CNN).
Key Insights and Ideas
- Complementary Strengths: The "Human Experience" module excels when most hyperparameters are decisive. The "Parameter Analysis" module excels when the space is cluttered with redundant or unimportant parameters. Combining them makes the system robust to different types of search spaces.
- Efficiency over Complexity: Unlike Bayesian Optimization, which often relies on computationally heavy Gaussian Processes, ExperienceThinking’s neural networks and Random Forests are relatively lightweight to train and query, leading to much faster "analysis time."
- The "Growing Human" Analogy: The authors view the algorithm as an agent that accumulates "richer experience" over time. As the number of evaluations grows, its internal models become more reliable, mirroring how a human expert learns a task.
Key Results
The paper compares ExperienceThinking against Grid Search (GS), Random Search (RS), and Bayesian Optimization (BO):
- Superior Performance (PIRate): In XGBoost optimization, ExperienceThinking achieved an average Performance Increase Rate (PIRate) of 8.24% (with N=256), significantly higher than RS (6.87%) and BO (6.81%).
- Speed: On the cbsonar dataset (60 hyperparameters), BO took over 5 days to suggest configurations, while ExperienceThinking provided superior results in just 24 minutes.
- Scalability: ExperienceThinking maintained high performance even as the number of hyperparameters increased, whereas the effectiveness of GS and RS dropped sharply.
Limitations and Future Work
- Initial Bias: The authors note that if the initial random samples (the "starting experience") are concentrated in a very poor region of the search space, the algorithm might struggle to escape that "vicious circle" early on.
- Computational Cost of Evaluation: While the analysis time is low, the evaluation time (actually training the ML models) remains the primary bottleneck.
- Future Directions: The authors plan to investigate methods to further reduce the cost of individual model evaluations (perhaps through multi-fidelity optimization) to make the overall process even faster.
Summary updated