TL;DR
CleanMDM is a unified framework that transforms motion capture cleanup into a "masked conditional generation" task. By fusing noisy 3D drafts with plug-and-play conditions like text prompts and sparse 2D/3D keyframes, it allows researchers and animators to surgically repair corrupted motion while preserving the reliable parts of the original performance.
What Problem Does This Paper Address?
Motion capture (mocap) data is notoriously messy. Whether it comes from expensive studio suits or modern video-based estimation, the raw output often suffers from "skating" (feet sliding on the floor), jitter, global drift, and physical impossibilities like limbs penetrating the ground.
Traditionally, cleaning this data is a grueling manual process for animators. While AI-based generative models have emerged, they usually fall into two flawed camps:
- Black-box denoisers: These treat the whole sequence as noise, often "over-smoothing" the motion and losing the actor's unique performance style.
- Inbetweening models: These treat corrupted regions as totally empty, ignoring any partially reliable information that might still be present in the noisy draft.
The authors identify a "partial reliability" challenge: in the real world, a mocap clip might have a perfect upper body but a drifting lower body, or just a few seconds of glitchy frames. CleanMDM aims to fix only what is broken while following specific user intents (like "make the character kick higher").
Methods
CleanMDM operates in the latent space of a motion autoencoder, using a flow-matching Transformer as its backbone. The core technical innovations include:
- Confidence-Aligned Multimodal Fusion: This is the framework's "brain." Instead of simply adding different inputs together, the model uses per-frame confidence weights. If a frame in the 3D draft is marked as "noisy," the model leans more heavily on other conditions (like a text prompt or a 2D keyframe) to regenerate it.
- Latent Motion Quality Discriminator (LMQD): To ensure the motion looks natural, the authors use an adversarial regularizer. Unlike previous methods that look at raw joint positions, LMQD operates on the latent representations. This helps the model penalize subtle artifacts like foot sliding that have a small mathematical error but are highly distracting to the human eye.
- Mesh-Aware Contact Projection (MACP): As a final test-time optimization, the model looks at the actual geometry of the character's feet (using the SMPL mesh) rather than just the ankle joints. This ensures the character's soles make firm, consistent contact with the ground.
Datasets
The model was trained on a massive combination of high-quality mocap data:
- AMASS: A standard large-scale database of clean human motion.
- MotionLLaMA: Used to provide the motion-text pairings necessary for semantic control.
For evaluation, the authors tested CleanMDM against real-world noisy data from several public datasets, including IDEA400 (monocular video), HuMMan (multi-view video), and KungFu (martial arts sequences).
Key Insights and Ideas
- Cleanup $\neq$ Generation: The authors argue that cleanup is a distinct task. A generation model (like GenMo) starts from scratch and often drifts from the original performance. CleanMDM’s "non-destructive" approach is designed specifically to anchor the output to the trustworthy parts of the input draft.
- The Power of Latent Fusion: A key "aha moment" in the paper is that fusing conditions in the latent space is significantly more stable than doing so in raw coordinate space. The autoencoder acts as a built-in "temporal coherence" filter, preventing the catastrophic jitter often seen in simpler MLP-based models.
- Multimodal Synergy: Even if you only want to do simple denoising, training the model with text and 2D cues actually makes it a better denoiser. The richer supervision during training creates a more robust internal "prior" of how humans move.
Key Results
CleanMDM consistently outperformed state-of-the-art baselines across three main scenarios:
- Auto Cleanup: It reduced joint error (MPJPE) by over 60% compared to StableMotion on certain tasks while maintaining much higher physical realism.
- Inbetweening: It produced smoother transitions and adhered more strictly to user-defined keyframes than CondMDI.
- Multimodal Control: In the most complex scenarios (using text + 2D + 3D cues), it achieved an MPJPE of 21.95mm, compared to 646.4mm for GenMo, which struggled to stay faithful to the original noisy draft.
Limitations and Future Work
While powerful, the authors note a few areas for improvement:
- Synthetic Training: The model is trained on synthetic noise designed to mimic real-world glitches. While it generalizes well, it may not capture every specific type of sensor failure found in the wild.
- Ground Complexity: The current contact projection (MACP) assumes a relatively simple ground model (like a flat floor or a basic height field).
- Future Directions: The team plans to explore more realistic video-based degradations and integrate the model into interactive, real-time authoring workflows for professional animators.
Summary updated