On Reducing the Number of Multiplications in RNS-based CNN Accelerators

Vasilis Sakellariou, Vassilis Paliouras, I. Kouretas, H. Saleh, T. Stouraitis
{"title":"On Reducing the Number of Multiplications in RNS-based CNN Accelerators","authors":"Vasilis Sakellariou, Vassilis Paliouras, I. Kouretas, H. Saleh, T. Stouraitis","doi":"10.1109/ICECS53924.2021.9665461","DOIUrl":null,"url":null,"abstract":"In this paper, a method to reduce the number of multiplications in Convolutional Neural Networks (CNNs) by exploiting the properties of the Residue Number System (RNS) is proposed. RNS decomposes the elementary computations into a number of small bit-width, independent channels, which can be processed in parallel. Naturally, due to the small dynamic range of each RNS channel, the number of common factors inside the weight kernels during a convolution is increased. By identifying these common factors and by rearranging the order of computations to perform first the additions of the input feature-map terms that correspond to the same factors, the number of multiplications can be reduced up to 97 %, for state-of-the-art CNN models. The remaining multiplications are also simplified, as they are implemented through shift-add operations or fixed-operand multipliers. ASIC implementations of the proposed Processing Element (PE) architecture show a speedup of up to 2.67× and 1.64× compared to the binary and conventional RNS counterparts, respectively. Compared to a conventional RNS PE implementation, the proposed method also leads to a 20% reduction in area and 16% reduction in power consumption.","PeriodicalId":448558,"journal":{"name":"2021 28th IEEE International Conference on Electronics, Circuits, and Systems (ICECS)","volume":"15 20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 28th IEEE International Conference on Electronics, Circuits, and Systems (ICECS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICECS53924.2021.9665461","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

In this paper, a method to reduce the number of multiplications in Convolutional Neural Networks (CNNs) by exploiting the properties of the Residue Number System (RNS) is proposed. RNS decomposes the elementary computations into a number of small bit-width, independent channels, which can be processed in parallel. Naturally, due to the small dynamic range of each RNS channel, the number of common factors inside the weight kernels during a convolution is increased. By identifying these common factors and by rearranging the order of computations to perform first the additions of the input feature-map terms that correspond to the same factors, the number of multiplications can be reduced up to 97 %, for state-of-the-art CNN models. The remaining multiplications are also simplified, as they are implemented through shift-add operations or fixed-operand multipliers. ASIC implementations of the proposed Processing Element (PE) architecture show a speedup of up to 2.67× and 1.64× compared to the binary and conventional RNS counterparts, respectively. Compared to a conventional RNS PE implementation, the proposed method also leads to a 20% reduction in area and 16% reduction in power consumption.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
关于减少基于神经网络的CNN加速器的乘法次数
本文提出了一种利用剩余数系统(RNS)的特性来减少卷积神经网络(cnn)中乘法次数的方法。RNS将基本计算分解为许多小的位宽、独立的通道,这些通道可以并行处理。当然,由于每个RNS通道的动态范围很小,在卷积期间权重核内的公共因子的数量增加。通过识别这些共同因素并重新安排计算顺序,首先执行与相同因素对应的输入特征映射项的添加,对于最先进的CNN模型,乘法次数可以减少多达97%。其余的乘法运算也简化了,因为它们是通过移位加运算或固定操作数的乘法运算实现的。与二进制和传统RNS相比,提出的处理元素(PE)体系结构的ASIC实现分别显示了高达2.67倍和1.64倍的加速。与传统的RNS PE实现相比,该方法还可以减少20%的面积和16%的功耗。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A gm/ID Design Methodology for 28 nm FD-SOI CMOS Resistive Feedback LNAs Dual Output Regulating Rectifier for an Implantable Neural Interface Frequency-Interleaved ADC with RF Equivalent Ideal Filter for Broadband Optical Communication Receivers Cardiovascular Segmentation Methods Based on Weak or no Prior A 0.2V 0.97nW 0.011mm2 Fully-Passive mHBC Tag Using Intermediate Interference Modulation in 65nm CMOS
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1