Diff-Plugin: Revitalizing Details for Diffusion-based Low-level Tasks
About
Diffusion models trained on large-scale datasets have achieved remarkable progress in image synthesis. However, due to the randomness in the diffusion process, they often struggle with handling diverse low-level tasks that require details preservation. To overcome this limitation, we present a new Diff-Plugin framework to enable a single pre-trained diffusion model to generate high-fidelity results across a variety of low-level tasks. Specifically, we first propose a lightweight Task-Plugin module with a dual branch design to provide task-specific priors, guiding the diffusion process in preserving image content. We then propose a Plugin-Selector that can automatically select different Task-Plugins based on the text instruction, allowing users to edit images by indicating multiple low-level tasks with natural language. We conduct extensive experiments on 8 low-level vision tasks. The results demonstrate the superiority of Diff-Plugin over existing methods, particularly in real-world scenarios. Our ablations further validate that Diff-Plugin is stable, schedulable, and supports robust training across different dataset sizes.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Dehazing | RESIDE | FID34.68 | 25 | |
| Deblurring | RealBlur-J | FID51.81 | 17 | |
| Deraining | real (test) | FID50.55 | 17 | |
| Desnowing | Realistic | FID34.3 | 17 | |
| Image Deblurring | RWBI (test) | NIQE5.988 | 17 | |
| Face Restoration | LFW | FID20.07 | 11 | |
| Low-light enhancement | merged low | FID48.98 | 11 | |
| Demoireing | LCDMoire | FID29.77 | 11 | |
| Highlight Removal | SHIQ | FID12.58 | 11 | |
| Low-light enhancement | Low-light enhancement dataset | LPIPS0.227 | 11 |