Training Multi-Object Detector by Estimating Bounding Box Distribution for Input Image

Jaeyoung Yoo, Hojun Lee, Inseop Chung, Geonseok Seo, Nojun Kwak

Abstract

Traditional multi-object detection relies on heuristic "matching" between ground truth boxes and hand-crafted anchor boxes, leading to hyperparameter sensitivity and foreground-background imbalance. This paper introduces the Mixture Density Object Detector (MDOD), which reformulates detection as a probabilistic density estimation task. By modeling bounding boxes as a mixture of Cauchy and categorical distributions, MDOD eliminates anchor-box tuning and naturally addresses class imbalance. Experimental results on MS COCO demonstrate that MDOD achieves superior accuracy and efficiency compared to conventional baselines.

Introduction

In traditional object detection frameworks such as Faster R-CNN or SSD, training involves a critical "matching" step. Ground truth boxes are assigned to specific spatial locations or "anchor boxes" based on predefined overlap thresholds. This approach is heavily reliant on heuristics; engineers must meticulously design anchor scales and aspect ratios. Furthermore, the resulting training sets are often overwhelmed by "background" samples, necessitating specialized loss functions like Focal Loss or complex sampling strategies to maintain training stability.

The authors propose a fundamental shift: instead of rigid, hand-crafted assignments, can a network learn a variable number of objects through a more flexible framework? They argue that the current mainstream approach is overly complicated and sensitive to hyperparameters.

Comparison between traditional anchor-based matching (a) and the proposed MDOD probabilistic density estimation (b).

Methods: The Mixture Density Object Detector (MDOD)

The core innovation, MDOD, treats the presence of objects in an image as a probability density function rather than a set of discrete classification and regression targets.

The Mixture Model

Instead of predicting fixed boxes, the network predicts the parameters of a mixture model ($\mu, \gamma, p, \pi$):

  • $\mu$ and $\gamma$: Represent the location and scale of the bounding box coordinates.
  • $p$: Represents the class probability.
  • $\pi$: The mixing coefficient, indicating the probability that a specific component of the mixture represents an actual object.

Cauchy vs. Gaussian Distributions

While most probabilistic models utilize Gaussian distributions, the authors identified a significant drawback: Gaussian tails vanish too rapidly. If a predicted box is far from the ground truth, the resulting gradient becomes zero (underflow), causing the model to stop learning. To mitigate this, MDOD employs the Cauchy distribution. Its "heavier tails" (quadratic decrease) ensure the model receives a consistent learning signal even when initial predictions are poor.

Comparison of Cauchy and Gaussian distributions, highlighting the 'heavy tails' of the Cauchy distribution which prevent gradient underflow.

RoI Sampling and Architecture

To handle the background class, the model stochastically samples regions of interest (RoIs) from its own estimated distribution. These RoIs are labeled as foreground or background based on their Intersection over Union (IoU) with ground truth. This allows the model to learn what does not constitute an object without manual hard-negative mining. The architecture utilizes a standard Feature Pyramid Network (FPN) backbone, replacing the traditional detection head with the specialized MDOD head.

Results

The researchers evaluated MDOD on the MS COCO dataset (train2017, val2017, and test-dev2017), the industry standard for object detection.

  • Accuracy: Using a ResNet-101 backbone, MDOD achieved an Average Precision (AP) of 40.0, significantly outperforming the conventional baseline of 36.6 and other popular detectors like SSD and RefineDet.
  • Efficiency: MDOD demonstrates superior speed. For a 320x320 input, MDOD reached 55.6 FPS, compared to the baseline's 47.6 FPS. This efficiency stems from a reduced number of output filters (90 vs. 765 in the baseline), as multiple anchors per spatial cell are no longer required.
  • Backbone Agnostic: When paired with the EfficientDet backbone, MDOD improved AP from 33.8 to 35.2 (D0) and 39.6 to 40.5 (D1).

Discussion and Conclusion

MDOD offers several key advantages over traditional detectors. By treating detection as density estimation, the network learns the underlying distribution of objects, naturally resolving the foreground-background imbalance. As training progresses, the ratio of foreground to background samples in the RoI set stabilizes at approximately 1.7:1 without manual intervention. Furthermore, the reduction in heuristics—such as the elimination of anchor-box tuning—simplifies the detection pipeline.

While highly effective, the authors note that very large images may require a high number of mixture components ($K$), which could potentially interfere with optimization during early training stages. Nonetheless, MDOD represents a significant step toward a more principled, probabilistic approach to object detection, with potential future applications in instance segmentation and 3D detection.

Summary updated

BibTeX
@inproceedings{yoo2019training,
  author = {Jaeyoung Yoo and Hojun Lee and Inseop Chung and Geonseok Seo and Nojun Kwak},
  title = {{Training Multi-Object Detector by Estimating Bounding Box Distribution for Input Image}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
}
Figure