Learning Dual Transformers for All-In-One Image Restoration from a Frequency Perspective
Jie Chu, Tong Su, Pei Liu, Yunpeng Wu, Le Zhang, Zenglin Shi, Meng Wang
TL;DR
This study tackles all-in-one image restoration by introducing a frequency-aware dual-transformer framework. The Degradation Estimation Transformer (Dformer) learns degradation priors from frequency-decomposed inputs, while the Degradation-Adaptive Restoration Transformer (Rformer) applies these priors through a degradation-aware self-attention mechanism. The model demonstrates superior performance across five restoration tasks, with strong generalization to real-world, spatially variant, and unseen degradations. By explicitly modeling how degradations distribute across frequency bands, the approach achieves robust, unified restoration capabilities with practical impact for diverse imaging scenarios.
Abstract
This work aims to tackle the all-in-one image restoration task, which seeks to handle multiple types of degradation with a single model. The primary challenge is to extract degradation representations from the input degraded images and use them to guide the model's adaptation to specific degradation types. Building on the insight that various degradations affect image content differently across frequency bands, we propose a new dual-transformer approach comprising two components: a frequency-aware Degradation estimation transformer (Dformer) and a degradation-adaptive Restoration transformer (Rformer). The Dformer captures the essential characteristics of various degradations by decomposing the input into different frequency components. By understanding how degradations affect these frequency components, the Dformer learns robust priors that effectively guide the restoration process. The Rformer then employs a degradation-adaptive self-attention module to selectively focus on the most affected frequency components, guided by the learned degradation representations. Extensive experimental results demonstrate that our approach outperforms existing methods in five representative restoration tasks, including denoising, deraining, dehazing, deblurring, and low-light enhancement. Additionally, our method offers benefits for handling, real-world degradations, spatially variant degradations, and unseen degradation levels.
