TL;DR
This paper introduces UniPhys, a novel diffusion-based framework that unifies motion planning and control for physics-based character animation. By eliminating the domain gap between planning and execution, UniPhys generates more natural, robust, and flexible long-horizon character motions conditioned on diverse inputs like text and goals, outperforming existing methods.
What Problem Does This Paper Address?
Generating realistic and physically plausible character animations, especially for long-duration tasks with complex instructions, is a significant challenge. Existing approaches often separate high-level motion planning from low-level physics control. This separation leads to a "domain gap," where the planner's output doesn't perfectly align with what the controller can execute, resulting in degraded motion quality and requiring task-specific fine-tuning. While diffusion models have shown promise in motion generation, their application to physics-based character control, which demands strict adherence to physical laws, has been underexplored. The core problem is achieving expressive, controllable, and physically grounded character motion that can adapt to various tasks and instructions without extensive manual tuning.
Methods
UniPhys tackles this by proposing a unified diffusion-based behavior cloning framework. The key innovation is integrating planning and control into a single model. This is achieved through a diffusion model trained using the "Diffusion Forcing" paradigm. This training method allows the model to denoise noisy motion histories, effectively handling discrepancies introduced by the physics simulator and mitigating accumulated prediction errors over long sequences.
At training time, the model takes a behavior sequence (states and latent actions) and a text embedding as input and learns to predict the clean sequence. A crucial aspect is the use of a "latent action representation" derived from a physics-based motion latent space (PULSE), which is more regularized and efficient than raw action spaces.
For inference, UniPhys employs guided denoising. This allows for flexible control through:
- Text-conditioned sampling: Using classifier-free guidance to generate motions aligned with text descriptions.
- Task-specific loss-guided sampling: Employing gradients from custom loss functions to steer the denoising process towards desired outcomes (e.g., reaching a goal, maintaining a velocity).
- Stabilization trick: A technique to prevent overconfidence in denoised frames, improving long-horizon rollout stability.
- Flexible denoising schedules: Including autoregressive and gradual denoising strategies to balance robustness and efficiency.
Datasets
- AMASS dataset: Used for its extensive human motion data.
- HumanML3D and BABEL datasets: Used for text annotations.
- Newly curated dataset: A large-scale, paired text-state-action dataset was created by tracking AMASS motions using the PULSE tracking policy. This dataset includes frame-level text annotations from BABEL, totaling 4,875 sequences and 15.7 hours of motion, specifically designed for behavior cloning.
Key Insights and Ideas
- Unifying planning and control is crucial: Eliminating the domain gap between high-level planning and low-level physics control is key to achieving high-quality, physically plausible character motion.
- Diffusion Forcing for robust long-horizon control: This training paradigm allows the model to learn from noisy histories, making it resilient to simulator inaccuracies and enabling stable long-term rollouts.
- Latent action space for efficiency: Using a distilled latent action representation (from PULSE) simplifies learning and improves generalization compared to directly modeling high-dimensional raw actions.
- Guided denoising for multi-task flexibility: The diffusion process can be steered by various signals (text, losses) at test time, enabling zero-shot generalization to unseen tasks and control signals without per-task fine-tuning.
- Stabilization trick for compounding error mitigation: A simple yet effective method to improve long-horizon rollout stability by preventing the model from treating past predictions as perfectly accurate.
Key Results
- Superior motion quality: UniPhys consistently outperforms baselines (MaskedMimic, CLoSD) in user studies for naturalness, realism, and smoothness.
- Improved text-driven control: Achieves higher semantic fidelity and motion quality compared to MaskedMimic.
- Robust goal reaching: Generalizes to goals at any distance without heuristic intermediate goal setting, outperforming CLoSD and MaskedMimic.
- Smooth velocity control: Generates smoother motions with significantly lower jerk compared to MaskedMimic.
- Effective dynamic obstacle avoidance: Demonstrates a 94% success rate in adapting to dynamic environments.
- Enhanced robustness: The stabilization trick significantly improves policy rollout robustness and length.
Limitations and Future Work
Limitations: * Failures in dynamic obstacle avoidance can occur when the obstacle approaches directly from the front, causing the character to step backward and lose balance. * While autoregressive denoising with stabilization yields the most robust policy, it is the least efficient.
Future Work: * Extending the framework to more advanced scenarios like terrain generalization and object manipulation. * Using RL policies as data generators to train scene-aware policies conditioned on environment information. * Leveraging the compact latent action space for full-body control, including dexterous hand motions. * Exploring more complex tasks such as dexterous hand manipulation.
Summary updated