Abstract
Applying an image processing algorithm independently to each video frame often leads to temporal inconsistency in the resulting video. To address this issue, we present a novel and general approach for blind video temporal consistency. Our method is only trained on a pair of original and processed videos directly instead of a large dataset. Unlike most previous methods that enforce temporal consistency with optical flow, we show that temporal consistency can be achieved by training a convolutional neural network on a video with Deep Video Prior (DVP). Moreover, a carefully designed iteratively reweighted training strategy is proposed to address the challenging multimodal inconsistency problem. We demonstrate the effectiveness of our approach on 7 computer vision tasks on videos. Extensive quantitative and perceptual experiments show that our approach obtains superior performance than state-of-the-art methods on blind video temporal consistency. We further extend DVP to video propagation and demonstrate its effectiveness in propagating three different types of information (color, artistic style, and object segmentation). A progressive propagation strategy with pseudo labels is also proposed to enhance DVP's performance on video propagation.
Introduction
Many state-of-the-art computer vision models—such as those for colorization, dehazing, or style transfer—are designed to process single images. When these models are applied to a video frame-by-frame, the result is often a "flickering" mess. Because the model lacks temporal context, it may produce slightly different results for similar patches across consecutive frames (e.g., coloring a car red in one frame and orange in the next).
Existing solutions typically rely on optical flow to track pixels and enforce consistency. However, optical flow is notoriously difficult to estimate accurately during fast motion or occlusions. Furthermore, most methods require large-scale training datasets to learn how to fix these errors. This paper introduces Deep Video Prior (DVP), a method that achieves video temporal consistency by training a neural network on a single video without any external datasets or explicit optical flow.
Deep Video Prior: Internal Learning
The core innovation of this work is the shift from external training to Internal Learning. Instead of training on millions of images, the authors train a U-Net architecture on just the specific video they want to fix.
Inspired by Deep Image Prior (DIP), the authors observe that a CNN's architecture itself acts as a regularizer. When a network is trained to map an original video frame $I_t$ to its processed (but flickering) version $P_t$, the network naturally learns the consistent, low-frequency signal first. The flickering artifacts are treated as high-frequency noise in the temporal domain. By stopping the training early, the network outputs a consistent video $O_t$ that retains the desired processing effect while discarding the flicker. This "architecture-as-prior" approach inherently encourages consistency because the CNN processes similar patches across different frames using the same weights.
Addressing Multimodal Inconsistency
A significant challenge in video processing is multimodal inconsistency, where a processing algorithm might produce two completely different but valid results for the same object (e.g., a car colorized as blue in some frames and red in others). Standard training would cause the network to average these modes, leading to blurry or washed-out results.
To solve this, the authors propose Iteratively Reweighted Training (IRT). This strategy uses a confidence map $C_t$ to force the network to commit to one "main mode" and ignore the outliers that cause jarring jumps.
As shown in the figure above, the IRT strategy identifies regions of high inconsistency (low confidence) and reweights the loss function to prioritize the dominant visual mode, resulting in a stable and sharp output $O_t^{main}$.
Applications and Results
The effectiveness of DVP was demonstrated across seven computer vision tasks, including dehazing, colorization, and style transfer.
- Quantitative Performance: DVP achieved superior scores in both temporal consistency ($E_{warp}$) and data fidelity ($F_{data}$) metrics compared to established baselines.
- User Preference: In a perceptual study, DVP's results were preferred 53.79% of the time, a massive improvement over the raw processed input (5%).
- Video Propagation: The method was successfully extended to propagate information like object masks or artistic styles from a few reference frames to an entire sequence using a progressive strategy with "pseudo labels."
Conclusion
Deep Video Prior offers a powerful, flow-free alternative for achieving video consistency. By leveraging the internal statistics of a single video and the inherent regularization of CNN architectures, it bypasses the need for complex optical flow estimation and massive external datasets. While currently limited by training time per video and capacity issues for very long sequences, DVP represents a significant step forward in robust, general-purpose video processing.
Summary updated