AGLLDiff: Guiding Diffusion Models Towards Unsupervised Training-free Real-world Low-light Image Enhancement

Yunlong Lin, Tian Ye, Sixiang Chen, Zhenqi Fu, Yingying Wang, Wenhao Chai, Zhaohu Xing, Wenxue Li, Lei Zhu, Xinghao Ding

Abstract

Low-light image enhancement (LIE) in real-world scenarios is often hampered by the lack of paired training data and the difficulty of modeling complex, non-linear degradations. We present AGLLDiff, a novel unsupervised and training-free framework that leverages pre-trained diffusion models for LIE. Instead of explicitly modeling degradation, AGLLDiff employs attribute-based guidance—focusing on exposure, structure, and color—to steer the reverse diffusion process toward high-quality image manifolds. Our method achieves state-of-the-art results on multiple benchmarks without requiring task-specific training, demonstrating superior generalization to real-world low-light conditions.

1. Introduction

Enhancing low-light images captured in the real world is a significant challenge for computer vision. Most existing deep learning methods rely on supervised learning with paired datasets. However, obtaining perfectly aligned low-light and normal-light pairs in natural settings is often impractical. Consequently, models trained on synthetic data frequently fail to generalize to the complex, mixed degradations found in the real world, such as sensor noise and non-uniform illumination.

While recent unsupervised diffusion-based methods attempt to estimate degradation processes, accurately modeling real-world noise remains mathematically daunting. AGLLDiff sidesteps this "degradation trap" by shifting the focus: rather than modeling the problem (degradation), it models the solution by guiding a pre-trained diffusion model toward the fundamental attributes of high-quality images.

2. The AGLLDiff Framework

AGLLDiff utilizes a pre-trained unconditional diffusion model (e.g., trained on ImageNet) as a generative prior. During the inference stage, the model undergoes a zero-shot guidance process.

Overall pipeline of the AGLLDiff framework, showing the forward and reverse diffusion processes guided by target attributes.

The core innovation lies in the Attribute Guidance module, which computes gradients from specific image properties to update the intermediate latent states $x_t$ during the reverse diffusion process. To ensure stability, the authors introduce a Dynamic Guidance Scheme that adjusts the guidance scale and the number of gradient steps based on the magnitude of changes in the intermediate images, preventing the generation of artifacts during the early, high-noise stages of diffusion.

3. Attribute-Guided Restoration

The framework identifies three essential attributes that define a well-enhanced image:

  1. Exposure Guidance: A spatially variant exposure map is used to ensure balanced lighting. It dynamically targets underexposed regions for brightening while preventing overexposure in already bright areas.
  2. Structure Guidance: To maintain structural integrity without hallucinating details, AGLLDiff operates in the Fourier domain. By minimizing the phase error between the input and the generated output, the model preserves the underlying geometric structure.
  3. Color Guidance: Utilizing Retinex decomposition, the model extracts a reflectance map from the low-light input. This map serves as a reference for inherent color information, guiding the diffusion model to produce vivid and accurate colors.
Visualization of the three key attributes used for guidance: (a) exposure maps, (b) structural phase information, and (c) Retinex-based reflectance.

4. Experimental Evaluation

AGLLDiff was evaluated across eight standard benchmarks, including paired datasets (LOLv1, LOLv2, SICE) and unpaired real-world datasets (DICM, LIME, MEF, NPE, and VV). As a training-free method, it requires no task-specific fine-tuning.

Key Results

  • State-of-the-Art Performance: AGLLDiff consistently outperformed existing unsupervised methods in both distortion-based (PSNR, SSIM) and perceptual metrics (LPIPS, NIQE). On the LOLv1 dataset, it achieved a PSNR of 21.81, significantly higher than other unsupervised diffusion models like GDP (15.83).
  • Real-World Generalization: Remarkably, AGLLDiff often surpassed supervised models on real-world datasets. This suggests that while supervised models overfit to specific synthetic degradations, AGLLDiff’s attribute-based approach generalizes more effectively to diverse lighting conditions.
  • Visual Fidelity: Qualitative analysis shows that the method recovers sharp details and natural colors even in extreme darkness, where competing methods often introduce color shifts or amplify noise.

5. Conclusion

AGLLDiff represents a paradigm shift in low-light image enhancement by replacing complex degradation modeling with attribute-based guidance. While the iterative nature of diffusion models presents challenges for real-time inference, the framework's robustness and zero-shot capabilities make it a powerful tool for high-quality image restoration. Future work will focus on accelerating the sampling process and extending this guidance-based approach to other restoration tasks like dehazing.

Summary updated

BibTeX
@inproceedings{lin2025aglldiff,
  author = {Yunlong Lin and Tian Ye and Sixiang Chen and Zhenqi Fu and Yingying Wang and Wenhao Chai and Zhaohu Xing and Wenxue Li and Lei Zhu and Xinghao Ding},
  title = {{AGLLDiff: Guiding Diffusion Models Towards Unsupervised Training-free Real-world Low-light Image Enhancement}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i5.32564},
}
Figure