Why Do Video Diffusion Models Violate Physics? Unveiling the Flaws in Attention Mechanisms

Yueyan Li, Haibo Wang, Caixia Yuan, Xiaojie WangarXiv 2026

TL;DR

Video diffusion models often generate physically impossible videos because Rotary Position Embedding (RoPE) forces self-attention to decay too quickly across space, prematurely locking objects into incorrect positions early in the generation process. By scaling down RoPE frequencies during the initial denoising steps, this paper introduces a lightweight architectural fix that allows models to better explore and plan physically coherent trajectories. This simple modification significantly boosts the physical commonsense of generated videos without requiring heavy external simulators or specialized datasets.

What Problem Does This Paper Address?

State-of-the-art text-to-video diffusion models can generate visually stunning, high-fidelity videos, but they frequently fail at basic physics. Objects routinely float against gravity, freeze mid-air, or bounce off invisible walls.

Figure 1: From top to bottom are the videos generated by Wan-T2V-1.3B on an A800 GPU using seeds 26, 20, 8, and 29, respectively. Except for the first row, the others visibly violate physical laws, exhibiting behaviors such as mid-air bouncing, anti-gravity floating or sudden freezing.

Previous attempts to fix this lack of "physical commonsense" relied on external physics simulators, prompt engineering, or massive specialized datasets. However, these methods are hard to scale and don't fix the root cause. This paper looks inside the model to answer a fundamental question: why do these architectures inherently struggle to plan realistic motion?

Methods

The authors conduct the first mechanistic interpretability study on the "motion planning" phase of video diffusion transformers (specifically analyzing the Wan2.1-T2V-1.3B model).

  1. Locating Motion Planning: By visualizing cross-attention maps, they show that a video's spatial layout and object trajectories are finalized very early—specifically within the first 5 steps of a 50-step denoising process.
  2. Identifying Key Attention Heads: Using a causal intervention technique called attribution patching, they measure how individual attention heads contribute to velocity predictions, isolating a small subset of heads actively driving motion planning.
  3. Uncovering the RoPE Flaw: In self-attention layers, they discover a "spatial anchoring effect" caused by Rotary Position Embedding (RoPE). RoPE induces an aggressive attention decay over spatial distances. If an early denoising step accidentally places an object in an unrealistic position, RoPE forces adjacent frames to rigidly focus on those exact same spatial coordinates, suppressing physically plausible trajectories that span larger distances.
  4. The Solution (RoPE Modification): To counter this, the authors propose a lightweight modification that scales down the RoPE frequency along the height and width dimensions ($\lambda^h, \lambda^w < 1.0$) during the first 5 denoising steps. This relaxes the spatial decay, allowing the model to flexibly explore better candidate regions. They validate this via both a training-free inference tweak and a training-based approach using LoRA fine-tuning with a custom timestep sampler.

Datasets

  • Training: The authors utilized WISA, a dataset containing 80,000 human-curated videos depicting 17 fundamental physical laws. After applying strict filters to ensure distinct motion amplitudes, they used approximately 48,000 high-quality videos.
  • Evaluation: Systematic evaluation was conducted using VideoPhy, a benchmark for physical commonsense containing 343 test cases that cover solid-solid, solid-fluid, and fluid-fluid interactions.

Key Insights and Ideas

  • Trajectories Form in a Flash: Video generation strictly follows a "first shape, then details" progression. If the model doesn't establish a physically sound trajectory in the first 10% of the denoising steps, no amount of later detail-filling can fix it (see Figure 2).
Figure 2: Head-averaged cross-attention maps in layer 27. The trajectory appears within the first 5 denoising steps (annotated at T7). The green circle at T50 marks the reference area in Section 4.1.
  • The RoPE Trap: While RoPE is highly effective for context windows in language models, its spatial decay acts as an artificial constraint in video self-attention. It creates a highly sensitive competitive state among early candidate regions, where physically implausible positions can easily "rob" attention from reasonable ones.
  • Attention vs. FFN: The authors found that fine-tuning only the attention modules yields significantly better physical trajectories while preserving video aesthetics. Feed-Forward Networks (FFNs) act as key-value memories for static appearance, whereas attention blocks govern dynamic inter-frame interactions.

Key Results

The proposed RoPE modification delivered substantial improvements in both Semantic Adherence (SA) and Physical Commonsense (PC) on the VideoPhy benchmark:

  • Base Model (Wan2.1-T2V-1.3B): Achieved an overall SA of 53.64% and PC of 29.45%.
  • Training-Free Fix: Simply tuning $\lambda$ during inference raised scores to 57.43% (SA) and 39.94% (PC).
  • Training-Based Fix (LoRA + Modified RoPE + Prompt Refinement): Achieved a massive jump to 87.46% SA and 62.68% PC.

The performance gains were most pronounced in the solid-* subsets (like solid-solid interactions), which inherently feature the large-magnitude, trackable motions that RoPE's default spatial decay typically suppresses.

Limitations and Future Work

While highly effective for rigid solid dynamics, the method showed less dramatic improvements in fluid-fluid scenarios, where motion trajectories are more diffuse and harder to track. Additionally, the authors noted that making the RoPE scaling factor fully learnable during training didn't work well; the standard flow-matching loss is dominated by non-motion gradients (like texture and background details), drowning out the subtle gradient signals needed to learn motion patterns.

Future work will focus on extending these architectural insights to Image-to-Video (I2V) models and autoregressive video generation frameworks.

Summary updated

BibTeX
@misc{li2026why,
  author = {Yueyan Li and Haibo Wang and Caixia Yuan and Xiaojie Wang},
  title = {{Why Do Video Diffusion Models Violate Physics? Unveiling the Flaws in Attention Mechanisms}},
  year = {2026},
  eprint = {2609.23658},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23658},
}
Figure