mlsanityData to 7 Oct 2026

AgileIR: Memory-Efficient Group Shifted Windows Attention for Agile Image Restoration

arXiv 2409.06206 ↗First posted 10 Sep 2024cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Image Transformers show a magnificent success in Image Restoration tasks. Nevertheless, most of transformer-based models are strictly bounded by exorbitant memory occupancy. Our goal is to reduce the memory consumption of Swin Transformer and at the same time speed up the model during training process. Thus, we introduce AgileIR, group shifted attention mechanism along with window attention, which sparsely simplifies the model in architecture. We propose Group Shifted Window Attention (GSWA) to decompose Shift Window Multi-head Self Attention (SW-MSA) and Window Multi-head Self Attention (W-MSA) into groups across their attention heads, contributing to shrinking memory usage in back propagation. In addition to that, we keep shifted window masking and its shifted learnable biases during training, in order to induce the model interacting across windows within the channel. We also re-allocate projection parameters to accelerate attention matrix calculation, which we found a negligible decrease in performance. As a result of experiment, compared with our baseline SwinIR and other efficient quantization models, AgileIR keeps the performance still at 32.20 dB on Set5 evaluation dataset, exceeding other methods with tailor-made efficient methods and saves over 50% memory while a large batch size is employed.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 22 of its 30 references that are in the map. First posted on arXiv 10 Sep 2024.

Builds on

22 of 30 references.

References · 22

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  3. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
  4. 2017Decoupled Weight Decay Regularizationcited by 1,722
  5. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,618
  6. 2018ESRGAN: Enhanced Super-Resolution Generative Adversarial Networkscited by 1,250
  7. 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 864
  8. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  9. 2019Are Sixteen Heads Really Better than One?cited by 803
  10. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
  11. 2015Sketch-based Manga Retrieval using Manga109 Datasetcited by 326
  12. 2018Fast, Accurate, and Lightweight Super-Resolution with Cascading Residual Networkcited by 263
10 more
  1. 2019Lightweight Image Super-Resolution with Information Multi-distillation Networkcited by 227
  2. 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
  3. 2017Fast and Accurate Image Super-Resolution with Deep Laplacian Pyramid Networkscited by 138
  4. 2021LAPAR: Linearly-Assembled Pixel-Adaptive Regression Network for Single Image Super-Resolution and Beyondcited by 88
  5. 2022SwinFIR: Revisiting the SwinIR with Fast Fourier Convolution and Improved Training for Image Super-Resolutioncited by 67
  6. 2019Fast, Accurate and Lightweight Super-Resolution with Neural Architecture Searchcited by 66
  7. 2020PAMS: Quantized Super-Resolution via Parameterized Max Scalecited by 46
  8. 2018PIRM Challenge on Perceptual Image Enhancement on Smartphones: Reportcited by 38
  9. 2022CADyQ: Content-Aware Dynamic Quantization for Image Super-Resolutioncited by 26
  10. 2023Resolution Enhancement Processing on Low Quality Images Using Swin Transformer Based on Interval Dense Connection Strategycited by 9

Built on by

Not cited yet.