为什么视频扩散模型违反物理规律?揭示注意力机制中的缺陷
研究论文 · 2026/09/22
尽管视频扩散模型在视觉质量上表现优异,但其生成内容常违反真实物理规律。现有解决方案依赖外部先验或专用数据,而本文通过探究模型内部机制来寻找根本原因。具体而言,我们首次对文本到视频扩散模型的“运动规划”过程进行可解释性研究,揭示运动轨迹如何在早期去噪阶段形成。基于“先形状后细节”的发现,我们结合交叉注意力轨迹模式与因果头贡献,识别出驱动运动规划的特定注意力头子集。进一步的自注意力分析表明,旋转位置嵌入(RoPE)导致过度的空间注意力衰减,使早期候选区域过早锁定在物理上不合理的位置,抑制相邻帧中的合理轨迹,并触发生成失败模式。针对这一根本缺陷,我们提出一种轻量级架构修改,在不同去噪步骤中缩放RoPE的频率。该策略减少过度注意力衰减,帮助模型探索更好的候选区域以建立连贯的物理运动。最后,无需训练和基于训练的实验均证实了我们的方法在增强生成视频物理常识方面的有效性。
该研究首次从可解释性角度揭示视频扩散模型违反物理规律的内部机制,并提出了轻量级修复方案,对提升生成视频的物理合理性具有重要价值。
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.