Tra-MoE: Learning Trajectory Prediction Model from Multiple Domains for Adaptive Policy Conditioning

Jiange Yang, Haoyi Zhu, Yating Wang, Gangshan Wu, Tong He, Limin Wang

Abstract

Robotic learning often struggles with "negative transfer" when scaling up with diverse, out-of-domain (OOD) data. This paper introduces Tra-MoE, a sparsely-gated Mixture-of-Experts (MoE) architecture designed to leverage large-scale video data without performance interference. By combining MoE with a novel adaptive policy conditioning technique that spatially aligns 2D trajectories with visual observations, the authors demonstrate significant improvements in task success rates across simulation and real-world environments.

Introduction

A major bottleneck in robot learning is the difficulty of utilizing diverse datasets. While large-scale human videos and varied robotic data are abundant, training a single "dense" model on this "out-of-domain" (OOD) data often leads to optimization conflicts. For instance, a model learning general motion patterns from human kitchen videos might see its performance degrade on specific "in-domain" tasks, such as a lab-based robot arm opening a drawer. This phenomenon, known as negative transfer, limits the benefits of scaling. Tra-MoE addresses this by allowing specialized "experts" within the model to handle different data distributions.

Methodology

The Tra-MoE framework introduces two core innovations to mitigate negative transfer and improve trajectory-guided policy learning.

1. Trajectory Mixture-of-Experts (Tra-MoE)

Instead of a standard dense transformer where all parameters are active for every input, Tra-MoE employs a sparsely-gated MoE architecture. Within each block, a router selects the single most appropriate "expert" (a feed-forward network) for a given token using Top-1 gating. This design increases the model's total capacity while maintaining constant computational costs (FLOPs), allowing different experts to specialize in distinct domains or motion types.

2. Adaptive Policy Conditioning

Standard trajectory-guided policies often receive raw coordinates, which can be difficult for the policy to interpret relative to visual input. Tra-MoE introduces an adaptive representation where predicted trajectory points are mapped directly onto the image space as a 2D mask with learnable embeddings. This ensures an explicit spatial alignment between the predicted path and the visual pixels, simplifying the learning task for the robot's policy.

The Tra-MoE architecture (a) utilizes sparsely-gated MoE blocks to handle diverse data, while the adaptive policy conditioning (b) aligns trajectories with visual input.

Experimental Setup

The approach was evaluated across several benchmarks:

  • LIBERO Benchmark: 130 manipulation tasks covering spatial, object-oriented, and long-horizon scenarios.
  • RLbench: Provided OOD data with different physics and environments to test distribution shift handling.
  • Real-World Tasks: A low-cost dual-arm robot performed tasks such as pouring, pushing, and folding, supplemented by human video data for cross-embodiment learning.

Key Results and Insights

The primary finding is that MoE effectively prevents negative transfer as data scales. In dense models, adding OOD data caused the success rate to drop from 57.6% to 52.0%. However, the Tra-MoE architecture saw a jump to 61.4% under the same conditions.

Success rate comparison on in-domain tasks. While dense models suffer from negative transfer at scale, Tra-MoE achieves a 9.4% improvement.
  • Scaling vs. Architecture: Simply increasing the depth or width of a standard model to match Tra-MoE's parameter count did not yield similar gains. The dynamic routing of MoE is the critical factor.
  • Real-World Performance: On a dual-arm robot, the combination of MoE and adaptive conditioning improved the average success rate from 38% to 56%.
  • Training Stability: Implementing a router z-loss was essential to prevent the gating mechanism from producing extreme values that could destabilize training.

Conclusion and Future Work

Tra-MoE demonstrates that sparse activation can "quarantine" conflicting information from diverse datasets, enabling effective scaling in robot learning. Future research will focus on improving expert load balancing for uneven data distributions and exploring the development of universal "foundation" trajectory models for various robotic embodiments.

Summary updated

BibTeX
@inproceedings{yang2025tra,
  author = {Jiange Yang and Haoyi Zhu and Yating Wang and Gangshan Wu and Tong He and Limin Wang},
  title = {{Tra-MoE: Learning Trajectory Prediction Model from Multiple Domains for Adaptive Policy Conditioning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00653},
}
Figure