DANet: Image Deraining via Dynamic Association Learning

Kui Jiang, Zhongyuan Wang, Zheng Wang, Peng Yi, Junjun Jiang, Jinsheng Xiao, Chia-Wen Lin

Abstract

DANet (Dynamic Associated Network) redefines image deraining as a joint task of rain removal and background restoration. By learning the "association" between rain distribution and background textures, it achieves state-of-the-art performance while requiring only ~23% of the computational cost (GFlops) of previous top-tier models like MPRNet. The framework utilizes a Dynamic Association Learning strategy to guide background recovery using rain priors, ensuring high-fidelity restoration with minimal artifacts.

Introduction

Most existing deraining methods rely on a simple additive model, attempting to estimate a rain streak layer and subtract it from the rainy input. However, rain and background components are often highly correlated. Simple subtraction frequently leads to incomplete restoration, resulting in over-smoothed textures, color distortion, or "halo" artifacts where the rain used to be. Furthermore, high-performing models are often computationally heavy, hindering deployment in real-time scenarios like autonomous driving. DANet addresses these challenges by bridging the gap between high-fidelity restoration and computational efficiency.

Methodology

DANet is a two-stage framework consisting of a Deraining Sub-network (DSN) and a Reconstruction Sub-network (RSN). The core innovation is the Dynamic Association Learning strategy:

  • Associated Learning Module (ALM): Instead of treating rain removal and background recovery as isolated steps, the ALM uses the predicted rain distribution to create a "degradation mask." This mask guides the network to "borrow" clean background textures from the original image in areas where the rain was less obstructive.
  • Parametric Association Constraint: The model introduces joint constraints during training to ensure that the rain removal and background reconstruction processes are compatible and mutually beneficial.
  • Efficiency through Sampling: The authors observed that a sub-sampled rainy image maintains a similar statistical distribution to the original. Consequently, DANet performs heavy rain estimation in a lower-resolution space and uses a super-resolution approach to reconstruct high-fidelity details, significantly slashing memory and processing time.
  • Selective Fusion Block (SFB): This module aggregates multi-scale features efficiently using depth-wise separable convolutions and channel attention.
Visualization of the Dynamic Association Learning process. The network generates a mask from the rain distribution to guide background restoration.

Experiments and Results

The model was evaluated on standard synthetic benchmarks (Test100, Test1200, R100H, R100L) and real-world datasets (Real127, RID, RIS).

Quantitative and Qualitative Performance

DANet achieves performance comparable to the state-of-the-art MPRNet but with only 52.6% of the inference time and 23% of the GFlops. On the Test1200 dataset, a high-accuracy variant (DANet♠) reached a PSNR of 33.10 dB, outperforming almost all competitors. Qualitatively, DANet produces images with better contrast and fewer artifacts than cascaded or recurrent methods, which often struggle with "contrast bias" in heavy rain.

Visual comparison of DANet results. The model effectively removes rain streaks while preserving sharp background textures and color fidelity.

Downstream Task Impact

The authors tested the impact of deraining on object detection using the COCO350 and BDD350 datasets with a pre-trained YOLOv3 model. Using DANet as a pre-processor increased the Mean Average Precision (mAP) significantly, improving IoU from 55.50% to 62.40% on COCO350.

Conclusion

DANet moves the field away from simple subtraction toward a holistic approach where rain distribution serves as a valuable prior for intelligent background reconstruction. While the current focus is on rain streaks, the association learning concept could potentially be extended to other spatially correlated degradations like shadow removal or reflection suppression. Future work may explore extreme veiling effects and temporal consistency for video applications.

Summary updated

BibTeX
@inproceedings{jiang2022danet,
  author = {Kui Jiang and Zhongyuan Wang and Zheng Wang and Peng Yi and Junjun Jiang and Jinsheng Xiao and Chia-Wen Lin},
  title = {{DANet: Image Deraining via Dynamic Association Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/137},
}
Figure