Abstract
Traditional object detection pipelines rely on hand-crafted Non-Maximum Suppression (NMS) to prune redundant bounding boxes. However, greedy NMS often fails in crowded scenes where distinct objects of the same class overlap significantly. We present IdentifyNet, an end-to-end framework that introduces an auxiliary identification task to predict whether overlapping proposals belong to the same instance. By replacing spatial heuristics with a learned "decode NMS" algorithm, IdentifyNet improves feature discriminability and achieves superior performance on PASCAL VOC benchmarks.
Introduction: The Limits of Spatial Heuristics
In two-stage detectors like Faster R-CNN, the region proposal network (RPN) generates numerous candidate boxes. To produce a final set of detections, greedy NMS deletes lower-scoring boxes that have an Intersection-over-Union (IoU) exceeding a fixed threshold with a higher-scoring box.
This approach assumes that high spatial overlap implies redundancy. This heuristic breaks down in two critical scenarios:
- Crowded Scenes: When two distinct objects (e.g., two people) are highly overlapped, greedy NMS may incorrectly suppress one.
- Ambiguous Annotations: Detectors may find valid parts of an object (like a dog's head) that overlap with the full-body ground truth, leading to inconsistent suppression.
IdentifyNet Architecture
IdentifyNet extends the Faster R-CNN (ResNet-101 + FPN) architecture with a dedicated branch for object identification.
Pairwise Feature Fusion
To determine if two boxes represent the same object, the network must compare their features. IdentifyNet pairs boxes with an IoU above a low threshold ($T_{os}$) to maintain efficiency. The authors introduced Bin Feature Correlation, a novel fusion method that computes correlations bin-by-bin within RoI-aligned feature maps. This method avoids the noise introduced by zero-padding in standard correlation when boxes are misaligned.
The Identification Task and Decode NMS
A small sub-network processes these fused features to output a similarity score. This score answers the fundamental question: "Do these two boxes contain the exact same object instance?"
The traditional greedy NMS is then replaced by Decode NMS. Instead of using raw IoU, Decode NMS uses the learned similarity scores. If the network predicts a high likelihood that two boxes are the same instance, the redundant box is removed. This learned approach is significantly more robust to varying overlap thresholds than fixed spatial heuristics.
Key Insights and Results
The inclusion of the identification task provides benefits beyond just the final suppression step.
- Feature Regularization: Even when using standard greedy NMS, the IdentifyNet-trained backbone performs better. The auxiliary task forces the network to learn more discriminative features that can distinguish between highly similar, overlapping instances.
- Performance Gains: On PASCAL VOC 2007, IdentifyNet improved the baseline FPN mAP from 84.7% to 86.8%. Similar gains were observed on PASCAL VOC 2012 (74.3% to 76.0% mAP).
- Efficiency: By optimizing the placement of feature fusion (after initial convolutional layers) and filtering box pairs, the authors minimized the computational overhead of the $O(N^2)$ pairwise comparisons.
Conclusion
IdentifyNet demonstrates that replacing hand-crafted heuristics with learned modules can significantly enhance object detection. By teaching the network to understand object identity rather than just spatial overlap, the framework achieves state-of-the-art results on standard benchmarks and paves the way for more robust detection in dense, real-world environments.
Summary updated