[Paper Review] Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration
Swin2SR proposes a SwinV2 Transformer-based model for compressed image super-resolution and restoration, improving training stability, convergence, and performance over SwinIR. It achieves top-5 results in the AIM 2022 Challenge on compressed image super-resolution with faster training and competitive PSNR, using only DIV2K and Flickr2K datasets.
Compression plays an important role on the efficient transmission and storage of images and videos through band-limited systems such as streaming services, virtual reality or videogames. However, compression unavoidably leads to artifacts and the loss of the original information, which may severely degrade the visual quality. For these reasons, quality enhancement of compressed images has become a popular research topic. While most state-of-the-art image restoration methods are based on convolutional neural networks, other transformers-based methods such as SwinIR, show impressive performance on these tasks. In this paper, we explore the novel Swin Transformer V2, to improve SwinIR for image super-resolution, and in particular, the compressed input scenario. Using this method we can tackle the major issues in training transformer vision models, such as training instability, resolution gaps between pre-training and fine-tuning, and hunger on data. We conduct experiments on three representative tasks: JPEG compression artifacts removal, image super-resolution (classical and lightweight), and compressed image super-resolution. Experimental results demonstrate that our method, Swin2SR, can improve the training convergence and performance of SwinIR, and is a top-5 solution at the "AIM 2022 Challenge on Super-Resolution of Compressed Image and Video".
Motivation & Objective
- Address training instability and resolution gaps in transformer-based image restoration models.
- Improve upon SwinIR by leveraging SwinV2 Transformer architecture for better performance and efficiency.
- Tackle the challenge of compressed image super-resolution, including JPEG artifacts and low-quality inputs.
- Achieve state-of-the-art performance on multiple tasks: JPEG artifact removal, classical and lightweight super-resolution, and compressed image restoration.
- Demonstrate competitive results in real-world benchmarks like the AIM 2022 Challenge with minimal data and fast inference.
Proposed method
- Adopt the SwinV2 Transformer architecture, which introduces improved training stability and resolution generalization over Swin Transformer.
- Utilize shifted window self-attention with improved normalization and gating mechanisms to enhance long-range dependency modeling.
- Introduce auxiliary loss functions (AuxLoss) and high-frequency loss (HFLoss) to accelerate convergence and improve perceptual quality.
- Apply self-ensemble techniques (flipping and rotating inputs) to boost PSNR slightly without significant inference overhead.
- Train the model end-to-end on DIV2K and Flickr2K datasets, avoiding reliance on massive external datasets.
- Design two-stage inference: first denoise and restore compressed low-resolution images (Swin2SR-DJPEG), then upscale using Swin2SRx4 for final output.
Experimental results
Research questions
- RQ1Can SwinV2 Transformer architecture improve training convergence and stability in image restoration tasks compared to Swin Transformer?
- RQ2How does Swin2SR perform in compressed image super-resolution, particularly under high JPEG compression (quality q=10)?
- RQ3To what extent do auxiliary and high-frequency loss functions improve model convergence and perceptual quality in image restoration?
- RQ4Can Swin2SR achieve competitive performance with less data and faster training than existing SOTA methods like SwinIR?
- RQ5How does Swin2SR compare in real-world benchmarks such as the AIM 2022 Challenge on compressed image and video super-resolution?
Key findings
- Swin2SR achieved a PSNR of 23.590 dB on the AIM 2022 Challenge validation set, outperforming SwinIR (23.546 dB) and ranking among the top-5 solutions.
- With self-ensemble, Swin2SR reached 23.616 dB PSNR, showing marginal but consistent improvement over non-ensemble inference.
- The model achieved competitive performance using only DIV2K and Flickr2K datasets, while some top teams used up to 1 million images.
- Swin2SR trained 33% faster than SwinIR in certain settings, demonstrating improved training efficiency.
- The model successfully restored high-frequency details and reduced JPEG artifacts, even at low quality (q=10), producing visually sharp outputs.
- Despite a slight blur in fine details—common to many SOTA models—Swin2SR produced visually superior results compared to bicubic and baseline methods.
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.