混合精度PointPillars用于基于TensorRT的高效3D目标检测
Mixed Precision PointPillars for Efficient 3D Object Detection with TensorRT
AI总结:
本文提出混合精度PointPillars框架,结合TensorRT实现高效3D目标检测,通过量化感知训练和贪心搜索优化模型性能,降低延迟达2.538倍。
摘要:
激光雷达3D目标检测是自动驾驶中的重要任务。确保该任务能够实时运行至关重要。为此,可以使用模型量化来加速运行时间。然而,直接应用模型量化往往会导致性能下降,因为激光雷达的数据分布广泛且存在极端异常值。为了解决数据分布广泛的问题,我们提出了一种专为PointPillars设计的混合精度框架。该框架首先通过逐层将一层量化为8位整数(INT8)并评估每个模型的平均精度(AP)来搜索敏感层。选出的前k个敏感层被分配为浮点数(FP)。这些层的组合通过贪心搜索产生候选混合精度模型,最终通过PTQ或量化感知训练(QAT)确定。此外,为处理异常值,我们发现使用极少量的校准数据可以降低遇到异常值的可能性,从而提高PTQ性能。我们的方法在PTQ流程中无需训练即可提供混合精度模型,而QAT流程的性能可与FP模型相媲美。借助TensorRT部署,我们的混合精度模型相比FP32模型的延迟可降低高达2.538倍。
英文摘要:
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 mixed precision models offer less latency by up to 2.538 times compared to FP32 models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。