Abstract
Hyperparameter tuning is a computationally expensive yet critical step in machine learning. Traditional Evolutionary Algorithms (EAs) often waste resources evaluating poor candidate configurations. This paper introduces Intelligent Evolutionary Optimisation (IEO), which utilizes a machine learning-based "Estimator Model" to predict the quality of new hyperparameter sets relative to their parents. By skipping the evaluation of likely underperforming candidates, IEO achieves an average speedup of 30% without compromising the final model's performance.
Introduction
The performance of machine learning models is highly dependent on hyperparameter configurations. Finding the optimal settings often involves search algorithms like Evolutionary Algorithms (EAs). However, EAs typically evaluate every offspring in a generation, requiring a full model training and evaluation cycle for each. This "blind" evaluation becomes a significant bottleneck when dealing with large datasets or complex architectures.
Intelligent Evolutionary Optimisation (IEO) addresses this inefficiency by making the optimization process "intelligent." It introduces a mechanism to recognize and discard poor candidates before committing computational resources to their evaluation.
Methodology: The Gatekeeper Approach
IEO maintains the core components of a standard Genetic Algorithm—selection, crossover, and mutation—but integrates a "gatekeeper" known as the Estimator Model.
The process operates as follows:
- Binary Classification: The Estimator is a binary classifier trained on the history of the current optimization run. It learns to predict whether a new offspring "dominates" (outperforms) its parents.
- Smart Skipping: Before a new hyperparameter set is sent to the expensive fitness function (model training), the Estimator predicts its potential. If the offspring is predicted to be worse than its parents, it is assigned a "null" value, and the training step is skipped.
- Dynamic Learning: The Estimator is not pre-trained. It "warms up" by evaluating the first 15% of solutions normally. Subsequently, it retrains periodically to adapt to the evolving search space.
While various models were evaluated for the Estimator, XGBoost was selected as the default due to its high accuracy and minimal computational overhead.
Experimental Setup
The efficacy of IEO was tested across 10 real-world classification datasets from the UCI Repository and OpenML, including binary and multi-class problems such as Blood, Spam Test, Heart Disease, and Wine Quality. These datasets varied in scale from 749 to 30,000 instances.
Key Results and Discussion
The primary metric for evaluation was the reduction in execution time compared to standard EAs.
Significant Speedup
On average, IEO accelerated the optimization process by 30.40%, with peak reductions reaching 77.06%. In terms of iterations, the speedup was as high as 4.36 times in specific scenarios. Crucially, the overhead of training the XGBoost estimator was negligible compared to the time saved by skipping full model evaluations.
Performance Parity
Statistical analysis using Wilcoxon and Student’s t-tests confirmed that IEO does not sacrifice model quality. There was no significant difference in the accuracy of the final hyperparameters found by IEO versus the traditional EA. This suggests that the Estimator effectively identifies "duds" without prematurely discarding high-potential candidates.
Conclusion and Future Work
IEO provides a drop-in efficiency layer for standard EAs in hyperparameter tuning. By shifting from absolute value prediction to relative comparison, the Estimator Model can be trained quickly on-the-fly.
Future research will focus on extending IEO to regression and unsupervised learning tasks. Additionally, applying IEO to deep learning architectures—where training costs are highest—presents a promising avenue for significant computational savings. Further investigation into transfer learning, where an Estimator trained on one dataset jumpstarts tuning on another, is also planned.
Summary updated