DeforM: Reasoning-Guided Physics-Aware Video Generation via Spatial-Temporal Masking

Yunyi Li, Yu Qiao, Yaohui Wang, Xinyuan Chen
7/21/2026
cs.CV

No official code found. Best implementation: nemosunny/DeforM-code (0 stars, last commit 2026-07-19).

Abstract

Video generation models achieve high visual quality but often struggle to generate physics-aware videos. Unlike rigid-body motion, which can be described by explicit trajectories or formulas, complex deformation dynamics remain challenging to synthesize. We observe that a lack of physical reasoning for localizing dynamic areas allows irrelevant regions to dilute the model's attention, leading to generation failure. In this paper, we propose DeforM, a reasoning-guided image-to-video generation framework that directs the model's focus toward physics-critical regions. To reason about and localize these critical regions, we introduce a VLM-guided physical reasoning module, DeforM-Reason, to identify target objects and generate spatial-temporal masks. For physical guidance, we develop two alternative strategies: DeforM-Free for training-free mechanism analysis and DeforM-Injection as a powerful training-based generator. Experimental results demonstrate that DeforM improves the realism of generated deformation scenarios, outperforming baseline models in both visual quality and physical consistency.

View on arXivView PDF

Code Implementations(1)

Official implementation of DeforM: Reasoning-Guided Physics-Aware Video Generation via Spatial-Temporal Masking

00Jul 19, 20263 months ago

Similar Papers

Cite this paper

@article{li2026deform,
  title  = {DeforM: Reasoning-Guided Physics-Aware Video Generation via Spatial-Temporal Masking},
  author = {Yunyi Li and Yu Qiao and Yaohui Wang and Xinyuan Chen},
  year   = {2026},
  eprint = {2607.18664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.18664v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.18664.svg)](https://codeofpaper.com/paper/2607.18664)

Discussion