[Paper Review] Masked Autoencoders as Image Processors
This paper proposes Masked Autoencoders as Image Processors (MAEIP), a self-supervised pre-training framework for image restoration tasks using a novel Transformer-based architecture, CSformer, which integrates channel attention and shifted-window self-attention. MAEIP achieves state-of-the-art performance on Gaussian denoising, real image denoising, motion deblurring, defocus deblurring, and image deraining by jointly reconstructing masked patches and full images, significantly improving performance over supervised and self-supervised baselines.
Transformers have shown significant effectiveness for various vision tasks including both high-level vision and low-level vision. Recently, masked autoencoders (MAE) for feature pre-training have further unleashed the potential of Transformers, leading to state-of-the-art performances on various high-level vision tasks. However, the significance of MAE pre-training on low-level vision tasks has not been sufficiently explored. In this paper, we show that masked autoencoders are also scalable self-supervised learners for image processing tasks. We first present an efficient Transformer model considering both channel attention and shifted-window-based self-attention termed CSformer. Then we develop an effective MAE architecture for image processing (MAEIP) tasks. Extensive experimental results show that with the help of MAEIP pre-training, our proposed CSformer achieves state-of-the-art performance on various image processing tasks, including Gaussian denoising, real image denoising, single-image motion deblurring, defocus deblurring, and image deraining.
Motivation & Objective
- To investigate whether masked autoencoders (MAE) can be effectively extended to low-level vision tasks such as image restoration.
- To design an efficient Transformer-based architecture, CSformer, that combines channel attention and shifted-window self-attention for improved performance and efficiency in image processing.
- To develop a novel MAE-based pre-training framework, MAEIP, tailored for image processing by reconstructing both masked patches and the full image.
- To demonstrate that self-supervised pre-training via MAEIP significantly boosts performance on diverse image restoration benchmarks.
Proposed method
- Proposes CSformer, a U-shaped Transformer with hierarchical design, incorporating channel-wise attention and shifted-window self-attention for improved modeling of long-range dependencies and computational efficiency.
- Designs MAEIP, a masked autoencoding framework where random image patches are masked and the model reconstructs both the masked patches (via encoder) and the full image (via decoder).
- Adopts a U-Net-style architecture with skip connections to preserve spatial details and enhance reconstruction quality.
- Uses direct pixel reconstruction as the pre-training objective, similar to SIMMIM, with masked patches fed directly into the encoder.
- Employs a two-stage pre-training strategy to improve efficiency, first pre-training the encoder and then fine-tuning the full model.
- Applies the pre-trained CSformer to downstream image restoration tasks via fine-tuning with standard supervised loss functions.
Experimental results
Research questions
- RQ1Can masked autoencoders, effective in high-level vision, be generalized to low-level image processing tasks such as denoising and deblurring?
- RQ2How does the integration of channel attention and shifted-window self-attention improve performance and efficiency in image restoration Transformers?
- RQ3Does joint reconstruction of masked patches and full image via MAEIP lead to better feature learning than single-objective pre-training?
- RQ4What is the impact of pre-training length and training schedule on downstream performance in image restoration?
Key findings
- The proposed CSformer-T2 achieves 39.77 dB PSNR on the SIDD test set, matching Uformer-S performance while reducing computational cost from 43.86 GMACs to 13.50 GMACs.
- MAEIP pre-training improves CSformer-T performance by 0.5 dB on average across Rain100L and Test100 datasets compared to no pre-training.
- Reconstructing both encoder and decoder outputs (MAEIP) yields better performance than pre-training only the encoder or decoder, demonstrating the benefit of joint reconstruction.
- A 2-stage pre-training strategy saves 25% training time while achieving comparable performance to full 60-epoch pre-training.
- Pre-training for 60 epochs yields better downstream performance than 30 epochs, confirming the benefit of longer pre-training schedules.
- The MAEIP framework generalizes well to larger models, achieving state-of-the-art results on Gaussian denoising, real image denoising, motion deblurring, defocus deblurring, and image deraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.