                  FourierMamba: Fourier Learning Integration with State Space Models for Image Deraining

                                                                                                             High Freq




                                                                                +
        FFT




                         Progressive Zigzag                                           Bilateral Zigzag
 SSH




                                                                                    High Freq                Low Freq      High Freq



                                  C-FFT

                                              Symmetric Spectrum Halving(SSH)       High Freq                              Low Freq



Figure 2. Our proposed Fourier space scanning method in the spatial dimension (top) and channel dimension (bottom). For simplicity,
only one direction is shown for each scanning method, and in fact each method also performs a scan opposite to that shown.


a Fourier Transform-based loss to optimize global high-                  frequency-domain processing branches with the Mamba
frequency information for efficient image super-resolution.              branch. (Zhen et al., 2024) introduced a wavelet transform
DeepRFT (Mao et al., 2023) is proposed for image deblur-                 branch, yet the scanning in the wavelet domain fails to
ring, employing a global receptive field to capture both low             fully extract global frequency domain information. This
and high-frequency characteristics of various blurs, a con-              paper proposes a novel Mamba restoration network based
cept similarly applied in image inpainting (Suvorov et al.,              on Fourier transform, aiming to comprehensively exploit
2022). FECNet (Huang et al., 2022) demonstrates that the                 the frequency domain information of images. Please see the
amplitude of Fourier features decouples global luminance                 Appendix for more related works.
components, thereby proving effective for image enhance-
ment. (Yu et al., 2022) observes a similar phenomenon in                 3. Methodology
image dehazing, where the amplitude reflects global haze-
related information. In contrast, we introduce a progres-                3.1. Preliminary
sive scanning strategy in the Fourier domain, enhancing the
                                                                         Fourier transform. Fourier transform is a widely used
global modeling capability while addressing the directional
                                                                         technique for analyzing the frequency content of an im-
sensitivity issues of visual Mamba.
                                                                         age. For images with multiple color channels, the Fourier
State Space Models. State Space Models (SSMs) have                       transform is applied to each channel separately. Given an
received a lot of attention recently due to their global mod-            image X ∈ RH×W ×C , the Fourier transform F converts it
eling capabilities as well as linear complexity, with (Gu                to Fourier space as the complex component F(x), which is
et al., 2022) initially introducing the base design of SSM               expressed as:
models, and (Mehta et al., 2022) further enhancing their
                                                                                                         H−1 W −1
performance through gating units.More recently, the per-                                     1
                                                                                                           x (h, w) e−j2π( H u+ W v) ,
                                                                                                 X X                       h    w
                                                                         F (x) (u, v) = √
formance of Mamba (Gu & Dao, 2023), proposed based                                          HW h=0 w=0
on selective scan mechanism and efficient hardware de-                                                                            (1)
sign, has seen significant enhancement. It stands as an                  where u and v indicate the coordinates of the Fourier space.
efficient alternative to Transformers, finding applications in           F −1 (x) defines the inverse Fourier transform accordingly.
various domains including image classification (Zhu et al.,              Both the Fourier transform and its inverse procedure can be
2024)(Liu et al., 2024), object detection(Chen et al., 2024),            efficiently implemented using FFT/IFFT algorithms (Frigo
and remote sensing(Zhao et al., 2024).In the field of image              & Johnson, 1998). The amplitude component A (x) (u, v)
restoration, (Guo et al., 2024) (Shi et al., 2024) initially             and phase component P (x) (u, v) are expressed as:
introduced a general restoration framework based on the                                        p
Mamba module but did not fully exploit the frequency do-                        A (x) (u, v) = R2 (x) (u, v) + I 2 (x) (u, v),
main information of images. (Sun et al., 2024) introduces                                             
                                                                                                        I (x) (u, v)
                                                                                                                     
                                                                                                                                  (2)
a network combining Transformer and Mamba to capture                            P (x) (u, v) = arctan                  ,
                                                                                                        R (x) (u, v)
long-range dependencies related to rain. (Yamashita & Ike-
hara, 2024) achieves effective deraining by parallelizing                where R(x) (u, v) and I(x) (u, v) represent the real and

                                                                     3
