[Paper Review] Why is FPGA-GPU Heterogeneity the Best Option for Embedded Deep Neural Networks?
This paper proposes a heterogeneous FPGA-GPU acceleration framework for embedded deep neural networks, leveraging direct hardware mapping on FPGAs for energy-efficient inference and offloading complex layers to GPUs. Evaluated on SqueezeNet, MobileNetV2, and ShuffleNetv2, the hybrid approach achieves 12–30% energy reduction and 4–26% latency reduction compared to GPU-only acceleration, even after accounting for communication overhead.
Graphics Processing Units (GPUs) are currently the dominating programmable architecture for Deep Learning (DL) accelerators. The adoption of Field Programmable Gate Arrays (FPGAs) in DL accelerators is however getting momentum. In this paper, we demonstrate that Direct Hardware Mapping (DHM) of a Convolutional Neural Network (CNN) on an embedded FPGA substantially outperforms a GPU implementation in terms of energy efficiency and execution time. However, DHM is highly resource intensive and cannot fully substitute the GPU when implementing a state-of-the-art CNN. We thus propose a hybrid FPGA-GPU DL acceleration method and demonstrate that heterogeneous acceleration outperforms GPU acceleration even including communication overheads. Experimental results are conducted on a heterogeneous multi-platform setup embedding an Nvidia(R) Jetson TX2 CPU-GPU board and an Intel(R) Cyclone10GX FPGA board. The SqueezeNet, MobileNetv2, and ShuffleNetv2 mobile-oriented CNNs are experimented. We show that heterogeneous FPG-AGPU acceleration outperforms GPU acceleration for classification inference task over MobileNetv2 (12%-30% energy reduction, 4% to 26% latency reduction), SqueezeNet (21%-28% energy reduction, same latency), and ShuffleNetv2 (25% energy reduction, 21% latency reduction).
Motivation & Objective
- Address the growing need for energy-efficient inference in embedded deep neural networks (DNNs) with constrained power and area budgets.
- Overcome the limitations of GPU-only acceleration, which, while powerful, is not optimal for energy efficiency in mobile and embedded systems.
- Explore the feasibility and benefits of combining FPGAs and GPUs to achieve superior performance and efficiency in embedded DNN workloads.
- Demonstrate that hybrid FPGA-GPU acceleration outperforms GPU-only acceleration despite communication overheads in real-world embedded platforms.
- Evaluate the trade-offs between direct hardware mapping (DHM) on FPGAs and GPU acceleration across multiple state-of-the-art mobile-oriented CNNs.
Proposed method
- Implement direct hardware mapping (DHM) of convolutional layers on an Intel Cyclone10GX FPGA to maximize energy efficiency and minimize latency.
- Offload complex or less-optimized layers (e.g., depthwise separable convolutions) to the GPU on an NVIDIA Jetson TX2 platform.
- Design a heterogeneous execution pipeline that dynamically partitions the DNN model between FPGA and GPU based on computational complexity and resource availability.
- Optimize data transfer between FPGA and GPU using efficient memory access patterns and low-latency communication protocols to minimize overhead.
- Use a multi-platform setup with a Jetson TX2 (CPU-GPU) and Cyclone10GX FPGA to evaluate real-world performance and energy consumption.
- Benchmark inference performance across three mobile-optimized CNNs: SqueezeNet, MobileNetV2, and ShuffleNetv2 under identical workloads.
Experimental results
Research questions
- RQ1Can direct hardware mapping (DHM) on FPGAs outperform GPU-only acceleration in terms of energy efficiency and latency for embedded DNN inference?
- RQ2What is the performance and energy trade-off when combining FPGA and GPU acceleration in a heterogeneous embedded system?
- RQ3How does communication overhead between FPGA and GPU affect the overall efficiency of a hybrid DNN inference system?
- RQ4To what extent can FPGA-GPU heterogeneity improve inference performance across diverse mobile-oriented CNN architectures?
- RQ5Does the hybrid FPGA-GPU approach maintain or exceed the performance of GPU-only acceleration when accounting for system-level overheads?
Key findings
- FPGA-GPU heterogeneous acceleration reduces energy consumption by 12–30% compared to GPU-only inference on MobileNetV2.
- The hybrid approach reduces latency by 4–26% on MobileNetV2, even after accounting for inter-processor communication overhead.
- For SqueezeNet, the FPGA-GPU system achieves a 21–28% reduction in energy consumption with identical latency to the GPU-only baseline.
- ShuffleNetv2 sees a 25% reduction in energy usage and a 21% reduction in latency using the heterogeneous accelerator compared to GPU-only execution.
- The performance gains are consistent across multiple mobile-optimized CNNs, demonstrating the generality of the FPGA-GPU hybrid approach.
- The results show that heterogeneous acceleration outperforms GPU-only acceleration even when including communication costs, proving the viability of FPGA-GPU co-design in embedded systems.
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.