vGamba: Attentive State Space Bottleneck for efficient Long-range Dependencies in Visual Recognition

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Haruna, Yunusa, Lawan, Adamu, Muhammad, Shamsuddeen Hassan, Zhang, Jiaquan, Zhang, Chaoning
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908919708778496
author Haruna, Yunusa
Lawan, Adamu
Muhammad, Shamsuddeen Hassan
Zhang, Jiaquan
Zhang, Chaoning
author_facet Haruna, Yunusa
Lawan, Adamu
Muhammad, Shamsuddeen Hassan
Zhang, Jiaquan
Zhang, Chaoning
contents Capturing long-range dependencies (LRD) efficiently is a core challenge in visual recognition, and state-space models (SSMs) have recently emerged as a promising alternative to self-attention for addressing it. However, adapting SSMs into CNN-based bottlenecks remains challenging, as existing approaches require complex pre-processing and multiple SSM replicas per block, limiting their practicality. We propose vGamba, a hybrid vision backbone that replaces the standard bottleneck convolution with a single lightweight SSM block, the Gamba cell, which incorporates 2D positional awareness and an attentive spatial context (ASC) module for efficient LRD modeling. Results on diverse downstream vision tasks demonstrate competitive accuracy against SSM-based models such as VMamba and ViM, while achieving significantly improved computation and memory efficiency over Bottleneck Transformer (BotNet). For example, at $2048 \times 2048$ resolution, vGamba is $2.07 \times$ faster than BotNet and reduces peak GPU memory by 93.8% (1.03GB vs. 16.78GB), scaling near-linearly with resolution comparable to ResNet-50. These results demonstrate that Gamba Bottleneck effectively overcomes the memory and compute constraints of BotNet global modeling, establishing it as a practical and scalable backbone for high-resolution vision tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21262
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle vGamba: Attentive State Space Bottleneck for efficient Long-range Dependencies in Visual Recognition
Haruna, Yunusa
Lawan, Adamu
Muhammad, Shamsuddeen Hassan
Zhang, Jiaquan
Zhang, Chaoning
Computer Vision and Pattern Recognition
Capturing long-range dependencies (LRD) efficiently is a core challenge in visual recognition, and state-space models (SSMs) have recently emerged as a promising alternative to self-attention for addressing it. However, adapting SSMs into CNN-based bottlenecks remains challenging, as existing approaches require complex pre-processing and multiple SSM replicas per block, limiting their practicality. We propose vGamba, a hybrid vision backbone that replaces the standard bottleneck convolution with a single lightweight SSM block, the Gamba cell, which incorporates 2D positional awareness and an attentive spatial context (ASC) module for efficient LRD modeling. Results on diverse downstream vision tasks demonstrate competitive accuracy against SSM-based models such as VMamba and ViM, while achieving significantly improved computation and memory efficiency over Bottleneck Transformer (BotNet). For example, at $2048 \times 2048$ resolution, vGamba is $2.07 \times$ faster than BotNet and reduces peak GPU memory by 93.8% (1.03GB vs. 16.78GB), scaling near-linearly with resolution comparable to ResNet-50. These results demonstrate that Gamba Bottleneck effectively overcomes the memory and compute constraints of BotNet global modeling, establishing it as a practical and scalable backbone for high-resolution vision tasks.
title vGamba: Attentive State Space Bottleneck for efficient Long-range Dependencies in Visual Recognition
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.21262