SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.08939 · 2024

LightenDiffusion: Unsupervised Low-Light Image Enhancement with Latent-Retinex Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.08939.json · badge: /api/ran/2407.08939.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
jianghaiscu/lightendiffusion canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
Normalize Ran
ran; our contract draft was wrong, not the code
jianghaiscu/lightendiffusion/models/unet.py
pointer only (licence: NONE) · get_code("d1da811331d9c0bc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

data_transform Ran
ran, honoured the contract we drafted
jianghaiscu/lightendiffusion/utils/sampling.py
pointer only (licence: NONE) · get_code("1711055882a8cb05")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dict2namespace Ran
ran; our contract draft was wrong, not the code
jianghaiscu/lightendiffusion/evaluate.py
pointer only (licence: NONE); the stored copy get_code serves, from leaveslei/obd, is pointer only (licence: NONE) · get_code("bd1f17e427bf51a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_beta_schedule Ran
ran, honoured the contract we drafted
jianghaiscu/lightendiffusion/models/ddm.py
pointer only (licence: NONE); the stored copy get_code serves, from weizhigao/modiff, is pointer only (licence: NONE) · get_code("ca0cea1ca1eeec89")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_optimizer Ran
ran; our contract draft was wrong, not the code
jianghaiscu/lightendiffusion/utils/optimize.py
pointer only (licence: NONE) · get_code("af71c5df731cc0e2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jianghaiscu/lightendiffusion/models/unet.py
pointer only (licence: NONE) · get_code("111b7327d736b5ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

inverse_data_transform Ran
ran; our contract draft was wrong, not the code
jianghaiscu/lightendiffusion/utils/sampling.py
pointer only (licence: NONE) · get_code("444601dceca73c5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_checkpoint Ran
ran, honoured the contract we drafted
jianghaiscu/lightendiffusion/utils/logging.py
pointer only (licence: NONE) · get_code("60c85826a345d8ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

nonlinearity Ran
ran; our contract draft was wrong, not the code
jianghaiscu/lightendiffusion/models/unet.py
pointer only (licence: NONE) · get_code("607fa54d137fc5da")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jianghaiscu/lightendiffusion when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 5 the same month, 8 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
nonlinearity 156 other papers
88 dated earlier, 6 the same month, 58 later, 4 same year, order not determinable · 25 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 153 more not named here
get_timestep_embedding 91 other papers
65 dated earlier, 6 the same month, 16 later, 4 same year, order not determinable · 7 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 88 more not named here
Normalize 90 other papers
58 dated earlier, 5 the same month, 24 later, 3 same year, order not determinable · 32 only as an assembly brick
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
2106.00132 (2021-06)
On Fast Sampling of Diffusion Probabilistic Models
2106.06819 (2021-06)
D2C: Diffusion-Denoising Models for Few-shot Conditional Generation
and 87 more not named here
dict2namespace 28 other papers
18 dated earlier, 2 the same month, 7 later, 1 same year, order not determinable
1907.04809 (2019-07)
Variational Autoencoders and Nonlinear ICA: A Unifying Framework
1912.00589 (2019-12)
Flow Contrastive Estimation of Energy-Based Models
2002.11537 (2020-02)
ICE-BeeM: Identifiable Conditional Energy-Based Deep Models Based on Nonlinear ICA
and 25 more not named here
get_beta_schedule 25 other papers
17 dated earlier, 1 the same month, 7 later · 1 only as an assembly brick
2201.11760 (2022-01)
Unsupervised Denoising of Retinal OCT with Diffusion Probabilistic Model
2203.02923 (2022-03)
GeoDiff: a Geometric Diffusion Model for Molecular Conformation Generation
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
and 22 more not named here
data_transform 4 other papers
3 dated earlier, 1 later
2207.14626 (2022-07)
Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models
2306.00306 (2023-06)
Low-Light Image Enhancement with Wavelet-based Diffusion Models
2406.00684 (2024-06)
Deciphering Oracle Bone Language with Diffusion Models
and 1 more not named here
inverse_data_transform 4 other papers
3 dated earlier, 1 later
2207.14626 (2022-07)
Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models
2306.00306 (2023-06)
Low-Light Image Enhancement with Wavelet-based Diffusion Models
2406.00684 (2024-06)
Deciphering Oracle Bone Language with Diffusion Models
and 1 more not named here
load_checkpoint 3 other papers
2 dated earlier, 1 later
2207.14626 (2022-07)
Restoring Vision in Adverse Weather Conditions with Patch-Based Denoising Diffusion Models
2306.00306 (2023-06)
Low-Light Image Enhancement with Wavelet-based Diffusion Models
2607.17849 (2026-07)
AlphaOracle: Oracle bone script decipherment via human-workflow-inspired deep learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this paper, we propose a diffusion-based unsupervised framework that incorporates physically explainable Retinex theory with diffusion models for low-light image enhancement, named LightenDiffusion. Specifically, we present a content-transfer decomposition network that performs Retinex decomposition within the latent space instead of image space as in previous approaches, enabling the encoded features of unpaired low-light and normal-light images to be decomposed into content-rich reflectance maps and content-free illumination maps. Subsequently, the reflectance map of the low-light image and the illumination map of the normal-light image are taken as input to the diffusion model for unsupervised restoration with the guidance of the low-light feature, where a self-constrained consistency loss is further proposed to eliminate the interference of normal-light content on the restored results to improve overall visual quality. Extensive experiments on publicly available real-world benchmarks show that the proposed LightenDiffusion outperforms state-of-the-art unsupervised competitors and is comparable to supervised methods while being more generalizable to various scenes. Our code is available at https://github.com/JianghaiSCU/LightenDiffusion.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.08939")
get_code_for_paper("2407.08939")
have("2407.08939")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.08939.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.08939.svg)](https://syntology.ai/paper/2407.08939)

Connect an agent — have() is free.