Consistent Optimization for Single-Shot Object Detection

Tao Kong, Fuchun Sun, Huaping Liu, Yuning Jiang, Jianbo ShiarXiv 2019

Abstract

Single-shot object detectors often suffer from a fundamental misalignment between training and inference: while they are trained on static anchors, they perform inference on regressed boxes. This paper introduces Consistent Optimization, a training strategy that bridges this gap by including refined anchor hypotheses in the loss function. The resulting model, ConRetinaNet, achieves 40.1 AP on the MS COCO benchmark, surpassing existing one-stage detectors with virtually no additional inference cost.

The Misalignment Problem in One-Shot Detection

Object detection architectures are typically categorized into two-stage (e.g., Faster R-CNN) and one-stage (e.g., RetinaNet) models. One-stage detectors predict objects directly from a dense grid of predefined "anchors." However, a critical flaw exists in their standard training pipeline: the classifier is optimized for the original, static anchors, whereas during inference, the model predicts scores for anchors that are simultaneously being regressed to new locations.

This misalignment leads to two primary issues:

  1. Occlusion Confusion: An anchor initially overlapping one object (e.g., a bicycle) may, after regression, be centered on a different object (e.g., a person). The high classification score for the first object is then erroneously associated with the second.
  2. False Negatives: Anchors labeled as background during training due to low initial overlap might actually fit an object perfectly after regression. Current models often discard these high-quality boxes because their initial classification scores remain low.

Consistent Optimization (ConRetinaNet)

To resolve this, the authors propose a "Dual Loss" strategy. Instead of calculating loss solely on initial anchors, the model is trained to optimize both the original anchors and the refined anchor hypotheses.

Figure 4: Comparison of detection architectures showing the proposed shared-head approach (d).

As shown in Figure 4d, the proposed architecture maintains the efficiency of a single-shot detector by sharing the convolutional head between the initial and refined stages. By training the model to recognize that a regressed anchor is a high-quality match for an object, the training signal is aligned with the actual inference behavior. This approach provides the benefits of a multi-stage refinement process without the computational overhead of adding new parameters or stages.

Experimental Results

The model was rigorously evaluated on the MS COCO benchmark. The results demonstrate that the bottleneck in one-stage detection performance was not necessarily architectural capacity, but rather the quality of the optimization target.

Figure 1: Performance comparison between RetinaNet and ConRetinaNet across different backbones and scales.

Key findings include:

  • Consistent Gains: As illustrated in Figure 1, ConRetinaNet consistently outperforms the baseline across different backbones and resolutions. For instance, on a ResNet-50 backbone at 500px, AP improved from 32.5 to 33.7.
  • State-of-the-Art Performance: With a ResNet-101 backbone, ConRetinaNet reached 40.1 AP, outperforming contemporary one-stage detectors like RefineDet and CornerNet.
  • Improved Localization: The method significantly boosted performance at higher IoU thresholds (e.g., $AP_{75}$), indicating more precise box placement.
  • Generalizability: The strategy also improved the older SSD architecture by ~1.7 AP, proving its broad applicability.

Conclusion

Consistent Optimization demonstrates that simple changes to the training objective can yield significant performance gains in object detection. By aligning the training targets with inference-time regression, ConRetinaNet achieves state-of-the-art results with zero additional inference latency. Future work may explore integrating deformable convolutions to further align features with refined boxes and incorporating localization confidence to improve post-processing ranking.

Summary updated

BibTeX
@misc{kong2019consistent,
  author = {Tao Kong and Fuchun Sun and Huaping Liu and Yuning Jiang and Jianbo Shi},
  title = {{Consistent Optimization for Single-Shot Object Detection}},
  year = {2019},
  eprint = {1901.06563},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.06563},
}
Figure