arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.04811cs.LG
收藏

基于FPGA的二元复神经网络加速

Binary Complex Neural Network Acceleration on FPGA

University of Connecticut(康涅狄格大学);Stevens Institute of Technology(史蒂文斯理工学院);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);Pacific Northwest National Laboratory(太平洋西北国家实验室)

Hongwu Peng, Shanglin Zhou, Scott Weitze, Jiaxin Li, Sahidul Islam, Tong Geng, Ang Li, Wei Zhang, Minghu Song, Mimi Xie, Hang Liu, Caiwen Ding

摘要:

能够从具有相位信息的复杂数据中学习对于许多信号处理应用来说是必不可少的。当今的实值深度神经网络(DNN)在潜在信息分析方面表现出了效率,但在应用于复杂领域时却显得不足。相反,深度复杂网络(DCN)可以从复杂数据中学习,但计算成本很高;因此,它们无法满足许多处理短观测或短信号突发的可部署系统的即时决策要求。近年来,二值化复杂神经网络(BCNN)将DCN与二值化神经网络(BNN)相结合,在复杂数据的实时分类方面显示出巨大的潜力。在本文中,我们提出了一种基于结构修剪的BCNN加速器,它能够在边缘设备上提供超过5000帧/秒的推理吞吐量。高性能来自算法和硬件两方面。在算法方面,我们对原始BCNN模型进行结构修剪,获得了20个$\times$修剪率,精度损失可以忽略不计;在硬件方面,我们提出了一种新的二维卷积运算加速器,用于二进制复数神经网络。实验结果表明,在CIFAR-10数据集和Alveo U280板上,该设计的推理效率超过90%,对于复杂的NIN-Net和ResNet-18,推理吞吐量分别达到5882帧/秒和4938帧/秒。

英文摘要:

Being able to learn from complex data with phase information is imperative for many signal processing applications. Today' s real-valued deep neural networks (DNNs) have shown efficiency in latent information analysis but fall short when applied to the complex domain. Deep complex networks (DCN), in contrast, can learn from complex data, but have high computational costs; therefore, they cannot satisfy the instant decision-making requirements of many deployable systems dealing with short observations or short signal bursts. Recent, Binarized Complex Neural Network (BCNN), which integrates DCNs with binarized neural networks (BNN), shows great potential in classifying complex data in real-time. In this paper, we propose a structural pruning based accelerator of BCNN, which is able to provide more than 5000 frames/s inference throughput on edge devices. The high performance comes from both the algorithm and hardware sides. On the algorithm side, we conduct structural pruning to the original BCNN models and obtain 20 $\times$ pruning rates with negligible accuracy loss; on the hardware side, we propose a novel 2D convolution operation accelerator for the binary complex neural network. Experimental results show that the proposed design works with over 90% utilization and is able to achieve the inference throughput of 5882 frames/s and 4938 frames/s for complex NIN-Net and ResNet-18 using CIFAR-10 dataset and Alveo U280 Board.

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

↑