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

           Input          DualGCN          SPDNet          Restormer        DRSformer            Ours               GT




                      Figure 16. Qualitative results of training and testing on SPA-Data. (Wang et al., 2019).


                 Table 14. Quantitative comparison of training and testing on the real-world dataset RainDS-Real.
                 Method     PReNet      MSPFN        RCDNet       MPRNet       SwinIR      Restormer        Ours
                 PSNR        26.43       26.45         26.71       27.51        27.53        27.57          27.69
                 SSIM       0.7294      0.7270        0.7180      0.7355       0.7425       0.7438         0.7482

A.16. More about the Optimization
In the main body, we describe that apply the L1 loss based on the Fourier transform. Here, we introduce the loss function in
the frequency domain in further detail. we first use the Fourier transform to convert Yout and Ygt into the Fourier space.
Then, the L1 -norm of the amplitude difference and phase difference between Yout and Ygt are calculated and summed to
produce the total frequency loss as following:
                       ∥F(Yout ) − F(Ygt )∥1 = ∥A(Yout ) − A(Ygt )∥1 + ∥P(Yout ) − P(Ygt )∥1 .                           (15)

A.17. Ablation study on different frequency domain loss functions
We use three additional frequency domain loss functions: Phase Consistency Loss (PCL), Frequency Distribution Loss
(PDL), and Focal Frequency Loss (FFL) (Jiang et al., 2021) for comparison with the L1 frequency domain loss we use. PCL
is defined as the mean squared error of the phase difference between two images in the frequency domain, expressed as:
                                              1 X                                     2
                                   LPCL =             |P(Yout )(u, v) − P(Ygt )(u, v)| .                            (16)
                                            HW u,v

FDL represents the difference in frequency domain amplitude distributions between two images, expressed as:
                                            1 X                                    2
                                   LFDL =          |A(Yout )(u, v) − A(Ygt )(u, v)| .                                    (17)
                                           HW u,v

FFL focuses on frequency components that are difficult to synthesize by down-weighting the easier ones, expressed as:
                                         w(u, v) = |F(Yout )(u, v) − F(Ygt )(u, v)|α ,
                                             H−1 W −1
                                       1 X X                                                                             (18)
                             LFFL =              w(u, v)|F(Yout )(u, v) − F(Ygt )(u, v)|2 ,
                                      HW u=0 v=0

where F(·)(u, v) represents the Fourier Transform, w(u, v) is the weight for the spatial frequency at(u, v), and α is the
scaling factor for flexibility (α = 1 in practice).

                                                                22
