Abstract
Standard reinforcement learning (RL) policies often struggle with fragility when deployed in real-world environments characterized by unexpected disturbances or shifts in dynamics. While adversarial training—pitting an agent against a single minimizing adversary—is a common solution, it frequently suffers from optimization gaps and over-pessimism. We present ROLAH (RObust reinforcement Learning with Adversarial Herds), a framework that replaces the traditional single-adversary max-min game with a population-based "adversarial herd." By optimizing for average performance over the $k$ worst-performing scenarios in this herd, ROLAH achieves superior robustness and stability without the typical pitfalls of over-conservatism.
Introduction
Robustness in RL is traditionally modeled as a two-player zero-sum game where a protagonist agent seeks to maximize rewards while an adversary seeks to minimize them. This "max-min" formulation, however, faces significant practical challenges. First, finding the absolute worst-case scenario is a difficult, non-convex optimization problem; training often converges to local minima, leaving the agent vulnerable to truly dangerous edge cases. Second, a single powerful adversary may focus on physically improbable scenarios, leading the agent to become over-pessimistic and sacrifice performance in nominal conditions.
Methodology: The ROLAH Framework
To address these limitations, ROLAH introduces the concept of Adversarial Herding. Instead of a single adversary updated via gradient descent, the framework maintains a population (a "herd") of $m$ adversaries.
The Worst-k Objective
Rather than optimizing against only the single most damaging adversary, the protagonist agent optimizes its average performance against the $k$ worst-performing adversaries in the herd. This approach serves as a form of risk-sensitive regularization. By averaging over a subset of the worst scenarios, the agent avoids over-specializing to a single, potentially unrealistic failure mode, leading to more balanced and stable policies.
Theoretical Foundations
The authors provide theoretical guarantees showing that a finite herd can efficiently approximate the optimal solution of the inner minimization problem. Specifically, the required herd size scales linearly with the desired precision, making the approach numerically stable and computationally feasible compared to searching for a global minimum in a complex landscape.
Experimental Evaluation
The ROLAH framework was evaluated using three standard continuous control tasks from the MuJoCo suite: Hopper-v2, Walker2d-v2, and HalfCheetah-v2. In these environments, adversaries apply destabilizing external forces to test the agent's resilience.
Performance and Robustness
ROLAH was compared against standard RL, RARL (Robust Adversarial RL with a single adversary), and RAP (Robustness via Adversary Populations, which averages over the entire population).
Key findings include:
- Superior Worst-Case Performance: In the Hopper environment under a "Worst Adversary" attack, ROLAH achieved a normalized return of 0.84, significantly outperforming RARL (0.54) and RAP (0.70).
- Symmetric Robustness: ROLAH-trained agents demonstrated "symmetric robustness," maintaining high performance even when environmental parameters like mass or friction were shifted significantly above or below training values.
- Stability: The reward distributions for ROLAH were more concentrated in high-reward regions, exhibiting fewer catastrophic failures compared to single-adversary baselines.
Conclusion
ROLAH demonstrates that "herding" a group of adversaries to cover the space of negative outcomes is more effective than "hunting" for a single global minimum. While the method introduces additional hyperparameters (herd size $m$ and subset size $k$), it provides a more stable and theoretically sound path toward building RL agents capable of handling real-world unpredictability. Future work will focus on automatically adapting these parameters during training to further optimize the balance between robustness and nominal performance.
Summary updated