Leveraging Fine-grained Structured Sparsity for CNN Inference on Systolic Array Architectures

Linqiao Liu, Stephen Brown
{"title":"Leveraging Fine-grained Structured Sparsity for CNN Inference on Systolic Array Architectures","authors":"Linqiao Liu, Stephen Brown","doi":"10.1109/FPL53798.2021.00060","DOIUrl":null,"url":null,"abstract":"The high computational complexity of convolutional neural networks (CNNs) has motivated many studies of accelerating CNN inference on field-programmable gate arrays (FPGAs). Among these, designs that feature systolic arrays can effectively leverage the parallelism in CNNs while acheiving good placement and routing quality. Weight sparsity – the presence of zeros in CNN weights – can further reduce the number of necessary multiply-accumulate (MAC) operations in CNNs, but has yet resulted in performance gain on systolic arrays. In this work, we propose a novel fine-grained structured weight sparsity pattern, showcase a processing element (PE) design that leverages this sparsity pattern, and develop a systolic array CNN inference accelerator that targets an Intel Arria 10 GX1150 FPGA. When evaluated on ResNet-50 and VGG-16 that are trained and pruned on the ImageNet dataset, our accelerator achieves 2.26 TOPs/s and 1.21 TOPs/s, respectively, on the MAC operations, while keeping the top-l accuracy degradation within 5%. These results translate to $2.86\\times$ and $1.75\\times$ speed-up compared to a dense systolic array baseline.","PeriodicalId":277230,"journal":{"name":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","volume":"126 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 31st International Conference on Field-Programmable Logic and Applications (FPL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FPL53798.2021.00060","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The high computational complexity of convolutional neural networks (CNNs) has motivated many studies of accelerating CNN inference on field-programmable gate arrays (FPGAs). Among these, designs that feature systolic arrays can effectively leverage the parallelism in CNNs while acheiving good placement and routing quality. Weight sparsity – the presence of zeros in CNN weights – can further reduce the number of necessary multiply-accumulate (MAC) operations in CNNs, but has yet resulted in performance gain on systolic arrays. In this work, we propose a novel fine-grained structured weight sparsity pattern, showcase a processing element (PE) design that leverages this sparsity pattern, and develop a systolic array CNN inference accelerator that targets an Intel Arria 10 GX1150 FPGA. When evaluated on ResNet-50 and VGG-16 that are trained and pruned on the ImageNet dataset, our accelerator achieves 2.26 TOPs/s and 1.21 TOPs/s, respectively, on the MAC operations, while keeping the top-l accuracy degradation within 5%. These results translate to $2.86\times$ and $1.75\times$ speed-up compared to a dense systolic array baseline.
利用细粒度结构化稀疏性在收缩阵列架构上进行CNN推理
卷积神经网络(CNN)的高计算复杂度激发了许多在现场可编程门阵列(fpga)上加速CNN推理的研究。其中,以收缩阵列为特征的设计可以有效地利用cnn的并行性,同时获得良好的放置和路由质量。权值稀疏性——CNN权值中存在零——可以进一步减少CNN中必要的乘法累加(MAC)操作的数量,但尚未导致收缩阵列的性能提高。在这项工作中,我们提出了一种新的细粒度结构化权重稀疏模式,展示了利用这种稀疏模式的处理元件(PE)设计,并开发了一种针对英特尔Arria 10 GX1150 FPGA的收缩阵列CNN推理加速器。当在ImageNet数据集上训练和修剪的ResNet-50和vgg16上进行评估时,我们的加速器在MAC操作上分别达到2.26 TOPs/s和1.21 TOPs/s,同时将top- 1精度降低在5%以内。与密集收缩阵列基线相比,这些结果转化为2.86美元和1.75美元的加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书