[Paper Review] Learning Agile Locomotion via Adversarial Training
This paper proposes an adversarial training framework where a quadruped robot learns agile locomotion by chasing an ensemble of specialized escaping adversaries, using Covariance Matrix Adaptation-Evolution Strategy (CMA-ES) to iteratively optimize policies. After just three generations, the method produces controllers that significantly outperform baselines and state-of-the-art multi-agent RL algorithms in chasing speed, balance, and generalization to unseen adversaries.
Developing controllers for agile locomotion is a long-standing challenge for legged robots. Reinforcement learning (RL) and Evolution Strategy (ES) hold the promise of automating the design process of such controllers. However, dedicated and careful human effort is required to design training environments to promote agility. In this paper, we present a multi-agent learning system, in which a quadruped robot (protagonist) learns to chase another robot (adversary) while the latter learns to escape. We find that this adversarial training process not only encourages agile behaviors but also effectively alleviates the laborious environment design effort. In contrast to prior works that used only one adversary, we find that training an ensemble of adversaries, each of which specializes in a different escaping strategy, is essential for the protagonist to master agility. Through extensive experiments, we show that the locomotion controller learned with adversarial training significantly outperforms carefully designed baselines.
Motivation & Objective
- To address the challenge of designing agile locomotion controllers for legged robots without extensive manual engineering of reward functions or environments.
- To investigate whether adversarial self-play between a chaser and escaping agents can naturally induce agile, dynamic behaviors in locomotion.
- To evaluate whether training with an ensemble of strategy-specialized adversaries improves generalization and robustness compared to single-adversary or baseline setups.
- To demonstrate that evolutionary strategies like CMA-ES can effectively train complex locomotion policies in multi-agent adversarial settings where actor-critic methods fail.
- To show that the resulting controller generalizes well to unseen adversaries and complex trajectories, outperforming carefully designed baselines.
Proposed method
- The method employs a multi-agent adversarial setup where a quadruped robot (protagonist) learns to chase a target, while the target (adversary) learns to escape, creating a co-evolutionary training process.
- The protagonist's policy is optimized using CMA-ES, a derivative-free evolutionary strategy that samples and updates a Gaussian distribution over policy parameters based on cumulative reward performance.
- To prevent overfitting, the method trains an ensemble of adversaries, each specializing in a distinct escaping strategy (e.g., side-dodging, sudden halting), ensuring diverse and challenging training scenarios.
- The training process is decoupled: chasing and escaping behaviors are trained iteratively to stabilize learning, as actor-critic methods like MADDPG and MATD3 fail in this joint learning setting.
- The reward function is designed to encourage speed, proximity, and successful catching, with no discount factor (γ = 1), focusing on long-horizon performance.
- Generalization is evaluated by testing the protagonist against adversaries not seen during training, using metrics like catch rate, fall rate, distance to target, and heading error.
Experimental results
Research questions
- RQ1Can adversarial self-play between a chaser and escaping agents induce agile, dynamic locomotion behaviors without manual reward shaping?
- RQ2Does training with an ensemble of strategy-specialized adversaries lead to more robust and generalizable locomotion policies than training with a single adversary?
- RQ3How does the proposed CMA-ES-based adversarial training method compare to carefully designed baseline environments and state-of-the-art multi-agent RL algorithms in performance and generalization?
- RQ4To what extent can the learned controller generalize to unseen adversary strategies and complex trajectories not present in the training set?
- RQ5Why do actor-critic-based MARL methods like MADDPG and MATD3 fail in this multi-agent locomotion setting, and can evolutionary strategies overcome these limitations?
Key findings
- After only three generations of adversarial training, the protagonist learns agile gaits that enable high-speed, stable pursuit, outperforming all baselines in chasing speed and balance.
- The controller trained with the adversary ensemble achieves a 98% catch rate against unseen adversaries, significantly outperforming the next best baseline (51% catch rate with π_single).
- In chasing tasks along complex sine and zigzag trajectories, the adversarial policy maintains a heading error (θ) of 0.14 radians on average, compared to 0.47 radians for the best baseline, indicating superior tracking precision.
- The method reduces fall rate to 0% in unseen adversary tests, while baselines suffer from up to 11 falls per 100 episodes, demonstrating superior stability and robustness.
- Training with a single adversary (π_single) leads to overfitting, as it relies on fast running to catch targets but fails on curved trajectories, highlighting the necessity of an ensemble for generalization.
- The adversarial training scheme enables the protagonist to master complex maneuvers such as sudden halts and sharp turns, which are not learned in baseline environments, even when those environments are carefully designed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.