English

A Separable Self-attention Inspired by the State Space Model for Computer Vision

Computer Vision and Pattern Recognition 2025-05-21 v2 Artificial Intelligence

Abstract

Mamba is an efficient State Space Model (SSM) with linear computational complexity. Although SSMs are not suitable for handling non-causal data, Vision Mamba (ViM) methods still demonstrate good performance in tasks such as image classification and object detection. Recent studies have shown that there is a rich theoretical connection between state space models and attention variants. We propose a novel separable self attention method, for the first time introducing some excellent design concepts of Mamba into separable self-attention. To ensure a fair comparison with ViMs, we introduce VMINet, a simple yet powerful prototype architecture, constructed solely by stacking our novel attention modules with the most basic down-sampling layers. Notably, VMINet differs significantly from the conventional Transformer architecture. Our experiments demonstrate that VMINet has achieved competitive results on image classification and high-resolution dense prediction tasks.Code is available at: https://github.com/yws-wxs/VMINet.

Keywords

Cite

@article{arxiv.2501.02040,
  title  = {A Separable Self-attention Inspired by the State Space Model for Computer Vision},
  author = {Juntao Zhang and Shaogeng Liu and Kun Bian and You Zhou and Pei Zhang and Jianning Liu and Jun Zhou and Bingyan Liu},
  journal= {arXiv preprint arXiv:2501.02040},
  year   = {2025}
}
R2 v1 2026-06-28T20:55:48.193Z