Degradation-Aware Feature Perturbation for All-in-One Image Restoration
Xiangpeng Tian, Xiangyu Liao, Xiao Liu, Meng Li, Chao Ren
TL;DR
The paper tackles the problem of consistent restoration across multiple degradations with a single model, addressing task interference that arises when shared parameters must handle diverse degradation features. It introduces Degradation-aware Feature Perturbation (DFPIR), which perturbs feature spaces using a Degradation-Guided Perturbation Block (DGPB) composed of a Degradation-Guided Channel Perturbation Module (DGCPM) and a Channel-Adapted Attention Perturbation Module (CAAPM), guided by degradation prompts encoded via CLIP. This design, including channel shuffling in a high-dimensional space and selective attention masking, aligns the feature space with a unified parameter space and reduces cross-task interference, yielding state-of-the-art results on all-in-one restoration tasks across three and five degradation types, with substantial PSNR gains over prior methods. The approach demonstrates strong empirical gains, clear visual improvements, and interpretable perturbation mechanisms, suggesting practical impact for robust, multi-degradation image restoration with a single model.
Abstract
All-in-one image restoration aims to recover clear images from various degradation types and levels with a unified model. Nonetheless, the significant variations among degradation types present challenges for training a universal model, often resulting in task interference, where the gradient update directions of different tasks may diverge due to shared parameters. To address this issue, motivated by the routing strategy, we propose DFPIR, a novel all-in-one image restorer that introduces Degradation-aware Feature Perturbations(DFP) to adjust the feature space to align with the unified parameter space. In this paper, the feature perturbations primarily include channel-wise perturbations and attention-wise perturbations. Specifically, channel-wise perturbations are implemented by shuffling the channels in high-dimensional space guided by degradation types, while attention-wise perturbations are achieved through selective masking in the attention space. To achieve these goals, we propose a Degradation-Guided Perturbation Block (DGPB) to implement these two functions, positioned between the encoding and decoding stages of the encoder-decoder architecture. Extensive experimental results demonstrate that DFPIR achieves state-of-the-art performance on several all-in-one image restoration tasks including image denoising, image dehazing, image deraining, motion deblurring, and low-light image enhancement. Our codes are available at https://github.com/TxpHome/DFPIR.
