RL Fine-Tuning for Quadruped Locomotion (ANYmal)
Student Project at ETH Zürich (RSL Lab, Prof. Marco Hutter)
Summary
In this ongoing project at RSL, we (Clemens, Junzhe, and I) are investigating whether continued RL fine-tuning can produce a universal locomotion policy for quadruped robots. The goal is to scale a distilled baseline policy to a growing collection of simulated and real-world terrains, and evaluate if and when generalization capabilities begin to plateau. In addition, we are exploring the use of procedural terrain generation to create environments that specifically target the weaknesses of the policy.
Background
Previous work at RSL [1] has shown that multi-expert distillation combined with RL fine-tuning can synthesize diverse locomotion skills into a single controller, which was successfully deployed on the ANYmal D robot. The policy was able to traverse rough terrain with strong robustness, as seen in this YouTube video.
The way the policy was trained is illustrated below:
- Expert Training: Nine terrain-specific expert policies were first trained independently using RL, each specialized to a single locomotion skill.
- Distillation: These experts were then combined into a single network using supervised learning and the DAgger algorithm. At this stage, the distilled policy switched from elevation maps to depth images as input.
- Fine-Tuning: Finally, the distilled policy was further improved through reinforcement learning on both the original terrains and an extended set of 3D-scanned real-world rubble environments. This enabled robust transfer from simulation to the real robot.
Reference:
[1] Rudin, N., He, J., Aurand, J., & Hutter, M. (2025). Parkour in the Wild: Learning a General and Extensible Agile Locomotion Policy Using Multi-expert Distillation and RL Fine-tuning. arXiv:2505.11164.
Objectives and Outlook
Building on this foundation, our project explores the scalability of this approach: how much can continued fine-tuning expand the generalization capacity of the policy? We are incrementally introducing new terrains (for now in simulation) and systematically analyzing when and where generalization begins to plateau. Beyond scaling, we also investigate procedural terrain generation as a way to expose policy weaknesses and accelerate robustness, moving toward the long-term goal of a truly generalist locomotion controller.
- Scalability: incrementally fine-tune the policy on a larger and more diverse terrain set.
- Plateau Analysis: systematically evaluate performance to determine where generalization saturates.
- Weakness-Directed Training: explore procedural terrain generation for targeted robustness improvements.
We hope to gain insights into the requirements for creating more generalist robotic controllers and achieving successful deployment on the ANYmal D robot across increasingly challenging environments.