Selective Hourglass Mapping for Universal Image Restoration Based on Diffusion Model
Dian Zheng, Xiao-Ming Wu, Shuzhou Yang, Jian Zhang, Jian-Fang Hu, Wei-Shi Zheng
TL;DR
The paper tackles universal image restoration by replacing multi-task, distribution-specific learning with a selective hourglass diffusion framework (DiffUIR) that unifies degradation distributions via a shared distribution term (SDT) while maintaining strong condition guidance. By injecting degradation conditions into the forward diffusion and gradually reducing their influence, the model learns a common distribution from which task-specific outputs are recovered through a guided reverse process. The approach yields state-of-the-art results across five restoration tasks (deraining, low-light, desnowing, dehazing, deblurring) on 22 benchmarks, including zero-shot real-world scenarios, with a lightweight model DiffUIR-T at 0.89M parameters. The method demonstrates the practical potential of universal restoration with significantly reduced parameter and compute footprints, supported by ablations and distribution analyses that highlight the benefits of SDT and explicit conditioning.
Abstract
Universal image restoration is a practical and potential computer vision task for real-world applications. The main challenge of this task is handling the different degradation distributions at once. Existing methods mainly utilize task-specific conditions (e.g., prompt) to guide the model to learn different distributions separately, named multi-partite mapping. However, it is not suitable for universal model learning as it ignores the shared information between different tasks. In this work, we propose an advanced selective hourglass mapping strategy based on diffusion model, termed DiffUIR. Two novel considerations make our DiffUIR non-trivial. Firstly, we equip the model with strong condition guidance to obtain accurate generation direction of diffusion model (selective). More importantly, DiffUIR integrates a flexible shared distribution term (SDT) into the diffusion algorithm elegantly and naturally, which gradually maps different distributions into a shared one. In the reverse process, combined with SDT and strong condition guidance, DiffUIR iteratively guides the shared distribution to the task-specific distribution with high image quality (hourglass). Without bells and whistles, by only modifying the mapping strategy, we achieve state-of-the-art performance on five image restoration tasks, 22 benchmarks in the universal setting and zero-shot generalization setting. Surprisingly, by only using a lightweight model (only 0.89M), we could achieve outstanding performance. The source code and pre-trained models are available at https://github.com/iSEE-Laboratory/DiffUIR
