TL;DR
The Trajectory-Level Automatic Curriculum Learning (TACL) framework trains legged robots on raw, unstructured terrain maps without relying on handcrafted obstacle templates. By combining a CVAE-based difficulty evaluator with an MCMC-based trajectory sampler, TACL automatically generates a closed-loop curriculum that matches the robot's evolving capabilities, boosting success rates by up to 56.3% and significantly improving real-world generalization.
What Problem Does This Paper Address?
Deep Reinforcement Learning (DRL) has achieved remarkable success in training legged robots to traverse complex environments. However, dropping a robot directly onto highly challenging terrain usually results in immediate failure, providing no useful learning signal. To avoid this, researchers use curriculum learning—starting with easy tasks and gradually increasing the difficulty.
Traditionally, this curriculum is handcrafted (Handcrafted Curriculum Learning, or HCL) using parameterized geometric templates (e.g., precisely defined stairs, gaps, or hurdles of increasing heights/widths). While effective in simulation, this approach has a major flaw: it abstracts away the complexity of the real world. Robots overfit to these rigid, artificial patterns and struggle when encountering raw, unstructured environments where obstacles don't have a clear "difficulty parameter" or predefined path.
TACL addresses this gap by generating training curricula directly from raw, unstructured terrain maps, evaluating difficulty at the trajectory level rather than relying on predefined obstacle classes.
Methods
TACL introduces a closed-loop framework consisting of three main phases that iterate continuously as the robot trains:
- Policy Learning and Rollout Collection: The robot's locomotion policy attempts to follow randomly sampled waypoint trajectories on an unstructured map. Each attempt is logged as a success or failure, and the local terrain context (height patches, masks, and approach angles) is recorded.
- Difficulty Evaluator Training: Predicting difficulty directly from raw terrain height maps is notoriously difficult because minor geometric shifts cause massive pixel-level changes. TACL solves this by using a Conditional Variational Autoencoder (CVAE) to compress the high-dimensional transition context into a smooth, compact latent space. A neural network evaluator then learns to map these latent codes to a policy-conditioned difficulty score ($d_i \in [0, 1]$), representing the likelihood of failure for the current policy.
- Evaluator-Guided Task Generation: To find the next set of training tasks, a sampler uses Metropolis-Hastings Markov Chain Monte Carlo (MH-MCMC) to search the map for new waypoint trajectories. It specifically targets trajectories that match a desired "sweet spot" difficulty level (challenging but learnable). As the policy improves, previously hard terrains naturally receive lower difficulty scores, automatically pushing the sampler to discover even tougher trajectories.
Datasets
The authors evaluated their method using two distinct simulation setups in Isaac Gym, followed by real-world deployment:
- Map A (Unstructured Terrain): A newly introduced training map filled with randomly placed circular platforms and rectangular blocks, with obstacle heights scaling progressively from 0.05 meters to 0.6 meters.
- Map HCL (Procedural Parkour Terrain): A benchmark map adapted from the Extreme Parkour codebase containing four distinct obstacle families: steps, gaps, parkour platforms, and hurdles. This was used to directly compare TACL against traditional handcrafted curricula.
Key Insights and Ideas
- The Non-Smoothness of Raw Terrain: Direct geometry-to-difficulty mapping fails because raw height maps are highly non-smooth. The CVAE acts as a critical regularizer, smoothing out the representation space so the difficulty evaluator can provide reliable guidance to the sampler.
- The Overfitting Trap of Predefined Paths: Robots trained on handcrafted curricula (HCL) often suffer from performance degradation late in training. Because they repeatedly run the exact same trajectories, they overfit to specific perceptual patterns. TACL avoids this by constantly generating novel paths and diverse approach angles.
- Capability-Frontier Expansion: Rather than just making the terrain globally harder, TACL naturally forces the robot to master its current physical limits from all directions before expanding its success boundary to taller or wider obstacles.
Key Results
TACL demonstrated substantial improvements in both simulation and real-world deployment:
- Massive Success Rate Boost: On the unstructured Map A, TACL improved the trajectory success rate by 56.3% over direct training without a curriculum (achieving 94.54% vs. 39.57%).
- Outperforming Handcrafted Curricula: When tested on the hardest obstacle sets of Map HCL, TACL outperformed the expert-designed HCL baseline by 18.5% on average, without ever using predefined training paths.
- Superior Directional Robustness: When evaluating platform-climbing from diverse, unaligned approach directions, TACL improved the success rate by up to 39.74%, proving it learns far more generalized and robust behaviors than HCL.
- Sim-to-Real Transfer: The policy was successfully deployed on a physical Unitree Go2 quadruped robot using onboard depth sensing, successfully navigating real-world platforms, slopes, and obstacles.
Limitations and Future Work
While TACL excels at standard locomotion and climbing, it struggles with highly specific, multi-stage maneuvers—such as complex parkour sequences that require precise, human-designed strategies. For instance, on the "parkour" obstacle family, TACL achieved a 47% success rate compared to HCL's 62%, because generic trajectory sampling rarely stumbles upon the highly specific momentum tricks needed to clear those gaps.
The authors suggest that incorporating weak task priors or demonstration-guided proposals into the MCMC sampler could bridge this gap while preserving the benefits of direct curriculum learning on unstructured maps.
Summary updated