Inlier-Centric Post-Training Quantization for Object Detection Models
Minsu Kim, Dongyeun Lee, Jaemyung Yu, Jiwan Hur, Giseop Kim, Junmo Kim
TL;DR
This paper tackles the difficulty of quantizing object detection models under low-bit constraints by isolating task-relevant inliers from anomalies in activations. It introduces InlierQ, which uses gradient-based volume saliency to model an inlier–anomaly posterior via a two-component EM mixture and optimizes quantization over the inlier set, mitigating anomaly-induced distribution skew. The method yields consistent gains on COCO and nuScenes for both 2D and 3D detectors, with pronounced improvements under 4-bit activations, demonstrating improved robustness and efficiency for on-device deployment. The key contributions include a principled inlier–anomaly decomposition, a gradient-informed saliency model, and EM-based posterior inference that together enable drop-in PTQ with minimal calibration data and strong empirical performance gains.
Abstract
Object detection is pivotal in computer vision, yet its immense computational demands make deployment slow and power-hungry, motivating quantization. However, task-irrelevant morphologies such as background clutter and sensor noise induce redundant activations (or anomalies). These anomalies expand activation ranges and skew activation distributions toward task-irrelevant responses, complicating bit allocation and weakening the preservation of informative features. Without a clear criterion to distinguish anomalies, suppressing them can inadvertently discard useful information. To address this, we present InlierQ, an inlier-centric post-training quantization approach that separates anomalies from informative inliers. InlierQ computes gradient-aware volume saliency scores, classifies each volume as an inlier or anomaly, and fits a posterior distribution over these scores using the Expectation-Maximization (EM) algorithm. This design suppresses anomalies while preserving informative features. InlierQ is label-free, drop-in, and requires only 64 calibration samples. Experiments on the COCO and nuScenes benchmarks show consistent reductions in quantization error for camera-based (2D and 3D) and LiDAR-based (3D) object detection.
