arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.10723cs.AReess.IV
收藏

基于模板的深度CNN加速器设计

Hardware-Efficient Template-Based Deep CNNs Accelerator Design

Azzam Alhussain, Mingjie Lin

摘要:

卷积神经网络(CNN)在边缘设备上的加速最近在图像分类和目标检测应用中取得了卓越的性能。本文提出了一种高效且可扩展的基于CNN的SoC-FPGA加速器设计,该设计采用预先训练的权重,采用16位定点量化和目标硬件规格来生成优化的模板,能够实现更高的性能与资源利用率的权衡。该模板分析了计算工作量、数据依赖性和外部内存带宽,并利用循环平铺变换和低层建模将卷积层和全连接层转换为输入和输出特征图之间的向量乘法,从而实现了片上单个计算单元。此外,该加速器在AlexNet、VGG 16和LeNet网络中进行了测试,并在200 MHz下运行,峰值性能为230 GOP/s,具体取决于ZYNQ板以及模拟和合成期间不同计算单元配置的状态空间探索。最后,我们提出的方法是对以前的开发Ultra 96更高的性能测量基准。

英文摘要:

Acceleration of Convolutional Neural Network (CNN) on edge devices has recently achieved a remarkable performance in image classification and object detection applications. This paper proposes an efficient and scalable CNN-based SoC-FPGA accelerator design that takes pre-trained weights with a 16-bit fixed-point quantization and target hardware specification to generate an optimized template capable of achieving higher performance versus resource utilization trade-off. The template analyzed the computational workload, data dependency, and external memory bandwidth and utilized loop tiling transformation along with dataflow modeling to convert convolutional and fully connected layers into vector multiplication between input and output feature maps, which resulted in a single compute unit on-chip. Furthermore, the accelerator was examined among AlexNet, VGG16, and LeNet networks and ran at 200-MHz with a peak performance of 230 GOP/s depending on ZYNQ boards and state-space exploration of different compute unit configurations during simulation and synthesis. Lastly, our proposed methodology was benchmarked against the previous development on Ultra96 for higher performance measurement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑