DLA: Compiler and FPGA Overlay for Neural Network Inference Acceleration

被引:54
作者
Abdelfattah, Mohamed S. [1 ]
Han, David [1 ]
Bitar, Andrew [1 ]
DiCecco, Roberto [1 ]
O'Connell, Shane [1 ]
Shanker, Nitika [1 ]
Chu, Joseph [1 ]
Prins, Ian [1 ]
Fender, Joshua [1 ]
Ling, Andrew C. [1 ]
Chiu, Gordon R. [1 ]
机构
[1] Intel, Programmable Solut Grp, Toronto, ON, Canada
来源
2018 28TH INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL) | 2018年
关键词
D O I
10.1109/FPL.2018.00077
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Overlays have shown significant promise for field programmable gate-arrays (FPGAs) as they allow for fast development cycles and remove many of the challenges of the traditional FPGA hardware design flow. However, this often comes with a significant performance burden resulting in very little adoption of overlays for practical applications. In this paper, we tailor an overlay to a specific application domain, and we show how we maintain its full programmability without paying for the performance overhead traditionally associated with overlays. Specifically, we introduce an overlay targeted for deep neural network inference with only 1% overhead to support the control and reprogramming logic using a lightweight very-long instruction word (VLIW) network. Additionally, we implement a sophisticated domain specific graph compiler that compiles deep learning languages such as Caffe or Tensorfiow to easily target our overlay. We show how our graph compiler performs architecture-driven software optimizations to significantly boost performance of both convolutional and recurrent neural networks (CNNs/RNNs) we demonstrate a 3x improvement on ResNet101 and a 12 x improvement for long short-term memory (LSTM) cells, compared to naive implementations. Finally, we describe how we can tailor our hardware overlay, and use our graph compiler to achieve similar to 900 fps on GoogLeNet on an Intel Arria 10 1150 - the fastest ever reported on comparable FPGAs.
引用
收藏
页码:411 / 418
页数:8
相关论文
共 17 条
  • [1] [Anonymous], 2015, COMPUTER VISION PATT
  • [2] [Anonymous], 2018, FPGA
  • [3] [Anonymous], 2017, ASP DAC
  • [4] [Anonymous], 2014, IWOCL
  • [5] [Anonymous], 2017, FPGA
  • [6] [Anonymous], 2015, FCCM
  • [7] [Anonymous], 2017, AISTATS
  • [8] [Anonymous], 2016, Google's neural machine translation system: Bridging the gap between human and machine translation
  • [9] [Anonymous], 2017, HotChips
  • [10] [Anonymous], 2013, ICASSP