paper-with-me

홈 › Papers

Class-based Quantization for Neural Networks

2022-11-27 · Wenhao Sun, Grace Li Zhang, Huaxi Gu, Bing Li, Ulf Schlichtmann

In deep neural networks (DNNs), there are a huge number of weights and multiply-and-accumulate (MAC) operations. Accordingly, it is challenging to apply DNNs on resource-constrained platforms, e.g., mobile phones. Quantization is a method to reduce the size and the computational complexity of DNNs. Existing quantization methods either require hardware overhead to achieve a non-uniform quantization or focus on model-wise and layer-wise uniform quantization, which are not as fine-grained as filter-wise quantization. In this paper, we propose a class-based quantization method to determine the minimum number of quantization bits for each filter or neuron in DNNs individually. In the proposed method, the importance score of each filter or neuron with respect to the number of classes in the dataset is first evaluated. The larger the score is, the more important the filter or neuron is and thus the larger the number of quantization bits should be. Afterwards, a search algorithm is adopted to exploit the different importance of filters and neurons to determine the number of quantization bits of each filter or neuron. Experimental results demonstrate that the proposed method can maintain the inference accuracy with low bit-width quantization. Given the same number of quantization bits, the proposed method can also achieve a better inference accuracy than the existing methods.

📄 PDF Abstract BibTeX arXiv:2211.14928

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Similar Papers 제목 키워드 기반

The Binary and Ternary Quantization Can Improve Feature Discrimination

2025-04-18 · Weizhi Lu, Mingrui Chen, Weiyu Li

In machine learning, quantization is widely used to simplify data representation and facilitate algorithm deployment on hardware. Given the fundamental role of classification in machine learning, it is crucial to investi…

ClassificationQuantization

Vector Quantization by Minimizing Kullback-Leibler Divergence

2015-01-30 · Lan Yang, Jingbin Wang, Yujin Tu, Prarthana Mahapatra 외

This paper proposes a new method for vector quantization by minimizing the Kullback-Leibler Divergence between the class label distributions over the quantization inputs, which are original vectors, and the output, which…

General Classificationimage-classificationImage ClassificationQuantization

Picking Up Quantization Steps for Compressed Image Classification

2023-04-21 · Li Ma, Peixi Peng, Guangyao Chen, Yifan Zhao 외

The sensitivity of deep neural networks to compressed images hinders their usage in many real applications, which means classification networks may fail just after taking a screenshot and saving it as a compressed file. …

Classificationimage-classificationImage ClassificationQuantization+1

Ternary and Binary Quantization for Improved Classification

2022-03-31 · Weizhi Lu, Mingrui Chen, Kai Guo, Weiyu Li

Dimension reduction and data quantization are two important methods for reducing data complexity. In the paper, we study the methodology of first reducing data dimension by random projection and then quantizing the proje…

ClassificationDimensionality ReductionQuantization

QPP: Real-Time Quantization Parameter Prediction for Deep Neural Networks

2021-06-19 · CVPR 2021 1 · Vladimir Kryzhanovskiy, Gleb Balitskiy, Nikolay Kozyrskiy, Aleksandr Zuruev

Modern deep neural networks (DNNs) cannot be effectively used in mobile and embedded devices due to strict requirements for computational complexity, memory, and power consumption. The quantization of weights and fea…

Parameter PredictionQuantizationSuper-Resolution