arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.09535cs.CV
收藏

FateZero:融合注意力用于零样本文本驱动视频编辑

FateZero: Fusing Attentions for Zero-shot Text-based Video Editing

HKUST(香港科技大学);Tencent AI Lab(腾讯人工智能实验室);CAIR, HKISI-CAS(中国科学院香港创新研究院人工智能与机器人创新中心)

Chenyang Qi, Xiaodong Cun, Yong Zhang, Chenyang Lei, Xintao Wang, Ying Shan, Qifeng Chen

AI总结:

FateZero提出零样本文本驱动视频编辑方法,通过融合反演中捕获的注意力图及时空注意力,实现无需训练或掩码的一致视频编辑,优于先前方法。

摘要:

基于扩散的生成模型在文本驱动的图像生成领域取得了显著成功。然而,由于生成过程中包含巨大的随机性,将这些模型应用于现实世界的视觉内容编辑仍然具有挑战性,尤其是在视频编辑方面。在本文中,我们提出了FateZero,一种针对真实世界视频的零样本文本驱动编辑方法,无需针对每个提示进行训练或使用特定掩码。为了实现视频编辑的一致性,我们基于预训练模型提出了若干技术。首先,与直接的DDIM反演技术不同,我们的方法在反演过程中捕获中间注意力图,这些图能够有效保留结构和运动信息。这些注意力图在编辑过程中直接融合,而不是在去噪过程中生成。为了进一步最小化源视频的语义泄漏,我们使用由源提示的交叉注意力特征获得的混合掩码来融合自注意力。此外,我们通过引入时空注意力对去噪UNet中的自注意力机制进行了改进,以确保帧间一致性。尽管方法简洁,但我们的方法是首个展示从预训练文本到图像模型中实现零样本文本驱动视频风格和局部属性编辑能力的工作。我们还基于文本到视频模型实现了更好的零样本形状感知编辑能力。大量实验表明,我们的方法在时间一致性和编辑能力方面优于先前的工作。

英文摘要:

The diffusion-based generative models have achieved remarkable success in text-based image generation. However, since it contains enormous randomness in generation progress, it is still challenging to apply such models for real-world visual content editing, especially in videos. In this paper, we propose FateZero, a zero-shot text-based editing method on real-world videos without per-prompt training or use-specific mask. To edit videos consistently, we propose several techniques based on the pre-trained models. Firstly, in contrast to the straightforward DDIM inversion technique, our approach captures intermediate attention maps during inversion, which effectively retain both structural and motion information. These maps are directly fused in the editing process rather than generated during denoising. To further minimize semantic leakage of the source video, we then fuse self-attentions with a blending mask obtained by cross-attention features from the source prompt. Furthermore, we have implemented a reform of the self-attention mechanism in denoising UNet by introducing spatial-temporal attention to ensure frame consistency. Yet succinct, our method is the first one to show the ability of zero-shot text-driven video style and local attribute editing from the trained text-to-image model. We also have a better zero-shot shape-aware editing ability based on the text-to-video model. Extensive experiments demonstrate our superior temporal consistency and editing capability than previous works.

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

↑