ECMamba: Consolidating Selective State Space Model with Retinex Guidance for Efficient Multiple Exposure Correction

Wei Dong, Han Zhou, Yulun Zhang, Xiaohong Liu, Jun Chen
2/3/2026

No official code found. Best implementation: LowLevelAI/ECMamba (40 stars, Apache-2.0, last commit 2025-06-03).

Abstract

Exposure Correction (EC) aims to recover proper exposure conditions for images captured under over-exposure or under-exposure scenarios. While existing deep learning models have shown promising results, few have fully embedded Retinex theory into their architecture, highlighting a gap in current methodologies. Additionally, the balance between high performance and efficiency remains an under-explored problem for exposure correction task. Inspired by Mamba which demonstrates powerful and highly efficient sequence modeling, we introduce a novel framework based on Mamba for Exposure Correction (ECMamba) with dual pathways, each dedicated to the restoration of reflectance and illumination map, respectively. Specifically, we firstly derive the Retinex theory and we train a Retinex estimator capable of mapping inputs into two intermediary spaces, each approximating the target reflectance and illumination map, respectively. This setup facilitates the refined restoration process of the subsequent Exposure Correction Mamba Module (ECMM). Moreover, we develop a novel 2D Selective State-space layer guided by Retinex information (Retinex-SS2D) as the core operator of ECMM. This architecture incorporates an innovative 2D scanning strategy based on deformable feature aggregation, thereby enhancing both efficiency and effectiveness. Extensive experiment results and comprehensive ablation studies demonstrate the outstanding performance and the importance of each component of our proposed ECMamba. Code is available at https://github.com/LowlevelAI/ECMamba.

View on arXivView PDF

Code Implementations(1)

LowLevelAI/ECMambaCommunity100%
Apache-2.0

Official implementation of ECMamba, which is accpeted by NeurIPS 2024.

402PythonSep 25, 20241 years agoApache-2.0
deep-learning-algorithmsexposure-correctionimage-restorationmambaretinex

Similar Papers

Cite this paper

@article{dong2026ecmamba,
  title  = {ECMamba: Consolidating Selective State Space Model with Retinex Guidance for Efficient Multiple Exposure Correction},
  author = {Wei Dong and Han Zhou and Yulun Zhang and Xiaohong Liu and Jun Chen},
  year   = {2026},
  eprint = {2410.21535},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.21535},
  url    = {https://arxiv.org/abs/2410.21535},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.21535.svg)](https://codeofpaper.com/paper/2410.21535)

Discussion