Think Before You Diffuse: Infusing Physical Rules into Video Diffusion

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Ke, Xiao, Cihan, Xu, Jiacong, Mei, Yiqun, Patel, Vishal M.
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911194424541184
author Zhang, Ke
Xiao, Cihan
Xu, Jiacong
Mei, Yiqun
Patel, Vishal M.
author_facet Zhang, Ke
Xiao, Cihan
Xu, Jiacong
Mei, Yiqun
Patel, Vishal M.
contents Recent video diffusion models have demonstrated their great capability in generating visually-pleasing results, while synthesizing the correct physical effects in generated videos remains challenging. The complexity of real-world motions, interactions, and dynamics introduce great difficulties when learning physics from data. In this work, we propose DiffPhy, a generic framework that enables physically-correct and photo-realistic video generation by fine-tuning a pre-trained video diffusion model. Our method leverages large language models (LLMs) to infer rich physical context from the text prompt. To incorporate this context into the video diffusion model, we use a multimodal large language model (MLLM) to verify intermediate latent variables against the inferred physical rules, guiding the gradient updates of model accordingly. Textual output of LLM is transformed into continuous signals. We then formulate a set of training objectives that jointly ensure physical accuracy and semantic alignment with the input text. Additionally, failure facts of physical phenomena are corrected via attention injection. We also establish a high-quality physical video dataset containing diverse phyiscal actions and events to facilitate effective finetuning. Extensive experiments on public benchmarks demonstrate that DiffPhy is able to produce state-of-the-art results across diverse physics-related scenarios. Our project page is available at https://bwgzk-keke.github.io/DiffPhy/.
format Preprint
id arxiv_https___arxiv_org_abs_2505_21653
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Think Before You Diffuse: Infusing Physical Rules into Video Diffusion
Zhang, Ke
Xiao, Cihan
Xu, Jiacong
Mei, Yiqun
Patel, Vishal M.
Computer Vision and Pattern Recognition
Recent video diffusion models have demonstrated their great capability in generating visually-pleasing results, while synthesizing the correct physical effects in generated videos remains challenging. The complexity of real-world motions, interactions, and dynamics introduce great difficulties when learning physics from data. In this work, we propose DiffPhy, a generic framework that enables physically-correct and photo-realistic video generation by fine-tuning a pre-trained video diffusion model. Our method leverages large language models (LLMs) to infer rich physical context from the text prompt. To incorporate this context into the video diffusion model, we use a multimodal large language model (MLLM) to verify intermediate latent variables against the inferred physical rules, guiding the gradient updates of model accordingly. Textual output of LLM is transformed into continuous signals. We then formulate a set of training objectives that jointly ensure physical accuracy and semantic alignment with the input text. Additionally, failure facts of physical phenomena are corrected via attention injection. We also establish a high-quality physical video dataset containing diverse phyiscal actions and events to facilitate effective finetuning. Extensive experiments on public benchmarks demonstrate that DiffPhy is able to produce state-of-the-art results across diverse physics-related scenarios. Our project page is available at https://bwgzk-keke.github.io/DiffPhy/.
title Think Before You Diffuse: Infusing Physical Rules into Video Diffusion
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2505.21653