EAGLE:利用权重和激活中的基本地址加速CNN计算

Wenjian Liu, Xiayuan Wen, Jun Lin, Zhongfeng Wang, L. Du
{"title":"EAGLE:利用权重和激活中的基本地址加速CNN计算","authors":"Wenjian Liu, Xiayuan Wen, Jun Lin, Zhongfeng Wang, L. Du","doi":"10.1109/SiPS47522.2019.9020555","DOIUrl":null,"url":null,"abstract":"Efficient quantization techniques can compress Convolutional Neural Networks (CNNs) with less bit-width while maintaining the accuracy on large extent. However, the quantized CNN models hardly boost the computation performance of CNN accelerators with the conventional bit-parallel Multiply-Accumulate (MAC) operations. Previous works proposed a shifting-based bit-serial operation, which can be called as Shift-Accumulate (SAC) operation, to take advantage of the reduced bit-width. However, it is also found that there are many invalid computations in both MAC and SAC operation, caused by zero bits in activations and weights, which are not optimized. To fully exploit the computations in CNN models, we proposed a Essen-tial Address only GAC based Low-latency Efficient (EAGLE) architecture that can further accelerate the CNN computation through bypassing zero bits computation in the activations and weights. An essential address is adopted to encode the nonzero bits in activations and weights in this architecture. Furthermore, to support the essential address-only computations, Generate-Accumulate (GAC), an operation which produces partial sums with essential addresses, is implemented. The architecture is implemented with a TSMC 28nm CMOS technology. Based on the results, if scaled in a 65nm technology, the EAGLE only requires 63.6% area and 43.1% power consumption compare to that of the Pragmatic. The EAGLE reaches an average speedup of $ 2.08\\times$ and $ 1.43\\times$ on six CNN models over the Stripe and Pragmatic at a similar frequency, respectively. It also improves energy efficiency by $ 3.69\\times$ on average over the DaDianNao baseline.","PeriodicalId":256971,"journal":{"name":"2019 IEEE International Workshop on Signal Processing Systems (SiPS)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"EAGLE: Exploiting Essential Address in Both Weight and Activation to Accelerate CNN Computing\",\"authors\":\"Wenjian Liu, Xiayuan Wen, Jun Lin, Zhongfeng Wang, L. Du\",\"doi\":\"10.1109/SiPS47522.2019.9020555\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Efficient quantization techniques can compress Convolutional Neural Networks (CNNs) with less bit-width while maintaining the accuracy on large extent. However, the quantized CNN models hardly boost the computation performance of CNN accelerators with the conventional bit-parallel Multiply-Accumulate (MAC) operations. Previous works proposed a shifting-based bit-serial operation, which can be called as Shift-Accumulate (SAC) operation, to take advantage of the reduced bit-width. However, it is also found that there are many invalid computations in both MAC and SAC operation, caused by zero bits in activations and weights, which are not optimized. To fully exploit the computations in CNN models, we proposed a Essen-tial Address only GAC based Low-latency Efficient (EAGLE) architecture that can further accelerate the CNN computation through bypassing zero bits computation in the activations and weights. An essential address is adopted to encode the nonzero bits in activations and weights in this architecture. Furthermore, to support the essential address-only computations, Generate-Accumulate (GAC), an operation which produces partial sums with essential addresses, is implemented. The architecture is implemented with a TSMC 28nm CMOS technology. Based on the results, if scaled in a 65nm technology, the EAGLE only requires 63.6% area and 43.1% power consumption compare to that of the Pragmatic. The EAGLE reaches an average speedup of $ 2.08\\\\times$ and $ 1.43\\\\times$ on six CNN models over the Stripe and Pragmatic at a similar frequency, respectively. It also improves energy efficiency by $ 3.69\\\\times$ on average over the DaDianNao baseline.\",\"PeriodicalId\":256971,\"journal\":{\"name\":\"2019 IEEE International Workshop on Signal Processing Systems (SiPS)\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 IEEE International Workshop on Signal Processing Systems (SiPS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SiPS47522.2019.9020555\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Workshop on Signal Processing Systems (SiPS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SiPS47522.2019.9020555","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

有效的量化技术可以在较小的位宽下压缩卷积神经网络,同时在很大程度上保持卷积神经网络的精度。然而,使用传统的位并行乘法累加(MAC)操作,量化的CNN模型很难提高CNN加速器的计算性能。先前的工作提出了一种基于移位的位串行操作,可称为移位累加(SAC)操作,以利用减小的位宽度。然而,我们也发现在MAC和SAC操作中都存在许多无效的计算,这是由于激活和权重中的零比特导致的,没有得到优化。为了充分利用CNN模型中的计算,我们提出了一种基于基本地址GAC的低延迟高效(EAGLE)架构,通过绕过激活和权重中的零比特计算,进一步加速CNN的计算。该结构采用一个基本地址对激活和权值中的非零位进行编码。此外,为了支持基本地址计算,实现了生成-累加(GAC)操作,该操作产生具有基本地址的部分和。该架构采用台积电28纳米CMOS技术实现。结果显示,如果采用65nm工艺,EAGLE的面积和功耗仅为Pragmatic的63.6%和43.1%。在相似的频率下,EAGLE在六种CNN模型上的平均加速分别达到2.08美元和1.43美元。它还将能源效率平均提高了3.69美元,是大电菜鸟的基准。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
EAGLE: Exploiting Essential Address in Both Weight and Activation to Accelerate CNN Computing
Efficient quantization techniques can compress Convolutional Neural Networks (CNNs) with less bit-width while maintaining the accuracy on large extent. However, the quantized CNN models hardly boost the computation performance of CNN accelerators with the conventional bit-parallel Multiply-Accumulate (MAC) operations. Previous works proposed a shifting-based bit-serial operation, which can be called as Shift-Accumulate (SAC) operation, to take advantage of the reduced bit-width. However, it is also found that there are many invalid computations in both MAC and SAC operation, caused by zero bits in activations and weights, which are not optimized. To fully exploit the computations in CNN models, we proposed a Essen-tial Address only GAC based Low-latency Efficient (EAGLE) architecture that can further accelerate the CNN computation through bypassing zero bits computation in the activations and weights. An essential address is adopted to encode the nonzero bits in activations and weights in this architecture. Furthermore, to support the essential address-only computations, Generate-Accumulate (GAC), an operation which produces partial sums with essential addresses, is implemented. The architecture is implemented with a TSMC 28nm CMOS technology. Based on the results, if scaled in a 65nm technology, the EAGLE only requires 63.6% area and 43.1% power consumption compare to that of the Pragmatic. The EAGLE reaches an average speedup of $ 2.08\times$ and $ 1.43\times$ on six CNN models over the Stripe and Pragmatic at a similar frequency, respectively. It also improves energy efficiency by $ 3.69\times$ on average over the DaDianNao baseline.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Memory Reduction through Experience Classification f or Deep Reinforcement Learning with Prioritized Experience Replay Learning to Design Constellation for AWGN Channel Using Auto-Encoders SIR Beam Selector for Amazon Echo Devices Audio Front-End AVX-512 Based Software Decoding for 5G LDPC Codes Pipelined Implementations for Belief Propagation Polar Decoder: From Formula to Hardware
×
引用
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