TL;DR
This paper introduces Semantically Contrastive Learning for Low-light Image Enhancement (SCL-LLE), a novel approach that leverages unpaired over/underexposed images and semantic scene information to improve low-light image enhancement. By framing LLE as a multi-task learning problem with contrastive learning, semantic brightness consistency, and feature preservation constraints, SCL-LLE achieves state-of-the-art results and demonstrates potential for downstream tasks like semantic segmentation.
What Problem Does This Paper Address?
Low-light image enhancement (LLE) is a persistent challenge in computer vision. Existing methods often rely on paired datasets of normal and low-light images, which are difficult and expensive to acquire. While some methods use unpaired data, they often neglect the valuable information present in over- and underexposed images, which are more readily available. Furthermore, many LLE techniques treat all pixels uniformly, failing to account for the fact that different semantic regions within a scene might require different enhancement strategies. This can lead to unnatural results and hinder the performance of downstream tasks like object detection or semantic segmentation in dark conditions. This paper aims to address these limitations by proposing a method that effectively utilizes unpaired over/underexposed images and semantic scene understanding for more robust and context-aware LLE.
Methods
The core of the proposed method is the Semantically Contrastive Learning for LLE (SCL-LLE) framework. It's designed as a multi-task joint learning system incorporating three key components:
- Image Enhancement Network: A U-Net-like architecture that generates the enhanced image.
- Semantic Segmentation Network: A DeepLabv3+ model that provides semantic understanding of the scene.
- Feature Extraction Network: A VGG-16 model used to extract image features for contrastive learning.
SCL-LLE employs three distinct loss functions to guide the training:
- Contrastive Learning Loss ($L_c$): This loss encourages the model to learn a representation that pulls together "positive" pairs (an enhanced image and its corresponding normal-light image) and pushes apart "negative" pairs (an enhanced image and an over/underexposed image). This allows the model to learn from unpaired data and leverage the supervisory signal from images with incorrect exposures.
- Semantic Brightness Consistency Loss ($L_{sc}$): This novel loss ensures that pixels belonging to the same semantic category exhibit consistent brightness in the enhanced image. It leverages semantic segmentation masks to enforce this consistency, preventing local over- or underexposures within semantically coherent regions.
- Feature Preservation Loss ($L_{fp}$): This loss comprises two parts:
- Feature Retention Loss ($L_{fr}$): Similar to perceptual loss, it ensures that the enhanced image retains important features from the input image by comparing feature maps from the VGG-16 network.
- Color Constancy Loss ($L_{cc}$): This component, adapted from previous work, aims to prevent color distortions in the enhanced image by enforcing color naturalness.
Datasets
The paper utilizes the following datasets:
- Cityscapes: Used for training the semantic segmentation network and for providing semantic ground truth for the LLE task. The authors specifically selected low-dynamic-range (LDR) training set images and augmented them to create more challenging low-light conditions.
- SICE Dataset (Part 1): Used to provide unpaired positive (normal-light) and negative (over/underexposed) samples for training the contrastive learning module.
- SICE Dataset (Part 2): Used for full-reference image quality assessment (PSNR and SSIM).
- DICM, LIME, MEF, NPE, and VV datasets: Used for cross-dataset peer comparison and human subjective evaluation. These datasets are noted as being independent and cross-scenes, meaning they do not overlap with the input images used for training.
Key Insights and Ideas
- Leveraging "Bad" Data: The paper demonstrates that over- and underexposed images, often discarded, can serve as valuable "negative" samples in contrastive learning to improve LLE. This is a significant departure from methods relying solely on perfect paired data.
- Semantic Guidance for Enhancement: The core idea of using semantic information to guide LLE is powerful. The authors highlight that different scene elements (e.g., sky vs. road) might require different enhancement strategies, and semantic consistency can prevent unnatural artifacts.
- Bridging Low-Level and High-Level Tasks: SCL-LLE explicitly links low-level image enhancement with high-level semantic understanding. This synergy not only improves LLE but also shows promise for enhancing downstream tasks like semantic segmentation in challenging low-light conditions.
- Unpaired Training Flexibility: By removing the strict pixel-correspondence requirement, SCL-LLE offers a more flexible training paradigm, allowing for the use of readily available open-source datasets.
Key Results
- State-of-the-Art Performance: SCL-LLE outperforms six representative state-of-the-art LLE methods on six independent cross-scenes datasets, as evidenced by visual quality comparisons, no-reference image quality assessments (NIQE, UNIQUE), and full-reference metrics (PSNR, SSIM).
- Human Subjective Preference: A human subjective survey ranked SCL-LLE as the best imaging quality among the compared methods.
- Improved Downstream Task Performance: Experiments on the Cityscapes dataset show that LLE performed by SCL-LLE significantly improves semantic segmentation accuracy, especially in darker conditions (higher gamma values).
- Ablation Study Success: Ablation studies confirm the effectiveness of each proposed loss component ($L_c$, $L_{sc}$, $L_{fp}$), demonstrating that their removal leads to degraded performance. The impact of negative samples is also clearly illustrated, showing that their absence leads to biased white balance and darkened regions.
Limitations and Future Work
- Computational Cost: While the method is trained end-to-end, the integration of semantic segmentation and feature extraction networks adds to the computational complexity.
- Semantic Annotation Dependency: The semantic brightness consistency loss relies on semantic annotations. While the paper uses readily available datasets with annotations, applying this to datasets without them would require additional steps.
- Future Work: The authors suggest that their SCL-LLE framework has the potential to guide downstream semantic segmentation tasks to achieve better performance, implying further exploration in this direction. The paper also implicitly suggests that further research into more efficient integration of semantic information and contrastive learning for LLE could be beneficial.
Summary updated