DyBit: Dynamic Bit-Precision Numbers for Efficient Quantized Neural Network Inference

Jiajun Zhou, Jiajun Wu, Yizhao Gao, Yuhao Ding, Chaofan Tao +5 more
2/24/2023
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

To accelerate the inference of deep neural networks (DNNs), quantization with low-bitwidth numbers is actively researched. A prominent challenge is to quantize the DNN models into low-bitwidth numbers without significant accuracy degradation, especially at very low bitwidths (< 8 bits). This work targets an adaptive data representation with variable-length encoding called DyBit. DyBit can dynamically adjust the precision and range of separate bit-field to be adapted to the DNN weights/activations distribution. We also propose a hardware-aware quantization framework with a mixed-precision accelerator to trade-off the inference accuracy and speedup. Experimental results demonstrate that the inference accuracy via DyBit is 1.997% higher than the state-of-the-art at 4-bit quantization, and the proposed framework can achieve up to 8.1x speedup compared with the original model.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2023dybit,
  title  = {DyBit: Dynamic Bit-Precision Numbers for Efficient Quantized Neural Network Inference},
  author = {Jiajun Zhou and Jiajun Wu and Yizhao Gao and Yuhao Ding and Chaofan Tao and Boyu Li and Fengbin Tu and Kwang-Ting Cheng and Hayden Kwok-Hay So and Ngai Wong},
  year   = {2023},
  eprint = {2302.12510},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.12510v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.12510.svg)](https://codeofpaper.com/paper/2302.12510)

Discussion