Optimization Method and Implementation of Fake Quantization from the Perspective of Hardware Performance

Eunchong Lee, Minkyu Lee, Sanghyun Kim, Soyoung Lee, Sung-Joon Jang, Sang-Seol Lee
{"title":"Optimization Method and Implementation of Fake Quantization from the Perspective of Hardware Performance","authors":"Eunchong Lee, Minkyu Lee, Sanghyun Kim, Soyoung Lee, Sung-Joon Jang, Sang-Seol Lee","doi":"10.1109/ITC-CSCC58803.2023.10212718","DOIUrl":null,"url":null,"abstract":"Deep learning networks can be accelerated by reducing the overall network volume using quantization or pruning techniques. The well-known quantization technique is Post Training Quantization (PTQ) and Quantization Aware Training (QAT). We applied an INT8 quantized network to design deep learning acceleration hardware and found that the performance of the deep learning network deteriorated due to errors occurring in the mult/shift based re-quantization step. This quantization error becomes a bigger problem in the training process rather than inference, and the FP32 arithmetic operator is applied to prevent the resulting accuracy drop. In this paper, we investigate whether the use of FP32 operators can outperform employing mult/shift operators under specific conditions. We accomplish this by analyzing the data flow based on output channel tiling and conducting a size analysis of the implemented hardware.","PeriodicalId":220939,"journal":{"name":"2023 International Technical Conference on Circuits/Systems, Computers, and Communications (ITC-CSCC)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Technical Conference on Circuits/Systems, Computers, and Communications (ITC-CSCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ITC-CSCC58803.2023.10212718","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Deep learning networks can be accelerated by reducing the overall network volume using quantization or pruning techniques. The well-known quantization technique is Post Training Quantization (PTQ) and Quantization Aware Training (QAT). We applied an INT8 quantized network to design deep learning acceleration hardware and found that the performance of the deep learning network deteriorated due to errors occurring in the mult/shift based re-quantization step. This quantization error becomes a bigger problem in the training process rather than inference, and the FP32 arithmetic operator is applied to prevent the resulting accuracy drop. In this paper, we investigate whether the use of FP32 operators can outperform employing mult/shift operators under specific conditions. We accomplish this by analyzing the data flow based on output channel tiling and conducting a size analysis of the implemented hardware.
基于硬件性能的伪量化优化方法与实现
深度学习网络可以通过使用量化或修剪技术减少整体网络体积来加速。众所周知的量化技术是训练后量化(PTQ)和量化感知训练(QAT)。这种量化误差在训练过程中成为比推理更大的问题,并且使用FP32算术运算符来防止由此导致的精度下降。在本文中,我们研究了在特定条件下使用FP32运算符是否优于使用多/移位运算符。我们通过分析基于输出通道平铺的数据流并对所实现的硬件进行大小分析来实现这一点。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信