MambaLLIE: Implicit Retinex-Aware Low Light Enhancement with Global-then-Local State Space

Recent advances in low light image enhancement have been dominated by Retinex-based learning framework, leveraging convolutional neural networks (CNNs) and Transformers. However, the vanilla Retinex theory primarily addresses global illumination degradation and neglects local issues such as noise and blur in dark conditions. Moreover, CNNs and Transformers struggle to capture global degradation due to their limited receptive fields. While state space models (SSMs) have shown promise in the long-sequence modeling, they face challenges in combining local invariants and global context in visual data. In this paper, we introduce MambaLLIE, an implicit Retinex-aware low light enhancer featuring a global-then-local state space design. We first propose a Local-Enhanced State Space Module (LESSM) that incorporates an augmented local bias within a 2D selective scan mechanism, enhancing the original SSMs by preserving local 2D dependency. Additionally, an Implicit Retinex-aware Selective Kernel module (IRSK) dynamically selects features using spatially-varying operations, adapting to varying inputs through an adaptive kernel selection process. Our Global-then-Local State Space Block (GLSSB) integrates LESSM and IRSK with LayerNorm as its core. This design enables MambaLLIE to achieve comprehensive global long-range modeling and flexible local feature aggregation. Extensive experiments demonstrate that MambaLLIE significantly outperforms state-of-the-art CNN and Transformer-based methods. Project Page: https://mamballie.github.io/anon/

Paper

References (65)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer 1rUY8/10 · confidence 5/52024-06-23

Summary

This paper proposes a Mamba-based framework, namely MambaLLIE, for low-light image enhancement. Specifically, the authors claim that they have two technical contributions: (i) A global-then-local state space block that integrates a local-enhanced state space module and an implicit Retinex-aware selective kernel module to capture intricate global and local dependencies. (ii) An implicit Retinex-aware selective kernel mechanism to guide deeper neural representations and segregate them into independent positive and negative illumination components before integrating them.

Strengths

(i) The idea is novel and interesting. Mamba is a scorching research topic in computer vision now and has shown promising performance in many high-level vision tasks like image recognition, object detection, image segmentation, etc. But until now, there have been fewer efforts dedicated to the low-light image enhancement task, a small low-level topic. Thus, it is very exciting to see this wonderful work. (ii) The presentation is well-dressed. I like the style of the figures in this paper. For example, the teaser figure can clearly show the advantages in larger receptive fields of the proposed MambaLLIE than previous Transformer-based methods and Mamba-based image restoration methods. For another example, the pipeline in Figure 2 can also clearly show the workflow and the details of each submodule of the whole framework. (iii) The performance is good and solid. The proposed MambaLLIE significantly outperforms the state-of-the-art methods on six benchmarks including LOL-v2-syn, LOL-v2-real, SMID, SDSD-indoor, and SDSD-outdoor, as reported in Table 1. The visual comparisons in Figure 3 also show the effectiveness of the proposed method. Looks good.

Weaknesses

(i) The motivation is not clear. To be specific, why use Mamba for low-light image enhancement? The authors claim that the Mamba can help capture long-range dependences. However, Transformer architecture can also model the long-range dependences. Why use Mamba instead of Transformer? Also, why design the space state module like this? The insight of the proposed Mamba should be analyzed in more detail. (ii) A technique should be explained, i.e., what is the scanning operation in the state space module? The authors mention the scan in Mamba but I could not find any mathematical formula or text description in the paper to explain the computation process of this scan. (iii) In table 1, although the performance of the proposed MambaLLIE is better than the state-of-the-art Transformer-based method Retinexformer, its computational complexity and memory cost are larger than those of Retinexformer. For example, the FLOPS and the Params are 33% and 38% higher. In addition, what about the comparison of performance on the MIT-Adobe-FiveK dataset (sRGB output mode)? (iv) In Figure 4, it seems that Retinexformer achieves more visually pleasant results. For example, in the third line of Figure 6, Retinexformer reconstructs the complete edge of the redwood in the left zoomed-in patch but the proposed MambaLLIE fails. Thus, it is better to compare MambaLLIE and the state-of-the-art method on unpaired datasets such as the LIME, NPE, MEF, DICM, and VV datasets. (v) The source code and pre-trained models have not been submitted. The reproducibility cannot be checked.

Questions

I am curious about the training time comparison between the proposed MambaLLIE and other methods.

Rating

8

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

Yes, the authors have analyzed the limitations in the main paper.

Reviewer 1bAi4/10 · confidence 5/52024-07-01

Summary

This paper presents MambaLLIE, an implicit Retinex-awre low light image enhancement framework with modified state space blocks. Specifically, a global-then-local state space block (GLSSB) is designed, which incorporates a local-enhanced state space module (LESSM) and an implicit Retinex-aware selective kernel (IRSK) module. By enhancing the original SSMs with local bias, the proposed MambaLLIE outperforms state-of-the-art CNN and Transformer-based methods.

Strengths

1. The main idea of this paper is well illustrated. 2. Experimental results and user studies demonstrate that the paper achieves better performance than the compared approaches.

Weaknesses

1. The novelty of this paper is limited. Like many Transformer-based works that embed local modeling capabilities in ViTs, the main contribution of this paper is incorporating local dependencies into SSMs. However, the advantages of the proposed GLSSB compared to ViTs and original SSMs have not been thoroughly analyzed. Furthermore, given the authors' design, the proposed GLSSB should have advantages in many other visual tasks, which need to be demonstrated through more experiments. 2. The writing of this paper needs improvement as there are many unclear descriptions. For example, how is the illumination prior in the paper obtained, how does the proposed IRSK module work specifically, and what are the specific settings for the different variants in the ablation study? 3. Some state-of-the-art works have not been compared (e.g., DiffLL[1]), and the experimental results in this paper do not seem to outperform them. 4. As the low-light enhancement task typically encounters issues like color distortion or other visual artifacts, the authors should compare more perceptual evaluation metrics. Merely reporting PSNR and SSIM is not sufficient. [1] Jiang et al, Low-Light Image Enhancement with Wavelet-based Diffusion Models. Siggraph asia 2023.

Questions

Please refer to the `Weaknesses'. Moreover, it appears that the color in the last column of Table 2 is incorrectly marked.

Rating

4

Confidence

5

Soundness

2

Presentation

3

Contribution

2

Limitations

The authors have discussed the limitations in the paper.

Authorsrebuttal2024-08-12

## Dear Reviewer 1bAi Thank you for taking the time to review our submission and providing us with constructive comments and a favorable recommendation. We would like to know if our responses adequately addressed your earlier concerns. Additionally, if you have any further concerns or suggestions, please feel free to let us know. We eagerly await your response and look forward to hearing from you. Thank you for your valuable time and consideration! Best regards, The authors

Reviewer DUEm6/10 · confidence 5/52024-07-11

Summary

The authors proposed a Mamba-inspired method for LLIE, which is designed to address some challenges of the existing method, MambaIR. By integrating GLSSB consisting of LESSM and IRSK, the authors could make the model capture a large local receptive field while preserving global understanding natures. The overall pipeline is explained in detail and motivated by sufficient reasoning. MambaLLIE achieved SOTA performance on several benchmarks, significantly outperforming prior works.

Strengths

The overall pipeline is explained in detail and motivated by sufficient reasoning. MambaLLIE achieved SOTA performance on several benchmarks, significantly outperforming prior works. Considering emerging attention on Mamba for low-level vision tasks, the proposed work is timely and can thus attract attention to the community.

Weaknesses

The proposed method is somewhat incremental in that it makes small (although relevant) changes to MambaIR. Since this is not the first work that introduces Mamba for LLIE, a more in-depth analysis and exploration is expected; however, the proposed is a slightly better engineered network structure. The authors are recommended to discuss MambaIR in more detail and clarify technical contributions over MambaIR.

Questions

Although the ERF visualization in Figure 1 is impressive, the authors are expected to provide some numeric results for quantitative performance comparisons. It is not clear why it is called "retinex-aware selection" in Figure 2(d). There are several methods dedicated for face detection in low light. It will be interesting to compare face detection performance compared to such methods,

Rating

6

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

The authors adequately addressed the limitations; but some complexity analysis will be helpful for readers to understand the method.

Reviewer ahrr4/10 · confidence 5/52024-07-11

Summary

This paper introduces a low-light image enhancement module (MambaLLIE). This module has a U-shaped structure and each GLSSB block follows the Transformer-based design. LESSM is proposed to capture the spatial long-term dependency. IRSK is proposed to introduce large and selective kernels for enhancing feature-capturing ability. IRSK also introduces illumination guidance by utilising attention mechanisms.

Strengths

1. The usage of the state space model and large selective kernel greatly increases the effective receptive fields. By capturing longer dependency on features, the network can generate better outputs. 2. MambaLLIE achieves state-of-the-art results on low-light image enhancement tasks across various datasets and evaluation methods.

Weaknesses

1. Could this paper state the difference between LESSM and the Vision State Space Module in [14]? It seems these two blocks have similar designs. 2. The core block GLSSB appears to be a combination of [14] and [23]. However, since [14] is proposed for image restoration tasks, this may limit the novelty of this paper. 3. The descriptions of baseline-1 and baseline-2 are not clear. 4. In Section 4.4 Ablation Study, which dataset is used for the ablation study? How about other datasets? If the dataset used in the ablation study is SDSD-indoor, then the baseline-1 result (PSNR 28.87, SSIM 0.865) is quite similar to [14] (PSNR 28.97, SSIM 0.884), which may indicate that the better performance of this paper relies on Retinex-aware guidance rather than a larger receptive field. However, Retinex-aware guidance has already been explored in [3] and "Low-Light Image Enhancement with Multi-stage Residue Quantization and Brightness-aware Attention."

Questions

1. Could this paper provide an analysis or explanation of why MambaLLIE has a larger receptive field in terms of global and local?

Rating

4

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

This paper discusses limitation in Sec 5 and give potential solutions.

Authorsrebuttal2024-08-13

Thank you for your valuable time and consideration. We would like to clarify the novelty of our method through the following key points: 1. **First to Effectively Combine Mamba and Retinex**: Our method is the first to successfully integrate Mamba and Retinex theory and propose MambaLLIE for low-light enhancement task, achieving state-of-the-art results. 2. **Fundamental Improvement of the State-Space Model in MambaIR**: We introduce a novel state-space model, LESSM (Equation 9), specifically designed for low-light enhancement. This represents a fundamental improvement over the State-Space Model of MambaIR, which merely adds a convolution after the vanilla VSSM to restore neighborhood similarity. In contrast, our LESSM is both simple and effective, as demonstrated by its innovative integration of 2D dependencies into the directional scan (Equation 10), ensuring a closer arrangement of relevant local tokens. Experimental results show that our model improves PSNR by an average of **4.43%** across all datasets compared to MambaIR, while reducing FLOPs by **65.63%** and the parameter count by **46.98%**. 3. **Retinex-Aware Selective Mechanism (IRSK)**: Our IRSK mechanism expands the local receptive field through a Retinex-aware selective approach by coupling two illumination maps (Equation 12). This allows for *flexible selection* of the region of interest with different kernels, as illustrated in Figure 2(d). In contrast, [3] introduces a relatively fixed illumination feature into the attention mechanism, while *our selective maps could capture the effective interested regions with the normal and reversed feature and illumination maps*. We have discussed the advantages of our selective kernel behavior in **Lines 274-284*. 4. **Mamba for LLIE**: The low-light enhancement task is challenged by global color degradation and local noise disturbance. This led us to develop a LLIE model that fuses a global model and a local model. Since Mamba is a global-aware estimator with linear or near-linear scaling complexity, we chose it as our global baseline. Additionally, the CNN-based model preserves local 2D dependencies, refining local degradation to enhance LESSM and IRSK. Benchmark and real-world experimental evaluations indicate that our method **outperforms** previous approaches in both qualitative and quantitative comparisons. We thank you again for your feedback and hope that our explanation can make you better understand our contribution and efforts. Best regards, The authors

Reviewer 1rUY2024-08-07

Response to the author rebuttal

Thanks for your response. Most of my concerns have been addressed except one. You claim that `Mamba over Transformers due to its efficient long-range dependency modeling with linear complexity. Transformers can model long-range dependencies, but they typically involve higher computational complexity and memory costs.` However, this is not true. Many Transformers also enjoy linear computational complexity, e.g., Retinexformer. It takes much shorter time to train than the Mamba-based methods. Anyway, this is a good attempt to explore the potential of Mamba in LLE. Thus, I decided to raise my score to `strong accept` to support you. Thanks for your effort.

Authorsrebuttal2024-08-08

We sincerely appreciate your recognition of our work and effort. YES, You are right, as discussed in [3], *"O(IG-MSA) of Retinexformer is linear to the spatial size, mainly comes from the k computations of the two matrix multiplication of attention."* Compared to the complexity of the global MSA used by previous Transformer methods, Retinexformer significantly reduces the computational complexity of attention while enhancing performance in LLIE tasks. Besides, our MambaLLIE inherits the linear complexity of SSM for visual representation learning, and a series of improvements in state space and Retinex-aware module are adopted to improve the performance, which have not significant and even negligible impact on overall complexity. Finally, we once again extend our gratitude to the reviewer for the constructive feedback during the review and rebuttal stages, giving a final score of **strong accept** for our manuscript. The insightful comments on complexity remind us to maintain rigorous discussions and analyses in our future work.

Authorsrebuttal2024-08-12

## Dear Reviewer ahrr Thank you for taking the time to review our submission and providing us with constructive comments and a favorable recommendation. We would like to know if our responses adequately addressed your earlier concerns. Additionally, if you have any further concerns or suggestions, please feel free to let us know. We eagerly await your response and look forward to hearing from you. Thank you for your valuable time and consideration! Best regards, The authors

Reviewer ahrr2024-08-12

Thank you for your detailed response. My primary concern is that, despite using Mamba to model global information, the improvement over [14] and [3] is limited. Moreover, the proposed method appears to make only minor changes to MambaIR. Furthermore, as shown in Table 4, the enhancement over [14] largely depends on using illumination guidance L_p in Eq. 10 and 12, which is not a novel approach in low-light image enhancement tasks. This raises the question of whether the Mamba architecture has genuinely contributed to low-light image enhancement. Therefore, I maintain my rating.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC