GT-Mean Loss: A Simple Yet Effective Solution for Brightness Mismatch in Low-Light Image Enhancement

Jingxi Liao, Shijie Hao, Richang Hong, Meng Wang · OpenReview

Abstract

Low-light image enhancement (LLIE) aims to improve the visual quality of images captured under poor lighting conditions. In supervised LLIE research, there exists a significant yet often overlooked inconsistency between the overall brightness of an enhanced image and its ground truth counterpart, referred to as brightness mismatch in this study. Brightness mismatch negatively impacts supervised LLIE models by misleading model training. However, this issue is largely neglected in current research. In this context, we propose the GT-mean loss, a simple yet effective loss function directly modeling the mean values of images from a probabilistic perspective. The GT-mean loss is flexible, as it extends existing supervised LLIE loss functions into the GT-mean form with minimal additional computational costs. Extensive experiments demonstrate that the incorporation of the GT-mean loss results in consistent performance improvements across various methods and datasets.

1. Introduction

Supervised low-light image enhancement (LLIE) models are typically trained to map a degraded dark image to a high-quality ground truth (GT). While significant progress has been made, many models suffer from a "futile optimization cycle" where they over-prioritize global brightness alignment at the expense of perceptual details. This paper identifies this phenomenon as brightness mismatch and introduces the GT-Mean Loss to mitigate its effects.

2. The Brightness Mismatch Phenomenon

Standard pixel-level loss functions, such as L1 or L2, are highly sensitive to global luminance shifts. In supervised training, even a minor difference in overall brightness between the prediction and the GT results in a large mathematical error. Consequently, the model focuses its learning capacity on matching the GT's exact brightness rather than addressing critical degradation factors like noise, blur, and color distortion.

Visual comparison of standard training (a) vs. GT-mean loss (b) against ground truth (GT). Note that (b) achieves better perceptual metrics despite a higher L1 loss.

As shown in the figure above, a model optimized solely for standard L1 loss (a) may achieve a lower loss value but exhibit significantly worse perceptual quality (higher LPIPS, lower IQA) compared to the proposed approach (b). Human perception is relatively forgiving of slight brightness variations but highly sensitive to the graininess and artifacts that standard losses often fail to suppress.

3. Proposed Method: GT-Mean Loss

The proposed GT-Mean Loss ($L_{GT}$) is a plug-and-play solution that can be wrapped around existing supervised loss functions. It is defined as a weighted combination of two terms:

  1. Original Loss Term: The standard loss (e.g., L1) between the enhanced image and the GT.
  2. Brightness-Aligned Loss Term: The loss calculated after the enhanced image is linearly scaled so its mean brightness matches the GT.

The transition between these terms is managed by a dynamic weight $W$, calculated using the Bhattacharyya distance. By modeling image brightness as Gaussian distributions, the weight $W$ is high early in training when brightness differences are large, forcing the model to learn basic lighting adjustment. As the model converges, $W$ decreases, allowing the brightness-aligned term to take over and focus the optimization on fine-grained detail refinement.

4. Experiments and Results

The researchers evaluated the GT-Mean Loss across several state-of-the-art (SOTA) baselines, including Restormer, MIRNet, and RetinexFormer, using benchmarks such as LOLv1 and LOLv2.

Quantitative PSNR comparison across multiple state-of-the-art architectures on the LOLv2 real dataset.

4.1 Quantitative and Qualitative Performance

Experimental results show consistent improvements across all tested models and metrics (PSNR, SSIM, and LPIPS). For example, adding GT-Mean Loss to the CID-Net baseline improved PSNR by over 1.3 dB on the LOLv1 dataset. Qualitatively, the method produces images with sharper textures, better color fidelity, and a marked reduction in "halo" artifacts and over-exposure.

4.2 Computational Efficiency

A key advantage of the GT-Mean Loss is its efficiency. It increases training time by approximately 1% and introduces zero additional computational cost during the final model's inference phase, making it a highly practical addition to existing LLIE pipelines.

5. Conclusion

The GT-Mean Loss offers a simple yet powerful remedy for the brightness mismatch problem in supervised LLIE. By dynamically shifting the optimization focus from global luminance to local detail, it enables models to achieve superior visual quality with minimal implementation effort. Future work may explore more sophisticated strategies for weight estimation to further enhance performance gains.

Summary updated

BibTeX
@misc{liao2025gt,
  author = {Jingxi Liao and Shijie Hao and Richang Hong and Meng Wang},
  title = {{GT-Mean Loss: A Simple Yet Effective Solution for Brightness Mismatch in Low-Light Image Enhancement}},
  year = {2025},
  eprint = {2507.20148},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.20148},
}
Figure