Lune

AAAI2025Top-tier venue

SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networks

Meng Lou, Yunxiang Fu, Yizhou Yu

Abstract

Due to the capability of dynamic state space models (SSMs) in capturing long-range dependencies with linear-time computational complexity, Mamba has shown notable performance in NLP tasks. This has inspired the rapid development of Mamba-based vision models, resulting in promising results in visual recognition tasks. However, such models are not capable of distilling features across layers through feature aggregation, interaction, and selection. Moreover, existing cross-layer feature aggregation methods designed for CNNs or ViTs are not practical in Mamba-based models due to high computational costs. Therefore, this paper aims to introduce an efficient cross-layer feature aggregation mechanism for vision backbone networks. Inspired by the Retinal Ganglion Cells (RGCs) in the human visual system, we propose a new sparse cross-layer connection mechanism termed SparX to effectively improve cross-layer feature interaction and reuse. Specifically, we build two different types of network layers: ganglion layers and normal layers. The former has higher connectivity and complexity, enabling multi-layer feature aggregation and interaction in an input-dependent manner. In contrast, the latter has lower connectivity and complexity. By interleaving these two types of layers, we design a new family of vision backbone networks with sparsely cross-connected layers, achieving an excellent trade-off among model size, computational cost, memory cost, and accuracy in comparison to its counterparts. For instance, with fewer parameters, SparX-Mamba-T improves the top-1 accuracy of VMamba-T from 82.5% to 83.5%, while SparX-Swin-T achieves a 1.3% increase in top-1 accuracy compared to Swin-T. Extensive experimental results demonstrate that our new connection mechanism possesses both superior performance and generalization capabilities on various vision tasks. Code is publicly available at https://github.com/LMMMEng/SparX .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Partial Ring Scan: Revisiting Scan Order in Vision State Space Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Partial Ring Scan: Revisiting Scan Order in Vision State Space Models cites A ConvNet for the 2020s
  • Partial Ring Scan: Revisiting Scan Order in Vision State Space Models cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Partial Ring Scan: Revisiting Scan Order in Vision State Space Models cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Partial Ring Scan: Revisiting Scan Order in Vision State Space Models cites Training data-efficient image transformers & distillation through attention
  • OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels cites A ConvNet for the 2020s
  • OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels cites Training data-efficient image transformers & distillation through attention
  • TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language Model cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • PGMamba: A Physical Model-Guided Global Mamba for Underwater Image Enhancement cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • PGMamba: A Physical Model-Guided Global Mamba for Underwater Image Enhancement cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A ConvNet for the 2020s cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A ConvNet for the 2020s cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A ConvNet for the 2020s cites Training data-efficient image transformers & distillation through attention
  • Vision Transformers Need More Than Registers cites OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels
  • Vision Transformers Need More Than Registers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Vision Transformers Need More Than Registers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Vision Transformers Need More Than Registers cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Vision Transformers Need More Than RegistersCheng Shi, Yizhou Yu, Sibei YangCVPR 2026 · 17 citations
  2. TransMamba: A Sequence-Level Hybrid Transformer-Mamba Language ModelYixing Li, Ruobing Xie, Zhen Yang, Xingwu Sun et al.AAAI 2026 · 3 citations
  3. Partial Ring Scan: Revisiting Scan Order in Vision State Space ModelsYi-Kuan Hsieh, Kuan-Chuan Peng, Xin Li, Ming-Ching Chang et al.ICML 2026
  4. OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic KernelsMeng Lou, Yizhou YuCVPR 2025
  5. PGMamba: A Physical Model-Guided Global Mamba for Underwater Image EnhancementZijun Tan, Chuan Fu, Tan Guo, Zhixiong Nan et al.AAAI 2026

Builds on29

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  4. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
  5. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations

Related papers

  1. PVMamba: Parallelizing Vision Mamba via Dynamic State AggregationFei Xie, Zhongdao Wang, Weijia Zhang, Chao MaICCV 2025 · 2 citations
  2. VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
  3. MobileMamba: Lightweight Multi-Receptive Visual Mamba NetworkHaoyang He, Jiangning Zhang, Yuxuan Cai, Hongxu Chen et al.CVPR 2025
  4. Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space ModelYuheng Shi, Minjing Dong, Chang XuNeurIPS 2024 · 129 citations
  5. Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space ModelLianghui Zhu, Bencheng Liao, Qian Zhang, Xinlong Wang et al.ICML 2024 · 1,725 citations
Dusk over the sea between two cliffs drawn in fine vertical lines