arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.05922cs.CV

FLATTEN:用于一致文本到视频编辑的光流引导注意力

FLATTEN: optical FLow-guided ATTENtion for consistent text-to-video editing

Leibniz University Hannover(莱布尼茨汉诺威大学);Meta AI;The University of Hong Kong(香港大学);Nanyang Technological University(南洋理工大学)

Yuren Cong, Mengmeng Xu, Christian Simon, Shoufa Chen, Jiawei Ren, Yanping Xie, Juan-Manuel Perez-Rua, Bodo Rosenhahn, Tao Xiang, Sen He

AI总结:

本文提出无需训练的 FLATTEN 方法,将光流引入扩散 U-Net 注意力模块以对齐跨帧对应图像块,从而提升文本到视频编辑的时序一致性并达到最先进性能。

摘要:

文本到视频编辑旨在根据文本提示编辑源视频的视觉外观。该任务的一个主要挑战是确保编辑后视频中的所有帧在视觉上保持一致。最近的大多数工作通过将 U-Net 中的二维空间注意力膨胀为时空注意力,把先进的文本到图像扩散模型应用于这一任务。尽管可以通过时空注意力加入时间上下文,但这可能会为每个图像块引入一些无关信息,从而导致编辑后视频出现不一致。本文首次将光流引入扩散模型 U-Net 的注意力模块,以解决文本到视频编辑中的不一致问题。我们的方法 FLATTEN 强制使不同帧中位于同一光流路径上的图像块在注意力模块中彼此关注,从而提升编辑后视频的视觉一致性。此外,我们的方法无需训练,并且能够无缝集成到任何基于扩散的文本到视频编辑方法中,改善其视觉一致性。在现有文本到视频编辑基准上的实验结果表明,所提出的方法取得了新的最先进性能。特别是,我们的方法在维持编辑后视频的视觉一致性方面表现出色。

英文摘要:

Text-to-video editing aims to edit the visual appearance of a source video conditional on textual prompts. A major challenge in this task is to ensure that all frames in the edited video are visually consistent. Most recent works apply advanced text-to-image diffusion models to this task by inflating 2D spatial attention in the U-Net into spatio-temporal attention. Although temporal context can be added through spatio-temporal attention, it may introduce some irrelevant information for each patch and therefore cause inconsistency in the edited video. In this paper, for the first time, we introduce optical flow into the attention module in the diffusion model's U-Net to address the inconsistency issue for text-to-video editing. Our method, FLATTEN, enforces the patches on the same flow path across different frames to attend to each other in the attention module, thus improving the visual consistency in the edited videos. Additionally, our method is training-free and can be seamlessly integrated into any diffusion-based text-to-video editing methods and improve their visual consistency. Experiment results on existing text-to-video editing benchmarks show that our proposed method achieves the new state-of-the-art performance. In particular, our method excels in maintaining the visual consistency in the edited videos.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑