Abstract
HyperParameter Optimization (HPO) aims at finding the best HyperParameters (HPs) of learning models, such as neural networks, in the fastest and most efficient way possible. Most recent HPO algorithms try to optimize HPs regardless of the model that obtained them, assuming that for different models, same HPs will produce very similar results. We break free from this paradigm and propose a new take on preexisting methods that we called Genealogical Population Based Training (GPBT). GPBT, via the shared histories of "genealogically"-related models, exploit the coupling of HPs and models in an efficient way. We experimentally demonstrate that our method cuts down by 2 to 3 times the computational cost required, generally allows a 1% accuracy improvement on computer vision tasks, and reduces the variance of the results by an order of magnitude, compared to the current algorithms. Our method is search-algorithm agnostic so that the inner search routine can be any search algorithm like TPE, GP, CMA or random search.
Introduction
In deep learning, the selection of hyperparameters (HPs) such as learning rates and dropout ratios is a critical yet challenging task. Modern adaptive HPO methods, notably Population-Based Training (PBT), have advanced the field by evolving a population of models and periodically mutating HPs based on top performers. However, these methods typically operate under the isomodel HPs assumption: the premise that a set of HPs effective for one model will be equally effective for another, regardless of their internal weight states. This paper argues that this assumption is flawed because different models, having traversed different weight histories, are functionally distinct. Treating them as identical introduces noise into HP predictions and reduces optimization efficiency.
Methodology: Genealogical Population-Based Training
To address the limitations of the isomodel assumption, we introduce Genealogical Population-Based Training (GPBT). GPBT treats the training process as a lineage, where each model is an individual with a unique history.
Genealogical Memory and Localized Search
Unlike standard adaptive HPO which pools all evaluation data into a global memory, GPBT maintains ancestry lines. Each "parent" model—a top performer from a previous generation—retains its own history of HPs that were successful for it and its ancestors. When a parent replicates to create "children," these children utilize only the parent's specific ancestry line to predict new HPs. This ensures that HP suggestions are tailored to the specific weight state of that lineage, significantly reducing optimization noise.
Agnostic Search and Early Stopping
GPBT is designed to be search-algorithm agnostic, acting as a wrapper that can incorporate standard routines like Tree Parzen Estimators (TPE) or Gaussian Processes (GP). Furthermore, GPBT employs an aggressive early-stopping mechanism, terminating underperforming children after a single epoch if they fall below the median performance of their peers, which drives substantial computational savings.
Experimental Evaluation
The performance of GPBT was evaluated across several domains, including regression (Boston housing), image classification (MNIST, CIFAR-10, ImageNet-1k), and generative modeling (DC-GAN).
Key Results
- Efficiency: GPBT consistently achieved convergence 2 to 3 times faster than baselines such as PB2 and BOHB.
- Accuracy: On computer vision tasks, GPBT provided a consistent accuracy improvement of approximately 1% over state-of-the-art adaptive methods.
- Variance Reduction: GPBT demonstrated an order of magnitude reduction in result variance compared to standard PBT, indicating higher reliability for production environments.
In challenging tasks like GAN training, which are notoriously unstable, GPBT outperformed baselines by a significant margin in terms of Inception Distance, further validating the robustness of the genealogical approach.
Conclusion and Future Work
GPBT represents a paradigm shift in HPO by recognizing that a model's response to hyperparameters is conditioned on its current weights. By restricting search to genealogically related data, GPBT achieves superior efficiency, accuracy, and consistency. Future work includes integrating GPBT into popular libraries like Ray-Tune and exploring its application to other iterative optimization tasks beyond hyperparameter tuning.
Summary updated