Abstract
In many video restoration/translation tasks, image processing operations are naively extended to the video domain by processing each frame independently, disregarding the temporal connection of the video frames. This disregard for the temporal connection often leads to severe temporal inconsistencies. State-Of-The-Art (SOTA) techniques that address these inconsistencies rely on the availability of unprocessed videos to implicitly siphon and utilize consistent video dynamics to restore the temporal consistency of frame-wise processed videos which often jeopardizes the translation effect. We propose a general framework for this task that learns to infer and utilize consistent motion dynamics from inconsistent videos to mitigate the temporal flicker while preserving the perceptual quality for both the temporally neighboring and relatively distant frames without requiring the raw videos at test time. The proposed framework produces SOTA results on two benchmark datasets, DAVIS and videvo.net, processed by numerous image processing applications.
Introduction
When powerful image-to-image translation models—such as those used for artistic style transfer, colorization, or image enhancement—are applied to videos frame-by-frame, they often produce "temporal flicker." This jittery effect occurs because these models are highly sensitive to minor variations in lighting or composition between consecutive frames, leading to inconsistent textures and colors.
Existing solutions typically require the original, unprocessed "raw" video during restoration to guide motion estimation. However, this dependency creates significant hurdles: the raw video may not always be available (e.g., content downloaded from social media), and relying on it can introduce a "bias" that dulls the intended artistic effect by pulling the output too close to the original footage.
Proposed Methodology
The authors propose a task-agnostic framework designed to restore natural video dynamics by disentangling content from motion. The architecture consists of two primary branches:
- Motion Branch: This branch infers consistent motion dynamics directly from the flickering input. To prevent the model from being "poisoned" by high-frequency flicker noise, the authors utilize a Flow Gradient Loss, which focuses on matching motion boundaries rather than raw flow values.
- Content Branch: This branch extracts and processes the visual features of the flickering frames.
- Recurrent Bottleneck Block (RBB): Features from both branches are fused and passed through a ConvLSTM module. This recurrent structure allows the model to maintain a memory of previous frames, ensuring that objects retain consistent appearances even after temporary occlusions.
Key Insights: Recovering Motion from Flicker
A central insight of this research is that consistent motion dynamics are recoverable even from highly inconsistent, flickering videos. The framework treats the observed inconsistent optical flow as a summation of the underlying consistent motion and the noise introduced by temporal flicker.
By removing the requirement for raw video at test time, the model avoids the "Raw Video Bias" trap. Previous methods often produced blurry results or reverted colors back toward the original video; this approach stays truer to the intended processed style while enforcing long-term stability through a Constancy Loss that penalizes discrepancies across multiple preceding frames.
Experimental Results
The model was trained and evaluated using the DAVIS and Videvo.net datasets, subjected to 16 different image processing tasks including style transfer and intrinsic image decomposition.
- Quantitative Performance: The method achieved the lowest Temporal Warp Error (a metric for video jitter) across nearly all categories, outperforming established baselines.
- Qualitative Preference: In a user study involving 36 participants and 150 scenes, the proposed method was preferred 41.1% of the time, a significant margin over the next best competitor (28.8%).
- Efficiency: The model processes frames at approximately 0.22 seconds per frame, making it suitable for practical deep-learning-based post-processing workflows.
Limitations and Future Work
While the framework sets a new state-of-the-art, it faces challenges with very low frame rates where motion becomes unpredictable. Additionally, in cases of extreme stylization (like heavy brush strokes), the smoothing process can occasionally diminish fine artistic details. Future research will explore applying these consistent flow models to broader tasks such as video denoising and dehazing.
Summary updated