Learn to Teach: Sample-Efficient Privileged Learning for Humanoid Locomotion Over Real-World Uneven Terrain

Feiyang Wu, Xavier Nal, Jaehwi Jang, Wei Zhu, Zhaoyuan Gu, Anqi Wu, Ye Zhao

TL;DR

This paper introduces "Learn to Teach" (L2T), a novel framework that unifies teacher and student policy learning for humanoid robots. L2T significantly improves sample efficiency and reduces training time by allowing the student to learn directly from the teacher's privileged information and its own experiences in a single stage, achieving state-of-the-art performance and zero-shot sim-to-real transfer on challenging terrains.

What Problem Does This Paper Address?

Training humanoid robots for complex tasks like locomotion over uneven terrain is notoriously difficult. While Reinforcement Learning (RL) has shown promise, it typically requires an enormous amount of data, often gathered through extensive simulations. This data hunger stems from the "sim-to-real gap" – the discrepancy between simulated environments and the real world. Techniques like domain randomization help, but they further increase sample complexity. Existing "teacher-student" approaches, where an expert "teacher" guides a "student" with limited observations, often involve a two-stage process that discards valuable teacher data and can suffer from an "imitation gap" where the student struggles to replicate the teacher's behavior due to differing observation spaces. This paper aims to bridge this gap by creating a more efficient and effective unified training process.

Methods

The core innovation is the Learn to Teach (L2T) framework, which trains teacher and student policies simultaneously in a single stage.

  • Unified Training: Unlike traditional methods that train a teacher first and then a student, L2T co-trains both. This allows the student to learn from the teacher's privileged, full-state information while also contributing its own experiences.
  • Sample Mixing: To combat the imitation gap, L2T employs a "sample mixing" strategy. The student collects its own data, which is then injected into the replay buffer alongside the teacher's data. This allows the teacher to observe and learn from the student's potentially out-of-distribution actions, leading to better guidance.
  • Asymmetric Critic: The framework utilizes an asymmetric critic, where the critic has access to privileged information (full state) while the actor (policy) operates on the student's limited observations. This is a common technique to improve sample efficiency in POMDPs.
  • Policy Architecture: The teacher policy is implemented as a Multi-Layer Perceptron (MLP) due to its access to privileged, Markovian state information. The student policy uses a lightweight LSTM-based network, suitable for processing sequential, partially observable data.
  • RL Variant (L2T-RL): The paper specifically implements an RL variant using PPO-style policy gradient updates for the teacher and an imitation loss (or KL divergence) for the student.

Datasets

The primary training and evaluation environment is Isaac Lab, a GPU-accelerated simulator. The paper uses a curriculum learning setup within Isaac Lab, featuring seven different terrains: flat ground, slopes, stepping stones, and pyramid stairs (up and down). The hardware experiments are conducted on the Digit robot in various real-world environments, including grass, gravel, sandy terrain, and slippery surfaces. No specific named datasets are mentioned beyond the simulation environment itself.

Key Insights and Ideas

  • Single-Stage Co-training is Key: The most significant insight is that unifying teacher and student training into a single stage, rather than a sequential two-stage process, dramatically improves sample efficiency and reduces overall training time.
  • Sample Mixing Bridges the Gap: The sample mixing strategy is crucial for mitigating the imitation gap. By allowing the teacher to see and learn from the student's actions, the guidance becomes more relevant and effective for the student's limited observation space.
  • Lightweight Student Policy: The success of a lightweight LSTM student policy, capable of zero-shot sim-to-real transfer, highlights the power of effective teacher guidance in enabling efficient learning for simpler student models.
  • Robustness Beyond Training: The policy's ability to generalize to entirely unseen terrains and perturbations (like slippery surfaces or impacts) without any fine-tuning is a testament to the robustness learned through the L2T framework.

Key Results

  • 50% Sample Reduction: L2T-RL requires 50% fewer samples compared to traditional teacher-student learning methods, translating to roughly 12 hours of saved GPU training time.
  • State-of-the-Art Performance: The L2T-RL student agent achieves stable and superior locomotion performance on challenging terrains.
  • Zero-Shot Sim-to-Real Transfer: The policy trained in simulation successfully transfers to the physical Digit robot and can traverse over 12 different real-world terrains (including gravel, sand, grass, and slopes) without any offline fine-tuning.
  • Robustness to Perturbations: The robot demonstrates agile adjustments and maintains stable gaits when subjected to external forces (pushes, harness pulling) and challenging conditions (slippery surfaces).
  • Mitigation of Imitation Gap: Ablation studies show that L2T effectively reduces the imitation gap compared to methods like CTS.

Limitations and Future Work

  • Hyperparameter Sensitivity: The authors note that the mixture coefficient ($\alpha_{mix}$) needs careful tuning. Too large a value can destabilize training if a suboptimal student injects too many samples.
  • Teacher Performance Upper Bound: The ultimate performance of the student is still bounded by the teacher's capabilities.
  • Future Work: The paper suggests extending the framework to Imitation Learning (LfD) settings, which could leverage demonstrations more directly. Further exploration of different policy architectures and learning algorithms within the L2T framework is also implied.

Summary updated

BibTeX
@article{wu2025learn,
  author = {Feiyang Wu and Xavier Nal and Jaehwi Jang and Wei Zhu and Zhaoyuan Gu and Anqi Wu and Ye Zhao},
  title = {{Learn to Teach: Sample-Efficient Privileged Learning for Humanoid Locomotion Over Real-World Uneven Terrain}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3592131},
}
Figure