English

Semi-Relaxed Quantization with DropBits: Training Low-Bit Neural Networks via Bit-wise Regularization

Computer Vision and Pattern Recognition 2021-09-08 v3 Machine Learning Image and Video Processing

Abstract

Network quantization, which aims to reduce the bit-lengths of the network weights and activations, has emerged as one of the key ingredients to reduce the size of neural networks for their deployments to resource-limited devices. In order to overcome the nature of transforming continuous activations and weights to discrete ones, recent study called Relaxed Quantization (RQ) [Louizos et al. 2019] successfully employ the popular Gumbel-Softmax that allows this transformation with efficient gradient-based optimization. However, RQ with this Gumbel-Softmax relaxation still suffers from bias-variance trade-off depending on the temperature parameter of Gumbel-Softmax. To resolve the issue, we propose a novel method, Semi-Relaxed Quantization (SRQ) that uses multi-class straight-through estimator to effectively reduce the bias and variance, along with a new regularization technique, DropBits that replaces dropout regularization to randomly drop the bits instead of neurons to further reduce the bias of the multi-class straight-through estimator in SRQ. As a natural extension of DropBits, we further introduce the way of learning heterogeneous quantization levels to find proper bit-length for each layer using DropBits. We experimentally validate our method on various benchmark datasets and network architectures, and also support the quantized lottery ticket hypothesis: learning heterogeneous quantization levels outperforms the case using the same but fixed quantization levels from scratch.

Keywords

Cite

@article{arxiv.1911.12990,
  title  = {Semi-Relaxed Quantization with DropBits: Training Low-Bit Neural Networks via Bit-wise Regularization},
  author = {Jung Hyun Lee and Jihun Yun and Sung Ju Hwang and Eunho Yang},
  journal= {arXiv preprint arXiv:1911.12990},
  year   = {2021}
}

Comments

New submission with another link

R2 v1 2026-06-23T12:30:44.980Z