Z. Perić, Milan S. Savic, M. Dincic, N. Vučić, D. Djosic, S. Milosavljevic
{"title":"Floating Point and Fixed Point 32-bits Quantizers for Quantization of Weights of Neural Networks","authors":"Z. Perić, Milan S. Savic, M. Dincic, N. Vučić, D. Djosic, S. Milosavljevic","doi":"10.1109/ATEE52255.2021.9425265","DOIUrl":null,"url":null,"abstract":"Floating Point 32-bits (FP32) representation format is proposed by IEEE Standard 754, being widely used in neural networks (NN), signal processing and numerical computation. Also, Fixed Point 32-bits format is widely used for data representation. This paper describes those standard 32-bits formats (Fixed Point 32 and FP32) as quantization schemes, defining quantizers based on them and providing in this way references for comparison of other quantization schemes used in neural networks. Quantization of data with the Laplacian distribution is considered, in a wide range of variance. Theoretical results are proven by an experiment, applying those quantization schemes on weights of a neural network.","PeriodicalId":359645,"journal":{"name":"2021 12th International Symposium on Advanced Topics in Electrical Engineering (ATEE)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 12th International Symposium on Advanced Topics in Electrical Engineering (ATEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ATEE52255.2021.9425265","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10
Abstract
Floating Point 32-bits (FP32) representation format is proposed by IEEE Standard 754, being widely used in neural networks (NN), signal processing and numerical computation. Also, Fixed Point 32-bits format is widely used for data representation. This paper describes those standard 32-bits formats (Fixed Point 32 and FP32) as quantization schemes, defining quantizers based on them and providing in this way references for comparison of other quantization schemes used in neural networks. Quantization of data with the Laplacian distribution is considered, in a wide range of variance. Theoretical results are proven by an experiment, applying those quantization schemes on weights of a neural network.
浮点32位(FP32)表示格式是由IEEE标准754提出的,在神经网络、信号处理和数值计算中得到了广泛的应用。此外,定点32位格式被广泛用于数据表示。本文将这些标准的32位格式(Fixed Point 32和FP32)描述为量化方案,并在此基础上定义量化器,为神经网络中使用的其他量化方案的比较提供参考。数据的量化与拉普拉斯分布的考虑,在大范围的方差。将这些量化方案应用于神经网络权值的实验验证了理论结果。