[Paper Review] BVINet: Unlocking Blind Video Inpainting with Zero Annotations
BVINet introduces a fully end-to-end blind video inpainting framework that jointly predicts corrupted-region masks and completes video frames without any region annotations, achieving state-of-the-art results on blind settings and competitive performance vs non-blind baselines.
Video inpainting aims to fill in corrupted regions of the video with plausible contents. Existing methods generally assume that the locations of corrupted regions are known, focusing primarily on the "how to inpaint". This reliance necessitates manual annotation of the corrupted regions using binary masks to indicate "whereto inpaint". However, the annotation of these masks is labor-intensive and expensive, limiting the practicality of current methods. In this paper, we expect to relax this assumption by defining a new blind video inpainting setting, enabling the networks to learn the mapping from corrupted video to inpainted result directly, eliminating the need of corrupted region annotations. Specifically, we propose an end-to-end blind video inpainting network (BVINet) to address both "where to inpaint" and "how to inpaint" simultaneously. On the one hand, BVINet can predict the masks of corrupted regions by detecting semantic-discontinuous regions of the frame and utilizing temporal consistency prior of the video. On the other hand, the predicted masks are incorporated into the BVINet, allowing it to capture valid context information from uncorrupted regions to fill in corrupted ones. Besides, we introduce a consistency loss to regularize the training parameters of BVINet. In this way, mask prediction and video completion mutually constrain each other, thereby maximizing the overall performance of the trained model. Furthermore, we customize a dataset consisting of synthetic corrupted videos, real-world corrupted videos, and their corresponding completed videos. This dataset serves as a valuable resource for advancing blind video inpainting research. Extensive experimental results demonstrate the effectiveness and superiority of our method.
Motivation & Objective
- Define the blind video inpainting task where corrupted-region masks are not provided explicitly.
- Develop an end-to-end framework that simultaneously predicts corrupted regions and inpaints videos.
- Ensure temporal coherence and robust performance through a consistency loss and novel network modules.
- Create and release a dataset adapted for blind video inpainting with synthetic and real-world corrupted videos.
Proposed method
- Two-branch architecture: a mask prediction network (MPNet) to locate corrupted regions, and a video completion network (VCNet) to fill them.
- MPNet includes a short-term prediction module with DWT-based down-sampling and a long-term refinement module leveraging a sequence-to-sequence transformer.
- VCNet employs a wavelet-based sparse transformer with a two-branch self-attention (dense and sparse) to retrieve context while suppressing noise.
- A consistency loss aligns the predicted mask and the reconstructed difference between completed and original frames to mutually constrain MPNet and VCNet.
- Training losses combine mask prediction loss, video completion loss, and the consistency loss with specified weights.
- The adapted dataset uses free-form strokes for corruption, iterative Gaussian smoothing to soften boundaries, and includes a bullet-removal video subset to enhance realism.
Experimental results
Research questions
- RQ1Can blind video inpainting learn to locate corrupted regions without manual masks while maintaining temporal coherence?
- RQ2How does jointly optimizing mask prediction and video completion with a consistency constraint affect inpainting quality?
- RQ3Do wavelet-based sparse transformers improve quality and robustness for blind video inpainting compared to dense attention?
- RQ4Is a customized blind-inpainting dataset with free-form corrupted regions and real-world variations sufficient to generalize to new scenes?
Key findings
- VCNet (blind inpainting framework) achieves state-of-the-art results in PSNR, SSIM, LPIPS, and flow warping error on YouTube-VOS and DAVIS under blind settings.
- Compared to the best blind baseline MPNet+FGT, VCNet shows large improvements across all metrics.
- Under non-blind settings, the method attains competitive performance close to non-blind baselines like E2FGVI.
- Ablations show the effectiveness of the sparse self-attention branch and the consistency loss for improving inpainting quality.
- The MPNet component with the refined down-sampling (including DWT) yields the best mask predictions among variants.
- The VCNet’s wavelet sparse transformer effectively mitigates noise and improves content retrieval for filling corrupted regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.