[Paper Review] Accurate Image Restoration with Attention Retractable Transformer
ART introduces dense and sparse attention blocks (DAB and SAB) with alternating application to achieve retractable attention for image restoration, achieving state-of-the-art results on SR, denoising, and JPEG artifact reduction.
Recently, Transformer-based image restoration networks have achieved promising improvements over convolutional neural networks due to parameter-independent global interactions. To lower computational cost, existing works generally limit self-attention computation within non-overlapping windows. However, each group of tokens are always from a dense area of the image. This is considered as a dense attention strategy since the interactions of tokens are restrained in dense regions. Obviously, this strategy could result in restricted receptive fields. To address this issue, we propose Attention Retractable Transformer (ART) for image restoration, which presents both dense and sparse attention modules in the network. The sparse attention module allows tokens from sparse areas to interact and thus provides a wider receptive field. Furthermore, the alternating application of dense and sparse attention modules greatly enhances representation ability of Transformer while providing retractable attention on the input image.We conduct extensive experiments on image super-resolution, denoising, and JPEG compression artifact reduction tasks. Experimental results validate that our proposed ART outperforms state-of-the-art methods on various benchmark datasets both quantitatively and visually. We also provide code and models at https://github.com/gladzhang/ART.
Motivation & Objective
- Motivate improved image restoration by enabling wider receptive fields beyond dense local attention.
- Propose a Transformer architecture that alternates dense and sparse attention blocks to achieve retractable attention.
- Demonstrate effectiveness of ART on super-resolution, denoising, and JPEG compression artifact reduction.
- Provide ablation studies to understand the impact of attention patterns and interval settings.
Proposed method
- Introduce two self-attention blocks: dense attention block (DAB) operating on fixed non-overlapping windows, and sparse attention block (SAB) operating on sparse grids.
- Define MSA-based blocks with computational costs for D-MSA and S-MSA and show reduced complexity relative to full attention.
- Alternate DAB and SAB to form Attention Retractable Transformer (ART) with long-distance residual connections.
- Use a residual-in-residual architecture for deep feature extraction similar to RCAN and adopt 3x3 convolutions for feature refinement.
- Train with L1 loss for SR and Charbonnier loss for denoising and JPEG CAR; employ upsampling for SR via sub-pixel convolution.
Experimental results
Research questions
- RQ1How can dense and sparse attention be integrated in a single Transformer backbone to enlarge the receptive field for low-level vision tasks?
- RQ2Does alternating dense and sparse attention (DAB/SAB) improve feature representation and reconstruction quality for image restoration?
- RQ3What is the performance impact of varying the sparse attention interval on restoration tasks like SR, denoising, and CAR?
- RQ4How does ART compare to existing Transformer-based and CNN-based restoration methods across standard benchmarks?
Key findings
- ART achieves state-of-the-art PSNR/SSIM on multiple SR benchmarks across scales, with ART+ further improving results via self-ensemble.
- ART outperforms SwinIR and IPT on SR, demonstrating the benefit of combining dense and sparse attention.
- Ablation studies show that using both DAB and SAB yields better performance than using either in isolation, and smaller sparse-intervals improve accuracy.
- ART-S (a variant with adjusted MLP ratio and interval) attains competitive performance with SwinIR while reducing parameters and FLOPs.
- Across denoising and JPEG CAR, ART achieves top results on several datasets, with ART+ providing additional gains.
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.