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

TL;DR

The Adaptive Degradation-aware Self-prompting Model (ADSM) is a new "all-in-one" framework that restores images affected by various weather conditions (rain, snow, haze, etc.) using a single set of parameters. By combining CLIP-based latent prompts with a wavelet-oriented diffusion model, it achieves state-of-the-art performance in both image quality and naturalness across multiple benchmarks.

What Problem Does This Paper Address?

Restoring images degraded by adverse weather is crucial for autonomous driving and surveillance. Traditionally, researchers built task-specific models (e.g., one for rain, one for haze). While all-in-one models exist, they often struggle to adapt to different weather types simultaneously because they lack "degradation-aware priors"—essentially, the model doesn't always know exactly what kind of "mess" it’s cleaning up.

Existing prompt-based methods try to solve this, but they often rely on fixed, manually engineered prompts or lack information about the actual image content, leading to artifacts or loss of detail in complex scenes.

Methods

The authors introduce two major innovations to the standard diffusion model pipeline:

  1. Latent Prompt Generators (LPGs): Instead of using static text prompts, the model uses three types of "latent prompts" learned via a pre-trained CLIP model:
  2. Degradation Type: Identifies if it's rain, snow, etc.
  3. Degradation Property: Captures the severity or density (e.g., "large, dense, vertical rain").
  4. Image Caption: Provides a high-level description of the scene content to ensure the restoration doesn't hallucinate or erase important objects.
  5. Wavelet-oriented Noise Estimating Network (WNE-Net): Diffusion models are notoriously slow and computationally heavy. To fix this, the authors replaced standard residual blocks with wavelet-based modules (WSRB and WFSB). By using the Discrete Wavelet Transform (DWT), the model separates the image into different frequency components. This allows it to "see" noise patterns more clearly while significantly reducing the computational load by processing features at lower resolutions.

Datasets

The model was trained and evaluated on a massive collection of eight publicly available datasets, which the authors combined into a comprehensive benchmark called AWIR120K (containing 119,146 image pairs). The datasets include:

  • Rain: Rain200H
  • Haze: RESIDE-6K
  • Raindrop:* Raindrop-A
  • Snow: Snow100K-L
  • Low-light: LOL
  • Mixed Weather: RS100K-L (rain-by-snow), Test1 (rain-by-haze), and RainDS-syn (rain-by-raindrop).

Key Insights and Ideas

  • CLIP as a Feature Aligner: The "aha moment" here is using CLIP not just for classification, but to align the latent space of a degraded image with the latent space of its clean ground truth and descriptive text. This allows the model to "self-prompt" based on the visual evidence in the degraded image.
  • Content Matters: Most restoration models focus only on the noise. By including an Image Caption prompt, ADSM ensures that the restoration process is guided by what the scene should look like (e.g., "a bottle of coca-cola on a manhole"), preventing the model from blurring out fine details.
  • Frequency Awareness: Weather degradations often exist in specific frequency bands (e.g., thin rain streaks are high-frequency). Using wavelets allows the model to target these frequencies specifically rather than treating the whole image as a uniform block of pixels.

Key Results

ADSM consistently outperformed existing state-of-the-art (SOTA) models like PromptIR and WeatherDiff:

  • Quantitative: In the "all-in-one" setting, ADSM achieved an average PSNR of 30.52 dB, surpassing PromptIR (30.17 dB). In specific tasks like deraining, it improved PSNR by 0.45 dB over the next best method.
  • Efficiency: The wavelet-based self-attention mechanism reduced the computational burden (FLOPs) for representing self-attention by an order of magnitude compared to traditional self-attention.
  • Qualitative: Visual results show that ADSM is significantly better at removing "mixed" degradations (like rain and haze occurring together) without leaving behind the "ghosting" artifacts common in other models.

Limitations and Future Work

Despite the improvements, the authors acknowledge two main hurdles:

  • Prompt Dependency: The quality of the restoration is heavily tied to how accurately the LPGs characterize the degradation. If the LPGs misidentify the weather type, the restoration may be sub-optimal.
  • Inference Speed: While WNE-Net speeds up the process, diffusion models are still inherently slower than simple CNN-based or Transformer-based "one-shot" restoration models, which may limit real-time deployment on edge devices.
  • Future Direction: The authors plan to explore ways to further accelerate the reverse sampling process and create even more diverse, large-scale datasets for training.

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