[Paper Review] Learning Pairwise Relationship for Multi-object Detection in Crowded Scenes
This paper proposes Pairwise-NMS, a learnable non-maximum suppression method that replaces GreedyNMS in multi-object detection pipelines. By using a deep pairwise-relationship network to classify overlapping proposal pairs as containing zero, one, or two objects, it significantly improves detection accuracy in crowded, occluded scenes—especially on MOT15, TUD-Crossing, and PETS—without sacrificing efficiency, and integrates seamlessly with Faster R-CNN and DPM detectors.
As the post-processing step for object detection, non-maximum suppression (GreedyNMS) is widely used in most of the detectors for many years. It is efficient and accurate for sparse scenes, but suffers an inevitable trade-off between precision and recall in crowded scenes. To overcome this drawback, we propose a Pairwise-NMS to cure GreedyNMS. Specifically, a pairwise-relationship network that is based on deep learning is learned to predict if two overlapping proposal boxes contain two objects or zero/one object, which can handle multiple overlapping objects effectively. Through neatly coupling with GreedyNMS without losing efficiency, consistent improvements have been achieved in heavily occluded datasets including MOT15, TUD-Crossing and PETS. In addition, Pairwise-NMS can be integrated into any learning based detectors (Both of Faster-RCNN and DPM detectors are tested in this paper), thus building a bridge between GreedyNMS and end-to-end learning detectors.
Motivation & Objective
- To address the poor performance of GreedyNMS in crowded, occluded scenes where multiple overlapping objects are common.
- To overcome the inherent precision-recall trade-off in GreedyNMS, which often suppresses valid detections due to over-aggressive suppression.
- To develop a post-processing method that preserves multiple objects in dense clusters while maintaining computational efficiency.
- To enable seamless integration with existing learning-based detectors like Faster R-CNN and DPM, paving the way for end-to-end training.
- To improve detection robustness in intra-class co-occurrence scenarios, where objects of the same category are heavily occluded.
Proposed method
- Pairwise-NMS replaces GreedyNMS by using a learned pairwise-relationship network to classify overlapping proposal pairs based on their IoU and feature representations.
- For IoU below a threshold $N_t$, GreedyNMS is applied normally; for IoU above $N_t$, the pairwise-relationship network predicts whether two proposals contain zero, one, or two objects.
- The pairwise-relationship network is trained using a balanced sampling strategy, maintaining a 1:3 ratio between dissimilar and similar pairs to address class imbalance.
- The network uses global average pooling (GAP) layers instead of fully connected (FC) layers to better distinguish cases with one shared object from two distinct objects.
- The method is plug-and-play, compatible with any detector architecture, and can be integrated into Faster R-CNN and DPM without modifying the backbone.
- The network is trained end-to-end on proposal pairs from datasets like TUD-Crossing and MOT15, using ground-truth labels for object count in overlapping regions.
Experimental results
Research questions
- RQ1Can a learnable pairwise-relationship network effectively distinguish between overlapping proposals containing one or two objects in crowded scenes?
- RQ2Does Pairwise-NMS outperform GreedyNMS and Soft-NMS in terms of mean average precision (mAP) on heavily occluded datasets?
- RQ3Can the proposed method be efficiently integrated into existing detectors like Faster R-CNN and DPM without degrading inference speed?
- RQ4How does the choice of network architecture (e.g., GAP vs FC layers) affect the performance of the pairwise-relationship classifier?
- RQ5What sampling strategy optimizes training accuracy and generalization for imbalanced pairwise classification in occluded scenes?
Key findings
- Pairwise-NMS achieves consistent mAP improvements over GreedyNMS on MOT15, TUD-Crossing, and PETS, especially in crowded and occluded scenarios.
- On the TUD-Crossing dataset, the pairwise-relationship network with GAP layers outperforms the FC-layer version, achieving better validation accuracy and convergence.
- The method reduces false positives and prevents missing detections in crowded scenes, as shown in qualitative comparisons where Pairwise-NMS preserves more valid detections than GreedyNMS.
- The ablation study confirms that a 1:3 ratio between dissimilar and similar pairs during training leads to better generalization and improved object count prediction.
- Pairwise-NMS maintains efficiency comparable to GreedyNMS and can be seamlessly integrated into Faster R-CNN and DPM detectors without architectural changes.
- The method outperforms Soft-NMS in crowded scenes, demonstrating superior robustness to occlusion and better handling of multiple overlapping objects.
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.