A System-Level Solution for Low-Power Object Detection

Fanrong Li, Zitao Mo, Peisong Wang, Zejian Liu, Jiayun Zhang, Gang Li, Qinghao Hu, Xiangyu He, Cong Leng, Yang Zhang, Jian Cheng

Abstract

Deploying high-performance object detection on power-constrained edge devices remains a significant challenge due to the high computational and memory demands of deep learning models. This paper presents a comprehensive system-level solution that integrates aggressive quantization with a specialized hardware accelerator. By employing a three-step quantization strategy (4-bit activations and 3-bit power-of-two weights) and a novel column-prior tiling approach, the proposed system achieves real-time performance of 18 FPS on a Xilinx Ultra96 FPGA within a 6.9W power envelope, maintaining competitive accuracy on the PASCAL VOC 2012 dataset.

Introduction

While deep learning has revolutionized object detection, state-of-the-art models remain computationally expensive and memory-intensive. This creates a significant barrier for deployment on "edge" devices like drones, security cameras, and smart glasses, which have strict power and volume constraints. General-purpose GPUs are often too power-hungry for these applications and are not optimized for low-precision arithmetic (less than 8-bit). Conversely, standard FPGA implementations often run into bottlenecks regarding on-chip memory (BRAM) and the limited number of Digital Signal Processing (DSP) blocks. This research seeks a "system-level" solution that optimizes the entire pipeline—from quantization algorithms to hardware architecture—to make high-performance detection practical on resource-constrained embedded hardware.

Methods

The authors propose a multi-layered approach to efficiency, focusing on both algorithmic compression and hardware specialization.

Three-Step Quantization

The quantization strategy is designed to minimize bit-width while preserving accuracy. Activations are quantized to 4-bit uniform integers. Crucially, weights are quantized to 3-bit power-of-two values. This design choice allows the hardware to replace expensive multipliers with simple bit-shift operators, significantly reducing power consumption and logic area. A final scale quantization step ensures that Batch Normalization and bias terms are handled without requiring floating-point logic.

The three-step quantization process for activations, weights, and scales.

Hardware-Software Co-Design

The system is implemented on a Xilinx Ultra96 SoC, where the CPU (ARM Cortex-A53) and the FPGA (Programmable Logic) work in a pipeline. While the FPGA handles the heavy lifting of convolutions, the CPU manages pre-processing (video decoding) and post-processing (Non-Maximum Suppression and visualization).

High-level system architecture showing the interaction between the ARM APU and the FPGA-based accelerator.

The accelerator features specialized Processing Elements (PEs) for different operations (3x3 conv, 1x1 conv, depthwise conv, and detection heads). To further optimize memory, the design introduces Column-Prior Tiling. Traditional "row-prior" tiling requires large line buffers; by switching to a column-prior strategy, the authors significantly reduce the register overhead required to manage feature maps. Additionally, a Hybrid Dataflow dynamically switches between Output Stationary (for early layers with large feature maps) and Weight Stationary (for deeper layers with many weights) to maximize efficiency.

Key Results and Insights

The proposed system was evaluated using ImageNet for pre-training and PASCAL VOC 2012 for detection performance. Key findings include:

  • Efficiency: The system achieves an inference speed of 18 FPS at a total power cost of 6.9W (including display output).
  • Accuracy: On the PASCAL VOC 2012 dataset, the system reached an mAP of 66.4. The transition to 4-bit/3-bit quantization resulted in only a ~2% drop in Top-1 accuracy on ImageNet.
  • Resource Utilization: By using power-of-two weights, the design shifts the computational burden from DSP blocks to Look-Up Tables (LUTs), reducing LUT usage by approximately 40% compared to standard multiplication-based IP. The design uses less than 25% of available DSP blocks, leaving room for other system functions.

Conclusion

This work demonstrates that aggressive quantization combined with specialized hardware dataflows can enable high-performance object detection on low-power FPGAs. While the FPGA handles convolutions efficiently, future work will focus on offloading remaining CPU bottlenecks—such as Softmax and visualization layers—to the programmable logic to reach the theoretical 27 FPS limit of the hardware accelerator.

Summary updated

BibTeX
@inproceedings{li2019system,
  author = {Fanrong Li and Zitao Mo and Peisong Wang and Zejian Liu and Jiayun Zhang and Gang Li and Qinghao Hu and Xiangyu He and Cong Leng and Yang Zhang and Jian Cheng},
  title = {{A System-Level Solution for Low-Power Object Detection}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  doi = {10.1109/iccvw.2019.00301},
}
Figure