Temporally Consistent Enhancement of Low-Light Videos via Spatial-Temporal Compatible Learning

Lingyu Zhu, Wenhan Yang, Baoliang Chen, Hanwei Zhu, Xiandong Meng, Shiqi Wang

Introduction

Enhancing video captured in extreme low-light conditions remains a significant challenge in computer vision. Unlike single-image enhancement, video processing must account for temporal consistency. When algorithms are applied frame-by-frame, minor fluctuations in sensor noise lead to "temporal flickering," where the resulting video appears jittery and unstable. This problem is exacerbated by the scarcity of high-quality, dynamic real-world datasets, as capturing paired low-light and well-lit video of moving subjects is technically difficult.

This paper introduces TCE-Net (Temporally Consistent Enhancer Network) and a novel training strategy called Spatial-Temporal Compatible Learning (STCL). By decoupling spatial detail from temporal smoothness and utilizing a new synthetic dataset, DS-LOL, the authors bridge the gap between static benchmarks and complex real-world motion.

Methodology

TCE-Net Architecture

The TCE-Net utilizes a U-Net-style encoder-decoder backbone enhanced with two critical components:

  1. Feature Correlation Alignment (FCA): Instead of simple frame stacking, the FCA module calculates an affinity matrix between adjacent frames. This allows the network to align features at a high level, ensuring that the "memory" of previous frames is correctly mapped to the current frame's geometry.
  2. Discrete Wavelet Transforms (DWT): By processing information in the frequency domain, the model can more effectively separate structural details (low-frequency) from high-frequency sensor noise.

Low-Light Simulation and Synthetic Data

To address the lack of dynamic training data, the authors developed a sophisticated simulation pipeline. This process uses high-quality public video datasets and applies darkening parameters derived from Adobe Lightroom (e.g., exposure, highlights, shadows). To ensure physical accuracy, the pipeline injects realistic Gaussian-Poisson mixed noise, mimicking the read and shot noise characteristics of digital camera sensors.

The synthetic data generation pipeline and the subsequent ISP (Image Signal Processing) steps used to create the DS-LOL dataset.

Spatial-Temporal Compatible Learning (STCL)

The core innovation of this work is the STCL training strategy. The authors observed that forcing temporal consistency on static real-world datasets often degrades spatial quality. STCL solves this by decoupling the learning objectives:

  • Spatial Constraints: The model learns the appearance of real-world noise and illumination using existing real-world datasets.
  • Temporal Constraints: The model learns motion consistency using the synthetic DS-LOL dataset, where complex motion patterns are perfectly known and free from the artifacts of static real-world captures.

The DS-LOL Dataset

The Diverse Statistics LOw-Light (DS-LOL) dataset is a major contribution of this study. It consists of 90 video clips (12,420 frames) featuring diverse subjects such as animals, cityscapes, and humans. As shown in the spatial-temporal distribution analysis, DS-LOL provides a much broader range of Spatial Information (SI) and Temporal Information (TI) compared to traditional indoor and outdoor low-light benchmarks.

Scatter plots comparing Spatial Information (SI) and Temporal Information (TI) across different datasets, highlighting the increased diversity of the DS-LOL dataset.

Experimental Results

The proposed method achieves state-of-the-art (SOTA) performance across multiple benchmarks:

  • SDSD Outdoor: Achieved a PSNR of 26.64 dB, a 1.58 dB improvement over previous leaders.
  • SDSD Indoor: Achieved a PSNR of 28.78 dB.
  • Temporal Stability: The model significantly reduced the Warping Error ($L_{warp}$), a key metric for measuring flickering, outperforming both single-image and existing video-based enhancers.
  • Efficiency: Despite its performance, TCE-Net is relatively compact with only 9.06M parameters, making it significantly smaller than transformer-based alternatives like EnlightenGAN (114M) or Uformer (50M).

Conclusion and Future Work

TCE-Net and the STCL strategy provide a robust framework for high-quality, flicker-free low-light video enhancement. While the model is parameter-efficient, its current inference speed of approximately 1.7 seconds per frame on an RTX 3090 limits real-time applications. Future research will focus on optimizing the temporal modeling components, potentially through state-space models or more efficient transformer architectures, to achieve real-time performance without sacrificing consistency.

Summary updated

BibTeX
@article{zhu2024temporally,
  author = {Lingyu Zhu and Wenhan Yang and Baoliang Chen and Hanwei Zhu and Xiandong Meng and Shiqi Wang},
  title = {{Temporally Consistent Enhancement of Low-Light Videos via Spatial-Temporal Compatible Learning}},
  journal = {Int. J. Comput. Vis.},
  year = {2024},
  doi = {10.1007/s11263-024-02084-w},
}
Figure