Cat-AIR: Content and Task-Aware All-in-One Image Restoration
Jiachen Jiang, Tianyu Ding, Ke Zhang, Jinxin Zhou, Tianyi Chen, Ilya Zharkov, Zhihui Zhu, Luming Liang
TL;DR
Cat-AIR proposes a content- and task-aware all-in-one image restoration framework that unifies multiple degradation types under a single model. It introduces an alternating spatial-channel attention scheme with cross-layer channel attention and cross-feature spatial attention to adapt computation to content and task difficulty, paired with a smooth learning strategy for scalable task extension via task-specific prompts and EMA updates. The approach achieves state-of-the-art performance on denoising, deraining, dehazing, and extended tasks like deblurring and low-light enhancement, while reducing FLOPs compared to prior methods. This combination of adaptive computation and scalable task extension offers significant practical benefits for real-world restoration where multiple degradations can co-exist and evolve over time.
Abstract
All-in-one image restoration seeks to recover high-quality images from various types of degradation using a single model, without prior knowledge of the corruption source. However, existing methods often struggle to effectively and efficiently handle multiple degradation types. We present Cat-AIR, a novel \textbf{C}ontent \textbf{A}nd \textbf{T}ask-aware framework for \textbf{A}ll-in-one \textbf{I}mage \textbf{R}estoration. Cat-AIR incorporates an alternating spatial-channel attention mechanism that adaptively balances the local and global information for different tasks. Specifically, we introduce cross-layer channel attentions and cross-feature spatial attentions that allocate computations based on content and task complexity. Furthermore, we propose a smooth learning strategy that allows for seamless adaptation to new restoration tasks while maintaining performance on existing ones. Extensive experiments demonstrate that Cat-AIR achieves state-of-the-art results across a wide range of restoration tasks, requiring fewer FLOPs than previous methods, establishing new benchmarks for efficient all-in-one image restoration.
