All-in-one Weather-degraded Image Restoration via Adaptive Degradation-aware Self-prompting Model

Yuanbo Wen, Tao Gao, Ziqi Li, Jing Zhang, Kaihao Zhang, Ting Chen · DOI

Abstract

Adverse weather conditions such as rain, snow, and haze significantly degrade image quality, impacting the reliability of autonomous driving and surveillance systems. Traditional restoration methods often rely on task-specific models that struggle with multi-weather scenarios. This paper introduces the Adaptive Degradation-aware Self-prompting Model (ADSM), an "all-in-one" framework that restores images across various weather conditions using a single set of parameters. By integrating CLIP-based latent prompts with a wavelet-oriented diffusion model, ADSM achieves state-of-the-art performance in both image quality and computational efficiency.

Introduction

Restoring images from adverse weather is a critical challenge in computer vision. While specialized models exist for individual tasks like deraining or dehazing, "all-in-one" models aim for a more versatile approach. However, these models often lack "degradation-aware priors," making it difficult for them to identify and adapt to specific types of noise. Existing prompt-based methods attempt to bridge this gap but often rely on static, manually engineered prompts that fail to capture the nuances of complex scenes. ADSM addresses these limitations by introducing a self-prompting mechanism that dynamically adapts to the visual evidence within a degraded image.

Methods

ADSM introduces two major innovations to the standard diffusion model pipeline: Latent Prompt Generators (LPGs) and the Wavelet-oriented Noise Estimating Network (WNE-Net).

ADSM Architecture overview showing Latent Prompt Learning and the Self-prompting Model.

Latent Prompt Generators (LPGs)

Instead of static text, the model utilizes three types of latent prompts learned via a pre-trained CLIP model:

  • Degradation Type: Identifies the specific weather condition (e.g., rain vs. snow).
  • Degradation Property: Captures severity and density (e.g., "large, dense, vertical rain").
  • Image Caption: Provides a high-level scene description to ensure the restoration preserves important objects and fine details.

Wavelet-oriented Noise Estimating Network (WNE-Net)

To address the high computational cost of diffusion models, the authors replaced standard residual blocks with wavelet-based modules. By utilizing the Discrete Wavelet Transform (DWT), the model separates images into different frequency components. This allows the network to target specific noise patterns more effectively while reducing the computational burden by processing features at lower resolutions.

Results

The model was evaluated on the AWIR120K benchmark, a comprehensive collection of nearly 120,000 image pairs covering rain, haze, snow, and mixed weather conditions. ADSM consistently outperformed existing state-of-the-art (SOTA) models like PromptIR and WeatherDiff.

Performance comparison of ADSM against SOTA methods in terms of PSNR and NIQE.

Quantitatively, ADSM achieved an average PSNR of 30.52 dB in the all-in-one setting, surpassing PromptIR (30.17 dB). As shown in Figure 1, ADSM maintains a superior balance between image quality (PSNR) and naturalness (NIQE). Qualitatively, the model is significantly better at removing mixed degradations without leaving behind the "ghosting" artifacts common in other models. Furthermore, the wavelet-based self-attention mechanism reduced FLOPs by an order of magnitude compared to traditional self-attention.

Conclusion

ADSM represents a significant advancement in unified image restoration, leveraging CLIP-based self-prompting and frequency-aware noise estimation. While the model shows superior performance, its effectiveness remains tied to the accuracy of the LPGs in characterizing degradation. Future work will focus on accelerating the reverse sampling process of the diffusion model to enable real-time deployment on edge devices.

Summary updated

BibTeX
@article{wen2025all,
  author = {Yuanbo Wen and Tao Gao and Ziqi Li and Jing Zhang and Kaihao Zhang and Ting Chen},
  title = {{All-in-one Weather-degraded Image Restoration via Adaptive Degradation-aware Self-prompting Model}},
  journal = {IEEE Trans. Multimedia},
  year = {2025},
  doi = {10.1109/tmm.2025.3535316},
}
Figure