Learnable Gated Temporal Shift Module for Deep Video Inpainting

2 Jul 2019  ·  Ya-Liang Chang, Zhe Yu Liu, Kuan-Ying Lee, Winston Hsu ·

How to efficiently utilize temporal information to recover videos in a consistent way is the main issue for video inpainting problems. Conventional 2D CNNs have achieved good performance on image inpainting but often lead to temporally inconsistent results where frames will flicker when applied to videos (see https://www.youtube.com/watch?v=87Vh1HDBjD0&list=PLPoVtv-xp_dL5uckIzz1PKwNjg1yI0I94&index=1); 3D CNNs can capture temporal information but are computationally intensive and hard to train. In this paper, we present a novel component termed Learnable Gated Temporal Shift Module (LGTSM) for video inpainting models that could effectively tackle arbitrary video masks without additional parameters from 3D convolutions. LGTSM is designed to let 2D convolutions make use of neighboring frames more efficiently, which is crucial for video inpainting. Specifically, in each layer, LGTSM learns to shift some channels to its temporal neighbors so that 2D convolutions could be enhanced to handle temporal information. Meanwhile, a gated convolution is applied to the layer to identify the masked areas that are poisoning for conventional convolutions. On the FaceForensics and Free-form Video Inpainting (FVI) dataset, our model achieves state-of-the-art results with simply 33% of parameters and inference time.

PDF Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Video Inpainting DAVIS LGTSM PSNR 28.57 # 8
SSIM 0.9409 # 7
VFID 0.170 # 5
Ewarp 0.1640 # 7
Video Inpainting YouTube-VOS 2018 val LGTSM PSNR 29.74 # 5
SSIM 0.9504 # 5
VFID 0.070 # 6
Ewarp 0.1859 # 8

Methods