Towards Unified Image Deblurring using a Mixture-of-Experts Decoder
Daniel Feijoo, Paula Garrido-Mellado, Jaesung Rim, Alvaro Garcia, Marcos V. Conde
TL;DR
This paper tackles the challenge of deblurring under diverse blur types by proposing DeMoE, a single all-in-one model that uses a mixture-of-experts (MoE) decoder to route features based on detected blur degradations. Built on a degraded-aware pre-training paradigm, the method leverages a degradation classifier at the encoder and a soft-gating MoE in the decoder to jointly restore images across global/local motion, low-light, and defocus blur. Empirical results on the newly introduced AIO-Blur dataset show DeMoE achieving competitive PSNR/SSIM with lower computational cost than task-specific or other all-in-one methods, and robustness can be enhanced by manual expert selection in out-of-distribution scenarios. The work offers practical implications for real-world imaging pipelines by reducing the need for multiple specialized models while maintaining restoration quality and flexibility, and will release code publicly.
Abstract
Image deblurring, removing blurring artifacts from images, is a fundamental task in computational photography and low-level computer vision. Existing approaches focus on specialized solutions tailored to particular blur types, thus, these solutions lack generalization. This limitation in current methods implies requiring multiple models to cover several blur types, which is not practical in many real scenarios. In this paper, we introduce the first all-in-one deblurring method capable of efficiently restoring images affected by diverse blur degradations, including global motion, local motion, blur in low-light conditions, and defocus blur. We propose a mixture-of-experts (MoE) decoding module, which dynamically routes image features based on the recognized blur degradation, enabling precise and efficient restoration in an end-to-end manner. Our unified approach not only achieves performance comparable to dedicated task-specific models, but also shows promising generalization to unseen blur scenarios, particularly when leveraging appropriate expert selection. Code available at https://github.com/cidautai/DeMoE.
