Self-Supervised Training for Blind Multi-Frame Video Denoising

Valery Dewil, Jeremy Anger, Axel Davy, Thibaud Ehret, Gabriele Facciolo, Pablo Arias

TL;DR

This paper introduces MF2F, a self-supervised learning framework for training video denoising networks without requiring clean ground truth data. MF2F enables multi-frame denoising networks to adapt to unknown noise types using just a single noisy video sequence, achieving performance comparable to supervised methods.

What Problem Does This Paper Address?

Denoising images and videos is crucial for improving visual quality, especially in challenging conditions like low light. While Convolutional Neural Networks (CNNs) have become state-of-the-art, they are highly sensitive to mismatches between training and testing noise distributions. Creating large datasets of paired noisy and clean videos for supervised training is extremely difficult, particularly for real-world noise. Existing self-supervised methods often struggle with temporal consistency in videos or require specific architectural constraints. This paper tackles the problem of training effective video denoisers in a blind manner, meaning the network learns to denoise without prior knowledge of the noise type or its parameters, and without needing clean reference videos.

Methods

The core contribution is the Multi-Frame-to-Frame (MF2F) self-supervised training framework. MF2F extends the single-frame "frame-to-frame" (F2F) approach by adapting it to multi-frame video denoising networks. The key idea is to train a network that takes a stack of frames as input to predict a clean version of the central frame.

Here's how it works:

  • Self-Supervised Loss: Instead of using a clean target, MF2F uses a loss function that penalizes the difference between the network's prediction and a warped version of a neighboring noisy frame. This leverages the temporal consistency inherent in videos.
  • Dilated Input Stack: A crucial innovation to prevent trivial solutions (where the network simply learns to copy input frames) is using a dilated input stack during training. This means the target frame is not included in the input stack, creating a "blind spot" for the network. For example, if the network takes 5 frames as input, the training stack might be f_{t-4}, f_{t-2}, f_t, f_{t+2}, f_{t+4} to predict f_{t-1}.
  • Natural Stack for Inference: While a dilated stack is used for training, the natural stack (f_{t-2}, f_{t-1}, f_t, f_{t+1}, f_{t+2}) is used during inference to leverage maximum temporal information.
  • Handling Warping Errors: Optical flow is used to align frames, but errors can occur. The paper introduces a robust mask that identifies and excludes regions with likely misalignments (due to occlusions or warping residuals) from the loss calculation, significantly improving robustness.
  • Flexible Fine-tuning: MF2F can fine-tune either the network's weights or specific parameters like the noise variance map. This allows for adapting to different noise levels and types, and even jointly estimating noise parameters.

Datasets

The paper evaluates its method on:

  • Synthetic Datasets:
    • Derf's Test Media collection: Seven Full HD videos.
  • Vid3oC-10 dataset: Ten videos from the training split.
  • Real-World Datasets:
    • CRVD dataset: Raw sequences from a surveillance camera with real noise at various ISO levels.
  • FLIR ADAS dataset: Thermal infrared videos.

The paper does not introduce new datasets but uses existing ones to demonstrate the effectiveness of its blind denoising approach.

Key Insights and Ideas

  • Temporal Consistency is Key for Blind Denoising: The core insight is that the inherent redundancy and temporal consistency in video sequences can be exploited to learn denoising without ground truth, by comparing warped neighboring frames.
  • Blind Spot is Crucial for Avoiding Trivial Solutions: Simply using a neighboring frame as a target with a standard input stack leads to the network learning the identity function. Creating a "blind spot" by excluding the target frame from the input stack during training is essential for forcing the network to learn actual denoising.
  • Flexibility in Fine-tuning: The framework's ability to fine-tune not just weights but also noise-specific parameters (like variance maps) highlights its adaptability to various denoising challenges, including estimating spatially varying noise.
  • Real-World Noise Adaptation: MF2F demonstrates impressive performance on real noisy videos, adapting to complex noise characteristics that are difficult to model and synthesize.

Key Results

  • Performance on Synthetic Noise: MF2F achieves results comparable to, and sometimes surpassing, supervised noise-specific training methods across various noise types (Gaussian, Poisson, Box, Demosaicked Poisson) and levels. It outperforms existing self-supervised methods like F2F by a significant margin (around 3dB PSNR gain).
  • Handling Time-Varying Noise: The online fine-tuning version of MF2F can adapt to abrupt changes in noise properties within a single video sequence, outperforming noise-specific networks that fail when the noise changes.
  • Joint Denoising and Noise Estimation: MF2F can be used to jointly estimate spatially varying noise variance maps, which is a challenging task not addressed by many existing methods.
  • Real-World Performance: MF2F shows competitive results on real noisy videos (CRVD, FLIR ADAS datasets), producing sharper images with less residual noise compared to other methods.

Limitations and Future Work

  • Mosaicked Videos: The current MF2F framework does not directly handle mosaicked raw videos. Pre-processing steps (tone curve, demosaicking) were applied for the CRVD dataset.
  • Optical Flow Dependency: The method relies on external optical flow estimation. Future work could involve jointly learning optical flow and denoising within a single network.
  • Adaptation Speed: While effective, the adaptation speed for certain noise types or parameters (like spatially variant variance maps) can be slow, requiring many frames. Meta-learning is suggested as a way to improve adaptation speed.
  • Mask Computation: The warping mask is computed using a separate process. Integrating this into a learned framework is a potential future direction.

Summary updated

BibTeX
@inproceedings{dewil2021self,
  author = {Valery Dewil and Jeremy Anger and Axel Davy and Thibaud Ehret and Gabriele Facciolo and Pablo Arias},
  title = {{Self-Supervised Training for Blind Multi-Frame Video Denoising}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
}
Figure