UniLegs: Universal Multi-Legged Robot Control through Morphology-Agnostic Policy Distillation
Authors:
- 19 October 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 10698-10703
Abstract
Developing controllers that generalize across diverse robot morphologies remains a significant challenge in legged locomotion. Traditional approaches either create specialized controllers for each morphology or compromise performance for generality. This paper introduces a two-stage teacher-student framework that bridges this gap through policy distillation. First, we train specialized teacher policies optimized for individual morphologies, capturing the unique optimal control strategies for each robot design. Then, we distill this specialized expertise into a single Transformer-based student policy capable of controlling robots with varying leg configurations. Our experiments across five distinct legged morphologies demonstrate that our approach preserves morphology-specific optimal behaviors, with the Transformer architecture achieving 94.47% of teacher performance on training morphologies and 72.64% on unseen robot designs. Comparative analysis reveals that Transformer-based architectures consistently outperform MLP baselines by leveraging attention mechanisms to effectively model joint relationships across different kinematic structures. We validate our approach through successful deployment on a physical quadruped robot, demonstrating the practical viability of our morphology-agnostic control framework. This work presents a scalable solution for developing universal legged robot controllers that maintain near-optimal performance while generalizing across diverse morphologies.Keywords
All Related Versions
Funding Information
- Tsinghua University
- National Natural Science Foundation of China
This publication has 10 references indexed in Scilit:
- Towards Multi-Morphology Controllers with Diversity and Knowledge Distillation2024
- Open X-Embodiment: Robotic Learning Datasets and RT-X Models : Open X-Embodiment Collaboration02024
- MorAL: Learning Morphologically Adaptive Locomotion Controller for Quadrupedal Robots on Challenging TerrainsIEEE Robotics and Automation Letters, 2024
- TraKDis: A Transformer-Based Knowledge Distillation Approach for Visual Reinforcement Learning With Application to Cloth ManipulationIEEE Robotics and Automation Letters, 2024
- Multi-embodiment Legged Robot Control as a Sequence Modeling Problem2023
- Adapting Rapid Motor Adaptation for Bipedal Robots2022
- Learning robust perceptive locomotion for quadrupedal robots in the wildScience Robotics, 2022
- RMA: Rapid Motor Adaptation for Legged Robots2021
- Learning quadrupedal locomotion over challenging terrainScience Robotics, 2020
- Learning dexterous in-hand manipulationThe International Journal of Robotics Research, 2019