最近的技术进步已经使现代中央处理单元(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.
Binary Complex Neural Network Acceleration on FPGA
University of Connecticut(康涅狄格大学);Stevens Institute of Technology(史蒂文斯理工学院);University of Texas at San Antonio(德克萨斯大学圣安东尼奥分校);Pacific Northwest National Laboratory(太平洋西北国家实验室)
QubitHD: A Stochastic Acceleration Method for HD Computing-Based Machine Learning
Massachusetts Institute of Technology(麻省理工学院);Harvard University(哈佛大学);University of California Irvine(加州大学欧文分校);University of California San Diego(加州大学圣地亚哥分校);École polytechnique fédérale de Lausanne(洛桑联邦理工学院)
Accelerated Neural Networks on OpenCL Devices Using SYCL-DNN
Codeplay Software Ltd.(Codeplay软件有限公司)
在过去的几年里,机器学习再次引起了人们的兴趣,一些研究表明神经网络在一系列以前被认为非常困难的任务中的有效性。神经网络在图像识别和自然语言处理领域的有效性主要源于公司和研究人员可用的大量数据,以及GPU、FPGA和ASIC等现代加速器中可用的大量计算能力。有许多方法可供开发人员利用GPGPU技术,如SYCL,OpenCL和CUDA,但许多应用程序需要相同的低级数学例程。专用于加速这些常见例程的库允许开发人员轻松地充分利用可用硬件,而无需对硬件本身的低水平知识,但是这些库通常由硬件制造商为特定硬件提供,例如用于Nvidia硬件的cuDNN或用于AMD硬件的MIOpen。SYCL-DNN是一个新的开源库,致力于为神经网络操作提供加速例程,这些操作与硬件和供应商无关。SYCL-DNN建立在SYCL开放标准之上,完全用标准C++编写,允许用户使用现代C++接口轻松加速各种硬件的神经网络代码。该库在AMD的OpenCL for GPU、英特尔的OpenCL for CPU和GPU、ARM的OpenCL for Mali GPU以及ComputeAorta的OpenCL for R-Car CV引擎和主机CPU上进行了测试。在这次演讲中,我们将介绍SYCL-DNN在这一系列硬件上的性能数据,并讨论如何在具有不同硬件功能的各种加速器上实现高性能。
Accelerated Charged Particle Tracking with Graph Neural Networks on FPGAs
University of California San Diego(加州大学圣地亚哥分校);Princeton University(普林斯顿大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Fermi National Accelerator Laboratory(费米国家加速器实验室);Massachusetts Institute of Technology(麻省理工学院);Institute of Physics Belgrade(贝尔格莱德物理研究所);European Organization for Nuclear Research (CERN)(欧洲核子研究组织(CERN));California Institute of Technology(加州理工学院);Purdue University(普渡大学);HawkEye360;University of Illinois at Chicago(伊利诺伊大学芝加哥分校)