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

用于视频修复的时空解耦Transformer

Decoupled Spatial-Temporal Transformer 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架构引入到深度视频修复中,并取得了更好的性能。然而,它仍然遭受合成模糊的纹理以及巨大的计算成本。为此,我们提出了一种新的解耦时空Transformer(DSTT),以提高视频修复的效率。我们提出的DSTT将时空注意力的学习任务分解为两个子任务:一个是在相同空间位置的不同帧上关注时间对象运动,这是通过时间解耦的Transformer块实现的,另一个是在所有空间位置的相同帧上关注相似的背景纹理,这是通过空间解耦的Transformer块实现的。这两个块的交织堆栈使我们提出的模型更精确地关注背景纹理和移动对象,从而可以传播所关注的合理和时间连贯的外观来填充漏洞。此外,在Transformer块堆栈之前采用分层编码器,用于学习保持多层次局部空间结构的鲁棒和分层特征,从而产生更具代表性的令牌向量。这两种新设计的无缝结合形成了一个更好的时空注意力方案,我们提出的模型实现了更好的性能比最先进的视频修复方法,具有显着提高效率。

英文摘要:

Video inpainting aims to fill the given spatiotemporal holes with realistic appearance but is still a challenging task even with prosperous deep learning approaches. Recent works introduce the promising Transformer architecture into deep video inpainting and achieve better performance. However, it still suffers from synthesizing blurry texture as well as huge computational cost. Towards this end, we propose a novel Decoupled Spatial-Temporal Transformer (DSTT) for improving video inpainting with exceptional efficiency. Our proposed DSTT disentangles the task of learning spatial-temporal attention into 2 sub-tasks: one is for attending temporal object movements on different frames at same spatial locations, which is achieved by temporally-decoupled Transformer block, and the other is for attending similar background textures on same frame of all spatial positions, which is achieved by spatially-decoupled Transformer block. The interweaving stack of such two blocks makes our proposed model attend background textures and moving objects more precisely, and thus the attended plausible and temporally-coherent appearance can be propagated to fill the holes. In addition, a hierarchical encoder is adopted before the stack of Transformer blocks, for learning robust and hierarchical features that maintain multi-level local spatial structure, resulting in the more representative token vectors. Seamless combination of these two novel designs forms a better spatial-temporal attention scheme and our proposed model achieves better performance than state-of-the-art video inpainting approaches with significant boosted efficiency.

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

↑