Skip to main content
QUICK REVIEW

[Paper Review] Magic ELF: Image Deraining Meets Association Learning and Transformer

Kui Jiang, Zhongyuan Wang|arXiv (Cornell University)|Jul 21, 2022
Image Enhancement TechniquesComputer Science5 citations
TL;DR

This paper proposes Magic ELF, a lightweight image deraining model that unifies CNNs and Transformers via association learning to jointly optimize rain streak removal and background detail recovery. By introducing a multi-input attention module and depth-wise separable convolutions, ELF achieves state-of-the-art performance with 88.4% lower computational cost and 11.7% of the parameters of MPRNet, outperforming it by 0.25 dB on average PSNR while enabling real-time inference.

ABSTRACT

Convolutional neural network (CNN) and Transformer have achieved great success in multimedia applications. However, little effort has been made to effectively and efficiently harmonize these two architectures to satisfy image deraining. This paper aims to unify these two architectures to take advantage of their learning merits for image deraining. In particular, the local connectivity and translation equivariance of CNN and the global aggregation ability of self-attention (SA) in Transformer are fully exploited for specific local context and global structure representations. Based on the observation that rain distribution reveals the degradation location and degree, we introduce degradation prior to help background recovery and accordingly present the association refinement deraining scheme. A novel multi-input attention module (MAM) is proposed to associate rain perturbation removal and background recovery. Moreover, we equip our model with effective depth-wise separable convolutions to learn the specific feature representations and trade off computational complexity. Extensive experiments show that our proposed method (dubbed as ELF) outperforms the state-of-the-art approach (MPRNet) by 0.25 dB on average, but only accounts for 11.7\% and 42.1\% of its computational cost and parameters. The source code is available at https://github.com/kuijiang94/Magic-ELF.

Motivation & Objective

  • To address the limitations of CNNs in capturing long-range dependencies and Transformers in learning local features for image deraining.
  • To unify CNN and Transformer architectures to leverage local invariance and global attention for improved deraining.
  • To reduce computational cost while maintaining or improving performance on image deraining and downstream tasks.
  • To enhance robustness against adversarial attacks in deraining models.
  • To improve joint performance on deraining and downstream vision tasks like object detection.

Proposed method

  • Proposes a two-stage architecture that decouples rain removal and background recovery into distinct but associated learning paths.
  • Introduces a Multi-Input Attention Module (MAM) to dynamically associate features from rain perturbation and background recovery branches.
  • Employs depth-wise separable convolutions to reduce model complexity while preserving feature representation capacity.
  • Incorporates degradation priors derived from rain distribution to guide background recovery and improve structural consistency.
  • Uses a joint optimization strategy to enhance compatibility between rain removal and detail reconstruction tasks.
  • Adopts a dynamic association learning mechanism that enables end-to-end training with shared representation refinement.

Experimental results

Research questions

  • RQ1Can a unified CNN-Transformer architecture outperform standalone CNN or Transformer models in image deraining?
  • RQ2How can local invariance from CNNs and global attention from Transformers be effectively combined for deraining?
  • RQ3Can degradation priors derived from rain distribution improve background recovery and reduce residual artifacts?
  • RQ4To what extent can a lightweight model achieve SOTA performance with significantly reduced computational cost?
  • RQ5Does joint learning of rain removal and detail recovery improve downstream task performance such as object detection?

Key findings

  • ELF achieves an average PSNR of 33.38 dB on the TEST1200 dataset, outperforming MPRNet by 0.25 dB while using only 11.7% of its parameters and 42.1% of its FLOPs.
  • ELF-LW achieves 18.43/18.09 dB PSNR on COCO350/BDD350, surpassing PCNet by 0.52 dB with lower computational cost (21.53 vs. 28.21 GFLOPs).
  • In object detection tasks using YOLOv3, ELF achieves 33.85% precision and 62.61% IoU on BDD350, outperforming all baselines.
  • ELF demonstrates superior robustness against adversarial attacks (LMSE and LPIPS) compared to other deraining models.
  • Visual results show ELF produces cleaner, more natural images with fewer rain residues and better preserved textures than competing methods.
  • The model reduces inference time by 88.0% compared to Restormer, achieving 125 ms on 512×512 images.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.