NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MetaWeather: Few-Shot Weather-Degraded Image Restoration

Youngrae Kim, Younggeol Cho, Thanh-Tung Nguyen, Seunghoon Hong, Dongman Lee

Introduction: The Generalization Gap in Image Restoration

Deep learning has significantly advanced the field of image restoration, yet a persistent "generalization gap" remains. Models trained on specific synthetic datasets, such as rain streaks, often fail when deployed in real-world environments where weather conditions are complex and concurrent—for instance, a mix of rain, heavy fog, and raindrops. Collecting large-scale paired datasets for every possible combination of weather is practically impossible.

MetaWeather addresses this challenge by reframing image restoration as a few-shot meta-learning problem. Instead of being a static "expert" in one degradation type, MetaWeather is designed to adapt to entirely new, unseen weather conditions using only a small support set of clean and degraded image pairs.

Methodology: Hierarchical Meta-Learning

The core of the MetaWeather framework is a hierarchical encoder-decoder architecture that leverages a specialized Matching Module to identify and subtract degradation patterns.

The MetaWeather architecture utilizes a hierarchical encoder-decoder structure with integrated matching modules to adapt to new weather conditions using a small support set.

Spatial-Channel Matching

The primary technical innovation is the Spatial-Channel Matching algorithm. The authors observe that weather effects manifest in two distinct ways:

  1. Spatial Degradation: Localized particles like rain streaks or snowflakes that require spatial attention to isolate.
  2. Channel Degradation: Global atmospheric effects like fog or haze, which act as "style" shifts in the feature space and are better addressed through channel-wise matching.

By employing parallel attention mechanisms, the Matching Module compares the query image with the support set across both dimensions. This allows the model to predict the "noise" layer (the degradation pattern) rather than mapping directly to a clean image, which helps preserve the underlying structural integrity of the scene.

Meta-Learning Protocol

MetaWeather is trained using an episodic protocol. During the meta-training phase, the model learns the general ability to extract degradation patterns from support sets across various standard datasets like Rain13K, Snow100K, and Foggy Cityscapes. During the meta-test phase, the model is presented with a few examples of a previously unseen weather type. It then adapts its bias parameters to the specific characteristics of the new degradation, enabling high-quality restoration without extensive retraining.

Experimental Evaluation and Results

The model was evaluated on complex and real-world datasets, including BID Task II.A (composited weather) and SPA-Data (real rain).

Qualitative comparison across various synthetic and real-world weather datasets. MetaWeather effectively restores images where baseline models like Restormer and NAFNet often struggle with artifacts or residual degradation.

Quantitative Performance

MetaWeather consistently outperformed state-of-the-art multi-weather restoration models:

  • Composited Weather: On the BID Task II.A benchmark, MetaWeather achieved a 2.02 dB PSNR improvement over WeatherDiffusion.
  • Real-World Rain: On the SPA-Data dataset, it reached 34.81 dB PSNR, significantly surpassing baselines like Restormer and MAXIM, which typically hovered around 32 dB.

Qualitative Analysis

Visual results demonstrate that while baseline models often leave behind "ghosting" artifacts or fail to penetrate heavy haze, MetaWeather produces significantly cleaner backgrounds. The dual-matching approach proves particularly effective for complex scenarios like "Rain + Haze," where spatial-only or channel-only methods fail to remove all degradation components.

Conclusion and Future Directions

MetaWeather demonstrates that few-shot adaptation is a viable path toward universal image restoration. By focusing on matching degradation patterns rather than background content, the model achieves superior generalization to unseen weather. Future work may explore self-supervised adaptation to remove the requirement for paired support sets, further enhancing the model's utility in real-time, autonomous deployment scenarios.

Summary updated

BibTeX
@inproceedings{kim2024metaweather,
  author = {Youngrae Kim and Younggeol Cho and Thanh-Tung Nguyen and Seunghoon Hong and Dongman Lee},
  title = {{MetaWeather: Few-Shot Weather-Degraded Image Restoration}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73464-9\_13},
}
Figure