MoSa: Motion Generation with Scalable Autoregressive Modeling
Mengyuan Liu, Sheng Yan, Yong Wang, Yingjie Li, Gui-Bin Bian, Hong Liu
TL;DR
MoSa addresses inefficiencies and misalignment in VQ-GT motion generation by introducing MTPS to preserve multi-scale tokens within a hierarchical RQ-VAE and enabling Scalable Autoregressive (SAR) modeling, reducing inference to the number of VQ layers (e.g., $Q=10$). The framework combines MTPS, SAR, and CAQ-VAE (a convolution-attention hybrid VQ-VAE) to achieve coherent coarse-to-fine motion generation with improved reconstruction and speed, demonstrated on HumanML3D and Motion-X where it outperforms baselines in FID and semantic fidelity while offering a 27% speedup. Extensive ablations validate CAQ-VAE components, scale-wise codebooks, and cross-scale attention as essential for high-quality generation, and MoSa extends naturally to motion editing without additional fine-tuning. Overall, MoSa advances text-driven motion synthesis by delivering high-quality, editable, and efficient motion generation suitable for real-time applications.
Abstract
We introduce MoSa, a novel hierarchical motion generation framework for text-driven 3D human motion generation that enhances the Vector Quantization-guided Generative Transformers (VQ-GT) paradigm through a coarse-to-fine scalable generation process. In MoSa, we propose a Multi-scale Token Preservation Strategy (MTPS) integrated into a hierarchical residual vector quantization variational autoencoder (RQ-VAE). MTPS employs interpolation at each hierarchical quantization to effectively retain coarse-to-fine multi-scale tokens. With this, the generative transformer supports Scalable Autoregressive (SAR) modeling, which predicts scale tokens, unlike traditional methods that predict only one token at each step. Consequently, MoSa requires only 10 inference steps, matching the number of RQ-VAE quantization layers. To address potential reconstruction degradation from frequent interpolation, we propose CAQ-VAE, a lightweight yet expressive convolution-attention hybrid VQ-VAE. CAQ-VAE enhances residual block design and incorporates attention mechanisms to better capture global dependencies. Extensive experiments show that MoSa achieves state-of-the-art generation quality and efficiency, outperforming prior methods in both fidelity and speed. On the Motion-X dataset, MoSa achieves an FID of 0.06 (versus MoMask's 0.20) while reducing inference time by 27 percent. Moreover, MoSa generalizes well to downstream tasks such as motion editing, requiring no additional fine-tuning. The code is available at https://mosa-web.github.io/MoSa-web
