Optimizing Real-Time Object Detection in a Multi-Neural Processing Unit System
Open Access
Abstract
Real-time object detection demands high throughput and low latency, necessitating the use of hardware accelerators. NPU is specialized hardware designed to accelerate the calculation of deep learning models, providing better energy efficiency and parallel processing performance than existing CPUs or GPUs. In particular, it plays an important role in reducing latency and improving processing speed in applications that require real-time processing. In this paper, we construct a real-time object detection system based on YOLOv3, utilizing Neubla’s Antara NPU, and propose two approaches for performance optimization. First, we ensure the continuity of NPU inference by allowing the CPU to process data in advance through double buffering. Second, in a multi-NPU environment, we distribute tasks among NPUs through queue-based processing and analyze the performance limits using Amdahl’s law. Experimental results demonstrate that compared to a CPU-only environment, applying the NPU in single buffering improved throughput by 2.13 times, double buffering by 3.35 times, and in a multi-NPU environment by 4.81 times. Latency decreased by 1.6 times in single and double buffering, and by 1.18 times in the multi-NPU environment. The accuracy remained consistent, with 31.4 mAP on the CPU and 31.8 mAP on the NPU.Keywords
Funding Information
- Institute of Information & Communications Technology Planning & Evaluation (IITP) (RS-2024-00459797, RS-2023-00277060)
This publication has 14 references indexed in Scilit:
- Object Detection in 20 Years: A SurveyProceedings of the IEEE, 2023
- Recent advances in deep learning for object detectionNeurocomputing, 2020
- Intel Nervana Neural Network Processor-T (NNP-T) Fused Floating Point Many-Term Dot Product2020
- EfficientDet: Scalable and Efficient Object Detection2020
- Amdahl's law in the context of heterogeneous many‐core systems – a surveyIET Computers & Digital Techniques, 2020
- Efficient Processing of Deep Neural Networks: A Tutorial and SurveyProceedings of the IEEE, 2017
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- You Only Look Once: Unified, Real-Time Object Detection2016
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation2014
- Amdahl's Law in the Multicore EraComputer, 2008