Dynamic Quantization Range Control for Analog-in-Memory Neural Networks Acceleration

Nathan Laubeuf, J. Doevenspeck, I. Papistas, Michele Caselli, S. Cosemans, Peter Vrancx, Debjyoti Bhattacharjee, A. Mallik, P. Debacker, D. Verkest, F. Catthoor, R. Lauwereins
{"title":"Dynamic Quantization Range Control for Analog-in-Memory Neural Networks Acceleration","authors":"Nathan Laubeuf, J. Doevenspeck, I. Papistas, Michele Caselli, S. Cosemans, Peter Vrancx, Debjyoti Bhattacharjee, A. Mallik, P. Debacker, D. Verkest, F. Catthoor, R. Lauwereins","doi":"10.1145/3498328","DOIUrl":null,"url":null,"abstract":"Analog in Memory Computing (AiMC) based neural network acceleration is a promising solution to increase the energy efficiency of deep neural networks deployment. However, the quantization requirements of these analog systems are not compatible with state-of-the-art neural network quantization techniques. Indeed, while the quantization of the weights and activations is considered by modern deep neural network quantization techniques, AiMC accelerators also impose the quantization of each Matrix Vector Multiplication (MVM) result. In most demonstrated AiMC implementations, the quantization range of MVM results is considered a fixed parameter of the accelerator. This work demonstrates that dynamic control over this quantization range is possible but also desirable for analog neural networks acceleration. An AiMC compatible quantization flow coupled with a hardware aware quantization range driving technique is introduced to fully exploit these dynamic ranges. Using CIFAR-10 and ImageNet as benchmarks, the proposed solution results in networks that are both more accurate and more robust to the inherent vulnerability of analog circuits than fixed quantization range based approaches.","PeriodicalId":6933,"journal":{"name":"ACM Transactions on Design Automation of Electronic Systems (TODAES)","volume":"57 1","pages":"1 - 21"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Design Automation of Electronic Systems (TODAES)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3498328","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Analog in Memory Computing (AiMC) based neural network acceleration is a promising solution to increase the energy efficiency of deep neural networks deployment. However, the quantization requirements of these analog systems are not compatible with state-of-the-art neural network quantization techniques. Indeed, while the quantization of the weights and activations is considered by modern deep neural network quantization techniques, AiMC accelerators also impose the quantization of each Matrix Vector Multiplication (MVM) result. In most demonstrated AiMC implementations, the quantization range of MVM results is considered a fixed parameter of the accelerator. This work demonstrates that dynamic control over this quantization range is possible but also desirable for analog neural networks acceleration. An AiMC compatible quantization flow coupled with a hardware aware quantization range driving technique is introduced to fully exploit these dynamic ranges. Using CIFAR-10 and ImageNet as benchmarks, the proposed solution results in networks that are both more accurate and more robust to the inherent vulnerability of analog circuits than fixed quantization range based approaches.
内存模拟神经网络加速的动态量化范围控制
基于内存模拟计算(AiMC)的神经网络加速是提高深度神经网络部署能量效率的一种很有前途的解决方案。然而,这些模拟系统的量化要求与最先进的神经网络量化技术不兼容。事实上,虽然现代深度神经网络量化技术考虑了权重和激活的量化,但AiMC加速器也对每个矩阵向量乘法(MVM)结果进行了量化。在大多数演示的AiMC实现中,MVM结果的量化范围被认为是加速器的固定参数。这项工作表明,在这个量化范围内的动态控制是可能的,而且也是模拟神经网络加速所需要的。为了充分利用这些动态范围,引入了兼容AiMC的量化流程和硬件感知量化范围驱动技术。使用CIFAR-10和ImageNet作为基准,与基于固定量化范围的方法相比,所提出的解决方案使网络对模拟电路的固有漏洞更加准确和健壮。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信