Hugging Face Daily Papers论文
视频扩散模型为何违反物理定律?揭示注意力机制的缺陷
该研究针对视频扩散模型生成内容常违反现实物理规律的问题,深入探究其内部机制。作者首次对文本到视频扩散模型的“运动规划”过程进行可解释性分析,揭示了在早期去噪阶段运动轨迹的形成原理,指出注意力机制是导致物理不一致性的根本原因。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract
Despite impressive visual quality, state-of-the-art video diffusion models often generate content that violates real-world physical laws. While existing solutions rely on external priors or specialized data, we investigate the root cause by exploring the internal mechanisms of these models. Specifically, we present the first interpretability study on the ''motion planning'' process of text-to-video diffusion models, revealing how motion trajectories form during early denoising stages. Building upon the ''first shape, then details'' finding, we combine cross-attention trajectory patterns with causal head contributions to identify a specific subset of attention heads driving motion planning. Further, our self-attention analysis shows that Rotary Position Embedding (RoPE) induces excessive spatial attention decay. This causes early candidate regions to prematurely lock into physically implausible positions, suppressing reasonable trajectories in adjacent frames and triggering generation failure modes. To address this fundamental flaw, we propose a lightweight architectural modification that scales the frequency of RoPE across different denoising steps. This strategy reduces excessive attention decay, helping the model explore better candidate regions to establish coherent physical motion. Finally, training-free and training-based experiments confirm the effectiveness of our approach in enhancing the physical commonsense of generated videos.
How does a video diffusion model perform motion planning, and why does it often violate physical rules? We introduce an interpretability study of motion planning in video diffusion models, identifying that RoPE-induced spatial attention decay at early denoising steps leads to physically invalid motion trajectories. Based on this finding, we propose a lightweight step-dependent RoPE frequency scaling strategy to alleviate this issue, allowing the model to explore coherent physical motion without heavy training overhead.