Abstract
Object detection models often struggle with a "divergence" problem: the predictions they are most confident about aren't always the ones with the most accurate bounding boxes. This paper introduces a mutual learning framework that forces the classification and localization tasks to learn from each other, alongside a lightweight IoU rescoring scheme, resulting in significant accuracy gains across multiple state-of-the-art detectors.
The Divergence Problem in Object Detection
Modern object detectors, such as RetinaNet or FCOS, typically perform two primary sub-tasks: classification (identifying the object category) and localization (regressing the bounding box). In standard architectures, these tasks are handled by separate, parallel branches of a neural network.
However, these two branches often exhibit a lack of harmony. A classification branch might be highly confident because it detects a distinct feature, like a bird’s head, while the localization branch might produce a more accurate box from a different reference point, such as the bird’s torso. This misalignment is problematic during Non-Maximum Suppression (NMS), where the model uses the classification score to rank and filter boxes. If a box has a high classification score but poor localization, the model may retain a "bad" box and suppress "good" ones with lower scores, leading to false positives and reduced Mean Average Precision (mAP).
The MLC Framework
To address this, the authors propose the Modulating Localization and Classification (MLC) framework, which harmonizes these two tasks through three main components:
1. Mutual Labeling (ML)
Instead of assigning training labels to the two branches independently, the MLC framework makes them interdependent. A sample is labeled as "positive" for classification only if its localization quality is high, and vice versa. The framework utilizes Otsu’s method—a classic dynamic thresholding technique—to determine these thresholds for each object during training, allowing the model to adaptively identify high-quality samples.
2. IoU Rescoring (IUR)
The authors introduce a lightweight, "non-invasive" convolutional layer to the localization branch to predict the Intersection-over-Union (IoU) between the predicted box and the ground truth. During inference, the final confidence score is calculated as the product of the classification score and this predicted IoU. This ensures that boxes that are both well-classified and well-localized are ranked highest.
3. Spearman Rank Correlation Metric
To scientifically quantify the "divergence," the authors employ the Spearman rank correlation coefficient. This metric measures how well the ranking of classification scores aligns with the ranking of localization accuracy, providing a direct diagnostic for model harmony.
Experimental Results
The MLC framework was evaluated on the MS COCO 2017 dataset across several detector types:
- FCOS: The baseline (without centerness) improved significantly from 34.5% to 38.7% AP, a +4.2% increase.
- RetinaNet: Achieved a gain of 1.7% AP, reaching 38.1%.
- RPN: Improved the average recall of region proposals by up to 6.2%.
The improvements were particularly pronounced at higher IoU thresholds (e.g., $AP_{75}$), indicating that the framework effectively produces more accurately localized boxes.
Conclusion and Future Work
The MLC framework demonstrates that bridging the gap between classification and localization is a powerful path toward better object detection. While the current implementation requires a two-stage training schedule to maintain stability, the results suggest that harmonizing these tasks through mutual labeling and correlation-based metrics could become a standard practice in future detection architectures.
Summary updated