Famba-V: Fast Vision Mamba with Cross-Layer Token Fusion

Hui Shen, Zhongwei Wan, Xin Wang, Mi Zhang
9/15/2024
cs.CVcs.AI

No official code found. Best implementation: AIoT-MLSys-Lab/Famba-V (34 stars, last commit 2024-09-30).

Abstract

Mamba and Vision Mamba (Vim) models have shown their potential as an alternative to methods based on Transformer architecture. This work introduces Fast Mamba for Vision (Famba-V), a cross-layer token fusion technique to enhance the training efficiency of Vim models. The key idea of Famba-V is to identify and fuse similar tokens across different Vim layers based on a suit of cross-layer strategies instead of simply applying token fusion uniformly across all the layers that existing works propose. We evaluate the performance of Famba-V on CIFAR-100. Our results show that Famba-V is able to enhance the training efficiency of Vim models by reducing both training time and peak memory usage during training. Moreover, the proposed cross-layer strategies allow Famba-V to deliver superior accuracy-efficiency trade-offs. These results all together demonstrate Famba-V as a promising efficiency enhancement technique for Vim models.

View on arXivView PDF

Code Implementations(1)

[ECCV 2024 Workshop Best Paper Award] Famba-V: Fast Vision Mamba with Cross-Layer Token Fusion

341C, C++Aug 20, 20242 years ago
efficient-deep-learninglarge-language-modelsmamba-model

Similar Papers

Cite this paper

@article{shen2024fambav,
  title  = {Famba-V: Fast Vision Mamba with Cross-Layer Token Fusion},
  author = {Hui Shen and Zhongwei Wan and Xin Wang and Mi Zhang},
  year   = {2024},
  eprint = {2409.09808},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.09808v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.09808.svg)](https://codeofpaper.com/paper/2409.09808)

Discussion