[Paper Review] An Internal Learning Approach to Video Inpainting
This paper proposes a novel video inpainting method that leverages internal learning within a single video to jointly generate missing appearance and optical flow, without relying on external training data. By extending the Deep Image Prior (DIP) framework to video through joint appearance-flow optimization, the method achieves state-of-the-art results with strong temporal consistency and reduced distortions, even for long-horizon holes.
We propose a novel video inpainting algorithm that simultaneously hallucinates missing appearance and motion (optical flow) information, building upon the recent 'Deep Image Prior' (DIP) that exploits convolutional network architectures to enforce plausible texture in static images. In extending DIP to video we make two important contributions. First, we show that coherent video inpainting is possible without a priori training. We take a generative approach to inpainting based on internal (within-video) learning without reliance upon an external corpus of visual data to train a one-size-fits-all model for the large space of general videos. Second, we show that such a framework can jointly generate both appearance and flow, whilst exploiting these complementary modalities to ensure mutual consistency. We show that leveraging appearance statistics specific to each video achieves visually plausible results whilst handling the challenging problem of long-term consistency.
Motivation & Objective
- To address the challenge of video inpainting without relying on large external datasets or pre-trained models.
- To ensure high temporal consistency in inpainted video sequences, especially across long-range frames.
- To explore whether internal learning—using only the input video's own structure—can serve as an effective inductive bias for video generation.
- To jointly optimize appearance and motion (optical flow) to improve mutual consistency and visual plausibility.
- To demonstrate that a standard 2D CNN architecture can implicitly learn temporal priors through internal training on a single video.
Proposed method
- The method uses a 2D encoder-decoder CNN architecture inspired by Deep Image Prior (DIP), training directly on the input video without external pre-training.
- It performs end-to-end optimization by jointly predicting both the inpainted appearance and the optical flow field in a single forward pass.
- A consistency-aware training strategy enforces temporal coherence by leveraging the mutual dependency between appearance and motion predictions.
- The framework uses a windowed input of k consecutive frames, with the network trained on a masked version of the video to reconstruct missing regions.
- Optimization is performed via backpropagation using a loss function combining L1 loss on appearance and flow, and a perceptual loss for structural fidelity.
- The method exploits internal recurrence of visual patterns across frames, enabling propagation of structural information over long sequences without explicit temporal modeling.
Experimental results
Research questions
- RQ1Can internal learning within a single video replace the need for large-scale external datasets in video inpainting?
- RQ2How can appearance and motion (optical flow) be jointly optimized to improve temporal consistency in video inpainting?
- RQ3To what extent can a standard 2D CNN architecture implicitly learn temporal dependencies without explicit recurrent or 3D convolutions?
- RQ4Does joint optimization of appearance and flow lead to better visual plausibility and reduced distortion compared to frame-wise or appearance-only methods?
- RQ5How does the window length of input frames affect the generalization and reconstruction quality of the inpainting result?
Key findings
- The method achieves state-of-the-art video inpainting results without any external training data, outperforming frame-wise DIP and patch-based baselines in temporal coherence and visual quality.
- Joint prediction of appearance and optical flow significantly improves temporal consistency, reducing visual artifacts and motion inconsistencies.
- As the input window length increases, inpainting quality in the hole region improves, indicating effective long-range temporal generalization.
- Reconstruction quality in non-hole regions decreases with larger window lengths due to overfitting, confirming the trade-off between hole-filling and reconstruction fidelity.
- The learned features show superior instance-level correspondence across frames, identifying the same object over long sequences, unlike VGG-pool5 features which capture only general similarity.
- The method successfully avoids shape distortions common in patch-based methods by leveraging deep network priors, especially in complex motion scenarios.
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.