paper-with-me

홈 › Papers

PTQ4VM: Post-Training Quantization for Visual Mamba

2024-12-29 · Younghyun Cho, Changhun Lee, Seonggon Kim, Eunhyeok Park

Visual Mamba is an approach that extends the selective space state model, Mamba, to vision tasks. It processes image tokens sequentially in a fixed order, accumulating information to generate outputs. Despite its growing popularity for delivering high-quality outputs at a low computational cost across various tasks, Visual Mamba is highly susceptible to quantization, which makes further performance improvements challenging. Our analysis reveals that the fixed token access order in Visual Mamba introduces unique quantization challenges, which we categorize into three main issues: 1) token-wise variance, 2) channel-wise outliers, and 3) a long tail of activations. To address these challenges, we propose Post-Training Quantization for Visual Mamba (PTQ4VM), which introduces two key strategies: Per-Token Static (PTS) quantization and Joint Learning of Smoothing Scale and Step Size (JLSS). To the our best knowledge, this is the first quantization study on Visual Mamba. PTQ4VM can be applied to various Visual Mamba backbones, converting the pretrained model to a quantized format in under 15 minutes without notable quality degradation. Extensive experiments on large-scale classification and regression tasks demonstrate its effectiveness, achieving up to 1.83x speedup on GPUs with negligible accuracy loss compared to FP16. Our code is available at https://github.com/YoungHyun197/ptq4vm.

📄 PDF Abstract BibTeX arXiv:2412.20386

Code (1)

younghyun197/ptq4vm 공식 구현 pytorch

Tasks

MambaQuantization

Methods 이 논문이 사용한 방법론

Mamba Foundation models, now powering most of the exciting applications in deep learning, are almost universally based on the Transformer architecture and its core attention module.…

Similar Papers 제목 키워드 기반

ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mamba

2025-03-12 · Juncan Deng, Shuaiting Li, Zeyu Wang, Kedong Xu 외

Visual Mamba networks (ViMs) extend the selective space state model (Mamba) to various vision tasks and demonstrate significant potential. Vector quantization (VQ), on the other hand, decomposes network weights into code…

MambaQuantization

Post-Training Quantization for Vision Mamba with k-Scaled Quantization and Reparameterization

2025-01-28 · Bo-Yun Shi, Yi-Cheng Lo, An-Yeu, Wu 외

The Mamba model, utilizing a structured state-space model (SSM), offers linear time complexity and demonstrates significant potential. Vision Mamba (ViM) extends this framework to vision tasks by incorporating a bidirect…

MambaQuantization

QMamba: Post-Training Quantization for Vision State Space Models

2025-01-23 · Yinglong Li, Xiaoyu Liu, Jiacheng Li, Ruikang Xu 외

State Space Models (SSMs), as key components of Mamaba, have gained increasing attention for vision models recently, thanks to their efficient long sequence modeling capability. Given the computational cost of deploying …

QuantizationState Space Models

Channel-Wise and Token-Aware Post-Training Quantization for Visual State Space Duality

2026-09-15 · Jonghyeon Lim, Changhoon Yim arxiv

State space models (SSMs), particularly Mamba, have emerged as efficient alternatives to attention-based architectures and have been extended to vision through ViM, VMamba, and Visual State Space Duality (VSSD). Yet the …

Semantic SegmentationInstance SegmentationObject Detection

Ternary Mamba: Grouped Quantization-Aware Training of W1.58A16 State Space Models

2026-06-16 · Ramprasath Ganesaraja, Sahil Dilip Panse, Swathika N arxiv

State Space Models (SSMs) such as Mamba-2 offer linear-time inference but their memory footprint limits edge deployment. Prior ternary SSM work (Slender-Mamba) trains from scratch on 150B tokens; we show a pretrained che…

Knowledge Distillation