Abstract
Developing agile behaviors for legged robots remains a challenging problem. While deep reinforcement learning is a promising approach, learning truly agile behaviors typically requires tedious reward shaping and careful curriculum design. We formulate agile locomotion as a multi-stage learning problem in which a mentor guides the agent throughout the training. The mentor is optimized to place a checkpoint to guide the movement of the robot's center of mass while the student (i.e. the robot) learns to reach these checkpoints. Once the student can solve the task, we teach the student to perform the task without the mentor. We evaluate our proposed learning system with a simulated quadruped robot on a course consisting of randomly generated gaps and hurdles. Our method significantly outperforms a single-stage RL baseline without a mentor, and the quadruped robot can agilely run and jump across gaps and obstacles. Finally, we present a detailed analysis of the learned behaviors' feasibility and efficiency.
Introduction
Learning agile locomotion—such as jumping, leaping, and rapid obstacle negotiation—is notoriously difficult for robots. While Deep Reinforcement Learning (RL) is a powerful tool, it often struggles with "local maxima." For example, if a robot is tasked with crossing a wide gap, it might learn that the safest strategy is to simply stand still at the edge to avoid falling, never discovering the "jump" behavior because the reward for success is too sparse.
Traditionally, researchers solve this with meticulous hand-coded reward shaping or complex curriculum design. This work introduces a collaborative mentor-student framework that automates this process, guiding the robot through the hardest parts of the task to bridge the gap between initial failure and successful execution.
Methods: The Mentor-Student Framework
The proposed system uses a three-stage training pipeline to foster agile behaviors:
- Stage 1: Mentor Optimization: The task is simplified (e.g., a fixed-distance gap). A "mentor" is optimized to place a spatial checkpoint—a target for the robot's center of mass. The system searches for the best mentor-student pair where the robot successfully reaches this checkpoint and completes the task.
- Stage 2: Generalization: The task complexity increases. Gap locations are randomized, requiring the robot to adjust its gait and timing. The mentor remains present to provide guidance via the checkpoint.
- Stage 3: Mentor Removal: To ensure real-world applicability, the mentor is phased out. Using a dropout technique, the robot is forced to rely on its own sensors—LiDAR, IMU, and motor encoders—rather than privileged ground-truth data from the simulator.
The underlying controller utilizes Policies Modulating Trajectory Generators (PMTG), which combine stable rhythmic leg movements with flexible RL-driven "residual" actions for agility.
Experimental Setup
The study was conducted in the PyBullet physics simulation environment using a high-fidelity model of the Unitree A1 quadruped. The actuator model was specifically tuned to match the torque/speed curves of real-world motors. The robot was tested on custom segments featuring large gaps (up to 0.9m) and vertical hurdles (0.2m high). The framework was compared against standard single-stage PPO (Proximal Policy Optimization) and ARS (Augmented Random Search) baselines.
Key Results and Analysis
The mentor-student framework demonstrated significant advantages over standard RL approaches. While baselines like ARS failed to solve the 0.9m gap task, getting stuck at the edge, the proposed method solved it consistently.
As shown in the training curves, the robot's performance improves significantly as it moves through the stages. In Stage 1, it learns the basic jump; in Stage 2, it generalizes to various gap positions; and in Stage 3, it maintains high performance even after the mentor's guidance is removed.
Beyond success rates, the robot exhibited emergent agility, adjusting foot placement and take-off velocity based on obstacle distance. For hurdles, it learned to jump 0.3m higher than its normal running height. Mechanical analysis confirmed these behaviors were physically feasible, with torques staying well within motor limits and a Cost of Transport (CoT) comparable to existing efficient locomotion models.
Conclusion
By using a collaborative mentor to provide implicit reward shaping through checkpoints, this framework enables quadruped robots to master complex, high-speed maneuvers that standard RL algorithms typically fail to discover. While currently confined to simulation, the high physical feasibility of the learned policies suggests a promising path toward deploying these agile behaviors on physical hardware in future work.
Summary updated