[Paper Review] A Competitive Edge: Can FPGAs Beat GPUs at DCNN Inference Acceleration in Resource-Limited Edge Computing Applications?
This paper proposes a spatio-temporally parallelized FPGA accelerator for efficient Deconvolutional Neural Network (DCNN) inference in resource-limited edge devices. By optimizing a zero-padding-free deconvolution algorithm with micro-architectural innovations and statistical analysis, the FPGA achieves a higher throughput-to-power ratio and lower run-to-run variation than the NVIDIA Jetson TX1 GPU on MNIST and CelebA datasets.
When trained as generative models, Deep Learning algorithms have shown exceptional performance on tasks involving high dimensional data such as image denoising and super-resolution. In an increasingly connected world dominated by mobile and edge devices, there is surging demand for these algorithms to run locally on embedded platforms. FPGAs, by virtue of their reprogrammability and low-power characteristics, are ideal candidates for these edge computing applications. As such, we design a spatio-temporally parallelized hardware architecture capable of accelerating a deconvolution algorithm optimized for power-efficient inference on a resource-limited FPGA. We propose this FPGA-based accelerator to be used for Deconvolutional Neural Network (DCNN) inference in low-power edge computing applications. To this end, we develop methods that systematically exploit micro-architectural innovations, design space exploration, and statistical analysis. Using a Xilinx PYNQ-Z2 FPGA, we leverage our architecture to accelerate inference for two DCNNs trained on the MNIST and CelebA datasets using the Wasserstein GAN framework. On these networks, our FPGA design achieves a higher throughput to power ratio with lower run-to-run variation when compared to the NVIDIA Jetson TX1 edge computing GPU.
Motivation & Objective
- Address the growing demand for low-power, on-device inference of deep generative models in mobile and edge computing environments.
- Overcome the limitations of GPUs in handling unstructured sparsity and conditional execution patterns common in pruned models.
- Design a power-efficient, reconfigurable hardware accelerator tailored for DCNN inference on resource-constrained FPGAs.
- Balance the trade-off between hardware performance and generative quality when applying weight pruning to DCNNs.
- Demonstrate that FPGAs can outperform even optimized edge GPUs in throughput-to-power efficiency for DCNN inference tasks.
Proposed method
- Adapt the zero-insertion deconvolution algorithm from Zhang et al. [26] to reduce resource utilization and improve dataflow in hardware.
- Implement a spatio-temporally parallelized architecture that exploits both spatial tiling and temporal pipelining for efficient memory access and computation.
- Apply preprocessing of modulo arithmetic to eliminate runtime dependency calculations and improve throughput.
- Integrate on-chip buffering and memory hierarchy optimization to minimize off-chip memory access and reduce latency.
- Use a MMD-based optimization metric (Eq. 6) to balance generative quality and execution speed during unstructured weight pruning.
- Conduct high-dimensional statistical analysis to evaluate the impact of sparsity on both performance and model fidelity.
Experimental results
Research questions
- RQ1Can an FPGA-based accelerator achieve higher throughput-to-power efficiency than a GPU for DCNN inference in edge applications?
- RQ2How does unstructured weight pruning affect generative quality and hardware performance in FPGA-accelerated DCNN inference?
- RQ3What architectural optimizations are most effective in reducing resource utilization while maintaining high throughput in FPGA-based DCNN accelerators?
- RQ4To what extent can FPGA-native support for conditional execution (e.g., zero-skipping) improve performance on sparse, pruned models compared to GPU workloads?
- RQ5Is there an optimal sparsity level that balances inference speed and generative quality in FPGA-accelerated GAN inference?
Key findings
- The FPGA-based accelerator achieves a higher throughput-to-power ratio than the NVIDIA Jetson TX1 GPU on both MNIST and CelebA DCNNs.
- The design exhibits lower run-to-run variation in performance compared to the GPU, indicating greater consistency under varying workloads.
- The proposed algorithmic and architectural optimizations reduce resource utilization and improve dataflow efficiency compared to prior approaches.
- Unstructured weight pruning leads to significant speed-ups via zero-skipping, but at the cost of degraded generative quality as measured by MMD distance.
- The proposed MMD-based optimization metric (Eq. 6) identifies a peak performance-quality trade-off point, enabling balanced sparsity selection.
- The FPGA implementation maintains stable performance under conditional execution, unlike GPUs which suffer from inefficiencies in such workloads.
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.