Prompt to Restore, Restore to Prompt: Cyclic Prompting for Universal Adverse Weather Removal

Rongxin Liao, Feng Li, Yanyan Wei, Zenglin Shi, Le Zhang +2 more
3/12/2025
12 citations
cs.CV

Official code: RongxinL/CyclicPrompt (11 stars, Python, last commit 2025-03-18).

Abstract

Universal adverse weather removal (UAWR) seeks to address various weather degradations within a unified framework. Recent methods are inspired by prompt learning using pre-trained vision-language models (e.g., CLIP), leveraging degradation-aware prompts to facilitate weather-free image restoration, yielding significant improvements.

Show full abstract

In this work, we propose CyclicPrompt, an innovative cyclic prompt approach designed to enhance the effectiveness, adaptability, and generalizability of UAWR. CyclicPrompt Comprises two key components: 1) a composite context prompt that integrates weather-related information and context-aware representations into the network to guide restoration. This prompt differs from previous methods by marrying learnable input-conditional vectors with weather-specific knowledge, thereby improving adaptability across various degradations. 2) The erase-and-paste mechanism, after the initial guided restoration, substitutes weather-specific knowledge with constrained restoration priors, inducing high-quality weather-free concepts into the composite prompt to further fine-tune the restoration process. Therefore, we can form a cyclic "Prompt-Restore-Prompt" pipeline that adeptly harnesses weather-specific knowledge, textual contexts, and reliable textures. Extensive experiments on synthetic and real-world datasets validate the superior performance of CyclicPrompt. The code is available at: https://github.com/RongxinL/CyclicPrompt.

View on arXivView PDF

Code Implementations(1)

111PythonFeb 19, 20251 years ago

Similar Papers

Cite this paper

@article{liao2025prompt,
  title  = {Prompt to Restore, Restore to Prompt: Cyclic Prompting for Universal Adverse Weather Removal},
  author = {Rongxin Liao and Feng Li and Yanyan Wei and Zenglin Shi and Le Zhang and Huihui Bai and Meng Wang},
  year   = {2025},
  eprint = {2503.09013},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.09013v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.09013.svg)](https://codeofpaper.com/paper/2503.09013)

Discussion