Papers › Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement

Retinexformer: One-stage Retinex-based Transformer for Low-light Image Enhancement

12 Mar 2023ICCV 2023 1arXiv:2303.06705archive 2025-07-28

Yuanhao Cai, Hao Bian, Jing Lin, Haoqian Wang, Radu Timofte, Yulun Zhang

When enhancing low-light images, many deep learning algorithms are based on the Retinex theory. However, the Retinex model does not consider the corruptions hidden in the dark or introduced by the light-up process. Besides, these methods usually require a tedious multi-stage training pipeline and rely on convolutional neural networks, showing limitations in capturing long-range dependencies. In this paper, we formulate a simple yet principled One-stage Retinex-based Framework (ORF). ORF first estimates the illumination information to light up the low-light image and then restores the corruption to produce the enhanced image. We design an Illumination-Guided Transformer (IGT) that utilizes illumination representations to direct the modeling of non-local interactions of regions with different lighting conditions. By plugging IGT into ORF, we obtain our algorithm, Retinexformer. Comprehensive quantitative and qualitative experiments demonstrate that our Retinexformer significantly outperforms state-of-the-art methods on thirteen benchmarks. The user study and application on low-light object detection also reveal the latent practical values of our method. Code, models, and results are available at https://github.com/caiyuanhao1998/Retinexformer

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.06705")

Code

Syntology Ran 2 of 10 code samples harvested from 2 repositories linked to this paper; 8 have no recorded run. Of those that ran: 2 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 2 ran; community (archive-listed): 3 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

caiyuanhao1998/retinexformer officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 2 ran; 0 honoured the contract we drafted; 8 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran
8unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

FeedForward caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository ran · metamorphic tier: invariant MIT (permissive) · 5c89cceea638e59e · report
IGAB caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository ran · metamorphic tier: invariant MIT (permissive) · 27a881fc4dee86cb · report
Denoiser caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository unverified MIT (permissive) · 88a0cffc0364f3e5 · report
IG_MSA caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository unverified MIT (permissive) · 2dec8ea2cb73b61b · report
Illumination_Estimator caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository unverified MIT (permissive) · b88b4cf1d03671a3 · report
RetinexFormer caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository unverified MIT (permissive) · aaab867dd2d8ab55 · report
RetinexFormer_Single_Stage caiyuanhao1998/retinexformer/basicsr/models/archs/RetinexFormer_arch.py official repository unverified MIT (permissive) · 3aa47abaeb92d33e · report
is_digits DmitryRyumin/ICCV-2023-Papers/code/markdown_to_json_parser.py community (archive-listed) unverified MIT (permissive) · 77db27612c662071 · report
print_colored_count DmitryRyumin/ICCV-2023-Papers/code/markdown_to_json_parser.py community (archive-listed) unverified MIT (permissive) · 0a5cea782a36a0c4 · report
print_colored_status DmitryRyumin/ICCV-2023-Papers/code/markdown_to_json_parser.py community (archive-listed) unverified MIT (permissive) · 87eceb97e343f3a9 · report

Tasks

Image EnhancementLow-Light Image EnhancementLow-light Image Deblurring and EnhancementObject DetectionPhoto Retouchingobject-detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Enhancement MIT-Adobe 5k Retinexformer PSNR on proRGB 25.98 #1 of 11 Archive leaderboard report
Image Enhancement MIT-Adobe 5k Retinexformer PSNR on sRGB 24.94 #1 of 11 Archive leaderboard report
Image Enhancement MIT-Adobe 5k Retinexformer SSIM on proRGB 0.957 #1 of 11 Archive leaderboard report
Image Enhancement MIT-Adobe 5k Retinexformer SSIM on sRGB 0.907 #1 of 11 Archive leaderboard report
Low-Light Image Enhancement DICM Retinexformer User Study Score 3.71 #5 of 6 Archive leaderboard report
Low-Light Image Enhancement LIME Rextinexformer User Study Score 4.3 #6 of 6 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer_ Average PSNR 27.18 #9 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer_ FLOPS (G) 15.57 #9 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer_ Params (M) 1.61 #9 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer_ SSIM 0.850 #9 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer Average PSNR 25.16 #18 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer FLOPS (G) 15.57 #18 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer Params (M) 1.61 #18 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL Retinexformer SSIM 0.845 #18 of 40 Archive leaderboard report
Low-Light Image Enhancement LOL-v2 Retinexformer Average PSNR 22.80 #3 of 3 Archive leaderboard report
Low-Light Image Enhancement LOL-v2 Retinexformer SSIM 0.840 #3 of 3 Archive leaderboard report
Low-Light Image Enhancement LOL-v2-synthetic Retinexformer PSNR 25.67 #2 of 2 Archive leaderboard report
Low-Light Image Enhancement LOL-v2-synthetic Retinexformer SSIM 0.939 #2 of 2 Archive leaderboard report
Low-Light Image Enhancement LOLv2 Retinexformer Average PSNR 27.71 #10 of 12 Archive leaderboard report
Low-Light Image Enhancement LOLv2 Retinexformer SSIM 0.856 #10 of 12 Archive leaderboard report
Low-Light Image Enhancement LOLv2-synthetic Retinexformer Average PSNR 29.04 #6 of 9 Archive leaderboard report
Low-Light Image Enhancement LOLv2-synthetic Retinexformer SSIM 0.939 #6 of 9 Archive leaderboard report
Low-Light Image Enhancement MEF Retinexformer User Study Score 3.91 #6 of 7 Archive leaderboard report
Low-Light Image Enhancement MIT-Adobe FiveK Retinexformer PSNR 24.94 #1 of 1 Archive leaderboard report
Low-Light Image Enhancement MIT-Adobe FiveK Retinexformer SSIM 0.907 #1 of 1 Archive leaderboard report
Low-Light Image Enhancement NPE Retinexformer User Study Score 4.17 #6 of 6 Archive leaderboard report
Low-Light Image Enhancement SDSD-indoor Retinexformer PSNR 29.77 #1 of 1 Archive leaderboard report
Low-Light Image Enhancement SDSD-outdoor Retinexformer PSNR 29.84 #1 of 1 Archive leaderboard report
Low-Light Image Enhancement SID Retinexformer PSNR 24.44 #1 of 2 Archive leaderboard report
Low-Light Image Enhancement SID Retinexformer SSIM 0.680 #1 of 2 Archive leaderboard report
Low-Light Image Enhancement SMID Retinexformer PSNR 29.15 #1 of 1 Archive leaderboard report
Low-Light Image Enhancement VV Rextinexformer User Study Score 3.61 #6 of 7 Archive leaderboard report
Low-light Image Deblurring and Enhancement LOL-Blur RetinexFormer Average PSNR 22.904 #3 of 3 Archive leaderboard report
Low-light Image Deblurring and Enhancement LOL-Blur RetinexFormer LPIPS 0.236 #3 of 3 Archive leaderboard report
Low-light Image Deblurring and Enhancement LOL-Blur RetinexFormer SSIM 0.824 #3 of 3 Archive leaderboard report
Photo Retouching MIT-Adobe 5k Retinexformer PSNR 24.94 #3 of 5 Archive leaderboard report
Photo Retouching MIT-Adobe 5k Retinexformer SSIM 0.907 #3 of 5 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections