NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Density-based Object Detection in Crowded Scenes

Chenyang Zhao, Jia Wan, Antoni B. ChanarXiv 2025 · DOI

Introduction

Object detection in highly crowded environments remains a significant challenge for computer vision. Standard detectors often struggle when objects heavily overlap, leading to two primary issues: ambiguous anchor assignment during training and mistaken suppression during post-processing. In dense crowds, an anchor might overlap with multiple ground-truth objects, making it unclear which object it should represent. Furthermore, standard Non-Maximum Suppression (NMS) uses fixed thresholds that often discard valid predictions of highly occluded neighbors.

Methodology: Density-Guided Framework

To address these challenges, this research introduces a unified framework leveraging predicted object density maps to guide both training and inference.

Density-Guided Anchors (DGA)

The core of the training phase is the Density-Guided Anchor (DGA) assignment. Instead of relying on rigid Intersection over Union (IoU) thresholds, the authors formulate anchor assignment as an Unbalanced Optimal Transport (UOT) problem. A predicted multi-level density map represents anchor confidence, and the UOT finds the minimal cost to transport density from ground-truth objects to these anchors. A specialized cost function penalizes anchors overlapping with multiple objects, forcing the model to focus on distinct features of individual targets.

Density-Guided NMS (DG-NMS)

During inference, the framework employs Density-Guided NMS (DG-NMS). Unlike standard NMS, which uses a global threshold, DG-NMS dynamically adjusts the suppression threshold based on the local density map. In high-density regions, the threshold is raised to preserve overlapping predictions, while in sparse areas, it is lowered to effectively filter false positives.

Experimental Results

The proposed methods were evaluated on the CrowdHuman and CityPersons datasets across various architectures, including FCOS, RetinaNet, and FPN.

  • CrowdHuman Performance: On the anchor-free FCOS baseline, DGA and DG-NMS improved Average Precision (AP) from 86.8 to 89.5 and significantly reduced the Miss Rate (MR) from 54.0 to 44.1. Similar gains were observed for RetinaNet (+3.1 AP) and FPN (+4.6 AP).
  • State-of-the-Art Integration: When integrated with existing SOTA methods like MIP, the approach achieved a record 92.2 AP on CrowdHuman.
  • Generalizability: On the moderately crowded CityPersons dataset, the method achieved 96.7 AP and 10.0 MR, demonstrating robustness across varying crowd densities.

Conclusion

By treating anchor assignment as a global optimization problem and using density as a proxy for local crowdedness, this framework significantly enhances detection performance in challenging environments. The shift from local, rule-based assignments to a density-guided global perspective provides a more cohesive and effective architecture for modern object detection.

Summary updated

BibTeX
@misc{zhao2025density,
  author = {Chenyang Zhao and Jia Wan and Antoni B. Chan},
  title = {{Density-based Object Detection in Crowded Scenes}},
  year = {2025},
  eprint = {2504.09819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09819},
}
Figure