Skip to main content
QUICK REVIEW

[Paper Review] OTA: Optimal Transport Assignment for Object Detection

Zheng Ge, Songtao Liu|arXiv (Cornell University)|Mar 26, 2021
Advanced Neural Network ApplicationsComputer Science52 references7 citations
TL;DR

This paper proposes Optimal Transport Assignment (OTA), a global label assignment method for object detection that formulates the assignment of positive and negative anchors to ground-truth objects as an Optimal Transport problem to minimize combined classification and regression losses. By modeling each ground-truth as a supplier of labels and using Sinkhorn-Knopp iteration to solve the optimal transport plan, OTA achieves state-of-the-art performance, reaching 40.7% mAP on COCO and 46.6% MR on CrowdHuman, outperforming existing methods especially in crowded scenarios.

ABSTRACT

Recent advances in label assignment in object detection mainly seek to independently define positive/negative training samples for each ground-truth (gt) object. In this paper, we innovatively revisit the label assignment from a global perspective and propose to formulate the assigning procedure as an Optimal Transport (OT) problem -- a well-studied topic in Optimization Theory. Concretely, we define the unit transportation cost between each demander (anchor) and supplier (gt) pair as the weighted summation of their classification and regression losses. After formulation, finding the best assignment solution is converted to solve the optimal transport plan at minimal transportation costs, which can be solved via Sinkhorn-Knopp Iteration. On COCO, a single FCOS-ResNet-50 detector equipped with Optimal Transport Assignment (OTA) can reach 40.7% mAP under 1X scheduler, outperforming all other existing assigning methods. Extensive experiments conducted on COCO and CrowdHuman further validate the effectiveness of our proposed OTA, especially its superiority in crowd scenarios. The code is available at https://github.com/Megvii-BaseDetection/OTA.

Motivation & Objective

  • To address the suboptimal performance of local, rule-based label assignment in object detection, especially for ambiguous anchors shared by multiple ground-truth objects.
  • To overcome the limitations of independent positive/negative assignment per ground-truth by introducing a global optimization framework.
  • To improve training efficiency and detection accuracy—particularly in crowded scenes—by leveraging optimal transport theory for joint label assignment.
  • To provide a principled, differentiable, and globally optimal alternative to heuristic assignment rules like Max IoU or Min Area.

Proposed method

  • Formulate label assignment as an Optimal Transport (OT) problem, where each ground-truth object and the background are suppliers of labels, and each anchor is a demander requiring one label.
  • Define the unit transportation cost between an anchor and a ground-truth as the weighted sum of their classification and regression losses.
  • Define the cost between an anchor and the background as its classification loss alone, modeling negative label assignment.
  • Estimate the number of positive labels each ground-truth should supply based on the IoU between predicted and ground-truth boxes.
  • Solve the resulting OT problem using the Sinkhorn-Knopp algorithm for efficient and differentiable optimal transport plan computation.
  • Integrate the learned transport plan into the training process to assign labels globally, minimizing total loss across all anchors and ground-truths.

Experimental results

Research questions

  • RQ1Can a global optimization framework improve label assignment in object detection compared to per-object, rule-based strategies?
  • RQ2How does Optimal Transport assignment handle ambiguous anchors that are candidates for multiple ground-truth objects?
  • RQ3Does a globally optimal label assignment strategy lead to better generalization, especially in crowded or occluded scenarios?
  • RQ4Can the OT-based assignment method outperform existing dynamic label assignment methods like ATSS and PAA on standard benchmarks?

Key findings

  • OTA achieves 40.7% mAP on MS COCO using a single FCOS-ResNet-50 detector under the 1× scheduler, surpassing all existing assignment methods.
  • On the COCO test-dev set, OTA achieves 51.5% mAP with ResNeXt-64x4d-101-DCN under 2.5× scheduler, setting a new SOTA for one-stage detectors.
  • On the crowded CrowdHuman dataset, OTA achieves 46.6% MR, significantly outperforming previous one-stage detectors and approaching two-stage detector performance.
  • OTA improves AP and Recall on CrowdHuman to 88.4% and 95.1%, respectively, demonstrating strong generalization in high-occlusion scenarios.
  • The method shows superior performance over PAA and ATSS on CrowdHuman, where PAA struggles due to lack of clear positive/negative boundaries.
  • The global optimization via OT effectively mitigates harmful gradients from ambiguous anchors, leading to more stable and accurate training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.