atlas

Research map / Architectures and efficiency / Attention and transformers

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

AAAI 2025 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 13 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.

Proposes SparX, a sparse cross-layer connection mechanism (ganglion and normal layers with channel-wise cross-attention DMCA and cross-layer sliding window) that improves Mamba- and Transformer-based hierarchical vision backbones on ImageNet-1K, COCO, and ADE20K.

Problem

Mamba-based vision models cannot effectively aggregate and select features across layers, and existing cross-layer methods (DenseNet-style connections, spatial cross-attention) are too costly in throughput and memory for Mamba-based backbones.

Approach

Inspired by retinal ganglion cells, interleave sparse "ganglion" layers (with dynamic multi-layer channel aggregation via grouped channel cross-attention, spatially reduced) and "normal" layers, and limit ganglion inter-connections to a cross-layer sliding window of M preceding ganglion layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add sparse cross-layer connections with ganglion layers and DMCAVMamba-T · ImageNet-1Kaccuracy: 82.5 -> 83.5Helped
Add sparse cross-layer connections with ganglion layers and DMCAVMamba-T · COCO 2017 Mask R-CNN 3×APb: 48.9 -> 50.2Helped
Add sparse cross-layer connections with ganglion layers and DMCAVMamba-T · ADE20K S-FPN 80KmIoU: 47.2 -> 49.5Helped
Remove the cross-layer sliding window and connect ganglion layers to all preceding layers (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 83.4Hurt
Set S=1 and remove the cross-layer sliding window (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 83.4No clear effect
Replace DMCA with feature concatenation and Conv-FFN fusion (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 82.8Hurt
Remove cross-layer grouped channel attention (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 82.7Hurt
Replace DMCA with spatial cross-attention (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 83.3Hurt
Replace all ganglion layers with normal layers, removing cross-layer connections (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 82.4Hurt
Set ganglion-layer stride S=1 (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 83.5No clear effect
Set ganglion-layer stride S=4 (ablation)SparX-Mamba-T · ImageNet-1Kaccuracy: 83.5 -> 82.9Hurt
Remove Dynamic Position Encoding (ablation)SparX-Mamba-T · ADE20KmIoU: 49.5 -> 49.0Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K COCO 2017 ADE20K

Benchmarks: ImageNet-1K COCO 2017 ADE20K

Metrics: top-1 accuracy AP^b AP^m mIoU FLOPs params throughput GPU memory

Baselines: VMamba LocalVMamba MSVMamba EfficientVMamba ViM2 PlainMamba ConvNeXt Swin CSWin MambaOut UniRepLKNet FcaFormer

Builds on: Mamba VMamba DenseNet Swin Transformer PVT

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