Gang Wu, Junjun Jiang*, Kui Jiang, Xianming Liu, and Liqiang Nie
All-in-one image restoration, which seeks to handle multiple types of degradation within a unified model, has become a prominent research topic in computer vision. While existing deep learning models have achieved remarkable success in specific restoration tasks, extending these models to heterogenous degradations presents significant challenges. Current all-in-one methods predominantly concentrate on extracting degradation priors, often employing learned and fixed task prompts to guide the restoration process. However, these static prompts are inclined to generate an average distribution characteristics of degradations, unable to accurately depict the unique attribute of the given input, consequently providing suboptimal restoration results. To tackle these challenges, we propose a novel dynamic prompt approach called Degradation Prototype Assignment and Prompt Distribution Learning (DPPD). Our approach decouples the degradation prior extraction into two novel components: Degradation Prototype Assignment (DPA) and Prompt Distribution Learning (PDL). DPA anchors the degradation representations to predefined prototypes, providing discriminative and scalable representations. In addition, PDL models prompts as distributions rather than fixed parameters, facilitating dynamic and adaptive prompt sampling. Extensive experiments demonstrate that our DPPD framework can achieve significant performance improvement on different image restoration tasks.
Setting | Dataset |
---|---|
Noise-Rain-Haze | WED,BSD,Rain100L,OTS |
CDD-11 | Download |
Three Task | Rain | Haze | Noise(15, 25, 50) |
---|---|---|---|
PromptIR + DPPD | Download | Download | Download |
Five Task | Rain | Haze | Noise | GoPro | LOL |
---|---|---|---|---|---|
PromptIR + DPPD | Download | Download | Download | Download | Download |
Composite Degradation | Results |
---|---|
PromptIR + DPPD | Download |