基于嵌入式fpga的紧凑卷积神经网络处理器设计

Yingjian Ling, Hsu-Hsun Chin, Hsin-I Wu, R. Tsay
{"title":"基于嵌入式fpga的紧凑卷积神经网络处理器设计","authors":"Yingjian Ling, Hsu-Hsun Chin, Hsin-I Wu, R. Tsay","doi":"10.1109/GCAIoT51063.2020.9345903","DOIUrl":null,"url":null,"abstract":"FPGA-based Convolutional Neural Network (CNN) processor has been widely applied for highly-parallelized computations and fast deployment. However, designing on embedded FPGA needs to consider multiple aspects, such as the feasibility of limited configurable resource on FPGA, external memory latency and the scheduling between memory and computation units. These considerations hence hinder the usage of FPGA. Addressing these issues, we elaborate a systematic design approach that allow fast deployment, which includes the parameterized computation and memory unit, which can be configured based on the target platform, and an evaluation approach for searching the optimal setting sets. To evaluate the proposed approach, we performed object detection task, YOLOv2, on PYNQ-Zl and achieved 48.23 GOPs throughputs as well as 0.611 seconds execution time. This is 42.38 and 12.8 times faster than the same inference on CPU and GPU and is 2.36 times faster than other FPGA implementations. Additionally, our created evaluation model is only 5-22% apart from the implementation result, which is 60% less than previous work.","PeriodicalId":398815,"journal":{"name":"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)","volume":"43 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Designing A Compact Convolutional Neural Network Processor on Embedded FPGAs\",\"authors\":\"Yingjian Ling, Hsu-Hsun Chin, Hsin-I Wu, R. Tsay\",\"doi\":\"10.1109/GCAIoT51063.2020.9345903\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"FPGA-based Convolutional Neural Network (CNN) processor has been widely applied for highly-parallelized computations and fast deployment. However, designing on embedded FPGA needs to consider multiple aspects, such as the feasibility of limited configurable resource on FPGA, external memory latency and the scheduling between memory and computation units. These considerations hence hinder the usage of FPGA. Addressing these issues, we elaborate a systematic design approach that allow fast deployment, which includes the parameterized computation and memory unit, which can be configured based on the target platform, and an evaluation approach for searching the optimal setting sets. To evaluate the proposed approach, we performed object detection task, YOLOv2, on PYNQ-Zl and achieved 48.23 GOPs throughputs as well as 0.611 seconds execution time. This is 42.38 and 12.8 times faster than the same inference on CPU and GPU and is 2.36 times faster than other FPGA implementations. Additionally, our created evaluation model is only 5-22% apart from the implementation result, which is 60% less than previous work.\",\"PeriodicalId\":398815,\"journal\":{\"name\":\"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)\",\"volume\":\"43 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-12-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/GCAIoT51063.2020.9345903\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE Global Conference on Artificial Intelligence and Internet of Things (GCAIoT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GCAIoT51063.2020.9345903","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

摘要

基于fpga的卷积神经网络(CNN)处理器在高并行计算和快速部署方面得到了广泛的应用。然而,在嵌入式FPGA上进行设计需要考虑FPGA有限可配置资源的可行性、外部存储器延迟以及存储器和计算单元之间的调度等多个方面。因此,这些考虑阻碍了FPGA的使用。针对这些问题,我们详细阐述了一种允许快速部署的系统设计方法,其中包括可根据目标平台配置的参数化计算和存储单元,以及搜索最优设置集的评估方法。为了评估所提出的方法,我们在PYNQ-Zl上执行了目标检测任务YOLOv2,获得了48.23 GOPs吞吐量和0.611秒的执行时间。这比在CPU和GPU上进行相同的推理快42.38倍和12.8倍,比其他FPGA实现快2.36倍。此外,我们创建的评估模型与实现结果仅相差5-22%,比以前的工作减少了60%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Designing A Compact Convolutional Neural Network Processor on Embedded FPGAs
FPGA-based Convolutional Neural Network (CNN) processor has been widely applied for highly-parallelized computations and fast deployment. However, designing on embedded FPGA needs to consider multiple aspects, such as the feasibility of limited configurable resource on FPGA, external memory latency and the scheduling between memory and computation units. These considerations hence hinder the usage of FPGA. Addressing these issues, we elaborate a systematic design approach that allow fast deployment, which includes the parameterized computation and memory unit, which can be configured based on the target platform, and an evaluation approach for searching the optimal setting sets. To evaluate the proposed approach, we performed object detection task, YOLOv2, on PYNQ-Zl and achieved 48.23 GOPs throughputs as well as 0.611 seconds execution time. This is 42.38 and 12.8 times faster than the same inference on CPU and GPU and is 2.36 times faster than other FPGA implementations. Additionally, our created evaluation model is only 5-22% apart from the implementation result, which is 60% less than previous work.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信