MotionStreamer: Streaming Motion Generation via Diffusion-based Autoregressive Model in Causal Latent Space
Lixing Xiao, Shunlin Lu, Huaijin Pi, Ke Fan, Liang Pan, Yueer Zhou, Ziyong Feng, Xiaowei Zhou, Sida Peng, Jingbo Wang
TL;DR
MotionStreamer tackles text-conditioned streaming motion generation by first encoding motions into a continuous causal latent space via a Causal Temporal AutoEncoder, then employing a diffusion-headed autoregressive transformer that conditions on text and past latents. Two training strategies (Two-Forward and Mixed) mitigate exposure bias and enable robust long-horizon generation, while a continuous stopping condition via an impossible end latent supports automatic online termination. The approach achieves state-of-the-art results on HumanML3D T2M and BABEL and supports multi-round, long-term, and dynamic motion composition with improved online latency. The work introduces a practical, scalable framework for real-time, text-driven character animation with continuous latents, avoiding information loss from discretization and enabling online decoding.
Abstract
This paper addresses the challenge of text-conditioned streaming motion generation, which requires us to predict the next-step human pose based on variable-length historical motions and incoming texts. Existing methods struggle to achieve streaming motion generation, e.g., diffusion models are constrained by pre-defined motion lengths, while GPT-based methods suffer from delayed response and error accumulation problem due to discretized non-causal tokenization. To solve these problems, we propose MotionStreamer, a novel framework that incorporates a continuous causal latent space into a probabilistic autoregressive model. The continuous latents mitigate information loss caused by discretization and effectively reduce error accumulation during long-term autoregressive generation. In addition, by establishing temporal causal dependencies between current and historical motion latents, our model fully utilizes the available information to achieve accurate online motion decoding. Experiments show that our method outperforms existing approaches while offering more applications, including multi-round generation, long-term generation, and dynamic motion composition. Project Page: https://zju3dv.github.io/MotionStreamer/
