All models

LightenDiffusion

Diffusion model that brightens low-light images using Retinex decomposition in latent space, trained on unpaired data.

Diffusion and generative · 11,040 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 11,040 operations (2.0 MB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
27.8M
Operations
11,040
Framework
PyTorch
Recurrent
Yes
Published
ECCV 2024
Cited by
156 (as of 28 October 2026)
Authors
Hai Jiang, Ao Luo, Xiaohong Liu and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m17941
Graph hash
82cfc9e8824f5e376c1d5fc126645c3d398ed91ae99a58dd211cbe6fdd5aa539
Skeleton hash
98b573eef106cf8119e4d21a113a5411de5a23c15d4c57557fd3a9d31e65747f
Architecture hash
daa52386de612f5461f27b79d15626414b7c2d81f9f07da31661519da22d3f53
Diagram SHA-256
8f5dbf4466fa7e6dea80ffdb127fcf12021272a78b1564f05e777b8647d8c108
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

LightenDiffusion brightens low-light images with a diffusion model that is trained without supervision, on images that are not paired. It builds on Retinex theory, which assumes an image can be decomposed into a reflectance map and an illumination map.

A content-transfer decomposition network does this split in latent space instead of image space, so the encoded features of an unpaired low-light image and normal-light image each become a content-rich reflectance map and a content-free illumination map. The paper's reason is that decomposing in image space leaves part of the content in the illumination map. The low-light reflectance map and the normal-light illumination map are then the input to the diffusion model, which restores the feature with the low-light feature as guidance.

The noise estimator is a U-Net, with 1000 time steps for forward diffusion and 20 sampling steps for reverse denoising. A self-constrained consistency loss pushes the diffusion model to reconstruct images with the same content as the low-light input. In the second training stage, the diffusion model is trained on about 180k unpaired low/normal-light image pairs while the other modules stay frozen.

Key idea. LightenDiffusion performs Retinex decomposition in latent space and feeds low-light reflectance with normal-light illumination to a diffusion model, so low-light enhancement can be trained on unpaired images.

  • LightenDiffusion
  • low-light image enhancement
  • LLIE
  • Retinex
  • latent-Retinex diffusion
  • unsupervised image enhancement
  • diffusion model
  • image restoration
  • LRDM

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{jiang2024lightendiffusionunsupervisedlowlightimage,
      title={LightenDiffusion: Unsupervised Low-Light Image Enhancement with Latent-Retinex Diffusion Models}, 
      author={Hai Jiang and Ao Luo and Xiaohong Liu and Songchen Han and Shuaicheng Liu},
      year={2024},
      eprint={2407.08939},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2407.08939}, 
}