paper-with-me

Papers

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

2026-05-03 · Shengzhe Lyu, Yuhan She, Patrick S. Y. Hung, Ray C. C. Cheung, Weitao Xu arxiv

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.

📄 PDF Abstract BibTeX arXiv:2605.01935

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

A Survey on Visual Mamba

2024-04-24 · Hanwei Zhang, Ying Zhu, Dan Wang, Lijun Zhang 외

State space models (SSMs) with selection mechanisms and hardware-aware architectures, namely Mamba, have recently demonstrated significant promise in long-sequence modeling. Since the self-attention mechanism in transfor…

Image RegistrationImage RestorationImage Super-ResolutionMamba+6

FastMamba: A High-Speed and Efficient Mamba Accelerator on FPGA with Accurate Quantization

2025-05-25 · Aotao Wang, Haikuo Shao, Shaobo Ma, Zhongfeng Wang

State Space Models (SSMs), like recent Mamba2, have achieved remarkable performance and received extensive attention. However, deploying Mamba2 on resource-constrained edge devices encounters many problems: severe outlie…

Computational EfficiencyCPUGPUMamba+2

Bi-Mamba: Towards Accurate 1-Bit State Space Models

2024-11-18 · Shengkun Tang, Liqun Ma, Haonan Li, MingJie Sun 외

The typical selective state-space model (SSM) of Mamba addresses several limitations of Transformers, such as quadratic computational complexity with sequence length and significant inference-time memory requirements due…

BinarizationLanguage ModelingLanguage ModellingMamba+1

SEMA: a Scalable and Efficient Mamba like Attention via Token Localization and Averaging

2025-06-10 · Nhat Thanh Tran, Fanghui Xue, Shuai Zhang, Jiancheng Lyu 외

Attention is the critical component of a transformer. Yet the quadratic computational complexity of vanilla full attention in the input size and the inability of its linear attention variant to focus have been challenges…

Mamba

Scalable Neural Decoders for Practical Real-Time Quantum Error Correction

2025-10-26 · Changwon Lee, Tak Hur, Daniel K. Park arxiv

Real-time, scalable, and accurate decoding is a critical component for realizing a fault-tolerant quantum computer. While Transformer-based neural decoders such as \textit{AlphaQubit} have demonstrated high accuracy, the…