LiDAR-PTQ: Post-Training Quantization for Point Cloud 3D Object Detection

Sifan Zhou, Liang Li, Xinyu Zhang, Bo Zhang, Shipeng Bai, Miao Sun, Ziyu Zhao, Xiaobo Lu, Xiangxiang Chu

Abstract

Post-training quantization (PTQ) is a critical technique for deploying deep learning models on resource-constrained edge devices. However, applying standard PTQ to 3D LiDAR-based object detection often results in significant accuracy degradation due to the inherent sparsity of point cloud data. This paper introduces LiDAR-PTQ, a specialized quantization framework designed specifically for 3D detectors. By employing sparsity-based calibration, Task-guided Global Positive Loss (TGPL), and adaptive rounding, LiDAR-PTQ achieves near-lossless INT8 performance. Experimental results on the Waymo Open Dataset and nuScenes demonstrate a 3x inference speedup on edge hardware with minimal precision loss, while requiring 30x less implementation time than traditional quantization-aware training (QAT).

Introduction

Deploying high-performance 3D object detectors on the "edge"—the low-power computers inside autonomous vehicles and robots—remains a significant engineering hurdle. While 2D image models have long benefited from PTQ to shrink their size and boost execution speed, 3D LiDAR data presents unique challenges. Standard quantization methods often lead to a catastrophic drop in accuracy when applied to the sparse, non-uniform nature of point clouds. LiDAR-PTQ addresses these challenges by introducing a framework that preserves geometric integrity while maximizing computational efficiency.

The Challenge of Sparsity

In the world of deep learning, quantization converts high-precision 32-bit floats into lower-precision 8-bit integers. While effective for dense 2D grids, 3D LiDAR data is fundamentally different. A typical LiDAR scene is approximately 90% empty space.

Standard quantization methods, such as Entropy calibration, attempt to minimize information loss across the entire feature map. In 3D, this logic inadvertently treats rare but high-value geometric points as outliers, clipping them to optimize for the "average" (which is mostly empty space). This leads to a "performance collapse," where the model loses the ability to distinguish small or distant objects from the background.

The LiDAR-PTQ Framework

The authors propose three key components to adapt quantization for the unique requirements of LiDAR data:

  1. Sparsity-based Calibration: Rather than using 2D-standard Entropy calibration, LiDAR-PTQ utilizes a Max-min calibration combined with a lightweight grid search. This ensures that the full arithmetic range of geometric features is preserved, preventing the clipping of distant or sparse objects.
  2. Task-guided Global Positive Loss (TGPL): Standard PTQ focuses on layer-wise reconstruction. TGPL instead provides global supervision by using the predictions from the original high-precision model as "pseudo-labels." This teaches the quantized model to focus its limited precision on foreground objects (the "positives") rather than the irrelevant background.
  3. Adaptive Rounding-to-Nearest: Instead of a fixed rounding-to-nearest approach, this module learns whether to round up or down for each weight to minimize the specific reconstruction error of the layer's output.

Experimental Evaluation

The researchers evaluated LiDAR-PTQ across three major industry benchmarks: the Waymo Open Dataset (WOD), nuScenes, and SemanticKITTI. The framework was tested against various architectures, including Pillar-based, Voxel-based, and fully sparse detectors like FSD.

Key Results

  • Near-Lossless Accuracy: On the Waymo dataset, the CenterPoint-Pillar model experienced a negligible drop of only 0.2 mAPH (from 60.32 to 60.12) when moving from FP32 to INT8.
  • Hardware Acceleration: Quantized models achieved a 3x inference speedup on the NVIDIA Jetson AGX Orin, a standard edge device for autonomous systems.
  • Engineering Efficiency: LiDAR-PTQ requires only about 3 GPU hours to process a model, compared to the 94 GPU hours typically required for Quantization-Aware Training (QAT)—a 30x improvement in efficiency.

Discussion and Insights

The research reveals that the "gold standard" for 2D quantization—Entropy calibration—is actually detrimental to 3D detection. By optimizing for the average pixel, it destroys the geometric details necessary for object localization. Furthermore, the paper highlights that quantization error in 3D is highly correlated with distance; long-range objects (50m+) suffer significantly more from clipping than nearby objects, making range-aware calibration essential.

Conclusion

LiDAR-PTQ demonstrates that near-lossless 8-bit quantization is achievable for 3D point clouds without the heavy computational burden of retraining. While low-bit quantization (e.g., 4-bit) remains an open challenge due to the extreme sensitivity of geometric features, this framework provides a robust solution for immediate edge deployment of state-of-the-art 3D detectors.

Summary updated

BibTeX
@inproceedings{zhou2024lidar,
  author = {Sifan Zhou and Liang Li and Xinyu Zhang and Bo Zhang and Shipeng Bai and Miao Sun and Ziyu Zhao and Xiaobo Lu and Xiangxiang Chu},
  title = {{LiDAR-PTQ: Post-Training Quantization for Point Cloud 3D Object Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=0d1gQI114C},
}
Figure