English

Trajectory World Models for Heterogeneous Environments

Machine Learning 2025-06-10 v2

Abstract

Heterogeneity in sensors and actuators across environments poses a significant challenge to building large-scale pre-trained world models on top of this low-dimensional sensor information. In this work, we explore pre-training world models for heterogeneous environments by addressing key transfer barriers in both data diversity and model flexibility. We introduce UniTraj, a unified dataset comprising over one million trajectories from 80 environments, designed to scale data while preserving critical diversity. Additionally, we propose TrajWorld, a novel architecture capable of flexibly handling varying sensor and actuator information and capturing environment dynamics in-context. Pre-training TrajWorld on UniTraj yields substantial gains in transition prediction, achieves a new state-of-the-art for off-policy evaluation, and also delivers superior online performance of model predictive control. To the best of our knowledge, this work, for the first time, demonstrates the transfer benefits of world models across heterogeneous and complex control environments. Code and data are available at https://github.com/thuml/TrajWorld.

Keywords

Cite

@article{arxiv.2502.01366,
  title  = {Trajectory World Models for Heterogeneous Environments},
  author = {Shaofeng Yin and Jialong Wu and Siqiao Huang and Xingjian Su and Xu He and Jianye Hao and Mingsheng Long},
  journal= {arXiv preprint arXiv:2502.01366},
  year   = {2025}
}

Comments

ICML 2025. Code is available at https://github.com/thuml/TrajWorld

R2 v1 2026-06-28T21:30:37.292Z