Inlier-Centric Post-Training Quantization for Object Detection Models

Minsu Kim, Dongyeun Lee, Jaemyung Yu, Jiwan Hur, Giseop Kim, Junmo Kim

Overview

Object detection models struggle with low-bit quantization because noisy background activations—referred to as anomalies—skew the data distribution and waste limited bit capacity. To address this, researchers have introduced InlierQ, a post-training quantization method that uses gradient-aware saliency scores to mathematically separate useful "inliers" from useless "anomalies." By optimizing quantization parameters exclusively for the inliers, InlierQ significantly boosts performance in 2D and 3D object detection, especially at extreme 4-bit precision.

The Challenge of Quantizing Object Detectors

Deploying heavy object detection models on edge devices or in robotics requires quantization: converting high-precision floating-point numbers (FP32) to lower-bit integers (like 8-bit or 4-bit) to save memory and compute. Post-Training Quantization (PTQ) is a popular, lightweight way to achieve this without retraining the entire model.

However, object detection is inherently noisy. Models process vast amounts of background clutter and irregular object shapes, generating extreme or heavy-tailed activations. These irrelevant signals act as anomalies.

Visualizing anomalies versus task-relevant inliers in object detection.

When quantizing a model, there is a limited number of discrete "buckets" available to represent the data (e.g., only 16 buckets for 4-bit quantization). If anomalies stretch the quantization range, the majority of this precious bit precision is wasted on background noise. Consequently, the actual task-relevant features (the inliers) get crushed into just one or two buckets, destroying the model's ability to detect objects. Previous methods lacked a principled way to identify and filter out these anomalies during the quantization process.

The InlierQ Approach

To solve this, the authors propose Inlier-Centric Quantization (InlierQ), which explicitly decomposes the activation space into inliers and anomalies. The method operates in three main steps:

  1. Volume Saliency Score: Instead of merely looking at the magnitude of activations, InlierQ evaluates gradient sensitivity. It calculates how much the task loss cares about specific activations. To keep the focus on actual objects, it restricts this calculation to the top-$K$ predicted heatmap values.
  2. Probabilistic Decomposition: To decide what score counts as an inlier, the authors fit a two-component Gaussian Mixture Model (GMM) using the Expectation-Maximization (EM) algorithm. This creates a clean, statistical posterior distribution that classifies every activation volume as either an inlier or an anomaly based on a probability threshold ($\tau$).
  3. Inlier-Centric Optimization: Finally, InlierQ runs standard optimization-based PTQ (minimizing the Hessian-weighted quantization error), but it completely ignores the anomalies. The quantization parameters (scale and zero-point) are optimized solely to preserve the high-value inlier features.
Activation distributions separated into inliers and anomalies, alongside the resulting reduction in MSE error compared to baseline methods.

Key Insights

  • Gradients Outperform Magnitudes: Using gradient sensitivity is a much better filter for "usefulness" than simply dropping high-magnitude activations. It directly ties the quantization strategy to the model's actual objective of finding objects.
  • Cross-Modal Consistency: The Volume Saliency Score distribution looks remarkably similar across completely different modalities (Camera vs. LiDAR). This proves it is a robust, fundamental metric for separating signal from noise, regardless of the sensor type.
  • Anomalies are "Mildly Harmful": Ablation studies reveal that anomalies share some statistical resemblance to inliers (similar min/max ranges). They act more like mildly harmful perturbations rather than pure, unstructured noise. This explains why standard quantization doesn't completely break the model, but filtering them out unlocks significant performance gains.

Experimental Results

The method was evaluated on standard, large-scale benchmarks (COCO and nuScenes) using just 64 calibration samples. InlierQ acts as a drop-in replacement for existing PTQ methods and shows consistent gains, particularly in aggressive low-bit scenarios where bit-waste is fatal.

  • 2D Detection (COCO): At W4A4 (4-bit weights, 4-bit activations) on Faster R-CNN, InlierQ achieves 34.7 mAP, outperforming the strong BRECQ baseline (32.7 mAP).
  • 3D Camera (nuScenes): On DETR3D at W4A4, InlierQ hits 26.4 mAP, surpassing BRECQ (24.8 mAP).
  • 3D LiDAR (nuScenes): The gains are massive here due to the high dynamic range of LiDAR data. On CenterPoint at W4A4, InlierQ achieves 46.6 mAP, crushing BRECQ (39.5 mAP) and LiDAR-PTQ (42.2 mAP).

Limitations and Future Work

While highly effective, InlierQ introduces hyperparameters: the probability threshold ($\tau$) and the number of top heatmap queries ($K$). If $K$ is set too high, noise leaks back into the inlier set, degrading performance. Additionally, because it relies on gradient computation during the calibration phase, it requires slightly more compute overhead than purely activation-magnitude-based PTQ methods.

Future work could explore dynamic, learned thresholding to remove the need for manual hyperparameter tuning, or extend this principled inlier/outlier separation to other dense prediction tasks like image segmentation.

Summary updated

BibTeX
@inproceedings{kim2026inlier,
  author = {Minsu Kim and Dongyeun Lee and Jaemyung Yu and Jiwan Hur and Giseop Kim and Junmo Kim},
  title = {{Inlier-Centric Post-Training Quantization for Object Detection Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=GN9otzf5o6},
}
Figure