Rain streaks manifest as directional and frequency-concentrated structures that overlap across multiple scales, making single-image rain removal particularly challenging. While diffusion-based restoration models provide a powerful framework for progressive denoising, standard spatial-domain diffusion does not explicitly account for such structured spectral characteristics. We introduce SpectralDiff, a spectral-structured diffusion-based framework tailored for single-image rain removal. Rather than redefining the diffusion formulation, our method incorporates structured spectral perturbations to guide the progressive suppression of multi-directional rain components. To support this design, we further propose a full-product U-Net architecture that leverages the convolution theorem to replace convolution operations with element-wise product layers, improving computational efficiency while preserving modeling capacity. Extensive experiments on synthetic and real-world benchmarks demonstrate that SpectralDiff achieves competitive rain removal performance with improved model compactness and favorable inference efficiency compared to existing diffusion-based approaches.
Figures & tables
Figure 1: Illustration of the rain layer adding process. 1(a) is the original image B , 1(b) - 1(d) are example rain-streak layers Rd(d∈[1,3]) , and 1(e) is the final rainy image O .
Figure 2: Illustration of forward / reverse diffusion process.
Figure 3: Illustration of rain layers in the frequency domain.
Figure 4: Structure of our Product U-Net and Product Res-Block.
Rain1400
RainCityscapes
SPA-Data
PSNR
SSIM
Time
PSNR
SSIM
Time
PSNR
SSIM
Time
DSC [ 28 ]
27.60
0.825
0.320
19.90
0.795
0.341
24.26
0.696
0.321
LayerPrior [ 27 ]
24.75
0.780
7.398
13.71
0.736
4.461
33.03
0.867
5.065
DDN [ 13 ]
28.33
0.815
0.001
21.99
0.819
0.001
34.06
0.869
0.002
PReNet [ 35 ]
33.40
0.901
0.007
28.56
0.902
0.007
35.55
0.886
0.014
SIRR [ 48 ]
30.70
0.874
0.002
22.08
0.846
0.002
36.39
0.891
0.002
Table 1: Overall performance (PSNR ( ↑ ), SSIM ( ↑ )) and efficiency (Time[ s† ] ( ↓ )) comparison among different deraining methods.
Diffusion ( S=10 )
PSNR
SSIM
FLOPs
Params
Spatial ( ϵs )
30.93
0.853
376.60
6.08
Spectral ( ∣xf∣ )
6.89
0.114
376.60
6.08
Spectral ( ∠xf )
24.27
0.806
376.60
6.08
Spectral ( ϵf )
14.68
0.246
1269.59
16.66
Spectral ( Md⊙ϵf )
30.86
0.857
1269.59
16.66
Table 2: Performance comparison of diffusion models deraining in spatial domain and spectral domain on Rain1400.
( S=10 )
PSNR
SSIM
FLOPs
Params
SpectralDiff (Conv)
30.86
0.857
1269.59
16.66
SpectralDiff (Prod)
30.39
0.860
199.81
3.15
Table 3: Performance comparison of our SpectralDiff model with different U-Nets on Rain1400.
Despite significant progress has been made in image deraining, we note that most existing methods are often developed for only specific types of rain degradation and fail to generalize across diverse real-world rainy scenes. How to effectively model different rain degradations within a universal framework is important for real-world image deraining. In this paper, we propose UniRain, an effective unified image deraining framework capable of restoring images degraded by rain streak and raindrop under both daytime and nighttime conditions. To better enhance unified model generalization, we construct an intelligent retrieval augmented generation (RAG)-based dataset distillation pipeline that selects high-quality training samples from all public deraining datasets for better mixed training. Furthermore, we incorporate a simple yet effective multi-objective reweighted optimization strategy into the asymmetric mixture-of-experts (MoE) architecture to facilitate consistent performance and improve robustness across diverse scenes. Extensive experiments show that our framework performs favorably against the state-of-the-art models on our proposed benchmarks and multiple public datasets.
Qianfeng Yang, Qiyuan Guan, Xiang Chen +3
Dalian Polytechnic University · Nanjing University of Science and Technology
While deep learning has advanced single-image deraining, existing models suffer from a fundamental limitation: they employ a static inference paradigm that fails to adapt to the complex, coupled degradations (e.g., noise artifacts, blur, and color deviation) of real-world rain. Consequently, restored images often exhibit residual artifacts and inconsistent perceptual quality. In this work, we present Derain-Agent, a plug-and-play refinement framework that transitions deraining from static processing to dynamic, agent-based restoration. Derain-Agent equips a base deraining model with two core capabilities: 1) a Planning Network that intelligently schedules an optimal sequence of restoration tools for each instance, and 2) a Strength Modulation mechanism that applies these tools with spatially adaptive intensity. This design enables precise, region-specific correction of residual errors without the prohibitive cost of iterative search. Our method demonstrates strong generalization, consistently boosting the performance of state-of-the-art deraining models on both synthetic and real-world benchmarks.
Existing video deraining methods typically exploit neighboring frames through either explicit alignment or implicit spatiotemporal aggregation. Explicit alignment relies on accurate motion estimation, which can become unreliable under dense rain, while implicit aggregation avoids alignment but lacks explicit guidance on the directional and temporally coherent structure of rain. This leaves a gap between reliable temporal aggregation and explicit modeling of rain motion. To address these limitations, we propose FluidRain, a lightweight video derainer that uses divergence-free rain flow to guide Loop-in-Loop attention across scales and neighboring frames. Motivated by fluid mechanics, we model rain motion as a divergence-free image-space flow and use it to organize multi-scale and temporal aggregation. Specifically, FluidRain first estimates a rain-flow field for each frame and projects it onto the divergence-free subspace. The resulting flow steers window attention along rain streaks, enabling neighboring frames to be aggregated without explicit alignment. Since rain-flow structure is preserved across scales and nearby frames, Loop-in-Loop reuses the same attention operator across both dimensions, resulting in a three-frame model with only 0.80M parameters. Experiments on four benchmarks show that FluidRain remains competitive with substantially larger restoration models. We further examine how temporal evidence scales with different input views. To evaluate whether the model remains reliable when rain motion changes across frames, we introduce RainSyn-Gust, which injects controlled changes in rain-streak direction into existing benchmarks. We also develop a physics-based no-reference metric that evaluates real-rain removal without requiring clean targets.
Pu Wang, Yongcong Wang, Wenhao Li +6
Shandong University · Central South University · Nanjing University of Science and Technology +2