Fully Neural Network Low-Bit Quantization and Adjustment of Activation Distributions
Quantization Aware Training (QAT) can usually achieve better performance than Post-Training Quantization (PTQ) in low-bit quantization due to its parameter learnability. However, deploying the network after low-bit quantization to dedicated hardware is still challenging. In particular, convolutional neural networks maintain 8-bit quantization for some of their sensitive layers when quantized at low bit. To enable the underlying hardware circuitry to support two different computational bitwidth at the same time during hardware deployment leads to an increase in cost; In addition, some target detection networks using LeakyRelu, etc. as the activation function can have poor accuracy after quantization due to the asymmetric distribution of activation values. In this paper, we propose a static 4-bit activation value quantization method for the sensitive layer to unify the quantization bits and an Parameterizable LeakyReLU(PLReLU) activation function to adjust the distribution of activation values to make them symmetric, which reduce the hardware cost and improve the accuracy of the quantization network. Our method outperforms current low-bit quantization methods by 1.11% to 1.72% on ImageNet dataset and by 0.9% on PASCAL VOC dataset, demonstrating the contribution of the design in this paper.
Authors
- Zhihong Yan (ORCID: https://orcid.org/0009-0002-9604-0543)
- Qian Zhang (ORCID: https://orcid.org/0000-0001-6274-1494)
- Dong Wang (ORCID: https://orcid.org/0000-0002-0068-8824)
Institutions
- Beijing Jiaotong University (CN)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/icsp62129.2024.10846012
- Primary Topic
- Photonic and Optical Devices
- Type
- article
- Field-Weighted Citation Impact
- 0.00