[Paper Review] A Dual Weighting Label Assignment Scheme for Object Detection
This paper proposes a dual weighting (DW) label assignment scheme for object detection that independently assigns positive and negative loss weights based on classification-localization consistency and sample importance, significantly improving detector performance. With a single FCOS-ResNet-50 model, DW achieves 41.5% mAP on COCO under 1× schedule, outperforming existing methods by a large margin without additional components.
Label assignment (LA), which aims to assign each training sample a positive (pos) and a negative (neg) loss weight, plays an important role in object detection. Existing LA methods mostly focus on the design of pos weighting function, while the neg weight is directly derived from the pos weight. Such a mechanism limits the learning capacity of detectors. In this paper, we explore a new weighting paradigm, termed dual weighting (DW), to specify pos and neg weights separately. We first identify the key influential factors of pos/neg weights by analyzing the evaluation metrics in object detection, and then design the pos and neg weighting functions based on them. Specifically, the pos weight of a sample is determined by the consistency degree between its classification and localization scores, while the neg weight is decomposed into two terms: the probability that it is a neg sample and its importance conditioned on being a neg sample. Such a weighting strategy offers greater flexibility to distinguish between important and less important samples, resulting in a more effective object detector. Equipped with the proposed DW method, a single FCOS-ResNet-50 detector can reach 41.5% mAP on COCO under 1x schedule, outperforming other existing LA methods. It consistently improves the baselines on COCO by a large margin under various backbones without bells and whistles. Code is available at https://github.com/strongwolf/DW.
Motivation & Objective
- To address the limitation of existing label assignment methods that couple positive and negative weights, restricting learning capacity.
- To improve detector performance by enabling finer-grained supervision through separate modeling of positive and negative sample importance.
- To develop a label assignment strategy that aligns better with the evaluation metric by emphasizing consistency between classification and localization scores.
- To enhance generalization across different backbones and detection heads without requiring additional modules or bells and whistles.
Proposed method
- Proposes a dual weighting (DW) framework that decouples positive and negative loss weights, allowing independent optimization.
- Defines positive weight as a function of the consistency between classification score and regression score, favoring anchors with aligned predictions.
- Decomposes negative weight into two components: the probability of being a negative sample and its importance given it is negative.
- Introduces a box refinement operation that directly refines bounding boxes on the regression map to improve localization accuracy.
- Uses a dynamic weighting mechanism that distinguishes anchors with similar IoU or classification scores by their prediction consistency.
- Employs a loss formulation where positive and negative weights are learned separately, enabling more discriminative supervision.
Experimental results
Research questions
- RQ1How can label assignment in object detection be improved by decoupling positive and negative sample weighting?
- RQ2What factors most influence the importance of positive and negative samples in object detection?
- RQ3Can independent modeling of positive and negative weights lead to better generalization across different backbones and detection heads?
- RQ4How does the consistency between classification and localization scores affect training effectiveness?
- RQ5Can a dual weighting scheme reduce the impact of ambiguous or easy samples while enhancing hard sample learning?
Key findings
- The proposed DW method achieves 41.5% mAP on COCO using a single FCOS-ResNet-50 detector under 1× schedule, setting a new state-of-the-art.
- DW improves baseline detectors by a large margin across all backbone architectures, including ResNet-50, ResNet-101, and ResNeXt-101-64x4d, without additional modules.
- With box refinement, DW achieves 42.2% mAP on COCO with ResNet-50, further improving performance.
- On ResNeXt-101-64x4d, DW reaches 48.2% mAP, surpassing GFL by 2.2 points and VFL by 0.7 points.
- When combined with the TOOD head, DW achieves 49.8% mAP, outperforming TOOD by 1.5 points, demonstrating strong generalization capacity.
- Visualization shows that DW assigns distinct (pos, neg) weight pairs to anchors with similar IoU or classification scores, unlike GFL and VFL, which assign nearly identical weights.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.