Enhancing Zero-DCE via Large Language Model-Driven Loss Function Design for Low-Light Image Correction
Abstract
This work investigates the use of Large Language Models (LLMs) to automate the design and optimization of loss functions for low-light image enhancement. We focus on improving the Zero-DCE algorithm, where conventional manually crafted losses often struggle to balance brightness enhancement, detail preservation, and noise suppression simultaneously. Leveraging the semantic reasoning and generative capabilities of LLMs, we introduce an iterative training–feedback–regeneration loop that constructs and refines multi-objective loss functions based on structured performance feedback. The proposed approach enables adaptive loss design without manual tuning, progressively improving model performance across diverse low-light scenarios. Extensive experiments demonstrate that LLM-guided optimization offers a promising paradigm for integrating foundation models into machine learning training, providing both research and practical value.
References
- Kim W. Low-light image enhancement: A comparative review and prospects [J]. IEEE Access, 2022, 10: 84535-84557.
- Guo C, Li C, Guo J, et al. Zero-reference deep curve estimation for low-light image enhancement [C]. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2020: 1780-1789.
- Guo P F, Chen Y H, Tsai Y D, et al. Towards optimizing with large language models [J]. arXiv preprint arXiv: 2310.05204, 2023.
- Wang Z, Ma C, Zhou L, et al. $\mathrm {E^{2} CFD} $: Towards Effective and Efficient Cost Function Design for Safe Reinforcement Learning via Large Language Model [J]. arXiv preprint arXiv: 2407.05580, 2024.
- Yang W, Wang W, Huang H, et al. Sparse gradient regularized deep retinex network for robust low-light image enhancement [J]. IEEE Transactions on Image Processing, 2021, 30: 2072-2086.
- Ma L, Ma T, Liu R, et al. Toward fast, flexible, and robust low-light image enhancement [C]. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022: 5637-5646.
- Xu J, Li J, Liu Z, et al. Large language models synergize with automated machine learning [J]. arXiv preprint arXiv: 2405.03727, 2024.
- Garcia-Carmona A M, Prieto M L, Puertas E, et al. Leveraging Large Language Models for Accurate Retrieval of Patient Information From Medical Reports: Systematic Evaluation Study [J]. JMIR AI, 2025, 4(1): e68776.
- Kumar A, Owen L, Chowdhury N R, et al. Zclip: Adaptive spike mitigation for llm pre-training [J]. arXiv preprint arXiv: 2504.02507, 2025.
- Ma B, Zong Z, Song G, et al. Exploring the role of large language models in prompt encoding for diffusion models [J]. arXiv preprint arXiv: 2406.11831, 2024.
- Lian L, Li B, Yala A, et al. Llm-grounded diffusion: Enhancing prompt understanding of text-to-image diffusion models with large language models [J]. arXiv preprint arXiv: 2305.13655, 2023.
- Lee K, Liu H, Ryu M, et al. Aligning text-to-image models using human feedback [J]. arXiv preprint arXiv: 2302.12192, 2023.
- Subramanian S, Narasimhan M, Khangaonkar K, et al. Modular visual question answering via code generation [J]. arXiv preprint arXiv: 2306.05392, 2023.
- Wei, C., Wang, W., Yang, W., & Liu, J. (2018). Deep retinex decomposition for low-light enhancement. arXiv preprint arXiv: 1808.04560.
- Liu, J., Xu, D., Yang, W., Fan, M., & Huang, H. (2021). Benchmarking low-light image enhancement and beyond. International Journal of Computer Vision, 129, 1153-1184.