Optimizing FPGA-based Accelerator Design for Deep Convolutional Neural Networks
Authors:
Top Cited Papers
Open Access
- 22 February 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 161-170
Abstract
Convolutional neural network (CNN) has been widely employed for image recognition because it can achieve high accuracy by emulating behavior of optic nerves in living creatures. Recently, rapid growth of modern applications based on deep learning algorithms has further improved research and implementations. Especially, various accelerators for deep CNN have been proposed based on FPGA platform because it has advantages of high performance, reconfigurability, and fast development round, etc. Although current FPGA accelerators have demonstrated better performance over generic processors, the accelerator design space has not been well exploited. One critical problem is that the computation throughput may not well match the memory bandwidth provided an FPGA platform. Consequently, existing approaches cannot achieve best performance due to under-utilization of either logic resource or memory bandwidth. At the same time, the increasing complexity and scalability of deep learning applications aggravate this problem. In order to overcome this problem, we propose an analytical design scheme using the roofline model. For any solution of a CNN design, we quantitatively analyze its computing throughput and required memory bandwidth using various optimization techniques, such as loop tiling and transformation. Then, with the help of rooine model, we can identify the solution with best performance and lowest FPGA resource requirement. As a case study, we implement a CNN accelerator on a VC707 FPGA board and compare it to previous approaches. Our implementation achieves a peak performance of 61.62 GFLOPS under 100MHz working frequency, which outperform previous approaches significantly.Keywords
Funding Information
- C-FAR
- NSF China (61202072)
- National High Technology Research and Development Program of China (2012AA010902)
- RFDP (20110001110099)
This publication has 13 references indexed in Scilit:
- DianNaoACM SIGPLAN Notices, 2014
- Minimizing Computation in Convolutional Neural Networks2014
- Memory-centric accelerator design for Convolutional Neural Networks2013
- Polyhedral-based data reuse optimization for configurable computing2013
- 3D Convolutional Neural Networks for Human Action RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2012
- A programmable parallel accelerator for learning and classification2010
- A dynamically configurable coprocessor for convolutional neural networksACM SIGARCH Computer Architecture News, 2010
- CNP: An FPGA-based processor for Convolutional Networks2009
- An empirical evaluation of deep architectures on problems with many factors of variation2007
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998