NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mogo: RQ Hierarchical Causal Transformer for High-Quality 3D Human Motion Generation

Dongjie Fu · DOI

Abstract

In the field of text-to-motion generation, Bert-type Masked Models currently produce higher-quality outputs compared to GPT-type autoregressive models. However, these models often lack the streaming output capability required for real-time applications and perform poorly in out-of-distribution generation. We propose Mogo (Motion Only Generate Once), a novel architecture that generates high-quality lifelike 3D human motions using a single transformer model. Mogo consists of a hierarchical residual vector quantization variational autoencoder (RVQ-VAE) and a Hierarchical Causal Transformer. Experimental results show Mogo achieves a state-of-the-art (SOTA) FID score of 0.079 on HumanML3D and successfully generates continuous motion sequences up to 13 seconds (260 frames), surpassing existing dataset limitations.

Introduction: The Quality-Streaming Trade-off

Current text-to-motion research is largely divided between BERT-type masked models and GPT-type autoregressive models. BERT-type models (like MoMask or MMM) offer high quality but are "all-or-nothing," lacking the frame-by-frame streaming capability essential for real-time environments like video games or VR. Conversely, GPT-type models (like T2M-GPT) support streaming but historically suffer from lower motion quality and "long-range attention loss," where coherence degrades over time.

Mogo aims to bridge this gap by delivering the streaming efficiency of a GPT-style architecture with the precision and robustness typically associated with BERT-type models, all while breaking the 10-second generation limit found in standard datasets.

Methodology: Motion Only Generate Once

Mogo’s architecture is built on two primary pillars:

  1. RVQ-VAE (Hierarchical Tokenization): Instead of a standard VQ-VAE, Mogo uses a Residual Vector Quantization Variational Autoencoder. This tokenizer discretizes continuous 3D motion into multiple layers. The first layer captures the base motion, while subsequent layers encode fine-grained residuals, ensuring high-precision reconstruction.
  2. Hierarchical Causal Transformer: Mogo employs a single, unified transformer that processes features from all quantization layers simultaneously in an autoregressive manner. This "Generate Once" approach eliminates the need for separate refinement models, simplifying the pipeline and improving scalability.
  3. Relative Positional Encoding: To solve the long-range attention problem, the authors adopted relative positional encoding (inspired by Transformer-XL). This allows the model to generalize to sequence lengths beyond those seen during training.
  4. LLM-Augmented Inference: To handle "wild" or open-vocabulary prompts (e.g., "ninja," "zombie") that aren't in the training sets, the system integrates GLM-4 to rewrite user inputs into descriptive styles that better align with the model's training distribution.

Key Insights: Breaking the 10-Second Barrier

Most existing models are capped at 196 frames (10 seconds) due to the limits of the HumanML3D dataset. By utilizing relative positional encoding and a hierarchical structure, Mogo successfully breaks this barrier, generating coherent, cyclic motions for up to 260 frames (13 seconds) and beyond without losing quality.

Mogo generates long-duration, high-quality motion sequences, such as this 13-second ballet sequence.

Results and Out-of-Distribution Performance

Mogo achieves SOTA performance on the HumanML3D benchmark with a Frechet Inception Distance (FID) of 0.079, outperforming both the GPT-type leader T2M-GPT (0.116) and the BERT-type leader MMM (0.080).

A significant strength of Mogo is its robustness to out-of-distribution prompts. In zero-shot tests on the CombatMotionProcessed (CMP) dataset, Mogo demonstrated superior generalization compared to previous transformer-based models, proving it is less prone to overfitting.

Mogo demonstrates high-quality generation for out-of-distribution prompts like "walking like a zombie."

Despite its complexity, the model maintains high efficiency, with an average inference and decoding time of just 0.002 seconds per frame on an RTX 4090, making it viable for real-time applications.

Conclusion

Mogo represents a significant step forward in 3D human motion generation. By combining hierarchical causal transformers with high-precision RVQ-VAE tokenization, it provides a high-quality, streaming-capable solution that generalizes well to creative, out-of-distribution user prompts. While currently limited by the lack of temporal editing capabilities (like in-filling) inherent to causal models, its performance and efficiency make it a powerful tool for next-generation multimedia environments.

Summary updated

BibTeX
@misc{fu2024mogo,
  author = {Dongjie Fu},
  title = {{Mogo: RQ Hierarchical Causal Transformer for High-Quality 3D Human Motion Generation}},
  year = {2024},
  eprint = {2412.07797},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.07797},
}
Figure