Abstract
Training deep neural networks typically involves a disjointed two-stage process: hyperparameter tuning followed by weight optimization. Population Based Training (PBT) addresses this by merging these steps, yet existing implementations often suffer from tight coupling and poor scalability in distributed environments. This paper presents a generalized, asynchronous, "black-box" PBT service that abstracts evolutionary logic into a centralized, stateless controller. Our framework demonstrates superior convergence and accuracy on WaveNet models compared to traditional tuning methods like Grid Search and Bayesian Optimization.
Introduction
The performance of deep learning models is highly sensitive to hyperparameters, yet finding optimal configurations is computationally expensive. Traditional methods like Grid Search or Gaussian Process (GP) Bandits treat training as a static process. In contrast, PBT treats training as an evolutionary process where a population of models is trained simultaneously. Top-performing models periodically "seed" new trials by copying their weights (warm-starting) and mutating their hyperparameters.
However, "glass-box" PBT systems—where workers must manage shared databases and internal decision-making—struggle with worker preemption and heterogeneous hardware. We propose a "black-box" architecture where workers remain agnostic to the global optimization strategy, simply executing tasks assigned by a centralized service.
System Architecture
The core of our framework is the PBT Service, which manages the lifecycle of "Trials"—short, continuous training segments.
Black-Box Workers and Evolution
Each worker consists of a Trainer and an Evaluator. The worker requests a task from the controller, receives a starting checkpoint and hyperparameters, trains for a fixed duration, and reports back. This abstraction allows PBT to be applied to any machine learning framework without modifying the underlying model graph.
Evolution is handled via Initiator-Based Evolution. When a trial completes, it initiates an asymmetric binary tournament against a randomly selected historical opponent. The winner’s weights are used to warm-start a new trial with mutated hyperparameters. To handle hardware constraints, a "Budget Mode" allows the controller to simulate large populations (e.g., 20) on limited physical resources (e.g., 5 GPUs) by orchestrating trial execution order.
Experimental Results
We evaluated the framework using a WaveNet generative model for human voice synthesis on the LibriSpeech dataset. We compared PBT against Grid Search, GP-Bandit, and CMA-ES.
Performance and Scalability
As shown in the results, PBT significantly outperforms traditional baselines. Specifically, a population of 5 (PBT-5x5) reached lower objective values faster than Grid Search or GP-Bandit within a fixed resource limit of 200,000 steps. A larger simulated population (PBT-5x20) discovered even more effective dynamic hyperparameter schedules, such as a learning rate that warms up before decaying—a pattern difficult to capture with static tuning methods.
The system scales nearly linearly with the number of workers. The computational overhead is minimal, adding only approximately 0.025 seconds per step, primarily due to checkpoint restoration.
Discussion and Limitations
The primary advantage of this framework is its usability; by treating training as a black box, researchers can implement PBT without rewriting complex model code. Furthermore, the system's ability to discover dynamic schedules during a single run provides a significant edge over static optimization.
However, the approach does introduce storage overhead due to frequent checkpointing. While we implement automated garbage collection, storage remains a consideration for very large models. Additionally, while "Budget Mode" enables high-quality exploration on limited hardware, it increases the total wall-clock time required to reach convergence. Future work will explore extending this framework to multi-objective optimization and more complex evolutionary strategies beyond binary tournaments.
Summary updated