arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1905.06105cs.LGstat.ML
收藏

基于OpenCL的确定性和随机二值化神经网络的FPGA加速

Accelerating Deterministic and Stochastic Binarized Neural Networks on FPGAs Using OpenCL

James Cook University(詹姆斯库克大学);College of Science and Engineering(科学与工程学院)

Corey Lammie, Wei Xiang, Mostafa Rahimi Azghadi

摘要:

最近的技术进步已经使现代中央处理单元(CPU)、图形处理单元(GPU)和现场可编程门阵列(FPGA)的可用计算能力、存储器和速度激增。因此,人工神经网络(ANN)的性能和复杂性正在迅速发展。虽然GPU加速的深度神经网络(DNN)目前提供最先进的性能,但它们消耗大量的功率。在CPU上训练这样的网络是低效的,因为数据吞吐量和并行计算是有限的。FPGA被认为是性能关键的低功耗系统的合适候选者,例如物联网(IOT)边缘设备。使用Xilinx SDAccel或英特尔FPGA SDK for OpenCL开发环境,可以在异构平台上加速使用高级OpenCL框架描述的网络。此外,DNN的资源利用率和功耗可以通过利用二值化网络权重的正则化技术来进一步增强。在本文中,我们介绍,据我们所知,第一个FPGA加速的随机二进制DNN实现,并将它们与使用GPU和FPGA加速的实现进行比较。我们开发的网络使用流行的MNIST和CIFAR-10数据集进行训练和基准测试,并实现了接近最先进的性能,同时与传统的GPU加速网络相比,功耗提高了16倍以上。我们的FPGA加速的确定性和随机BNN分别将MNIST和CIFAR-10上的推理时间减少了> 9.89倍和> 9.91倍。

英文摘要:

Recent technological advances have proliferated the available computing power, memory, and speed of modern Central Processing Units (CPUs), Graphics Processing Units (GPUs), and Field Programmable Gate Arrays (FPGAs). Consequently, the performance and complexity of Artificial Neural Networks (ANNs) is burgeoning. While GPU accelerated Deep Neural Networks (DNNs) currently offer state-of-the-art performance, they consume large amounts of power. Training such networks on CPUs is inefficient, as data throughput and parallel computation is limited. FPGAs are considered a suitable candidate for performance critical, low power systems, e.g. the Internet of Things (IOT) edge devices. Using the Xilinx SDAccel or Intel FPGA SDK for OpenCL development environment, networks described using the high-level OpenCL framework can be accelerated on heterogeneous platforms. Moreover, the resource utilization and power consumption of DNNs can be further enhanced by utilizing regularization techniques that binarize network weights. In this paper, we introduce, to the best of our knowledge, the first FPGA-accelerated stochastically binarized DNN implementations, and compare them to implementations accelerated using both GPUs and FPGAs. Our developed networks are trained and benchmarked using the popular MNIST and CIFAR-10 datasets, and achieve near state-of-the-art performance, while offering a >16-fold improvement in power consumption, compared to conventional GPU-accelerated networks. Both our FPGA-accelerated determinsitic and stochastic BNNs reduce inference times on MNIST and CIFAR-10 by >9.89x and >9.91x, respectively.

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

↑