2025-01-24 · 专家 · 机器学习 · 计算机视觉

DiffuEraser: A Diffusion Model for Video Inpainting

DiffuEraser通过结合扩散模型和运动模块,实现了高质量的视频补全,提高了内容完整性和时间一致性。

更新于 2025-01-24。作者:Xiaowen Li、Haolan Xue、Peiran Ren、Liefeng Bo。

中文摘要

近期,视频修复算法将基于流的像素传播与基于Transformer的生成相结合,利用光流信息从相邻帧中恢复纹理和物体,并通过视觉Transformer完成遮挡区域的填充。然而,这些方法在处理大面积遮挡时往往会出现模糊和时序不一致的问题,突显出需要具有增强生成能力的模型。近年来,扩散模型因其在图像和视频生成方面的出色表现而成为一项突出的技术。在本文中,我们介绍了DiffuEraser,这是一种基于稳定扩散的视频修复模型,旨在以更详细的细节和更协调的结构填充遮挡区域。我们引入先验信息以提供初始化和弱约束,这有助于减轻噪声伪影和抑制幻觉。此外,为了在长序列推理期间提高时序一致性,我们扩展了先验模型和DiffuEraser的时序感受野,并通过利用视频扩散模型的时序平滑特性进一步增强一致性。实验结果表明,我们提出的方法在内容完整性和时序一致性方面均优于现有技术,同时保持了可接受的效率。

英文摘要

Recent video inpainting algorithms integrate flow-based pixel propagation with transformer-based generation to leverage optical flow for restoring textures and objects using information from neighboring frames, while completing masked regions through visual Transformers. However, these approaches often encounter blurring and temporal inconsistencies when dealing with large masks, highlighting the need for models with enhanced generative capabilities. Recently, diffusion models have emerged as a prominent technique in image and video generation due to their impressive performance. In this paper, we introduce DiffuEraser, a video inpainting model based on stable diffusion, designed to fill masked regions with greater details and more coherent structures. We incorporate prior information to provide initialization and weak conditioning,which helps mitigate noisy artifacts and suppress hallucinations. Additionally, to improve temporal consistency during long-sequence inference, we expand the temporal receptive fields of both the prior model and DiffuEraser, and further enhance consistency by leveraging the temporal smoothing property of Video Diffusion Models. Experimental results demonstrate that our proposed method outperforms state-of-the-art techniques in both content completeness and temporal consistency while maintaining acceptable efficiency.

解读

一句话总结

DiffuEraser通过结合扩散模型和运动模块,实现了高质量的视频补全,提高了内容完整性和时间一致性。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:视频补全旨在填充视频中被遮挡的区域,同时保持内容合理和时间一致性。 • 现有方案不足:基于Transformer的模型在处理大型遮挡时容易出现模糊和时序不一致的问题。 • 研究目标:提出一个基于稳定扩散的视频补全模型,以填充遮挡区域,并提高内容完整性和时间一致性。

问题2:论文的核心创新点是什么?

• 技术创新:引入了运动模块到图像补全模型BrushNet,并基于扩散模型进行视频补全。 • 方法改进:通过注入先验信息提供初始化和弱条件,以减轻噪声伪影并抑制幻觉。 • 优势:与基于Transformer的方法相比,DiffuEraser在内容完整性和时间一致性方面表现更优,同时保持了可接受的效率。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在Panda-70M数据集上进行的实验。 • 性能提升:DiffuEraser在内容完整性和时间一致性方面均优于基线方法。 • 对比结果:与Propainter相比,DiffuEraser在纹理质量和时序一致性方面均有显著提升。

问题4:这个研究的实际应用价值是什么?

• 应用场景:视频编辑、视频修复、视频合成等。 • 实施建议:结合具体的视频编辑任务进行优化。 • 局限与展望:进一步探索先验信息和时序一致性的优化,以及应用于更多视频编辑任务的可能性。

来源