mlsanityData to 14 Oct 2026

ViG: Linear-complexity Visual Sequence Learning with Gated Linear Attention

arXiv 2405.18425 ↗First posted 28 May 2024cs.CV cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

Recently, linear complexity sequence modeling networks have achieved modeling capabilities similar to Vision Transformers on a variety of computer vision tasks, while using fewer FLOPs and less memory. However, their advantage in terms of actual runtime speed is not significant. To address this issue, we introduce Gated Linear Attention (GLA) for vision, leveraging its superior hardware-awareness and efficiency. We propose direction-wise gating to capture 1D global context through bidirectional modeling and a 2D gating locality injection to adaptively inject 2D local details into 1D global context. Our hardware-aware implementation further merges forward and backward scanning into a single kernel, enhancing parallelism and reducing memory cost and latency. The proposed model, ViG, offers a favorable trade-off in accuracy, parameters, and FLOPs on ImageNet and downstream tasks, outperforming popular Transformer and CNN-based models. Notably, ViG-S matches DeiT-B's accuracy while using only 27% of the parameters and 20% of the FLOPs, running 2× faster on 224×224 images. At 1024×1024 resolution, ViG-T uses 5.2× fewer FLOPs, saves 90% GPU memory, runs 4.8× faster, and achieves 20.7% higher top-1 accuracy than DeiT-T. These results position ViG as an efficient and scalable solution for visual representation learning. Code is available at urlhttps://github.com/hustvl/ViG.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 105 of its 116 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

105 of 116 references.

References · 105

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  8. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  9. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  10. 2023Visual Instruction Tuningcited by 7,869
  11. 2017Mask R-CNNcited by 7,277
  12. 2016Densely Connected Convolutional Networkscited by 6,720
38 more
  1. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  2. 2022Scalable Diffusion Models with Transformerscited by 6,054
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  5. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
  6. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,845
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2022A ConvNet for the 2020scited by 3,579
  9. 2023Qwen Technical Reportcited by 3,344
  10. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  11. 2018YOLOv3: An Incremental Improvementcited by 2,659
  12. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  13. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  14. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  15. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  16. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  17. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  18. 2020GLU Variants Improve Transformercited by 1,804
  19. 2020Rethinking Attention with Performerscited by 1,601
  20. 2019Root Mean Square Layer Normalizationcited by 1,480
  21. 2019Deep High-Resolution Representation Learning for Visual Recognitioncited by 1,420
  22. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  23. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  24. 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,136
  25. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,135
  26. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  27. 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,069
  28. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  29. 2024VMamba: Visual State Space Modelcited by 969
  30. 2020Designing Network Design Spacescited by 960
  31. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  32. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  33. 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 798
  34. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  35. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  36. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  37. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 718
  38. 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691

50 most cited of 105 All 105 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 7; 2026: 4.

13 papers.

Sort:

By area: