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

Yunyi Li1, Yu Qiao1, Yaohui Wang1, Xinyuan Chen1*

1 Shanghai Artificial Intelligence Laboratory

* Corresponding author

TL;DR

We propose DeforM, a reasoning-guided image-to-video framework that generates realistic deformation dynamics by localizing physics-critical regions through VLM-guided reasoning. Our method offers both a training-free strategy for mechanism analysis and a powerful training-based generator, significantly enhancing physical consistency and visual quality in deformation scenarios.

Video

🎥 DeforM-Injection Results

🎬 DeforM-Free Results

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 and leads 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 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.

Method

Overview

Metric

Figure

Qualitative Comparisons

Scene 1

Two transparent glass cups filled with red and white ice cubes respectively. The ice melts gradually, with more liquid filling the glasses.

Ours

HunyuanVideo

CogVideoX1.5-I2V

Wan2.2-I2V-14B

MAGI-1

Scene 2

A car wheel moving forward over a brick, crushing a plastic pumpkin toy until it shatters into pieces.

Ours

HunyuanVideo

CogVideoX1.5-I2V

Wan2.2-I2V-14B

MAGI-1

Scene 3

Two blue wax blocks in a copper spoon are heated and melt rapidly, turning into a shimmering blue liquid pool within the spoon.

Ours

HunyuanVideo

CogVideoX1.5-I2V

Wan2.2-I2V-14B

MAGI-1

Scene 4

A yellow-and-white mesh rubber ball is gradually flattened under the compression of a yellow-and-black hydraulic press.

Ours

HunyuanVideo

CogVideoX1.5-I2V

Wan2.2-I2V-14B

MAGI-1

More Results