EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality

Sanghyeok Lee, Joonmyung Choi, Hyunwoo J. Kim

EfficientViM is a new family of lightweight vision backbones that optimizes State Space Models (SSMs) for real-world speed. By moving heavy channel-mixing operations into a compressed "hidden state" space and using a novel multi-stage fusion mechanism, it achieves a new state-of-the-art speed-accuracy trade-off, outperforming models like SHViT and previous Vision Mamba variants by significant margins.

Addressing the Efficiency Gap in Vision Mamba

While Vision Transformers (ViTs) are powerful, their self-attention mechanism has a "quadratic bottleneck"—as the number of image patches (tokens) increases, the computational cost grows exponentially. State Space Models (SSMs), specifically the Mamba architecture, have emerged as a linear-time alternative.

However, existing "Vision Mambas" often struggle to beat highly optimized CNNs or hybrid models in actual runtime. The authors identify two main culprits:

  1. Projection Overheads: Most of the runtime in State Space Duality (SSD) layers is actually spent on linear projections of the input sequences, not the SSM operation itself.
  2. Memory Bottlenecks: Standard multi-head designs require frequent tensor reshaping and copying, which are "memory-bound" operations that slow down mobile and edge devices.

Core Innovations

The authors introduce Efficient Vision Mamba (EfficientViM), featuring three primary innovations:

  • Hidden State Mixer (HSM-SSD): Instead of performing channel mixing and gating on the high-dimensional input feature space (dimension $D$), EfficientViM performs these operations within the compressed hidden state space (dimension $N$, where $N \ll D$). This drastically reduces the complexity of the most expensive linear projections.
  • Multi-Stage Hidden State Fusion (MSF): The authors realized that the hidden states themselves are rich representations. They introduce a mechanism that averages hidden states from the final blocks of each stage, projects them into logits, and fuses them with the main prediction. This reinforces the model's representation power without adding significant latency.
  • Single-Head Macro Design: To avoid the memory-access overhead of multi-head attention, EfficientViM uses a single-head design. To maintain the ability to capture diverse relationships, they use state-wise importance weights within the SSM.
The overall architecture of EfficientViM, highlighting the multi-stage design and the HSM-SSD block.

Key Insights and Ideas

  • The "Hidden" Efficiency: The core "aha moment" is that the hidden state in an SSM acts as a natural bottleneck. By performing gating and mixing there rather than on the raw input, you get the same global interaction for a fraction of the FLOPs.
  • FLOPs vs. Throughput: The paper emphasizes that theoretical complexity (FLOPs) doesn't always equal real-world speed. By eliminating "memory-bound" operations (like the reshapes needed for multi-head designs), they achieved a $7\%$ throughput boost even when the FLOP count remained similar.
  • Logit Fusion: Using hidden states from early, middle, and late stages to contribute to the final classification (MSF) acts like a sophisticated skip-connection for features, improving accuracy by roughly $0.3\%$ with negligible cost.

Experimental Results

EfficientViM sets new benchmarks across several categories:

  • Superior Speed-Accuracy: On ImageNet-1K, EfficientViM-M2 is 80% faster than MobileNetV3-L while being 0.6% more accurate.
  • Mamba vs. Mamba: Compared to previous Vision Mamba models (like ViM-T or LocalViM), EfficientViM-M4 provides 3× to 14× higher throughput while maintaining or exceeding accuracy.
  • Edge Performance: It outperforms the previous state-of-the-art lightweight model, SHViT, by up to 0.7% in accuracy while running at faster speeds.
ImageNet-1K speed-accuracy trade-off comparing EfficientViM against a wide range of lightweight backbones.
  • Downstream Tasks: In semantic segmentation on ADE20K, EfficientViM-M4 achieved a 41.3% mIoU, outperforming EdgeViT-XXS by 1.6% while being 2× faster.

Limitations and Future Work

While EfficientViM is extremely fast and memory-efficient during inference, it actually has a higher raw parameter count than some competitors (e.g., 13.9M for M2 vs 6.3M for SHViT-S1). This might be a concern for applications with very strict storage limits. Additionally, performance gains were measured on high-end GPUs; future work could explore whether the HSM-SSD approach scales effectively to massive "Foundation" model sizes or specific mobile NPU architectures.

Summary updated

BibTeX
@inproceedings{lee2025efficientvim,
  author = {Sanghyeok Lee and Joonmyung Choi and Hyunwoo J. Kim},
  title = {{EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01390},
}
Figure