Abstract
We propose a dense object detector with an instance-wise sampling strategy, named IQDet. Instead of using human prior sampling strategies, we first extract the regional feature of each ground-truth to estimate the instance-wise quality distribution. According to a mixture model in spatial dimensions, the distribution is more noise-robust and adapted to the semantic pattern of each instance. Based on the distribution, we propose a quality sampling strategy, which automatically selects training samples in a probabilistic manner and trains with more high-quality samples. Extensive experiments on MS COCO show that our method steadily improves baseline by nearly 2.4 AP without bells and whistles. Moreover, our best model achieves 51.6 AP, outperforming all existing state-of-the-art one-stage detectors and it is completely cost-free in inference time.
Introduction
Dense object detectors like FCOS and RetinaNet rely on spatial locations on feature maps to define positive training samples. Traditional approaches use static rules, such as fixed IoU thresholds or center sampling, which fail to adapt to an object's unique semantic features. More recent dynamic methods, like PAA, assign labels based on model predictions but often treat pixels independently, leading to noisy assignments. Furthermore, these methods are typically constrained to a discrete grid, potentially missing optimal features that lie between grid points.
IQDet addresses these issues by modeling sampling as a learnable, instance-aware probabilistic process, moving beyond rigid grid-based assignments to a continuous quality distribution that adapts to the semantic pattern of each instance.
Methodology
The IQDet framework introduces two primary auxiliary components used exclusively during training: the Quality Distribution Encoder (QDE) and Quality Distribution Sampling (QDS).
Quality Distribution Encoder (QDE)
For each ground-truth object, regional features are extracted via RoIAlign. A dedicated subnet predicts the parameters ((\mu, \sigma, \pi)) of a Gaussian Mixture Model (GMM). This GMM represents the "quality distribution," identifying the most informative regions for that specific instance. By modeling the entire instance distribution, the process becomes more robust to noise compared to per-pixel assignment strategies.
Quality Distribution Sampling (QDS)
Instead of sampling from a fixed grid, IQDet samples (K) points directly from the learned GMM. These points often have floating-point coordinates, necessitating the use of bilinear interpolation to extract features from the underlying maps. This "breaks the grid," allowing the model to access a richer set of positive samples. The probability density of the GMM serves as a soft target for classification loss, prioritizing high-quality regions.
Crucially, these components are auxiliary. Once the model is trained, they are discarded. The resulting detector is a standard FCOS-like architecture that runs at original speeds with zero additional inference cost.
Experiments and Results
IQDet was evaluated across several benchmarks, demonstrating significant performance gains:
- MS COCO: IQDet improved the FCOS baseline by 2.4 AP. With a ResNext-101-DCN backbone, it reached 51.6 AP, surpassing state-of-the-art one-stage detectors like ATSS and PAA.
- PASCAL VOC & WiderFace: The method showed strong generalization, providing a 1.4 AP boost on WiderFace, which contains many small and crowded faces.
Ablation studies confirmed that the model is robust to hyperparameters like the number of GMM components and samples ((K)). The primary benefit is the semantic awareness gained by the model, as the GMM learns to focus on critical object parts (e.g., heads or torsos) rather than just geometric centers.
Conclusion
IQDet introduces a novel instance-wise sampling paradigm that replaces heuristic grid-based rules with a learnable quality distribution. By leveraging GMMs and continuous sampling, it achieves state-of-the-art accuracy on COCO with zero additional inference cost. Future work may explore extending this probabilistic sampling to instance segmentation and Transformer-based architectures.
Summary updated