A Low-Bit Quantized and HLS-Based Neural Network FPGA Accelerator for Object Detection

Jiaming Huang, Junyan Yang, Saisai Nui, Hang Yi, Wei Wang, Hai-Bao Chen
{"title":"A Low-Bit Quantized and HLS-Based Neural Network FPGA Accelerator for Object Detection","authors":"Jiaming Huang, Junyan Yang, Saisai Nui, Hang Yi, Wei Wang, Hai-Bao Chen","doi":"10.1109/CSTIC52283.2021.9461256","DOIUrl":null,"url":null,"abstract":"In this paper, a HLS-based convolutional neural network (CNN) accelerator is designed for FPGA and channel-wise low-bit quantization is applied to YOLOv3- Tiny, whose weights are quantized to 2-bit while activations are quantized to 8-bit. The quantization range is learnable in training to prevent severe accuracy loss. The accelerator uses sliding window technique to improve data reusability and efficient process element (PE) is designed to utilize low-bit calculation. This design makes full use of DSP and LUT resources and exploits optimal parallelism on embedded FPGA. The performance of our design can reach 90.6 GOP/s on PYNQ-Z2 at 150 MHz, which outperforms other accelerators implemented on the same platform in terms of peak performance and power efficiency.","PeriodicalId":186529,"journal":{"name":"2021 China Semiconductor Technology International Conference (CSTIC)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 China Semiconductor Technology International Conference (CSTIC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CSTIC52283.2021.9461256","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

In this paper, a HLS-based convolutional neural network (CNN) accelerator is designed for FPGA and channel-wise low-bit quantization is applied to YOLOv3- Tiny, whose weights are quantized to 2-bit while activations are quantized to 8-bit. The quantization range is learnable in training to prevent severe accuracy loss. The accelerator uses sliding window technique to improve data reusability and efficient process element (PE) is designed to utilize low-bit calculation. This design makes full use of DSP and LUT resources and exploits optimal parallelism on embedded FPGA. The performance of our design can reach 90.6 GOP/s on PYNQ-Z2 at 150 MHz, which outperforms other accelerators implemented on the same platform in terms of peak performance and power efficiency.
一种基于hls的低比特量化神经网络FPGA目标检测加速器
本文针对FPGA设计了基于hls的卷积神经网络(CNN)加速器,并对YOLOv3- Tiny进行了通道级低比特量化,权重量化为2位,激活量化为8位。量化范围在训练中是可学习的,以防止严重的精度损失。加速器采用滑动窗口技术来提高数据的可重用性,并设计了高效的过程元素(PE)来利用低比特计算。本设计充分利用DSP和LUT资源,利用嵌入式FPGA的最佳并行性。我们设计的PYNQ-Z2在150 MHz时的性能可以达到90.6 GOP/s,在峰值性能和功率效率方面优于同一平台上实现的其他加速器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信