Papers › Retinexmamba: Retinex-based Mamba for Low-light Image Enhancement

Retinexmamba: Retinex-based Mamba for Low-light Image Enhancement

6 May 2024arXiv:2405.03349archive 2025-07-28

Jiesong Bai, Yuhao Yin, Qiyuan He, Yuanxian Li, Xiaofeng Zhang

In the field of low-light image enhancement, both traditional Retinex methods and advanced deep learning techniques such as Retinexformer have shown distinct advantages and limitations. Traditional Retinex methods, designed to mimic the human eye's perception of brightness and color, decompose images into illumination and reflection components but struggle with noise management and detail preservation under low light conditions. Retinexformer enhances illumination estimation through traditional self-attention mechanisms, but faces challenges with insufficient interpretability and suboptimal enhancement effects. To overcome these limitations, this paper introduces the RetinexMamba architecture. RetinexMamba not only captures the physical intuitiveness of traditional Retinex methods but also integrates the deep learning framework of Retinexformer, leveraging the computational efficiency of State Space Models (SSMs) to enhance processing speed. This architecture features innovative illumination estimators and damage restorer mechanisms that maintain image quality during enhancement. Moreover, RetinexMamba replaces the IG-MSA (Illumination-Guided Multi-Head Attention) in Retinexformer with a Fused-Attention mechanism, improving the model's interpretability. Experimental evaluations on the LOL dataset show that RetinexMamba outperforms existing deep learning approaches based on Retinex theory in both quantitative and qualitative metrics, confirming its effectiveness and superiority in enhancing low-light images.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2405.03349")

Code

Syntology Ran 19 of 21 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 5 ran · fixture could not drive it; 12 ran with no contract checked.

By repository: official repository: 21 samples from 1 repository, 19 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

YhuoyuH/RetinexMamba officialmentioned in papermentioned on GitHubpytorchMIT 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

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

1ran · honoured contract
1ran · our draft was wrong
5ran · fixture could not drive it
12ran
2unverified

Licence: 0 of the 21 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 YhuoyuH/RetinexMamba. “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.

calc_psnr YhuoyuH/RetinexMamba/Enhancement/RMSE.py official repository ran MIT (permissive) · f73eaea4d5f18212 · report
calc_rmse YhuoyuH/RetinexMamba/Enhancement/RMSE.py official repository ran fingerprinted MIT (permissive) · 9fd9f7965e5e9672 · report
calc_ssim YhuoyuH/RetinexMamba/Enhancement/RMSE.py official repository ran MIT (permissive) · eb63f9501a5d6798 · report
calculate_fid YhuoyuH/RetinexMamba/basicsr/metrics/fid.py official repository ran MIT (permissive) · 1d7ce6d6dd7ff5c1 · report
calculate_psnr YhuoyuH/RetinexMamba/Enhancement/utils.py official repository ran · our draft was wrong MIT (permissive) · d292dd965ab59629 · report
calculate_ssim YhuoyuH/RetinexMamba/Enhancement/utils.py official repository ran · fixture could not drive it MIT (permissive) · a05b184dc6c264a0 · report
compute_feature YhuoyuH/RetinexMamba/basicsr/metrics/niqe.py official repository ran MIT (permissive) · 5170ff1c4106b27a · report
conv YhuoyuH/RetinexMamba/basicsr/models/archs/RetinexMamba_arch.py official repository ran MIT (permissive) · 4cf5ae1af7c80889 · report
estimate_aggd_param YhuoyuH/RetinexMamba/basicsr/metrics/niqe.py official repository ran MIT (permissive) · a1282a48b0941f5d · report
extract_inception_features YhuoyuH/RetinexMamba/basicsr/metrics/fid.py official repository ran MIT (permissive) · c9fb213c957dc82d · report
flops_selective_scan_ref YhuoyuH/RetinexMamba/basicsr/models/archs/SS2D_arch.py official repository ran · honoured contract fingerprinted MIT (permissive) · 91788abc3267bdda · report
get_position_from_periods YhuoyuH/RetinexMamba/basicsr/models/lr_scheduler.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · cd569444547de84f · report
prepare_for_ssim YhuoyuH/RetinexMamba/basicsr/metrics/psnr_ssim.py official repository ran fingerprinted MIT (permissive) · 95c6eba9350a455a · report
prepare_for_ssim_rgb YhuoyuH/RetinexMamba/basicsr/metrics/psnr_ssim.py official repository ran fingerprinted MIT (permissive) · fb93712db7064ac4 · report
reorder_image YhuoyuH/RetinexMamba/basicsr/metrics/metric_util.py official repository ran · fixture could not drive it MIT (permissive) · 95067518dc16b3e5 · report
shift_back YhuoyuH/RetinexMamba/basicsr/models/archs/RetinexMamba_arch.py official repository ran fingerprinted MIT (permissive) · 7b904d88704f6a90 · report
to_3d YhuoyuH/RetinexMamba/basicsr/models/archs/IFA_arch.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 82a15cc1e46f7e4d · report
to_4d YhuoyuH/RetinexMamba/basicsr/models/archs/IFA_arch.py official repository ran · fixture could not drive it MIT (permissive) · b20f2a5df739a59e · report
trunc_normal_ YhuoyuH/RetinexMamba/basicsr/models/archs/RetinexMamba_arch.py official repository ran MIT (permissive) · afa459e9e9c02c4f · report
PSNR YhuoyuH/RetinexMamba/Enhancement/utils.py official repository unverified MIT (permissive) · 8eccacd101833667 · report
niqe YhuoyuH/RetinexMamba/basicsr/metrics/niqe.py official repository unverified MIT (permissive) · 0029cb1566e47350 · report

Tasks

Computational EfficiencyDeep LearningImage EnhancementLow-Light Image EnhancementMambaManagementState Space Models

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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