Bootstrap Advantage Estimation for Policy Optimization in Reinforcement Learning

Md. Masudur Rahman, Yexiang Xue

Abstract

In Reinforcement Learning (RL), agents often struggle to generalize from training environments to unseen test scenarios, particularly in procedurally generated tasks where visual noise can confound the learning signal. This paper introduces Bootstrap Advantage Estimation (BAE), a novel approach that integrates data augmentation directly into the advantage estimation process. By leveraging the semantic invariance of augmented observations, BAE produces a more stable and robust advantage signal. Experimental results across Procgen, DeepMind Control Suite, and Pybullet benchmarks demonstrate that BAE significantly improves sample efficiency and zero-shot generalization compared to standard Generalized Advantage Estimation (GAE) and existing regularization-based augmentation methods.

Introduction

Modern Reinforcement Learning (RL) relies heavily on the quality of the "advantage" estimate—a signal that informs the agent how much better a specific action is compared to the average action in a given state. Algorithms like Proximal Policy Optimization (PPO) typically utilize Generalized Advantage Estimation (GAE) to balance bias and variance. However, GAE is often sensitive to "confounding features"—irrelevant visual elements, such as background changes in procedurally generated levels, that do not affect the underlying reward structure.

When an agent overfits to these irrelevant features, its performance collapses in unseen environments. While previous research has attempted to mitigate this using data augmentation (e.g., random cropping or color jittering) as a regularization tool for neural networks, these methods can be unstable and occasionally degrade performance. BAE shifts the role of augmentation from a secondary regularization task to a primary component of the advantage calculation.

Methods: Bootstrap Advantage Estimation (BAE)

The core philosophy of BAE is semantic invariance: the principle that the "true" advantage of an action should remain constant even if the observation undergoes a non-semantic transformation (e.g., changing a game's background color).

The BAE Workflow

Instead of calculating the advantage based on a single observation, BAE follows a four-step process for every trajectory:

  1. Transform: For every observation in a trajectory, the algorithm generates an augmented version using techniques like random cropping or color amplitude scaling.
  2. Estimate: The model calculates the advantage for both the original observation and its augmented counterpart.
  3. Bootstrap: These estimates are averaged to create a "bootstrapped" advantage signal. This averaging process effectively filters out the noise introduced by non-semantic visual features.
  4. Update: This stabilized signal is used to update both the policy (the agent's behavior) and the value function (the agent's reward prediction).

By forcing the advantage estimate to remain consistent across multiple variations of the same state, BAE encourages the agent to learn the underlying logic of the environment rather than memorizing specific visual patterns.

Experimental Setup

The researchers evaluated BAE across three diverse benchmark suites to test its versatility across different observation types and action spaces:

  • Procgen (Starpilot and Miner): 2D games with image-based observations and discrete actions, designed specifically to measure generalization.
  • DeepMind Control Suite (Quadruped Run, Cartpole): High-dimensional vector observations with continuous action spaces.
  • Pybullet (Minitaur, HalfCheetah): Robotic locomotion tasks involving raw sensory inputs and continuous actions.

Key Insights and Results

1. Superior Generalization

In the Procgen environments, BAE-PPO demonstrated significant improvements in "zero-shot generalization." After being trained on only 200 levels, BAE-PPO outperformed GAE-PPO and other augmentation baselines like RAD and DRAC when tested on 100,000 unseen levels. This suggests that BAE helps the agent internalize the core mechanics of the game rather than visual artifacts.

2. Enhanced Sample Efficiency and Stability

On the DeepMind Control "Quadruped Run" task, BAE achieved higher mean returns faster than the baselines. Notably, while methods like RAD and DRAC showed high variability—sometimes performing worse than standard PPO—BAE consistently matched or exceeded the performance of the base algorithm. This stability makes BAE a more reliable choice for complex robotic tasks.

3. Lowering the Loss Floor

Analysis of the training process revealed that BAE consistently results in lower policy and value losses. This indicates that the agent is not merely learning faster but is developing a more accurate representation of the environment's value landscape, leading to a cleaner learning signal throughout the training cycle.

Limitations and Future Work

Despite its advantages, BAE introduces a degree of computational overhead, as it requires calculating advantages for multiple versions of every state. However, the authors argue that the resulting gains in sample efficiency—requiring fewer total steps in the environment—often offset the increased cost per step.

Furthermore, the effectiveness of BAE is contingent on the choice of augmentation. The transformation must be truly semantically invariant; if an augmentation removes critical information (such as cropping out a goal or a hazard), the resulting advantage estimate will be flawed. Future research may explore learned transformations or the application of BAE to even larger-scale, high-fidelity simulations.

Conclusion

Bootstrap Advantage Estimation represents a significant step forward in making Reinforcement Learning agents more robust. By moving data augmentation into the inner loop of advantage estimation, BAE provides a stable, noise-resistant signal that facilitates better generalization and efficiency across a wide array of challenging environments.

Summary updated

BibTeX
@inproceedings{rahman2022bootstrap,
  author = {Md. Masudur Rahman and Yexiang Xue},
  title = {{Bootstrap Advantage Estimation for Policy Optimization in Reinforcement Learning}},
  booktitle = {ICMLA},
  year = {2022},
  doi = {10.1109/icmla55696.2022.00041},
}
Figure