Skip to main content
QUICK REVIEW

[Paper Review] Rethinking Counting and Localization in Crowds:A Purely Point-Based Framework

Qingyu Song, Changan Wang|arXiv (Cornell University)|Jul 27, 2021
Video Surveillance and Tracking MethodsComputer Science46 references23 citations
TL;DR

This paper proposes a purely point-based framework for joint crowd counting and localization, introducing Point-to-Point Network (P2PNet) that directly predicts head locations as points, bypassing error-prone intermediate representations. It achieves state-of-the-art counting accuracy and superior localization performance using a novel density-normalized average precision (nAP) metric and one-to-one matching via the Hungarian algorithm for optimal target assignment.

ABSTRACT

Localizing individuals in crowds is more in accordance with the practical demands of subsequent high-level crowd analysis tasks than simply counting. However, existing localization based methods relying on intermediate representations ( extit{i.e.}, density maps or pseudo boxes) serving as learning targets are counter-intuitive and error-prone. In this paper, we propose a purely point-based framework for joint crowd counting and individual localization. For this framework, instead of merely reporting the absolute counting error at image level, we propose a new metric, called density Normalized Average Precision (nAP), to provide more comprehensive and more precise performance evaluation. Moreover, we design an intuitive solution under this framework, which is called Point to Point Network (P2PNet). P2PNet discards superfluous steps and directly predicts a set of point proposals to represent heads in an image, being consistent with the human annotation results. By thorough analysis, we reveal the key step towards implementing such a novel idea is to assign optimal learning targets for these proposals. Therefore, we propose to conduct this crucial association in an one-to-one matching manner using the Hungarian algorithm. The P2PNet not only significantly surpasses state-of-the-art methods on popular counting benchmarks, but also achieves promising localization accuracy. The codes will be available at: https://github.com/TencentYoutuResearch/CrowdCounting-P2PNet.

Motivation & Objective

  • To address the limitations of existing crowd counting methods that rely on density maps or pseudo-bounding boxes, which are counter-intuitive and error-prone.
  • To develop a more intuitive and accurate approach for joint counting and individual localization in crowds by directly using point annotations as learning targets.
  • To propose a comprehensive evaluation metric that accounts for both localization and counting errors, especially under varying crowd densities.
  • To design a simple yet effective deep learning architecture, P2PNet, that predicts point-based head locations with confidence scores during inference.
  • To demonstrate that one-to-one matching between predictions and ground truth via the Hungarian algorithm is crucial for improving localization accuracy and nAP.

Proposed method

  • The framework uses point annotations as ground truth targets and directly predicts a set of point proposals during inference, representing individual head locations.
  • A new evaluation metric, density Normalized Average Precision (nAP), is proposed to jointly assess localization and counting performance, handling density variations and penalizing duplicate predictions.
  • The Point-to-Point Network (P2PNet) is designed to regress point coordinates and confidence scores using a single-scale feature map, with reference points sampled from a grid or layout.
  • The key innovation lies in the one-to-one matching of predicted point proposals to ground truth points using the Hungarian algorithm, ensuring optimal association and avoiding ambiguous or conflicting supervision.
  • Unmatched proposals are classified as negatives, and the model is trained end-to-end with this differentiable matching process to improve both localization and counting accuracy.
  • The method avoids intermediate representations like density maps or pseudo-boxes, simplifying the pipeline and reducing error propagation.

Experimental results

Research questions

  • RQ1Can a purely point-based framework outperform existing methods in both crowd counting and individual localization while maintaining simplicity and efficiency?
  • RQ2How can a comprehensive evaluation metric be designed to jointly assess localization and counting performance, especially under varying crowd densities?
  • RQ3What is the optimal strategy for associating predicted point proposals with ground truth points during training to avoid over- or under-estimation of counts?
  • RQ4Does one-to-one matching via the Hungarian algorithm significantly improve localization accuracy compared to one-to-many or many-to-one associations?
  • RQ5Can a simple, single-scale feature map-based architecture achieve state-of-the-art performance when combined with proper target assignment and a novel evaluation metric?

Key findings

  • P2PNet achieves state-of-the-art performance on all major benchmarks, reducing MAE by 4.8% and MSE by 12.9% on ShanghaiTech PartA compared to the second-best method ADSCNet.
  • On UCF_CC_50, P2PNet achieves an MAE of 85.32, significantly outperforming the previous best method ADSCNet and reducing error by 2.1 compared to the second-best method.
  • On the challenging UCF-QNRF dataset, P2PNet achieves an MAE of 85.32, which is lower than the previous best method AMSNet, demonstrating strong generalization across diverse crowd densities.
  • On NWPU-Crowd, P2PNet achieves the best overall MAE, with a 12.4% reduction compared to the second-best method DM-Count, despite using a single-scale feature map.
  • The ablation study confirms that one-to-one matching via the Hungarian algorithm significantly improves nAP, with the highest nAPδ of 66.8 when using a stride of 4, indicating better localization accuracy.
  • The Grid layout of reference points slightly outperforms the Center layout, with nAPδ of 64.4 vs. 61.7, due to denser sampling beneficial for congested regions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.