Introduction
Universal morphology control aims to develop a single policy capable of controlling robots with diverse physical structures. While Transformer-based models (TF) have demonstrated impressive generalization capabilities by modeling complex limb interactions, their high computational cost and memory requirements hinder deployment on resource-constrained hardware. Conversely, traditional Multi-Layer Perceptrons (MLPs) offer high efficiency but struggle to generalize across hundreds of distinct morphologies simultaneously.
HyperDistill bridges this gap by distilling the knowledge of a high-performance Transformer "teacher" into an efficient MLP-based "student" architecture. By using a morphology-conditioned hypernetwork to "bake" custom MLP weights for any robot shape, it matches state-of-the-art Transformer performance while slashing computational costs by up to 160x at inference time.
Methodology
The HyperDistill framework rests on two primary pillars:
- Morphology-Conditioned Hypernetworks (HN): Instead of a static network, a hypernetwork takes a robot's morphology description (context) as input and generates the parameters for a task-specific MLP base policy. Crucially, since a robot's shape remains constant during a mission, the hypernetwork only runs once at initialization. Subsequent control is handled by the ultra-fast generated MLP.
- Policy Distillation: To overcome the instability of training hypernetworks directly with Reinforcement Learning (RL), the authors employ behavior cloning. They distill the expertise of a pre-trained Transformer teacher (ModuMorph) into the HyperDistill student, ensuring stable training and robust generalization.
Key Insights: The Knowledge Decoupling Hypothesis
The core innovation of this work is the decoupling of universal control knowledge into two types:
- Inter-task knowledge: Understanding how robots differ morphologically.
- Intra-task knowledge: Understanding how to actually execute movement.
While Transformers muddle these together, HyperDistill separates them: the HN handles the morphological reasoning, while the generated MLP focuses purely on execution. To further enhance generalization, the authors designed the HN to generate limb-wise parameters, mirroring the order-invariance of Transformers. Additionally, they found that applying dropout to the morphology context was more effective than standard layer dropout, forcing the HN to learn a more robust mapping of body shapes to control strategies.
Experimental Results
The researchers evaluated HyperDistill on the UNIMAL benchmark using the MuJoCo physics engine across three terrains: Flat, Variable, and Obstacle. The training involved 100 robots, with an additional 1,000 robots used for the distillation process to ensure thorough coverage of the task space.
HyperDistill successfully achieves the "best of both worlds" with the following gains:
- Performance Parity: It matches the performance of the state-of-the-art ModuMorph teacher on both training and unseen test morphologies.
- Extreme Efficiency: It reduces model size by 6–14x and slashes inference computational costs (FLOPs) by 67–160x.
- Superior Generalization: It significantly outperforms standard multi-robot MLPs, which fail to generalize due to their inability to decouple morphological knowledge from control logic.
Limitations and Future Work
The current efficiency gains rely on a static morphology assumption; if a robot reconfigures mid-task, the HN would need to run more frequently. Furthermore, the student is currently capped by the quality of the teacher. Future work could apply this "knowledge decoupling" principle to other domains, such as vision-language models, where large "brains" could generate efficient, task-specific specialist networks on the fly.
Summary updated