TL;DR
This paper introduces UDGNet, a novel unsupervised deep learning framework for removing rain streaks from single images. It bridges the gap between traditional optimization-based methods (good generalization, poor representation) and data-driven CNNs (good representation, poor generalization) by enforcing an optimization model's unsupervised loss onto a deep CNN, achieving both robust real-world performance and high-quality deraining.
What Problem Does This Paper Address?
Single image rain streak removal is a crucial preprocessing step for many computer vision tasks. Existing deep learning methods, while powerful, often rely on supervised training with synthetic rain data. This leads to a significant performance drop when applied to real-world rainy images due to the inherent differences between synthetic and real rain. Conversely, traditional optimization-based methods, which leverage domain knowledge and are often unsupervised, generalize well to real rain but struggle with complex textures and can be slow. This paper aims to overcome these limitations by developing an unsupervised framework that combines the generalization capabilities of optimization methods with the strong representation power of deep neural networks, specifically for real-world rain.
Methods
The core of the proposed method, UDGNet, lies in its hybrid approach.
- Unsupervised Directional Gradient (UDG) Model: The authors first identify a key domain knowledge: directional rain streaks are anisotropic, while natural images are isotropic. This structural discrepancy is formulated into an energy function for an optimization model. Specifically, they propose an unsupervised directional gradient model that decomposes a rainy image into a clean image (regularized by isotropic Total Variation) and rain streaks (regularized by anisotropic Total Variation). This UDG model provides good generalization.
- Optimization Model-Driven Deep CNN (UDGNet): To enhance the representation power, the UDG model is integrated into a deep CNN architecture. The UDGNet's architecture is designed to mimic the operations of the UDG optimization procedure.
- Angle Regression: A module estimates the principal direction of rain streaks, which is then used to rotate the image to a vertical orientation, simplifying the deraining task.
- Parallel Streams: Two parallel CNN streams are employed, one for estimating the clean image and another for the rain streaks, analogous to the prior terms in the UDG model.
- Loss Functions: The unsupervised loss from the UDG model is enforced on the UDGNet. Additionally, an adversarial loss is used for the clean image stream to preserve textures, and a self-consistency loss ensures that the reconstructed image from the estimated clean image and rain streaks matches the rotated rainy image.
This approach allows the network to be trained with unsupervised losses derived from domain knowledge, enabling it to learn from real rainy images without paired data.
Datasets
The paper evaluates UDGNet on both synthetic and real-world datasets:
- Synthetic Datasets:
- Cityscape: Rain streaks were simulated using a screen blend model with varying streak length, width, angle, and intensity.
- Rain1400: A standard dataset for rain streak removal.
- Real-World Dataset:
- RealRain: A dataset collected by the authors, consisting of real rainy images with large fields of view.
The paper also mentions that UDGNet can be trained on a single real rainy image, highlighting its ability to learn from limited data.
Key Insights and Ideas
- Bridging the Gap: The paper successfully bridges the long-standing divide between model-driven (optimization) and data-driven (CNN) methods in image deraining by creating an unsupervised framework that leverages the strengths of both.
- Anisotropy of Rain: The core insight is the anisotropic nature of rain streaks versus the isotropic nature of natural image gradients. This simple yet powerful observation forms the basis of their unsupervised directional gradient model.
- Unsupervised Domain Knowledge as Loss: Instead of relying on paired synthetic data, the paper demonstrates the effectiveness of encoding domain knowledge (anisotropy) directly into an unsupervised loss function that can be minimized by a deep network.
- Mimicking Optimization: The UDGNet's architecture is designed to mirror the steps of the UDG optimization process, making the network interpretable and allowing for control over the deraining strength via hyperparameter tuning.
- Single Image Training: The ability to train effectively on a single real rainy image is a significant advancement, reducing the reliance on large, curated datasets.
Key Results
- Quantitative Performance: UDGNet consistently achieves the best results in terms of PSNR and SSIM on synthetic datasets and the lowest NIQE scores on real-world datasets, outperforming state-of-the-art optimization-based, supervised, and unsupervised methods.
- Qualitative Results: Visualizations show that UDGNet effectively removes rain streaks while preserving image textures, avoiding the over-smoothing often seen in other methods. It also handles residual rain streaks better than previous unsupervised methods.
- Efficiency: UDGNet is computationally efficient, with a small model size (around 5.7MB) and fast inference times (0.12s per image on a 1024x2048 image), significantly outperforming traditional optimization methods in speed.
- Angle Estimation Advantage: The paper demonstrates that accurately estimating the rain streak angle and using it for image rotation significantly improves deraining performance.
Limitations and Future Work
- Veiling Artifacts: The paper acknowledges that UDGNet primarily addresses directional rain streaks and may struggle with other artifacts like veiling effects, especially in distant regions of an image.
- Future Work: The authors suggest incorporating domain knowledge for veiling artifacts into their unsupervised loss framework to address this limitation in future research.
Summary updated