Saved in:
Bibliographic Details
Main Authors: Deng, Juncan, Li, Shuaiting, Wang, Zeyu, Xu, Kedong, Gu, Hong, Huang, Kejie
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.09509
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908472135647232
author Deng, Juncan
Li, Shuaiting
Wang, Zeyu
Xu, Kedong
Gu, Hong
Huang, Kejie
author_facet Deng, Juncan
Li, Shuaiting
Wang, Zeyu
Xu, Kedong
Gu, Hong
Huang, Kejie
contents Visual Mamba networks (ViMs) extend the selective state space model (Mamba) to various vision tasks and demonstrate significant potential. As a promising compression technique, vector quantization (VQ) decomposes network weights into codebooks and assignments, significantly reducing memory usage and computational latency, thereby enabling the deployment of ViMs on edge devices. Although existing VQ methods have achieved extremely low-bit quantization (e.g., 3-bit, 2-bit, and 1-bit) in convolutional neural networks and Transformer-based networks, directly applying these methods to ViMs results in unsatisfactory accuracy. We identify several key challenges: 1) The weights of Mamba-based blocks in ViMs contain numerous outliers, significantly amplifying quantization errors. 2) When applied to ViMs, the latest VQ methods suffer from excessive memory consumption, lengthy calibration procedures, and suboptimal performance in the search for optimal codewords. In this paper, we propose ViM-VQ, an efficient post-training vector quantization method tailored for ViMs. ViM-VQ consists of two innovative components: 1) a fast convex combination optimization algorithm that efficiently updates both the convex combinations and the convex hulls to search for optimal codewords, and 2) an incremental vector quantization strategy that incrementally confirms optimal codewords to mitigate truncation errors. Experimental results demonstrate that ViM-VQ achieves state-of-the-art performance in low-bit quantization across various visual tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2503_09509
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mamba
Deng, Juncan
Li, Shuaiting
Wang, Zeyu
Xu, Kedong
Gu, Hong
Huang, Kejie
Computer Vision and Pattern Recognition
Visual Mamba networks (ViMs) extend the selective state space model (Mamba) to various vision tasks and demonstrate significant potential. As a promising compression technique, vector quantization (VQ) decomposes network weights into codebooks and assignments, significantly reducing memory usage and computational latency, thereby enabling the deployment of ViMs on edge devices. Although existing VQ methods have achieved extremely low-bit quantization (e.g., 3-bit, 2-bit, and 1-bit) in convolutional neural networks and Transformer-based networks, directly applying these methods to ViMs results in unsatisfactory accuracy. We identify several key challenges: 1) The weights of Mamba-based blocks in ViMs contain numerous outliers, significantly amplifying quantization errors. 2) When applied to ViMs, the latest VQ methods suffer from excessive memory consumption, lengthy calibration procedures, and suboptimal performance in the search for optimal codewords. In this paper, we propose ViM-VQ, an efficient post-training vector quantization method tailored for ViMs. ViM-VQ consists of two innovative components: 1) a fast convex combination optimization algorithm that efficiently updates both the convex combinations and the convex hulls to search for optimal codewords, and 2) an incremental vector quantization strategy that incrementally confirms optimal codewords to mitigate truncation errors. Experimental results demonstrate that ViM-VQ achieves state-of-the-art performance in low-bit quantization across various visual tasks.
title ViM-VQ: Efficient Post-Training Vector Quantization for Visual Mamba
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.09509