atlas

Research map / Architectures and efficiency / Attention and transformers

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

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Linear attention approximations · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces ViG, a vision backbone built on bidirectional gated linear attention with direction-wise gating and 2D gating locality injection, plus a fused bidirectional kernel for faster wall-time at high resolution.

Problem

Linear-complexity sequence models (Mamba, RWKV, etc.) achieve ViT-like accuracy with fewer FLOPs but do not translate into real wall-time speedups at common resolutions, and unidirectional linear models lack global 2D context for vision.

Approach

Adapts gated linear attention (GLA) to vision via bidirectional scanning that shares parameters across directions except a direction-specific forget gate, adds a learned gate that fuses depthwise-conv local features with BiGLA global features, and fuses forward and backward scans into one GPU kernel.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the large-kernel patch embedding with the improved convolutional patch embedding (ablation)GLA · ImageNet-1K val, 224²top-1 accuracy: 66.1 -> 73.8Helped
Add direct bidirectional modeling (ablation)Improved patch embedding · ImageNet-1K val, 224²top-1 accuracy: 73.8 -> 75.2Helped
Add absolute position embedding (ablation)Direct bidirectional modeling · ImageNet-1K val, 224²top-1 accuracy: 75.2 -> 75.4Helped
Add direction-wise gating (ablation)Bidirectional GLA · ImageNet-1K val, 224²top-1 accuracy: 75.4 -> 76.3Helped
Add 2D gating locality injection (ablation)Direction-wise-gated bidirectional GLA · ImageNet-1K val, 224²top-1 accuracy: 76.3 -> 77.2Helped
Fuse forward and backward scans into a hardware-aware implementation (ablation)ViG-T · ImageNet-1K val, 224²throughput: 3812 -> 4645Helped
Use direction-wise-gated bidirectional modeling rather than Vim-style extra backward GLA (ablation)GLA · ImageNet-1K val, 224²top-1 accuracy: 73.5 -> 77.2Helped
Use ViG-T instead of VRWKV-TCOCO val2017 · COCO val2017APᵇ: 41.7 -> 43.3Helped
Use ViG-B instead of ViT-BCOCO val2017 · COCO val2017APᵇ: 46.8 -> 47.3Helped
Use ViG-T instead of VRWKV-TADE20K val · ADE20K valmIoU: 43.3 -> 43.8Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K COCO 2017 ADE20K

Benchmarks: ImageNet-1K COCO val2017 ADE20K

Metrics: top-1 accuracy FLOPs parameters throughput GPU memory latency box AP mask AP mIoU

Baselines: DeiT ViT Vim VRWKV VMamba LocalVim PlainMamba Swin Transformer ConvNeXt ResNet50

Builds on: gated linear attention Vision Mamba DeiT ViT-Adapter VRWKV

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy