[Paper Review] Deep Learning on FPGAs: Past, Present, and Future
This paper surveys deep learning on FPGAs, discusses high-level OpenCL tooling, and evaluates CNN/MLP implementations and design flows, highlighting future directions and potential for power-efficient acceleration.
The rapid growth of data size and accessibility in recent years has instigated a shift of philosophy in algorithm design for artificial intelligence. Instead of engineering algorithms by hand, the ability to learn composable systems automatically from massive amounts of data has led to ground-breaking performance in important domains such as computer vision, speech recognition, and natural language processing. The most popular class of techniques used in these domains is called deep learning, and is seeing significant attention from industry. However, these models require incredible amounts of data and compute power to train, and are limited by the need for better hardware acceleration to accommodate scaling beyond current data and model sizes. While the current solution has been to use clusters of graphics processing units (GPU) as general purpose processors (GPGPU), the use of field programmable gate arrays (FPGA) provide an interesting alternative. Current trends in design tools for FPGAs have made them more compatible with the high-level software practices typically practiced in the deep learning community, making FPGAs more accessible to those who build and deploy models. Since FPGA architectures are flexible, this could also allow researchers the ability to explore model-level optimizations beyond what is possible on fixed architectures such as GPUs. As well, FPGAs tend to provide high performance per watt of power consumption, which is of particular importance for application scientists interested in large scale server-based deployment or resource-limited embedded applications. This review takes a look at deep learning and FPGAs from a hardware acceleration perspective, identifying trends and innovations that make these technologies a natural fit, and motivates a discussion on how FPGAs may best serve the needs of the deep learning community moving forward.
Motivation & Objective
- Motivate the need for hardware acceleration beyond GPUs for deep learning.
- Characterize the role of FPGAs as a flexible, power-efficient accelerator for DL workloads.
- Evaluate current FPGA-based CNN/MLP implementations and design trade-offs.
- Discuss high-level abstraction tools and OpenCL adoption to bridge DL and FPGA communities.
- Recommend future directions to scale DL on FPGAs and improve tooling and workflows.
Proposed method
- Review of CNN and MLP architectures and their suitability for FPGA acceleration.
- Discussion of FPGA characteristics, including reconfigurability, memory hierarchy, and pipeline parallelism.
- Analysis of high-level synthesis and OpenCL as pathways to make FPGAs accessible to DL researchers.
- Description of an FPGA-centric design flow for integrating DL models with OpenCL-based workflows.
- Consideration of training versus inference on FPGA hardware and related performance implications.
Experimental results
Research questions
- RQ1What makes FPGAs a compelling platform for DL acceleration compared to GPPs and GPUs?
- RQ2How have DL models (especially CNNs and MLPs) been mapped to FPGA architectures, and what are the resulting performance/power trade-offs?
- RQ3What tooling and design-flow developments are needed to broaden FPGA adoption in the DL community?
- RQ4What are the near-term and long-term directions to scale DL on multi-FPGA or power-constrained environments?
Key findings
- State-of-the-art CNN implementations on FPGAs achieve tens to hundreds of images per second with power budgets around tens of watts (e.g., 134 images/sec on ImageNet 1K at 25 W on a Stratix V platform).
- OpenCL enables cross-hardware programming for FPGAs, GPUs, and CPUs, facilitating DL workflow adoption on FPGAs despite platform-specific limitations.
- High-level design tools and OpenCL support are expanding FPGA accessibility for researchers and DL practitioners, bridging software-like DL workflows with reconfigurable hardware.
- FPGAs offer pipeline parallelism and customizable architectures that can outperform fixed GPUs in terms of performance-per-watt for certain DL primitives and streaming workloads.
- Future directions include larger memory, multi-FPGA configurations, and more abstracted design tools to reduce compile-time bottlenecks and accelerate iteration.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.