AnyMo: Scaling Any-Modality Conditional Motion Generation with Masked Modeling

Yiheng Li, Zhuo Li, Ruibing Hou, Yingjie Chen, Hong Chang, Hao Liu, Shiguang Shan

TL;DR

This paper introduces OmniHuMo, a massive new dataset containing over 5,000 hours of human motion data paired with multimodal annotations (text, speech, music, and trajectories). Leveraging this dataset, the authors present AnyMo, a scalable masked modeling framework that can generate high-fidelity 3D human motion from any arbitrary combination of these input modalities simultaneously.

What Problem Does This Paper Address?

Generating realistic 3D human motion from conditional inputs (like text descriptions or music) is crucial for robotics, gaming, and digital media. However, current state-of-the-art methods suffer from two major bottlenecks:

  1. Data Scarcity: High-quality motion data traditionally relies on expensive optical motion capture (MoCap) systems, limiting dataset sizes. While recent efforts extract motion from internet videos, they lack comprehensive, aligned multimodal annotations (e.g., matching both the audio track and a textual description to the same motion).
  2. Rigid Architectures: Existing models typically follow a "multi-task but single-input" paradigm. They can generate dance from music or gestures from speech, but they cannot easily combine modalities (e.g., generating a motion based on a text prompt and a specific spatial trajectory) because they fail to model cross-modal dependencies explicitly.

Methods

To solve these challenges, the authors developed AnyMo, a unified framework consisting of two core components:

  • Residual Finite Scalar Quantization (R-FSQ) Tokenizer: Traditional Vector Quantization (VQ) often suffers from codebook collapse and information loss. AnyMo uses FSQ, which maps continuous motion features to a bounded space using deterministic scalar discretization. By applying this hierarchically in a residual fashion, a base stream captures coarse motion structure while subsequent streams progressively encode fine-grained details.
  • Scalable Masked Transformer: Built on a bidirectional LLaMA-based backbone, this model avoids the sequential constraints of autoregressive models. Instead of flattening the multi-stream tokens from the R-FSQ tokenizer into a single long sequence, AnyMo introduces Parallel Mask Modeling. It applies a consistent mask across all residual streams at a given timestep and predicts them simultaneously using independent feed-forward network (FFN) heads, significantly boosting efficiency and generation quality.
Overview of the AnyMo framework, showcasing the Residual FSQ tokenizer and the scalable masked transformer architecture.

To train the model effectively on partially aligned data, the authors use a staged training curriculum:

  1. Stage I: Text-to-motion pre-training to learn a strong motion prior.
  2. Stage II: Multi-modal alignment, freezing the text encoder and transformer backbone while training audio and trajectory encoders.
  3. Stage III: Joint multi-modal fine-tuning using disproportional sampling to balance the dataset.

Datasets

The primary contribution on the data side is OmniHuMo, an Omni-modal Human Motion dataset curated via an automated pipeline from web videos.

The automated data construction pipeline used to create the OmniHuMo dataset.
  • Scale: 3.2M+ sequences spanning over 5,048 hours of motion.
  • Annotations: Every sequence includes 1–3 text captions (generated via Qwen3-VL-32B). A subset of ~500 hours includes temporally aligned audio (speech transcriptions via Whisper, or music dance alignment via Beat Alignment Scores).
  • Baselines/Evaluation: The authors also evaluate their components on standard benchmarks like HumanML3D and MotionMillion.

Key Insights and Ideas

  • Scaling Laws Apply to Motion: By scaling the AnyMo transformer from 111M to 3B parameters, the authors observed consistent, monotonic improvements in text-to-motion generation quality (FID dropped from 262.10 to 55.59). This confirms that motion generation benefits from LLM-style scaling when backed by sufficient data.
  • Parallel beats Flattening: Modeling residual token streams in parallel rather than flattening them sequentially prevents the sequence length from exploding, preserving global temporal context and improving both computational efficiency and synthesis fidelity.
  • Multimodal Synergy: Combining modalities doesn't just add constraints; it improves realism. For instance, adding trajectory control to a text prompt significantly reduces trajectory drift and enhances the geometric plausibility of the generated motion.

Key Results

  • Tokenizer Superiority: The R-FSQ tokenizer achieved a Mean Per Joint Position Error (MPJPE) of 13.2 mm on the OmniHuMo test set, outperforming competing tokenizers like ScaMo (63.3 mm on HumanML3D) and GoToZero (41.9 mm).
  • State-of-the-Art Generation: AnyMo-3B achieved top-tier performance on text-driven generation, reaching an FID of 25.87 on OmniHuMo-Text, closely matching the distribution of real motions.
  • Flexible Multi-Modality: In multi-modal conditioning tests (Table 8), adding trajectory inputs to text generation dropped the average trajectory error from 50.50 cm to 27.16 cm, demonstrating tight adherence to spatial controls.

Limitations and Future Work

  • Lack of Fine-Grained Hand Movements: OmniHuMo does not include finger joint annotations. Hand regions in internet videos are frequently blurred or occluded, making reliable 3D hand reconstruction exceptionally difficult.
  • Audio Data Imbalance: While the dataset boasts over 5,000 hours of motion, only about 10% (~500 hours) is aligned with high-quality audio (speech or music). Future work will focus on targeted data collection to scale up the audio-conditioned subsets.

Summary updated

BibTeX
@inproceedings{li2026anymo,
  author = {Yiheng Li and Zhuo Li and Ruibing Hou and Yingjie Chen and Hong Chang and Hao Liu and Shiguang Shan},
  title = {{AnyMo: Scaling Any-Modality Conditional Motion Generation with Masked Modeling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MRJBlKpvg3},
}
Figure