Seed Optimization With Frozen Generator for Superior Zero-Shot Low-Light Image Enhancement

Yuxuan Gu, Yi Jin, Ben Wang, Zhixiang Wei, Xiaoxiao Ma, Haoxuan Wang, Pengyang Ling, Huaian Chen, Enhong Chen

Abstract

Low-light image enhancement (LIE) typically requires large paired datasets or suffers from slow convergence and artifacts in zero-shot settings. This paper introduces a novel zero-shot framework that leverages the rich priors of a frozen, pre-trained generator. Instead of updating model weights, the method optimizes input latent "seeds" to reconstruct the enhanced image based on Retinex theory. By freezing the generator, the approach preserves natural image characteristics and achieves state-of-the-art results significantly faster than existing zero-shot methods, often in under 10 seconds.

Introduction

Low-light image enhancement is a fundamental challenge in computer vision, complicated by noise, color distortion, and loss of structural detail. While supervised deep learning models have shown success, they depend on difficult-to-collect paired datasets. Unsupervised methods attempt to bridge this gap but often struggle with domain shifts. Zero-shot methods, such as those based on Deep Image Prior (DIP), learn from a single test image but frequently suffer from slow convergence and poor separation of illumination and reflectance.

This research proposes a paradigm shift: rather than training a network on a degraded image, we utilize the "latent memory" of a frozen, pre-trained generator. By optimizing the input seeds rather than the network parameters, the framework maintains the integrity of natural image priors while achieving rapid convergence.

Methodology

The proposed framework is grounded in Retinex Theory, which decomposes an image $I$ into reflectance $R$ and illumination $L$ ($I = R \odot L$).

The Frozen Generator and Seed Optimization

The core of the system is a VQ-VAE-2 decoder pre-trained on large-scale datasets like ImageNet or FFHQ. The weights are frozen to act as a robust prior for natural textures and colors, specifically for the reflectance component. Instead of backpropagating to update model weights, gradients are used to refine input latent seeds ($z_r$ for reflectance and $z_l$ for illumination). This search within the latent space ensures the output remains within the manifold of realistic images, preventing the "catastrophic forgetting" or overfitting common in fine-tuning.

Asymmetric Architecture

Recognizing that illumination maps are typically smooth and grayscale—unlike reflectance maps—the authors employ a frozen pre-trained generator for reflectance and a separate, learnable decoder for illumination. Additionally, the gamma correction factor ($\gamma$) is treated as a learnable parameter optimized alongside the seeds, allowing the model to find the ideal brightness level for each specific scene.

Overview of the proposed seed optimization framework using frozen decoders for reflectance and illumination mapping.

Experiments and Results

The method was evaluated against five major benchmarks: LOL, NPE, MEF, LIME, and DICM.

Quantitative Performance and Efficiency

On the LOL dataset, the proposed method achieved a PSNR of 18.10 dB, significantly outperforming other zero-shot competitors like DUNP (13.21 dB) and GDP (15.89 dB). A primary advantage is the speed of convergence. While the leading zero-shot method (GDP) requires over 1,100 seconds per image, this method achieves superior visual quality in approximately 7.3 seconds (900 iterations).

Comparison of PSNR vs. Iteration Time and visual convergence between GDP, DUNP, and the proposed method.

Qualitative Analysis

Visual results demonstrate enhanced contrast and vivid color reproduction without the artifacts or "washed-out" appearance often seen in other Retinex-based approaches. By freezing the weights and only optimizing the seed, the authors ensure the output stays within the manifold of "natural-looking images," effectively avoiding the noise overfitting common in DIP-based methods.

Conclusion

By shifting the optimization target from model weights to latent seeds and leveraging frozen pre-trained generators, this framework provides a highly efficient and effective solution for zero-shot low-light enhancement. It successfully balances the need for natural image priors with the constraints of single-image inference, setting a new benchmark for speed and quality in the field.

Summary updated

BibTeX
@article{gu2025seed,
  author = {Yuxuan Gu and Yi Jin and Ben Wang and Zhixiang Wei and Xiaoxiao Ma and Haoxuan Wang and Pengyang Ling and Huaian Chen and Enhong Chen},
  title = {{Seed Optimization With Frozen Generator for Superior Zero-Shot Low-Light Image Enhancement}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2025},
  url = {https://openreview.net/forum?id=I37d2k7dhb},
}

Loading related content...

Figure