Prompt-based Ingredient-Oriented All-in-One Image Restoration

6 Sep 2023  ·  Hu Gao, Depeng Dang ·

Image restoration aims to recover the high-quality images from their degraded observations. Since most existing methods have been dedicated into single degradation removal, they may not yield optimal results on other types of degradations, which do not satisfy the applications in real world scenarios. In this paper, we propose a novel data ingredient-oriented approach that leverages prompt-based learning to enable a single model to efficiently tackle multiple image degradation tasks. Specifically, we utilize a encoder to capture features and introduce prompts with degradation-specific information to guide the decoder in adaptively recovering images affected by various degradations. In order to model the local invariant properties and non-local information for high-quality image restoration, we combined CNNs operations and Transformers. Simultaneously, we made several key designs in the Transformer blocks (multi-head rearranged attention with prompts and simple-gate feed-forward network) to reduce computational requirements and selectively determines what information should be persevered to facilitate efficient recovery of potentially sharp images. Furthermore, we incorporate a feature fusion mechanism further explores the multi-scale information to improve the aggregated features. The resulting tightly interlinked hierarchy architecture, named as CAPTNet, extensive experiments demonstrate that our method performs competitively to the state-of-the-art.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Image Deblurring GoPro CAPTNet PSNR 33.74 # 7
SSIM 0.967 # 5
Deblurring HIDE (trained on GOPRO) CAPTNet PSNR (sRGB) 31.86 # 2
SSIM (sRGB) 0.949 # 3
Single Image Deraining Rain100L CAPTNet PSNR 39.22 # 5
SSIM 0.981 # 5
Single Image Deraining Test1200 CAPTNet PSNR 34.77 # 1
SSIM 0.937 # 1

Methods