Abstract: Denoising diffusion models hold great promise for generating diverse and realistic human motions. However, existing motion diffusion models largely disregard the laws of physics in the diffusion process and often generate physically-implausible motions with pronounced artifacts such as floating, foot sliding, and ground penetration. This seriously impacts the quality of generated motions and limits their real-world application. To address this issue, we present a novel physics-guided motion diffusion model (PhysDiff), which incorporates physical constraints into the diffusion process. Specifically, we propose a physics-based motion projection module that uses motion imitation in a physics simulator to project the denoised motion of a diffusion step to a physically-plausible motion. The projected motion is further used in the next diffusion step to guide the denoising diffusion process. Intuitively, the use of physics in our model iteratively pulls the motion toward a physically-plausible space, which cannot be achieved by simple post-processing. Experiments on large-scale human motion datasets show that our approach achieves state-of-the-art motion quality and improves physical plausibility drastically (>78% for all datasets).
Introduction
Generative models for human motion, particularly those based on Denoising Diffusion Probabilistic Models (DDPMs), have become highly effective at creating diverse and realistic movements from text prompts or action labels. However, these models are typically "physics-blind." Because they operate purely in kinematic space—treating the body as a collection of moving points—they often produce motions that violate the laws of physics.
Common artifacts include:
- Floating: Characters hovering slightly above the ground.
- Foot Sliding (Skating): Feet moving horizontally while supposedly planted.
- Ground Penetration: Limbs passing through the floor.
While one might try to "fix" these issues with post-processing after the motion is generated, this is often insufficient. If the generated kinematic motion is too physically unrealistic, a simple post-hoc fix often results in jerky, unnatural movements. PhysDiff addresses this by integrating physics directly into the generation loop.
Methodology: Physics-Guided Diffusion
The core innovation of PhysDiff is the Physics-Guided Diffusion process. Instead of treating physics as a final cleanup step, the model embeds a physics simulator into the diffusion sampling loop to iteratively "pull" generated motions toward a physically plausible state.
1. Physics-Based Motion Projection
The researchers developed a projection module ($P_\pi$) that takes a denoised (but potentially unphysical) motion and projects it onto a physically plausible manifold. This is achieved through Motion Imitation:
- Simulator Integration: The system uses the IsaacGym physics simulator and a simulated character agent.
- Reinforcement Learning: A control policy trained via Proximal Policy Optimization (PPO) teaches the agent to mimic the input motion as closely as possible while obeying gravity, joint limits, and contact forces.
- Plausibility by Design: The output of this simulation is, by definition, physically plausible.
2. Iterative Guidance and Strategic Scheduling
During the diffusion process, the model predicts a "clean" version of the motion at each step. PhysDiff takes this prediction, runs it through the physics projection module, and uses the resulting physically-sound motion to guide the next step of the diffusion.
Physics simulation is computationally expensive, and the authors found that projecting too early (when the motion is still mostly noise) can be counterproductive. They discovered a "sweet spot": applying physics projection during the later stages of the denoising process yields the best balance of quality and efficiency. This ensures the final result stays close to both the data distribution (realism) and the physical manifold (plausibility).
Key Results
PhysDiff significantly outperformed existing state-of-the-art (SOTA) models across several large-scale benchmarks, including HumanML3D, HumanAct12, and UESTC:
- Physical Plausibility: The model reduced the "Phys-Err" metric (a combination of sliding, penetration, and floating) by 86% on HumanML3D and over 78% on other datasets.
- Motion Quality: It improved the FID (Frechet Inception Distance)—a measure of how close generated motions are to real ones—by more than 20% on HumanML3D.
- Qualitative Success: Visual results show a dramatic reduction in "skating" effects, with feet appearing firmly planted during walking and crawling sequences.
Conclusion
PhysDiff demonstrates that physics should be treated as a prior rather than a filter. By integrating physics into the loop, the diffusion model learns to work with physical constraints rather than having them forced upon the final output. While the method introduces some computational overhead (roughly 2.5x slower inference), its plug-and-play nature makes it compatible with various diffusion architectures. Future work may explore faster, differentiable physics simulators to further optimize the pipeline and extend the method to complex human-object interactions.
Summary updated