English

MBQuant: A Novel Multi-Branch Topology Method for Arbitrary Bit-width Network Quantization

Computer Vision and Pattern Recognition 2024-06-04 v2

Abstract

Arbitrary bit-width network quantization has received significant attention due to its high adaptability to various bit-width requirements during runtime. However, in this paper, we investigate existing methods and observe a significant accumulation of quantization errors caused by switching weight and activations bit-widths, leading to limited performance. To address this issue, we propose MBQuant, a novel method that utilizes a multi-branch topology for arbitrary bit-width quantization. MBQuant duplicates the network body into multiple independent branches, where the weights of each branch are quantized to a fixed 2-bit and the activations remain in the input bit-width. The computation of a desired bit-width is completed by selecting an appropriate number of branches that satisfy the original computational constraint. By fixing the weight bit-width, this approach substantially reduces quantization errors caused by switching weight bit-widths. Additionally, we introduce an amortization branch selection strategy to distribute quantization errors caused by switching activation bit-widths among branches to improve performance. Finally, we adopt an in-place distillation strategy that facilitates guidance between branches to further enhance MBQuant's performance. Extensive experiments demonstrate that MBQuant achieves significant performance gains compared to existing arbitrary bit-width quantization methods. Code is at https://github.com/zysxmu/MultiQuant.

Keywords

Cite

@article{arxiv.2305.08117,
  title  = {MBQuant: A Novel Multi-Branch Topology Method for Arbitrary Bit-width Network Quantization},
  author = {Yunshan Zhong and Yuyao Zhou and Fei Chao and Rongrong Ji},
  journal= {arXiv preprint arXiv:2305.08117},
  year   = {2024}
}
R2 v1 2026-06-28T10:33:58.222Z