TL;DR
Training quadruped robots to navigate complex, obstacle-filled terrain typically requires tedious reward engineering or struggles when transferring flat-ground animal imitation data to non-flat environments. This paper introduces a hierarchical reinforcement learning framework where a low-level policy learns flat-ground animal motion priors, while a high-level perceptive policy learns residual joint corrections and latent commands to navigate rough terrain and avoid obstacles. The resulting controller achieves natural, energy-efficient quadruped locomotion across stairs, steep slopes, and cluttered environments on the ANYmal-D robot without an explicit path planner.
What Problem Does This Paper Address?
Reinforcement learning (RL) has enabled quadrupedal robots to traverse challenging environments, but policies trained from scratch often adopt unnatural, jittery, or jumping gaits unless researchers spend immense effort tuning reward weights.
Motion imitation provides an alternative by encouraging robots to mimic animal motion capture (mocap) data. However, standard imitation methods suffer from distribution shift: animal mocap is almost universally recorded on flat laboratory floors. When deployed onto stairs, slopes, or obstacle courses, strict imitation policies fail because the robot encounters states completely absent from the demonstration dataset. Trajectory optimization or collecting uneven-terrain animal data can mitigate this, but these solutions are labor-intensive, computationally expensive, or fragile.
Methods
The authors propose a four-stage hierarchical RL framework:
[Raw Animal Mocap]
│ (Retargeting via Inverse Kinematics)
▼
1. FLD Pre-training ──► Structured Latent Space (Frequency, Amplitude, Phase)
│
2. Low-Level Policy ──► Mimics Flat-Ground Gaits (Walk, Pace, Canter) [Frozen]
│
3. High-Level Teacher ─► Outputs Latent Commands + 12D Joint Residuals
│ (Uses privileged terrain & contact information)
▼
4. Student Distillation ─► Deploys to Real Robot (ANYmal-D) using noisy sensors & GRU
- Motion Preprocessing: Raw canine mocap data covering walking, pacing, and cantering is retargeted to the ANYmal-D kinematics using inverse kinematics.
- Low-Level Pre-Training: An encoder based on Fourier Latent Dynamics (FLD) captures global periodic features (frequency, amplitude, phase). A low-level policy is trained to track flat-ground reference motions conditioned on these latent representations, and is subsequently frozen to serve as a robust motion prior.
- High-Level Task Training: A high-level teacher policy receives target goals and velocity commands alongside exteroceptive height scans and downsampled LiDAR point clouds. Rather than generating raw joint actions from scratch, the policy outputs 16-dimensional latent commands to query the low-level prior, accompanied by 12-dimensional joint residuals ($a_t^{\text{res}}$) to adapt foot trajectories to rough terrain.
- Policy Distillation for Sim-to-Real: The privileged teacher policy is distilled into a student policy using a Gated Recurrent Unit (GRU) belief encoder that reconstructs privileged state information and filters noise from onboard sensors.
Datasets
- Animal Motion Capture: Sourced from existing quadruped datasets (Han et al., 2024; Zhang et al., 2018), comprising flat-ground canine locomotion (walking, pacing, cantering at diverse speeds).
- Terrain Benchmarks: Procedurally generated in NVIDIA Isaac Gym, including stairs (up to 25 cm step height), slopes (up to 25° inclination), random box obstacles, and narrow obstacle fields. No new public dataset is introduced.
Key Insights and Ideas
- Residuals Bridge the Covariate Shift: Flat-ground motion priors provide base rhythmic coordination, while small additive joint residuals afford the compliance and step clearance needed for stairs and uneven terrain.
- The Residual Penalty Dilemma: The weight placed on penalizing joint residuals ($w_{\text{res}}$) governs a fundamental trade-off:
- Excessively high penalties force strict adherence to the flat-ground prior, causing the robot to stumble on steep inclines or high steps.
- Overly low penalties allow the high-level policy to disregard the prior completely, drifting into unnatural hopping gaits even on flat ground.
- Motion Priors as Implicit Regularizers: Unlike standard RL policies that require extensive hand-tuned penalties on joint acceleration, torques, and vertical base motions, this framework achieved natural, animal-like locomotion across rough terrain using a minimal reward setup.
- Emergent Energy Efficiency: Even without explicit reward terms penalizing energy usage, policies conditioned on animal motion priors achieved a significantly lower Cost of Transport (CoT) than baseline RL policies trained from scratch, naturally eliminating energy-wasting vertical bouncing.
Key Results
- Simulation Navigation: In noisy simulation evaluations across 100 randomized trials per environment (5-meter goal navigation):
- Stairs (0.25 m): 84% success rate ascending, 85% descending.
- Rugged Slopes (24°): 90% success rate ascending, 95% descending.
- Random Boxes & Cluttered Obstacles: 75% to 81% success rate traversing rough blocks and circumventing tall barriers without external waypoint planners.
- Joint Variance Trends: Residual variance scaled monotonically with step height and slope angle, proving that flat-terrain priors dominate on mild ground while residuals activate progressively as terrain difficulty surges.
- Real-World Deployment: Deployed zero-shot on an ANYmal-D quadruped in indoor and outdoor settings. The robot smoothly climbed stairs, traversed scattered obstacles, and navigated directly to target positions using an animal-like gait.
Limitations and Future Work
- Gait Mode Collapse: The high-level policy occasionally collapses to a single preferred gait (e.g., exclusively cantering or walking) and relies purely on residuals for adaptation instead of dynamically switching gaits based on the terrain.
- Restricted Dynamic Range: The framework was only trained on continuous planar gaits; highly dynamic maneuvers such as leaping across wide gaps, crawling under low clearance, or traversing discrete stepping stones remain out of reach.
- Future Scope: The authors plan to incorporate diversity-promoting rewards to preserve multi-gait switching and extend the underlying library of low-level skills to agile parkour behaviors.
Summary updated