TL;DR
MoCoDiff is a modular autoregressive diffusion framework that achieves highly expressive, long-horizon human motion generation by decoupling text, style, and history signals into independent pathways. By treating past motion as a step-wise, dynamic corrective signal rather than a static input feature, it eliminates style drifting and error accumulation while generating motions up to 30 times faster than conventional diffusion pipelines.
What Problem Does This Paper Address?
Generating realistic human motion over long durations based on text descriptions and style exemplars (e.g., "walking like a zombie" or "running like a ninja") is a major challenge in animation and robotics. Current diffusion models suffer from two primary bottlenecks:
- Condition Entanglement: Most methods use a "fused-conditioning" approach, cramming text, style, and historical motion data into a single conditioning vector. This causes the signals to interfere with one another, leading to style drifting or the model ignoring parts of the text prompt.
- Temporal Drift: When generating long sequences chunk-by-chunk (autoregressively), small errors accumulate at the boundaries. This causes the motion to quickly degrade, leading to unnatural transitions or completely broken animations over time.
Methods
MoCoDiff addresses these challenges by keeping the main diffusion backbone frozen and introducing Injection Modulation Controllers (IMCs). Instead of fusing inputs, IMCs use independent linear cross-attention pathways to inject three distinct signals dynamically during the denoising process:
- Semantic IMC (SIMC): Extracts text features using a CLIP-based encoder to govern the global motion trajectory.
- Style IMC (STIMC): Extracts high-frequency, pose-level residuals (like rhythm and body curvature) from a reference motion.
- Temporal IMC (TIMC): Captures the last $k$ frames of the previous motion segment to align the next chunk's trajectory.
Crucially, instead of appending history as a static feature, TIMC modifies the step-wise diffusion transition dynamics themselves, turning the generation into a controlled Markov process.
To train this architecture without error accumulation, the authors employ a Progressive Rollout Curriculum. Early in training, the model uses ground-truth history to learn stable single-chunk prediction. As training progresses, it is gradually exposed to its own generated history, bridging the gap between training and real-world inference.
Datasets
The model was trained and evaluated using three prominent datasets:
- HumanML3D & BABEL: Large-scale human motion datasets used to provide diverse motion categories and high-quality text-motion pairs.
- 100Style: A dataset containing various motion styles, utilized purely as a reference corpus for extracting style embeddings without requiring explicit style labels.
Key Insights and Ideas
- Decoupling Over Fusion: Merging heterogeneous signals (text, style, history) into one vector is inherently flawed. Separating them into independent key-value pathways prevents feature entanglement and allows plug-and-play control at inference time without retraining.
- History as a Dynamic Correction: Standard autoregressive models treat past frames as a fixed prompt. MoCoDiff treats history as a time-varying corrective term that alters the denoising transition function itself ($p_\theta(x_t | x_{t+1})$), actively suppressing drift.
- Pre-Projection Normalization: The authors discovered that applying a learnable LayerNorm before the cross-attention projection (rather than after attention) is critical for stabilizing multi-condition fusion.
Key Results
Quantitative Performance
- Style Accuracy: MoCoDiff achieved a Style Recognition Accuracy (SRA) of 26.37%, significantly outperforming the strongest baseline, SMooDi (19.28%).
- Transition Smoothness: It achieved the lowest local discontinuity, with a Peak Jerk (PJ) score of 0.27 (lower is better) compared to baselines which scored 0.33 or higher.
- Generation Speed: MoCoDiff operates at 136.89 FPS, making it 4.8× faster than the closest autoregressive baseline and roughly 30× faster than standard frame-by-frame diffusion models.
Qualitative Performance
MoCoDiff successfully generates long, complex sequences with multiple content and style changes (e.g., smoothly transitioning from "walk with airplane style" to "go upstairs with zombie style") without losing the core action or suffering from unnatural joint warping.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Long-term Error Accumulation: While heavily mitigated, errors can still accumulate over exceptionally long autoregressive rollouts.
- Fixed History Window: The fixed-size history window limits the model's ability to capture long-range global dependencies.
- Frozen Backbone Constraints: Keeping the backbone frozen reduces training complexity but can limit expressiveness when dealing with highly rare or noisy conditions.
Future Directions: The authors plan to incorporate physical priors (like foot contact stability) to prevent floor-sliding artifacts, develop hierarchical global planning for longer sequences, and extend the framework to scene-aware motion synthesis (interacting with environments).
Summary updated