Skip to main content
QUICK REVIEW

[Paper Review] Achieving Real-Time LiDAR 3D Object Detection on a Mobile Device

Pu Zhao, Wei Niu|arXiv (Cornell University)|Dec 26, 2020
Advanced Neural Network ApplicationsComputer Science61 references5 citations
TL;DR

This paper proposes a compiler-aware, reinforcement learning–driven unified framework that jointly optimizes network enhancement and pruning for real-time 3D LiDAR object detection on mobile devices. By dynamically selecting optimal kernel sizes and pruning strategies per layer, the framework achieves 97ms average inference time on a Samsung Galaxy S20 with state-of-the-art detection accuracy, marking the first real-time 3D detection on mobile GPUs with compiler-optimized inference.

ABSTRACT

3D object detection is an important task, especially in the autonomous driving application domain. However, it is challenging to support the real-time performance with the limited computation and memory resources on edge-computing devices in self-driving cars. To achieve this, we propose a compiler-aware unified framework incorporating network enhancement and pruning search with the reinforcement learning techniques, to enable real-time inference of 3D object detection on the resource-limited edge-computing devices. Specifically, a generator Recurrent Neural Network (RNN) is employed to provide the unified scheme for both network enhancement and pruning search automatically, without human expertise and assistance. And the evaluated performance of the unified schemes can be fed back to train the generator RNN. The experimental results demonstrate that the proposed framework firstly achieves real-time 3D object detection on mobile devices (Samsung Galaxy S20 phone) with competitive detection performance.

Motivation & Objective

  • To enable real-time 3D object detection on resource-constrained mobile edge devices, such as smartphones used in autonomous vehicles.
  • To overcome the limitations of fixed pruning strategies and manual hyperparameter tuning in existing DNN acceleration frameworks.
  • To integrate compiler-aware optimizations into the neural architecture search process, accounting for parallelism and execution efficiency.
  • To achieve high detection accuracy while satisfying strict real-time inference constraints (e.g., <100ms) on mobile GPUs.
  • To demonstrate that flexible, layer-wise network enhancement and pruning can outperform uniform pruning methods in both speed and accuracy.

Proposed method

  • A generator RNN is used to automatically explore a unified search space combining network enhancement (e.g., kernel size tuning) and pruning (e.g., filter, pattern, block pruning) actions for each layer.
  • The framework employs reinforcement learning with a reward function that balances detection mAP and inference speed, with feedback from compiler-optimized code generation.
  • Compiler-aware code generation is used to evaluate the actual inference speed under optimizations like Winograd transforms and tiling, enabling realistic performance estimation during search.
  • Bayesian optimization (BO) is applied to accelerate the training of the generator RNN by efficiently exploring the high-dimensional search space.
  • The search space includes both kernel size adjustments and multiple pruning types, allowing layer-specific optimization strategies.
  • The framework is evaluated on the PointPillars-based 3D detection model using the KITTI dataset, with inference measured on a Samsung Galaxy S20 mobile GPU.

Experimental results

Research questions

  • RQ1Can a unified, compiler-aware framework jointly optimize network enhancement and pruning to achieve real-time 3D object detection on mobile GPUs?
  • RQ2Does layer-wise, flexible pruning and kernel size tuning outperform uniform pruning strategies in terms of speed and accuracy?
  • RQ3Can reinforcement learning with compiler-optimized feedback effectively guide the search for high-performance, low-latency models?
  • RQ4To what extent does kernel size tuning and Winograd transformation improve inference speed on mobile edge devices?
  • RQ5How does the proposed method compare to state-of-the-art 3D detection models in terms of real-time performance and accuracy on mobile hardware?

Key findings

  • The proposed framework achieves an average inference time of 97ms on the Samsung Galaxy S20 mobile GPU, satisfying real-time requirements (<100ms).
  • The method achieves a 76.38% mAP on the KITTI dataset, outperforming the original PointPillars model (84.05% mAP on easy set) and other pruning baselines.
  • With a pruning ratio of 86%, the proposed method achieves better detection performance than filter pruning (74.89% mAP) and pattern pruning (73.77% mAP) under the same conditions.
  • On server GPU (GTX 1080Ti), the method achieves 18ms inference time, which is at least 2.7× faster than non-PointPillar-based methods with competitive accuracy.
  • When the real-time constraint is tightened to 90ms, the method maintains 74.15% mAP with 89ms average speed, showing robustness to stricter latency constraints.
  • The framework is the first to support real-time 3D object detection on mobile GPUs with full compiler optimization, as most existing methods rely on unsupported or non-optimizable layers (e.g., 3D sparse convolutions).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.