Robust Policy Optimization in Deep Reinforcement Learning

Md Masudur Rahman, Yexiang Xue

TL;DR

In continuous control reinforcement learning, standard policy gradient algorithms often suffer from "entropy collapse"—the policy becomes prematurely deterministic and gets trapped in suboptimal behaviors. Robust Policy Optimization (RPO) remedies this by introducing a perturbed Gaussian policy that adds bounded uniform noise to the predicted action mean during policy optimization. This dead-simple modification prevents premature certainty, consistently outperforming standard PPO, data augmentation, and entropy regularization across 18 benchmark continuous control tasks.

What Problem Does This Paper Address?

In deep reinforcement learning (RL) with continuous action spaces, policies typically output the mean $\mu$ and standard deviation $\sigma$ of a Gaussian distribution. Ideally, policy entropy—the randomness of selected actions—should decrease gradually as an agent masters a task. In practice, however, algorithms like Proximal Policy Optimization (PPO) frequently suffer from rapid entropy decay early in training.

When entropy collapses too fast, the policy becomes deterministic before adequately exploring the state space (a symptom related to primacy bias). While common workarounds exist, they have notable drawbacks:

  • Entropy regularization: Adding an entropy bonus to the objective requires brittle hyperparameter tuning. A coefficient that helps in one task can cause unbounded entropy divergence or training failure in another.
  • Data augmentation: Techniques like RAD or DRAC require domain-specific transformations, introduce computational overhead, and can inadvertently destabilize learning.

Methods

The authors propose Robust Policy Optimization (RPO), a straightforward algorithmic tweak to continuous-action PPO:

Standard Action Update:    a ~ N(μ, σ)
RPO Action Distribution:   μ' = μ + z,  where z ~ U(-α, α)
                           prob = N(μ', σ)
  1. Rollout (Data Collection): The agent interacts with the environment and collects trajectories using actions sampled from the standard Gaussian distribution $\mathcal{N}(\mu, \sigma)$.
  2. Policy Optimization (Surrogate Loss): During the update step, instead of evaluating the log-probabilities of actions under $\mathcal{N}(\mu, \sigma)$, RPO injects a zero-mean uniform random perturbation $z \sim \mathcal{U}(-\alpha, \alpha)$ directly into the mean: $$\mu' = \mu + z$$ The action log-probabilities and resulting PPO surrogate objective $\mathcal{L}_\pi$ are then evaluated under the perturbed distribution $\mathcal{N}(\mu', \sigma)$.

Because the uniform perturbation $z$ is state-independent and policy-independent, it prevents the action distribution from narrowing too quickly around $\mu$. This flattens the distribution and establishes an effective lower bound on policy stochasticity without requiring explicit entropy penalty terms. The authors set $\alpha = 0.5$ across benchmarks.

Datasets

The authors evaluated RPO across 18 continuous control tasks drawn from four widely used reinforcement learning benchmarks (no new environments were introduced):

  • DeepMind Control (dm_control) Suite: 12 tasks covering locomotion and manipulation (e.g., Humanoid Stand/Run, Hopper Hop, Quadruped Walk/Run/Escape, Walker Stand/Walk/Run, Fish Swim, Pendulum Swingup, Acrobot Swingup).
  • OpenAI Gym: Pendulum-v1 and BipedalWalker-v3.
  • PyBullet: AntBulletEnv-v0 and MinitaurBulletEnv-v0.
  • NVIDIA IsaacGym: Cartpole and BallBalance (simulated on GPU for up to 100M environment steps).

Key Insights and Ideas

  • Entropy stabilizes automatically: In standard PPO, policy entropy drops steadily toward negative infinity. Under RPO, entropy rises early and naturally plateaus at a stable baseline throughout the training run without explicit entropy schedules.
  • More data can harm standard PPO: In environments with abundant GPU simulations (IsaacGym Cartpole) or long horizons (Gym BipedalWalker), standard PPO's performance often degrades drastically as training continues. RPO remains robust to massive training budgets, sustaining or steadily improving performance.
  • Simplicity beats heuristic tuning: Unlike entropy regularization—which frequently blew up when the coefficient was raised to 0.05 or higher—RPO's fixed perturbation scale ($\alpha = 0.5$) operated reliably across diverse physical dynamics without per-environment tweaking.

Key Results

  • Over 3x Aggregate Gain: On the DeepMind Control suite, RPO achieved more than a 3x increase in normalized episodic return compared to baseline PPO (averaged over 10 random seeds).
  • Escaping Failure Modes: In complex or sparse environments where base PPO completely failed to learn useful behaviors, RPO succeeded:
  • Humanoid Stand: RPO reached a mean score of 55.22 ± 35.34 vs. PPO's 6.06 ± 0.17.
  • Pendulum-v1 (Gym): Standard PPO stalled around -1200 return; RPO consistently solved the task.
  • Hopper Hop: RPO maintained healthy hopping while PPO flatlined.
  • Outperforming Augmentation Baselines: On DMC tasks at 8M steps, RPO outperformed both RAD and DRAC (e.g., Walker Run: RPO scored 291.83 ± 108.8 vs. DRAC's 132.28 and RAD's 141.43).

Limitations and Future Work

  • Continuous-Only Scope: RPO explicitly relies on perturbing the parameters of continuous Gaussian distributions; extending this mechanism to discrete action spaces is not directly addressed.
  • Sensitivity to Perturbation Scale $\alpha$: Ablation experiments show that while $\alpha \in [0.1, 3.0]$ generally performs well, setting $\alpha$ too small (e.g., 0.001) reverts to PPO's collapse, while setting it excessively large (e.g., 1000.0) drowns out the Gaussian signal entirely.
  • Lack of Theoretical Guarantees: The paper is primarily empirical. Formal convergence analysis of policy gradients under state-independent mean perturbations remains open for future research.

Summary updated

BibTeX
@inproceedings{rahman2023robust,
  author = {Md Masudur Rahman and Yexiang Xue},
  title = {{Robust Policy Optimization in Deep Reinforcement Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=HnLFY8F9uS},
}
Figure