[Paper Review] FPGA/DNN Co-Design: An Efficient Design Methodology for IoT Intelligence on the Edge
This paper proposes a simultaneous FPGA/DNN co-design methodology that combines bottom-up DNN model search with top-down FPGA accelerator design to optimize edge AI on resource-constrained FPGAs. Using automated engines (Auto-DNN and Auto-HLS), it generates hardware-aware DNNs and synthesizable C code for accelerators, achieving 6.2% higher IoU, 2.48× higher FPS, 40% lower power, and 2.5× better energy efficiency than state-of-the-art FPGA designs on PYNQ-Z1 for object detection.
While embedded FPGAs are attractive platforms for DNN acceleration on edge-devices due to their low latency and high energy efficiency, the scarcity of resources of edge-scale FPGA devices also makes it challenging for DNN deployment. In this paper, we propose a simultaneous FPGA/DNN co-design methodology with both bottom-up and top-down approaches: a bottom-up hardware-oriented DNN model search for high accuracy, and a top-down FPGA accelerator design considering DNN-specific characteristics. We also build an automatic co-design flow, including an Auto-DNN engine to perform hardware-oriented DNN model search, as well as an Auto-HLS engine to generate synthesizable C code of the FPGA accelerator for explored DNNs. We demonstrate our co-design approach on an object detection task using PYNQ-Z1 FPGA. Results show that our proposed DNN model and accelerator outperform the state-of-the-art FPGA designs in all aspects including Intersection-over-Union (IoU) (6.2% higher), frames per second (FPS) (2.48X higher), power consumption (40% lower), and energy efficiency (2.5X higher). Compared to GPU-based solutions, our designs deliver similar accuracy but consume far less energy.
Motivation & Objective
- Address the challenge of deploying high-accuracy DNNs on resource-constrained edge FPGAs with strict latency and power constraints.
- Overcome the limitations of traditional top-down design flows that ignore hardware constraints during DNN development.
- Enable simultaneous optimization of DNN architecture and FPGA accelerator design through an automated co-design flow.
- Achieve superior performance in accuracy, speed, power efficiency, and energy efficiency for edge AI workloads on embedded FPGAs.
Proposed method
- Proposes a hardware-aware DNN template (Bundle-Arch) to constrain and guide DNN architecture search for predictable resource usage.
- Introduces Auto-DNN, an automatic DNN model search engine that explores the DNN space under hardware constraints to find high-accuracy, FPGA-friendly models.
- Develops a tile-based, fine-grained pipeline architecture for FPGA accelerators that supports arbitrary DNNs generated by Auto-DNN.
- Introduces Auto-HLS, an automatic HLS generator that produces synthesizable C code for the FPGA accelerator from DNN models, enabling latency and resource estimation.
- Integrates Auto-DNN and Auto-HLS into a fully automatic co-design flow that jointly optimizes DNN and accelerator design.
- Applies loop fusion and on-chip buffer allocation to further optimize the generated C code for performance.
Experimental results
Research questions
- RQ1Can a co-design methodology that simultaneously optimizes DNN architecture and FPGA accelerator design outperform traditional top-down approaches on edge FPGAs?
- RQ2To what extent can hardware-aware DNN search improve accuracy and efficiency compared to standard DNNs on resource-constrained FPGAs?
- RQ3How does the proposed automatic co-design flow reduce engineering effort while achieving high performance in accuracy, latency, and energy efficiency?
- RQ4Can the co-designed DNN and accelerator achieve competitive performance against GPU-based solutions while consuming significantly less energy?
- RQ5What trade-offs between accuracy, frames per second, and power consumption can be achieved using the proposed methodology on a real embedded FPGA platform?
Key findings
- The proposed co-design approach achieved 6.2% higher Intersection-over-Union (IoU) than the 1st-place FPGA solution in the DAC-SDC competition.
- The implementation delivered 2.48× higher frames per second (FPS) compared to the state-of-the-art FPGA design, reaching 29.7 FPS at 150 MHz on PYNQ-Z1.
- Power consumption was reduced by 40% compared to the best existing FPGA design, with only 2.4W for the full inference pipeline.
- Energy efficiency was improved by 2.5× compared to the state-of-the-art FPGA design, and 3.1× to 3.8× better than GPU-based solutions.
- The DNN model achieved 68.6% IoU at 17.4 FPS (150 MHz), outperforming the 1st-place FPGA solution in all metrics including accuracy and energy efficiency.
- Compared to GPU-based designs, the proposed solution matched or slightly underperformed in accuracy (0.1% better than 3rd place, 1.2% worse than 1st place) but achieved 3.6× better energy efficiency despite a 6× slower clock frequency.
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.