TL;DR
Researchers have identified a "divergence misestimation" problem that cripples Mixture of Experts (MoE) policies when trained with standard policy gradient methods like PPO. By introducing MAPO (Mixture of Experts with Alternating Policy Optimization), which separates the updates for the router and the experts, they achieved state-of-the-art humanoid motion tracking that successfully handles complex, whole-body maneuvers on both simulated and real robots.
What Problem Does This Paper Address?
Humanoid robots need to perform a vast library of motions—from simple walking to mid-air spins—to be useful in human environments. To handle this diversity, researchers often use a Mixture of Experts (MoE) architecture. In an MoE setup, a "router" network decides which specialized "expert" networks should handle the current state.
The standard way to train these is using Proximal Policy Optimization (PPO). PPO is popular because it uses a "trust region"—it ensures that the new policy doesn't diverge too far from the old one, preventing the training from collapsing.
However, the authors discovered a fundamental flaw: when you use PPO with MoE, the trust region calculation gets "confused." Because the final output is a weighted sum of experts, a small change in the router can look like a massive change in the overall policy (overestimation), or a massive change in an expert can be masked by the router (underestimation). This leads to updates that are either too timid to learn or so aggressive they become unstable.
Methods
The authors propose MAPO (Mixture of Experts with Alternating Policy Optimization). Instead of calculating a single divergence for the entire MoE policy, MAPO splits the process:
- Expert Update: It freezes the router's mixing weights at their data-collection values and updates only the experts. This ensures the divergence measurement reflects only the changes in expert behavior.
- Router Update: It freezes the experts' outputs and updates only the router. This ensures the divergence measurement reflects only how the "selection" logic has changed.
Crucially, these aren't separate training phases; both updates happen within a single optimization step using the same rollout data. This simple separation allows PPO’s clipping mechanism to work correctly for each component.
To make this work on real hardware, they use a Teacher-Student framework. The MoE policy (the teacher) is trained in simulation with "privileged" information (like exact velocities). Its knowledge is then distilled into a simpler, monolithic student policy that only uses sensors available on a real robot.
Datasets
The model was trained and evaluated on several large-scale human motion datasets:
- AMASS & LAFAN1: Used for training the teacher policy. These contain thousands of diverse human motions retargeted to a humanoid model.
- OMOMO: Used as a test set to evaluate how well the policy generalizes to unseen motions.
Key Insights and Ideas
- The Over/Underestimation Trap: The authors quantified that as you add more experts, the system becomes more prone to overestimating divergence, leading to overly conservative learning. Conversely, fewer experts lead to underestimation, risking instability.
- Component-Wise Trust Regions: The "aha moment" is realizing that the router and experts are distinct functional units. By measuring divergence per component, MAPO allows "admissible" updates that standard PPO would have blocked due to global misestimation.
- Sharper Specialization: Because MAPO doesn't prematurely clip router updates, the router learns to be more "decisive" (sharper weights). This forces experts to specialize more effectively, leading to higher overall performance.
Key Results
MAPO significantly outperformed standard PPO-trained MoE policies across the board:
- Success Rate: MAPO achieved an 86.6% success rate on the training set, compared to 83.38% for standard PPO with MoE.
- Robustness: In a head-to-head comparison, MAPO successfully tracked 182 motions that PPO with MoE failed to track. PPO with MoE only managed to track one motion that MAPO failed.
- Real-World Deployment: The distilled student policy was successfully deployed on a Unitree G1 humanoid, demonstrating stable tracking of squats, bows, and walking patterns in the real world.
Limitations and Future Work
While MAPO solves the optimization bottleneck, the authors note that expert specialization is still an open challenge. Even with better optimization, experts can sometimes "collapse" or overlap too much. They suggest that future work could incorporate auxiliary losses (like those used in unsupervised skill discovery) to further encourage experts to learn distinct, non-overlapping behaviors. Additionally, the current analysis focuses on "dense" MoE (where all experts are weighted); extending this to "sparse" MoE (where only the top-k experts are picked) remains a promising research direction.
Summary updated