[Paper Review] Design Flow of Accelerating Hybrid Extremely Low Bit-width Neural Network in Embedded FPGA
This paper proposes a design flow for accelerating hybrid extremely low bit-width neural networks (ELB-NNs) on embedded FPGAs using flexible, layer-specific quantization of weights and activations. The end-to-end automation tool AccELB generates optimized FPGA implementations without RTL coding, achieving up to 10.3 TOPS and 325.3 images per second per watt on an embedded FPGA, outperforming GPUs and prior FPGA solutions in energy efficiency.
Neural network accelerators with low latency and low energy consumption are desirable for edge computing. To create such accelerators, we propose a design flow for accelerating the extremely low bit-width neural network (ELB-NN) in embedded FPGAs with hybrid quantization schemes. This flow covers both network training and FPGA-based network deployment, which facilitates the design space exploration and simplifies the tradeoff between network accuracy and computation efficiency. Using this flow helps hardware designers to deliver a network accelerator in edge devices under strict resource and power constraints. We present the proposed flow by supporting hybrid ELB settings within a neural network. Results show that our design can deliver very high performance peaking at 10.3 TOPS and classify up to 325.3 image/s/watt while running large-scale neural networks for less than 5W using embedded FPGA. To the best of our knowledge, it is the most energy efficient solution in comparison to GPU or other FPGA implementations reported so far in the literature.
Motivation & Objective
- Address the challenge of deploying large-scale, energy-constrained DNNs on edge devices with strict power and area budgets.
- Enable flexible, per-layer bit-width optimization for weights and activations to balance accuracy, latency, and energy efficiency.
- Develop an end-to-end automation pipeline to eliminate manual RTL programming and streamline FPGA deployment of hybrid ELB-NNs.
- Achieve superior energy efficiency compared to GPU and prior FPGA-based DNN accelerators for low-precision inference.
Proposed method
- Propose a hybrid quantization scheme allowing different bit-widths (e.g., 2-bit, 4-bit, 8-bit) for weights and activations across and within layers.
- Design a pipelined, high-throughput inference architecture tailored for the heterogeneous precision requirements of hybrid ELB-NNs.
- Implement a Caffe-based training framework to enable accurate, low-precision model training with mixed-precision settings.
- Develop AccELB, an end-to-end automation tool that maps Caffe prototxts to optimized, high-performance FPGA RTL using pre-optimized libraries.
- Integrate a memory hierarchy to manage off-chip memory access for large models like VGG16, even when weights are binarized.
- Use a Xilinx ZC706 FPGA board for evaluation, with power measurements via a digital power meter to ensure accurate energy efficiency reporting.
Experimental results
Research questions
- RQ1How can hybrid quantization schemes (varying bit-widths across and within layers) improve the accuracy and efficiency trade-off in ELB-NNs on FPGAs?
- RQ2What is the optimal configuration of mixed-precision weights and activations for maximizing energy efficiency in embedded FPGA accelerators?
- RQ3Can an automated toolchain eliminate the need for low-level RTL programming while still achieving high performance and energy efficiency?
- RQ4How does the proposed FPGA-based ELB-NN accelerator compare in energy efficiency to state-of-the-art GPU and FPGA solutions for DNN inference?
- RQ5What are the performance and power characteristics of large-scale ELB-NNs (e.g., VGG16) when deployed on resource-constrained embedded FPGAs?
Key findings
- The proposed design achieves a peak performance of 10.3 TOPS on an embedded FPGA, demonstrating high computational throughput for large-scale ELB-NNs.
- The energy efficiency reaches 325.3 images per second per watt for AlexNet under a 4-8218 hybrid quantization setting, outperforming both edge (TX2) and data center (P4) GPUs by up to 3.9x.
- The AccELB automation tool enables FPGA deployment without RTL coding, significantly reducing design time and complexity.
- The implementation achieves 2x higher LUT efficiency (GOPs per kilo LUTs) than a comparable high-end FPGA solution and 13% better than the most efficient prior work.
- Even with slightly lower accuracy (49.3% for AccELB(1) vs. 54.6% for INT8 GPU), the proposed solution maintains superior energy efficiency, especially at low batch sizes.
- The design supports large models like VGG16 by incorporating a memory hierarchy, overcoming on-chip memory limitations even with binarized weights.
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.