# Unsupervised Deraining: Where Contrastive Learning Meets Self-similarity

arXiv: https://arxiv.org/abs/2203.11509 · HTML: https://mlsanity.com/paper/2203.11509/

## Key facts

- Cited by 30 papers in the map (data through 14 Oct 2026).
- Builds on 35 of its 62 references that are in the map.
- First posted on arXiv 22 Mar 2022.

## Builds on (most cited first, 30 of 35)

- [A Simple Framework for Contrastive Learning of Visual Representations](https://mlsanity.com/paper/2002.05709/) (2020)
- [Representation Learning with Contrastive Predictive Coding](https://mlsanity.com/paper/1807.03748/) (2018)
- [Momentum Contrast for Unsupervised Visual Representation Learning](https://mlsanity.com/paper/1911.05722/) (2019)
- [Generative Adversarial Networks](https://mlsanity.com/paper/2203.00667/) (2022)
- [Image-to-Image Translation with Conditional Adversarial Networks](https://mlsanity.com/paper/1611.07004/) (2016)
- [Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation](https://mlsanity.com/paper/1802.02611/) (2018)
- [SSD: Single Shot MultiBox Detector](https://mlsanity.com/paper/1512.02325/) (2015)
- [Supervised Contrastive Learning](https://mlsanity.com/paper/2004.11362/) (2020)
- [Perceptual Losses for Real-Time Style Transfer and Super-Resolution](https://mlsanity.com/paper/1603.08155/) (2016)
- [Non-local Neural Networks](https://mlsanity.com/paper/1711.07971/) (2017)
- [Improved Baselines with Momentum Contrastive Learning](https://mlsanity.com/paper/2003.04297/) (2020)
- [Unsupervised Feature Learning via Non-Parametric Instance-level Discrimination](https://mlsanity.com/paper/1805.01978/) (2018)
- [Big Self-Supervised Models are Strong Semi-Supervised Learners](https://mlsanity.com/paper/2006.10029/) (2020)
- [Contrastive Multiview Coding](https://mlsanity.com/paper/1906.05849/) (2019)
- [Deep Image Prior](https://mlsanity.com/paper/1711.10925/) (2017)
- [What Makes for Good Views for Contrastive Learning?](https://mlsanity.com/paper/2005.10243/) (2020)
- [Contrastive Learning for Unpaired Image-to-Image Translation](https://mlsanity.com/paper/2007.15651/) (2020)
- [Deep Joint Rain Detection and Removal from a Single Image](https://mlsanity.com/paper/1609.07769/) (2016)
- [Keystroke Dynamics as Part of Lifelogging](https://mlsanity.com/paper/2010.10144/) (2020)
- [Multi-Scale Progressive Fusion Network for Single Image Deraining](https://mlsanity.com/paper/2003.10985/) (2020)
- [Density-aware Single Image De-raining using a Multi-stream Dense Network](https://mlsanity.com/paper/1802.07412/) (2018)
- [Contrastive Learning for Compact Single Image Dehazing](https://mlsanity.com/paper/2104.09367/) (2021)
- [Recurrent Squeeze-and-Excitation Context Aggregation Net for Single Image Deraining](https://mlsanity.com/paper/1807.05698/) (2018)
- [Spatial Attentive Single-Image Deraining with a High Quality Real Rain Dataset](https://mlsanity.com/paper/1904.01538/) (2019)
- [Blind Super-Resolution Kernel Estimation using an Internal-GAN](https://mlsanity.com/paper/1909.06581/) (2019)
- [Non-Local Recurrent Network for Image Restoration](https://mlsanity.com/paper/1806.02919/) (2018)
- [Heavy Rain Image Restoration: Integrating Physics Model and Conditional Adversarial Learning](https://mlsanity.com/paper/1904.05050/) (2019)
- [Clearing the Skies: A deep network architecture for single-image rain removal](https://mlsanity.com/paper/1609.02087/) (2016)
- [Structure-Preserving Deraining with Residue Channel Prior Guidance](https://mlsanity.com/paper/2108.09079/) (2021)
- [Syn2Real Transfer Learning for Image Deraining using Gaussian Processes](https://mlsanity.com/paper/2006.05580/) (2020)

## Built on by (most cited first, 30 of 30)

- [From Sky to the Ground: A Large-scale Benchmark and Simple Baseline Towards Real Rain Removal](https://mlsanity.com/paper/2308.03867/) (2023)
- [UCL-Dehaze: Towards Real-world Image Dehazing via Unsupervised Contrastive Learning](https://mlsanity.com/paper/2205.01871/) (2022)
- [Towards Unified Deep Image Deraining: A Survey and A New Benchmark](https://mlsanity.com/paper/2310.03535/) (2023)
- [FreeDrag: Feature Dragging for Reliable Point-based Image Editing](https://mlsanity.com/paper/2307.04684/) (2023)
- [Learning from History: Task-agnostic Model Contrastive Learning for Image Restoration](https://mlsanity.com/paper/2309.06023/) (2023)
- [Channel Consistency Prior and Self-Reconstruction Strategy Based Unsupervised Image Deraining](https://mlsanity.com/paper/2503.18703/) (2025)
- [Denoising as Adaptation: Noise-Space Domain Adaptation for Image Restoration](https://mlsanity.com/paper/2406.18516/) (2024)
- [Unsupervised Deraining: Where Asymmetric Contrastive Learning Meets Self-similarity](https://mlsanity.com/paper/2211.00837/) (2022)
- [Re-boosting Self-Collaboration Parallel Prompt GAN for Unsupervised Image Restoration](https://mlsanity.com/paper/2408.09241/) (2024)
- [Real-Time Multi-Scene Visibility Enhancement for Promoting Navigational Safety of Vessels Under Complex Weather Conditions](https://mlsanity.com/paper/2409.01500/) (2024)
- [Learning Real-World Image De-Weathering with Imperfect Supervision](https://mlsanity.com/paper/2310.14958/) (2023)
- [Detail-recovery Image Deraining via Dual Sample-augmented Contrastive Learning](https://mlsanity.com/paper/2204.02772/) (2022)
- [Harnessing Joint Rain-/Detail-aware Representations to Eliminate Intricate Rains](https://mlsanity.com/paper/2404.12091/) (2024)
- [Cycle Contrastive Adversarial Learning for Unsupervised image Deraining](https://mlsanity.com/paper/2407.11750/) (2024)
- [Data-free Distillation with Degradation-prompt Diffusion for Multi-weather Image Restoration](https://mlsanity.com/paper/2409.03455/) (2024)
- [Soft Knowledge Distillation with Multi-Dimensional Cross-Net Attention for Image Restoration Models Compression](https://mlsanity.com/paper/2501.09321/) (2025)
- [Zero-Shot Video Deraining with Video Diffusion Models](https://mlsanity.com/paper/2511.18537/) (2025)
- [Unpaired Image Deraining Using Reward-Guided Self-Reinforcement Strategy](https://mlsanity.com/paper/2605.00719/) (2026)
- [CLIP-driven rain perception: Adaptive deraining with pattern-aware network routing and mask-guided cross-attention](https://mlsanity.com/paper/2506.01366/) (2025)
- [Towards Better De-raining Generalization via Rainy Characteristics Memorization and Replay](https://mlsanity.com/paper/2506.02477/) (2025)
- [WeatherCycle: Unpaired Multi-Weather Restoration via Color Space Decoupled Cycle Learning](https://mlsanity.com/paper/2509.23150/) (2025)
- [Uni-Removal: A Semi-Supervised Framework for Simultaneously Addressing Multiple Degradations in Real-World Images](https://mlsanity.com/paper/2307.05075/) (2023)
- [DA-RAW: Domain Adaptive Object Detection for Real-World Adverse Weather Conditions](https://mlsanity.com/paper/2309.08152/) (2023)
- [Single Image Reflection Removal with Patch Reflectance Prior](https://mlsanity.com/paper/2312.03798/) (2023)
- [Decoupling Degradation and Content Processing for Adverse Weather Image Restoration](https://mlsanity.com/paper/2312.05006/) (2023)
- [TRG-Net: An Interpretable and Controllable Rain Generator](https://mlsanity.com/paper/2403.09993/) (2024)
- [Unsupervised Network for Single Image Raindrop Removal](https://mlsanity.com/paper/2412.03019/) (2024)
- [NDLPNet: A Location-Aware Nighttime Deraining Network and a Real-World Benchmark Dataset](https://mlsanity.com/paper/2509.13766/) (2025)
- [SimReg: Achieving Higher Performance in the Pretraining via Embedding Similarity Regularization](https://mlsanity.com/paper/2605.08809/) (2026)
- [Unifying Physically-Informed Weather Priors in A Single Model for Image Restoration Across Multiple Adverse Weather Conditions](https://mlsanity.com/paper/2605.13158/) (2026)

## Abstract (arXiv)

Image deraining is a typical low-level image restoration task, which aims at decomposing the rainy image into two distinguishable layers: the clean image layer and the rain layer. Most of the existing learning-based deraining methods are supervisedly trained on synthetic rainy-clean pairs. The domain gap between the synthetic and real rains makes them less generalized to different real rainy scenes. Moreover, the existing methods mainly utilize the property of the two layers independently, while few of them have considered the mutually exclusive relationship between the two layers. In this work, we propose a novel non-local contrastive learning (NLCL) method for unsupervised image deraining. Consequently, we not only utilize the intrinsic self-similarity property within samples but also the mutually exclusive property between the two layers, so as to better differ the rain layer from the clean image. Specifically, the non-local self-similarity image layer patches as the positives are pulled together and similar rain layer patches as the negatives are pushed away. Thus the similar positive/negative samples that are close in the original space benefit us to enrich more discriminative representation. Apart from the self-similarity sampling strategy, we analyze how to choose an appropriate feature encoder in NLCL. Extensive experiments on different real rainy datasets demonstrate that the proposed method obtains state-of-the-art performance in real deraining.
