ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGA

Shengzhe Lyu, Yuhan She, Patrick S. Y. Hung, Ray C. C. Cheung, Weitao Xu
5/3/2026
cs.ARcs.CVcs.LG

No official code found. Best implementation: shengzhelyu65/ViM-Q-FCCM-2026 (7 stars, MIT, last commit 2026-04-14).

Abstract

Vision Mamba (ViM) models offer a compelling efficiency advantage over Transformers by leveraging the linear complexity of State Space Models (SSMs), yet efficiently deploying them on FPGAs remains challenging. Linear layers struggle with dynamic activation outliers that render static quantization ineffective, while uniform quantization fails to capture the weight distribution at low bit-widths. Furthermore, while associative scan accelerates SSMs on GPUs, its memory access patterns are misaligned with the streaming dataflow required by FPGAs. To address these challenges, we present ViM-Q, a scalable algorithm-hardware co-design for end-to-end ViM inference on the edge. We introduce a hardware-aware quantization scheme combining dynamic per-token activation quantization and per-channel smoothing to mitigate outliers, alongside a custom 4-bit per-block Additive Power-of-Two (APoT) weight quantization. The models are deployed on a runtime-parameterizable FPGA accelerator featuring a linear engine employing a Lookup-Table (LUT) unit to replace multiplications with shift-add operations, and a fine-grained pipelined SSM engine that parallelizes the state dimension while preserving sequential recurrence. Crucially, the hardware supports runtime configuration, adapting to diverse dimensions and input resolutions across the ViM family. Implemented on an AMD ZCU102 FPGA, ViM-Q achieves an average 4.96x speedup and 59.8x energy efficiency gain over a quantized NVIDIA RTX 3090 GPU baseline for low-batch inference on ViM-tiny. This co-design shows a viable path for deploying ViM models on resource-constrained edge devices.

View on arXivView PDF

Code Implementations(1)

MIT

Scalable Algorithm-Hardware Co-Design for Dynamically Quantized Vision Mamba Models Inference on FPGA.

71Mar 20, 20266 months agoMIT
algorithm-hardware-codesignfpgahardware-accelerationhigh-level-synthesismamba+4 more

Similar Papers

Cite this paper

@article{lyu2026vimq,
  title  = {ViM-Q: Scalable Algorithm-Hardware Co-Design for Vision Mamba Model Inference on FPGA},
  author = {Shengzhe Lyu and Yuhan She and Patrick S. Y. Hung and Ray C. C. Cheung and Weitao Xu},
  year   = {2026},
  eprint = {2605.01935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.01935v1}
}

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/2605.01935.svg)](https://codeofpaper.com/paper/2605.01935)

Discussion