Mixed Precision PointPillars for Efficient 3D Object Detection with TensorRT
Ninnart Fuengfusin, Keisuke Yoneda, Naoki Suganuma
TL;DR
Real-time LIDAR 3D object detection on edge devices is challenged by wide numerical distributions and outliers. The authors introduce a mixed-precision framework for PointPillars that uses PTQ to identify sensitive layers via layer-wise INT8 quantization and AP evaluation, then greedily assigns FP16 to the top-$k$ sensitive layers and finalizes with PTQ or QAT calibration, all compatible with TensorRT. PTQ alone can achieve competitive performance without training, while QAT closes the gap to FP32; deployment on TensorRT yields latency reductions up to $2.35\times$ and size reductions up to $2.26\times$, with only about $2.018\%$ of parameters being in sensitive layers. A key insight is that very small calibration sets (e.g., six frames) reduce outlier effects in PTQ, improving accuracy. Overall, the method enables efficient, high-performance 3D detection on edge hardware, demonstrated on KITTI with strong practical implications for autonomous systems.
Abstract
LIDAR 3D object detection is one of the important tasks for autonomous vehicles. Ensuring that this task operates in real-time is crucial. Toward this, model quantization can be used to accelerate the runtime. However, directly applying model quantization often leads to performance degradation due to LIDAR's wide numerical distributions and extreme outliers. To address the wide numerical distribution, we proposed a mixed precision framework designed for PointPillars. Our framework first searches for sensitive layers with post-training quantization (PTQ) by quantizing one layer at a time to 8-bit integer (INT8) and evaluating each model for average precision (AP). The top-k most sensitive layers are assigned as floating point (FP). Combinations of these layers are greedily searched to produce candidate mixed precision models, which are finalized with either PTQ or quantization-aware training (QAT). Furthermore, to handle outliers, we observe that using a very small number of calibration data reduces the likelihood of encountering outliers, thereby improving PTQ performance. Our methods provides mixed precision models without training in the PTQ pipeline, while our QAT pipeline achieves the performance competitive to FP models. With TensorRT deployment, our models offer less latency and sizes by up to 2.35 and 2.26 times, respectively.
