NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian Generational Population-Based Training

Xingchen Wan, Cong Lu, Jack Parker-Holder, Philip J. Ball, Vu Nguyen, Binxin Ru, Michael Osborne

Abstract

Reinforcement learning (RL) offers the potential for training generally capable agents that can interact autonomously in the real world. However, one key limitation is the brittleness of RL algorithms to core hyperparameters and network architecture choice. Furthermore, non-stationarities such as evolving training data and increased agent complexity mean that different hyperparameters and architectures may be optimal at different points of training. This motivates AutoRL, a class of methods seeking to automate these design choices. One prominent class of AutoRL methods is Population-Based Training (PBT), which have led to impressive performance in several large scale settings. In this paper, we introduce two new innovations in PBT-style methods. First, we employ trust-region based Bayesian Optimization, enabling full coverage of the high-dimensional mixed hyperparameter search space. Second, we show that using a generational approach, we can also learn both architectures and hyperparameters jointly on-the-fly in a single training run. Leveraging the new highly parallelizable Brax physics engine, we show that these innovations lead to dramatic performance gains, significantly outperforming the tuned baseline while learning entire configurations on the fly.

Introduction

Reinforcement Learning (RL) is notoriously sensitive to design choices. A small change in learning rate or a slightly different network depth can be the difference between a superhuman agent and one that fails to learn entirely. To make matters worse, the "optimal" configuration often changes as training progresses—a phenomenon called non-stationarity.

While Population-Based Training (PBT) has been a popular way to automate these choices, it has historically faced two major flaws: it usually relies on simple random search or models that struggle in high-dimensional configuration spaces, and it is typically restricted to a fixed neural architecture because copying weights between different network structures is technically difficult.

Methodology: BG-PBT

We introduce BG-PBT (Bayesian Generational Population-Based Training), which brings two key innovations to the table:

  1. High-Dimensional Bayesian Optimization (BO): Instead of random mutations, BG-PBT uses a sophisticated BO approach based on trust regions. This allows it to efficiently search a 15-dimensional "mixed" space containing continuous (e.g., learning rate), ordinal (e.g., batch size), and categorical (e.g., activation functions) variables.
  2. Generational Learning via Distillation: To solve the "fixed architecture" problem, we adopt a generational approach. Periodically, the algorithm starts a new "generation" of agents with fresh architectures suggested by the BO agent. To avoid losing progress, it uses on-policy distillation—essentially "teaching" the new agents the behaviors learned by the best agents of the previous generation.
An example run of BG-PBT on the HalfCheetah task, showing how it adapts architectures and hyperparameters across three distinct generations.

Experimental Setup

The method was evaluated on the Brax physics engine, a JAX-based simulator designed for massive parallelism. We tested seven environments: Ant, HalfCheetah, Humanoid, Hopper, Reacher, Fetch, and UR5e. These represent a diverse set of continuous control challenges, from simple locomotion to complex robotic manipulation.

Key Results

BG-PBT consistently outperformed standard PBT, its Bayesian successor PB2, and heavily tuned baselines across most environments.

  • Performance Gains: In the HalfCheetah environment, BG-PBT achieved a reward of ~13,450, more than doubling the performance of the tuned baseline (~6,000) and significantly beating standard PBT (~8,400).
  • Efficiency: It found these high-performing configurations within a single training run of 150 million steps, whereas traditional sequential BO would require many times more resources.
  • Architecture Evolution: The agents tended to favor larger, more complex networks as training progressed, supporting the intuition that agent capacity should grow alongside task mastery.
Mean evaluated return across all seven Brax environments. BG-PBT (blue) consistently reaches higher performance plateaus than its competitors.

Discussion and Insights

  • Joint Optimization is Key: Hyperparameters and architectures are deeply linked. Tuning them together on-the-fly leads to configurations that would be nearly impossible to find through manual trial-and-error.
  • Distillation as a "Soft Reset": Standard PBT can sometimes get stuck in local optima by greedily copying weights. BG-PBT’s generational reset (with distillation) provides enough "shake-up" to explore better behaviors while retaining hard-won knowledge.
  • Dynamic Schedules Emerge Naturally: The algorithm automatically discovers schedules that human experts often use—like decaying the learning rate and increasing batch size over time—but it tailors these specifically to the needs of each unique environment.

Limitations

While effective, the distillation process requires additional environment samples, which represents an added computational cost. Furthermore, on the most complex task, Humanoid, the benefits of architecture search were less pronounced, likely due to the extreme difficulty of the environment making any architecture change risky. Future work will focus on transferring knowledge across arbitrary, evolving architectures and extending the search space to vision-based tasks.

Summary updated

BibTeX
@inproceedings{wan2022bayesian,
  author = {Xingchen Wan and Cong Lu and Jack Parker-Holder and Philip J. Ball and Vu Nguyen and Binxin Ru and Michael Osborne},
  title = {{Bayesian Generational Population-Based Training}},
  booktitle = {ALOE @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=rI54HQv-I-c},
}
Figure