Introduction: The Generalization Gap in Image Deraining
Image deraining is a fundamental low-level vision task aimed at removing rain streaks and haze to restore scene clarity. While deep learning has significantly advanced this field, most models rely on supervised training with synthetic datasets—adding artificial rain to clean images via software like Photoshop. This creates a significant "generalization gap": models that perform perfectly on synthetic benchmarks often fail when faced with the complex, non-linear physics of real-world rain.
The core challenge lies in the lack of paired data; it is virtually impossible to capture the exact same real-world scene both with and without rain. Consequently, synthetic rain often fails to mimic how real rain scatters light and degrades pixel quality in the same way real-world physics does.
Methodology: Task Transfer Learning
To bridge this gap, researchers have introduced a Task Transfer Learning framework. Instead of training a model to derain from scratch using synthetic data, the framework leverages "connected tasks" where real-world labels are readily available.
Connected Tasks and Knowledge Distillation
The framework identifies two primary connected tasks:
- Recognition ($T_{recog}$): The model is trained to distinguish between real rainy and real rain-free images. This teaches the network to identify the visual characteristics of real-world rain.
- Reconstruction ($T_{recon}$): Since rain introduces blur and light scattering, the model learns to recover details from blurry images, improving its ability to restore underlying scene textures.
These tasks are handled by "teacher" networks, whose learned representations are transferred to a single "student" network ($E_{stu}$) via knowledge distillation. This student network is then fine-tuned with a small amount of synthetic data to specifically target streak removal while retaining the real-world priors learned from the teachers.
Architecture: AGLF-ViT
The backbone of the system is the Adaptive Global and Local feature Fusion (AGLF-ViT) block. This Vision Transformer variant utilizes self-attention to capture global scene context while employing CNN-based blocks to preserve sharp local edges and details.
Analyzing the Domain Gap
A key contribution of this research is the quantitative analysis of the difference between real and synthetic rain. Using the Natural Image Quality Evaluation (NIQE) metric, the authors demonstrated that real rain degrades image quality far more severely than synthetic approximations.
As shown in the figure above, the distribution of real-world rainy data often differs from synthetic sets, and the NIQE scores highlight the increased complexity of real-world degradation. By treating recognition as a prior, the model learns to target these specific real-world artifacts more effectively.
Experimental Results
The proposed method was evaluated against state-of-the-art (SOTA) models, including DGUNet, MAXIM, and Restormer.
Quantitative and Qualitative Performance
On real-world rainy video sequences (Test-III), the method achieved a PSNR of 36.65 dB, outperforming the nearest supervised competitor, DGUNet (35.83 dB). Qualitatively, the Task Transfer Learning approach removes streaks more thoroughly without the over-smoothing or color distortion seen in other methods.
In a blind user study involving 20 participants and 100 real-world images, the proposed method received a score of 14,649, significantly higher than the runner-up, MOEDN (11,151), confirming its practical effectiveness.
Conclusion
By shifting the focus from purely synthetic supervision to task-based transfer learning on real-world data, this framework effectively addresses the domain gap in image deraining. While future work may explore additional connected tasks like depth estimation, the current results represent a significant step toward robust, real-world vision restoration.
Summary updated