Abstract
Learning from multiple domains is a primary factor that influences the generalization of a single unified robot system. In this paper, we aim to learn the trajectory prediction model by using broad out-of-domain data to improve its performance and generalization ability. Trajectory model is designed to predict any-point trajectories in the current frame given an instruction and can provide detailed control guidance for robotic policy learning. To handle the diverse out-of-domain data distribution, we propose a sparsely-gated MoE (Top-1 gating strategy) architecture for trajectory model, coined as Tra-MoE. The sparse activation design enables good balance between parameter cooperation and specialization, effectively benefiting from large-scale out-of-domain data while maintaining constant FLOPs per token. In addition, we further introduce an adaptive policy conditioning technique by learning 2D mask representations for predicted trajectories, which is explicitly aligned with image observations to guide action prediction more flexibly. We perform extensive experiments on both simulation and real-world scenarios to verify the effectiveness of Tra-MoE and adaptive policy conditioning technique. We also conduct a comprehensive empirical study to train Tra-MoE, demonstrating that our Tra-MoE consistently exhibits superior performance compared to the dense baseline model, even when the latter is scaled to match Tra-MoE's parameter count.
Introduction
A major bottleneck in robotics is the "data scarcity" problem. While massive human video data is available online, utilizing it for robot training is notoriously difficult because human videos are "out-of-domain" (OOD). Differences in embodiment (hands vs. grippers), physics, and environments often lead to optimization conflicts when training standard dense models on both robot and OOD data. When researchers jointly train standard dense models on both robot data and OOD human data, performance often decreases as the model fails to reconcile the different motion patterns. The challenge lies in leveraging these diverse datasets to improve generalization without compromising specific task performance.
Methods
The authors propose a two-stage framework that utilizes a high-capacity trajectory model to guide a downstream policy.
Tra-MoE (Trajectory Mixture-of-Experts)
The core of the trajectory prediction model is based on replacing standard Transformer blocks with sparsely-gated Mixture-of-Experts (MoE) blocks. Using a Top-1 gating strategy, only the single most relevant expert is activated for every token. This architecture allows the model to increase its total parameter count and capacity while keeping the computational cost (FLOPs) per token constant. This design facilitates specialization, where different experts can handle distinct data distributions—for instance, one expert might specialize in human-like motion while another handles precise robotic gripper movements.
Adaptive Policy Conditioning
Once the trajectory model is trained, it guides a policy through a novel adaptive conditioning technique. Instead of feeding raw coordinates to the policy, the model creates a 2D trajectory mask. Each point in the predicted trajectory is treated as a learnable embedding and mapped back onto the image space. This explicit spatial alignment makes it significantly easier for the policy to correlate predicted paths with the objects observed in the camera feed.
Experimental Setup
The researchers evaluated Tra-MoE across several challenging benchmarks:
- LIBERO: A simulation benchmark for lifelong robot learning, using the LIBERO-90 suite for pre-training and evaluation across Spatial, Object, Goal, and Long-horizon task sets.
- RLbench: Used as a source of OOD data, featuring 92 tasks with different physics and embodiments compared to LIBERO.
- Real-World Dual-Arm Robot: A custom setup where they collected 50 robot demonstrations and 50 human videos for five tasks, such as folding clothes and pouring water.
Key Results and Insights
The most significant finding is that MoE acts as a conflict resolver, preventing the performance drop seen in dense models when adding OOD data. By allowing parameters to specialize, the model can cooperate on general patterns while specializing on domain-specific nuances.
- Simulation Success: In LIBERO experiments, adding OOD data to a standard dense model caused the success rate to drop from 57.6% to 52.0%. In contrast, Tra-MoE leveraged that same data to jump to 61.4%.
- Real-World Gains: On the dual-arm robot, the baseline success rate was 38%. Adding human video data and the MoE architecture brought it to 46%. Incorporating the adaptive trajectory mask pushed it further to 56%—a nearly 50% relative improvement over the baseline.
- Scaling and Stability: Tra-MoE consistently outperformed dense baselines even when the dense models were scaled to have the same total number of parameters. The researchers also found that using a router z-loss was crucial for stabilizing the training of sparse experts in a robotics context.
Conclusion and Future Work
Tra-MoE demonstrates that sparse expert architectures can effectively bridge the gap between in-domain robot data and large-scale out-of-domain human videos. While successful, the authors note that trajectory prediction is inherently multi-modal, and future work could explore more flexible visual prompts like bounding boxes or point-clicks, as well as testing the model on "internet-scale" datasets containing millions of videos.
Summary updated