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

利用光流引导的基于Transformer的视频修复

Exploiting Optical Flow Guidance for Transformer-Based Video Inpainting

University of Science and Technology of China(中国科学技术大学);Microsoft Research Asia(微软亚洲研究院)

Kaidong Zhang, Jialun Peng, Jingjing Fu, Dong Liu

AI总结:

针对Transformer视频修复中查询退化问题,提出FGT++,通过轻量光流补全、流引导特征整合与传播、时空解耦注意力机制,实现更有效高效的视频修复,性能优于现有方法。

摘要:

Transformer凭借多头自注意力(MHSA)机制已被广泛应用于视频处理。然而,MHSA机制在视频修复中面临一个固有困难,因为与损坏区域相关的特征会退化,导致不准确的自注意力。这个问题被称为查询退化,可以通过首先完成光流,然后利用光流引导自注意力来缓解,这在我们之前的工作——流引导Transformer(FGT)中得到了验证。我们进一步利用光流引导,提出FGT++以实现更有效和高效的视频修复。首先,我们通过使用局部聚合和边缘损失设计了一个轻量级的光流补全网络。其次,为了解决查询退化问题,我们提出了一个流引导特征整合模块,该模块利用运动差异来增强特征,同时还有一个流引导特征传播模块,根据光流对特征进行扭曲。第三,我们将Transformer沿时间和空间维度解耦,其中通过时间可变形MHSA机制使用光流来选择标记,并通过双视角MHSA机制将全局标记与窗口内局部标记相结合。实验评估表明,FGT++在定性和定量上都优于现有的视频修复网络。

英文摘要:

Transformers have been widely used for video processing owing to the multi-head self attention (MHSA) mechanism. However, the MHSA mechanism encounters an intrinsic difficulty for video inpainting, since the features associated with the corrupted regions are degraded and incur inaccurate self attention. This problem, termed query degradation, may be mitigated by first completing optical flows and then using the flows to guide the self attention, which was verified in our previous work - flow-guided transformer (FGT). We further exploit the flow guidance and propose FGT++ to pursue more effective and efficient video inpainting. First, we design a lightweight flow completion network by using local aggregation and edge loss. Second, to address the query degradation, we propose a flow guidance feature integration module, which uses the motion discrepancy to enhance the features, together with a flow-guided feature propagation module that warps the features according to the flows. Third, we decouple the transformer along the temporal and spatial dimensions, where flows are used to select the tokens through a temporally deformable MHSA mechanism, and global tokens are combined with the inner-window local tokens through a dual perspective MHSA mechanism. FGT++ is experimentally evaluated to be outperforming the existing video inpainting networks qualitatively and quantitatively.

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

↑