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

FuseFormer:融合Transformers中的细粒度信息进行视频修复

FuseFormer: Fusing Fine-Grained Information in Transformers for Video Inpainting

CUHK-SenseTime Joint Laboratory, The Chinese University of Hong Kong(香港中文大学-商汤科技联合实验室,香港中文大学);SenseTime Research(商汤科技研究院);Zhejiang University(浙江大学);School of CST, Xidian University(西安电子科技大学计算机科学与技术学院)

Rui Liu, Hanming Deng, Yangyi Huang, Xiaoyu Shi, Lewei Lu, Wenxiu Sun, Xiaogang Wang, Jifeng Dai, Hongsheng Li

摘要:

Transformer作为一种强大而灵活的远程关系建模体系结构,在视觉任务中得到了广泛的研究。然而,当用于需要细粒度表示的视频修复时,现有的方法仍然遭受由于硬补丁分裂而产生的细节模糊边缘。在这里,我们的目标是解决这个问题,提出FuseFormer,一个Transformer模型设计的视频修复通过细粒度的功能融合的基础上,新的软分割和软组合操作。软分割将特征图分割成具有给定重叠间隔的多个块。相反,软合成通过将不同的块拼接成整个特征图来操作,其中重叠区域中的像素被求和。这两个模块首先用于Transformer层之前的标记化和Transformer层之后的去标记化,以实现标记和特征之间的有效映射。因此,子块级信息交互被启用以用于相邻块之间的更有效的特征传播,从而为视频中的孔洞区域合成生动的内容。此外,在FuseFormer中,我们精心将软合成和软分割插入前馈网络,使1D线性层具有建模2D结构的能力。并且,子块级特征融合能力进一步增强。在定量和定性评估中,我们提出的FuseFormer超越了最先进的方法。并对其优越性进行了详细的分析。

英文摘要:

Transformer, as a strong and flexible architecture for modelling long-range relations, has been widely explored in vision tasks. However, when used in video inpainting that requires fine-grained representation, existed method still suffers from yielding blurry edges in detail due to the hard patch splitting. Here we aim to tackle this problem by proposing FuseFormer, a Transformer model designed for video inpainting via fine-grained feature fusion based on novel Soft Split and Soft Composition operations. The soft split divides feature map into many patches with given overlapping interval. On the contrary, the soft composition operates by stitching different patches into a whole feature map where pixels in overlapping regions are summed up. These two modules are first used in tokenization before Transformer layers and de-tokenization after Transformer layers, for effective mapping between tokens and features. Therefore, sub-patch level information interaction is enabled for more effective feature propagation between neighboring patches, resulting in synthesizing vivid content for hole regions in videos. Moreover, in FuseFormer, we elaborately insert the soft composition and soft split into the feed-forward network, enabling the 1D linear layers to have the capability of modelling 2D structure. And, the sub-patch level feature fusion ability is further enhanced. In both quantitative and qualitative evaluations, our proposed FuseFormer surpasses state-of-the-art methods. We also conduct detailed analysis to examine its superiority.

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

↑