Multiple Latent Space Mapping for Compressed Dark Image Enhancement

Yi Zeng, Zhengning Wang, Yuxuan Liu, Tianjiao Zeng, Xuhang Liu, Xinglong Luo, Shuaicheng Liu, Shuyuan Zhu, Bing ZengarXiv 2024 · DOI

Abstract

Most dark image enhancement algorithms fail in real-world scenarios because they amplify hidden JPEG compression artifacts, resulting in significant "blocking" noise. This paper introduces a multi-level Variational Auto-Encoder (VAE) framework designed to perform enhancement and deblocking simultaneously within a hierarchical latent space. By separating structural details from compression noise across multiple resolutions, the proposed method effectively restores illumination while maintaining high-frequency textures, outperforming existing image-space methods in both quantitative metrics and visual quality.

Introduction

In practical applications, low-light images are frequently stored or transmitted in compressed formats like JPEG. While these images appear merely dark, they contain subtle compression artifacts that become glaringly obvious once the image is brightened. Standard enhancement techniques face a fundamental trade-off: sharpening the image to recover lost detail simultaneously amplifies these blocky artifacts, while blurring to remove noise destroys legitimate textures. The authors identify that in standard image space, detail enhancement and artifact suppression are often diametrically opposed tasks.

Proposed Framework

The researchers propose a two-stage approach that moves the enhancement problem from pixel space into a more manageable hierarchical latent space.

The proposed multi-level VAE framework for hierarchical latent space mapping.

Multi-level VAEs

Instead of a single latent vector, the framework uses a hierarchical VAE structure to capture features at multiple resolutions. This ensures that high-level semantic information and low-level textures are both preserved. Two separate VAEs are trained: one for compressed dark images and one for clean, normal-light images.

Dual-Branch Latent Mapping

Once images are encoded, a mapping network ($M$) transforms "dark" latent features into "normal-light" features. This network is split into two specialized paths:

  • Enlighten Branch: Utilizes Atrous Spatial Pyramid Pooling (ASPP) to capture multi-scale context and restore illumination.
  • Deblocking Branch: Employs a UNet-style structure focusing on residual differences between feature levels to identify and neutralize blocking artifacts.

Experimental Evaluation

The authors compiled a massive training set by merging several existing benchmarks (LOL, LSRW, SICE, RELLISUR) with custom data captured via a Sony A7M3 camera. For normal-light training, they utilized over 36,000 images from the LabelME dataset.

Qualitative comparison showing how the proposed method suppresses blocking artifacts compared to existing techniques.

Quantitative and Qualitative Results

The method achieved state-of-the-art (SOTA) scores across PSNR, SSIM, and PSNR-B (a metric specifically for blocking artifacts). On the LOL dataset (QF 90), it achieved a PSNR of 19.16 dB, significantly outperforming popular methods like EnlightenGAN (17.81 dB) and ZeroDCE (15.67 dB). Visual comparisons demonstrate that while other methods create "muddy" or "blocky" textures when brightening, this method produces smooth gradients and sharp edges.

Downstream Utility

To test real-world applicability, the enhanced images were processed by a face detector (PyramidBox) on the DARK FACE dataset. The proposed method achieved the best mean Average Precision (mAP) at IoU thresholds of 0.3 and 0.5, proving that the enhancement effectively helps computer vision models "see" in the dark.

Key Insights and Limitations

A critical finding of this research is that data representation in latent space is more compact and "denser." The Mean Square Error (MSE) between compressed and uncompressed data is significantly higher in latent space than in pixel space, making it easier for the network to distinguish and remove artifacts. By separating the "lighting" and "deblocking" tasks within the latent mapping, the model avoids the sharpening-blurring conflict inherent in image-space methods.

However, the framework does have limitations. The multi-level VAE and dual-branch mapping likely introduce higher computational overhead compared to lightweight enhancers like ZeroDCE. Additionally, while the focus is on JPEG blocking, further research is needed to determine how the model handles high-ISO sensor noise or motion blur, which are also common in low-light photography.

Summary updated

BibTeX
@misc{zeng2024multiple,
  author = {Yi Zeng and Zhengning Wang and Yuxuan Liu and Tianjiao Zeng and Xuhang Liu and Xinglong Luo and Shuaicheng Liu and Shuyuan Zhu and Bing Zeng},
  title = {{Multiple Latent Space Mapping for Compressed Dark Image Enhancement}},
  year = {2024},
  eprint = {2403.07622},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.07622},
}
Figure