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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Liao, Rongxin, Li, Feng, Wei, Yanyan, Shi, Zenglin, Zhang, Le, Bai, Huihui, Wang, Meng
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915595980636160
author Liao, Rongxin
Li, Feng
Wei, Yanyan
Shi, Zenglin
Zhang, Le
Bai, Huihui
Wang, Meng
author_facet Liao, Rongxin
Li, Feng
Wei, Yanyan
Shi, Zenglin
Zhang, Le
Bai, Huihui
Wang, Meng
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_09013
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prompt to Restore, Restore to Prompt: Cyclic Prompting for Universal Adverse Weather Removal
Liao, Rongxin
Li, Feng
Wei, Yanyan
Shi, Zenglin
Zhang, Le
Bai, Huihui
Wang, Meng
Computer Vision and Pattern Recognition
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. 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.
title Prompt to Restore, Restore to Prompt: Cyclic Prompting for Universal Adverse Weather Removal
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.09013