Accuracy degradation aware bit rate allocation for layer-wise uniform quantization of weights in neural network

Abstract Motivated by the fact that optimizing quantization error fails to minimize the accuracy degradation caused by the quantization of Neural Network (NN) weights, in this paper, we highlight the need for a comprehensive analysis of post-training quantization, covering average bit rate, accuracy degradation and SQNR. One such analysis, for the layer-wise uniform quantization and its application is NN weight compression is presented in this paper. We introduce an additional aspect of Uniform Quantizer (UQ) choice, and we allow the selection of one of two UQs (2-bit or 3-bit UQs) for each layer of NN. However, choosing a particular bit rate allocation to minimize average bit rate and accuracy degradation requires finding a trade-off solution. To solve the issue underpinning our motivation, for a post-training layer-wise uniform quantization framework with two UQs, we propose an algorithm for generating bit rate allocation patterns and corresponding pairs of average bit rate and accuracy degradation. We analyze the output of this algorithm and determine a solution of the elaborated two-objective optimization problem. To confirm the validity of the results we also apply the Pareto dominance method. This work can be considered a solid foundation for further analyses of more complex and deeper NNs.

Authors

Institutions

Publication Details

Journal
Journal of Electrical Engineering
Published
2024-12-01
DOI
https://doi.org/10.2478/jee-2024-0051
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accuracy degradation aware bit rate allocation for layer-wise uniform quantization of weights in neural network

Stefan Tomić, Zoran Perić, Danijela Aleksić, Aleksandra Jovanović et al.
Journal of Electrical Engineering
Advanced Neural Network Applications
article

Accuracy degradation aware bit rate allocation for layer-wise uniform quantization of weights in neural network

Stefan Tomić, Zoran Perić, Danijela Aleksić, Aleksandra Jovanović, Jelena Nikolić
article en

Abstract

Abstract Motivated by the fact that optimizing quantization error fails to minimize the accuracy degradation caused by the quantization of Neural Network (NN) weights, in this paper, we highlight the need for a comprehensive analysis of post-training quantization, covering average bit rate, accuracy degradation and SQNR. One such analysis, for the layer-wise uniform quantization and its application is NN weight compression is presented in this paper. We introduce an additional aspect of Uniform Quantizer (UQ) choice, and we allow the selection of one of two UQs (2-bit or 3-bit UQs) for each layer of NN. However, choosing a particular bit rate allocation to minimize average bit rate and accuracy degradation requires finding a trade-off solution. To solve the issue underpinning our motivation, for a post-training layer-wise uniform quantization framework with two UQs, we propose an algorithm for generating bit rate allocation patterns and corresponding pairs of average bit rate and accuracy degradation. We analyze the output of this algorithm and determine a solution of the elaborated two-objective optimization problem. To confirm the validity of the results we also apply the Pareto dominance method. This work can be considered a solid foundation for further analyses of more complex and deeper NNs.

Journal of Electrical EngineeringVol. 75(6)
Abu Dhabi University (AE), University of Nis (RS), Telekom Srbija (Serbia) (RS)
Openalex Percentile: Top 78%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.