Mask Focal Loss: A unifying framework for dense crowd counting with canonical object detection networks
Not on the map. Why?
Abstract (arXiv)
As a fundamental computer vision task, crowd counting plays an important role in public safety. Currently, deep learning based head detection is a promising method for crowd counting. However, the highly concerned object detection networks cannot be well applied to this problem for three reasons: (1) Existing loss functions fail to address sample imbalance in highly dense and complex scenes; (2) Canonical object detectors lack spatial coherence in loss calculation, disregarding the relationship between object location and background region; (3) Most of the head detection datasets are only annotated with the center points, i.e. without bounding boxes. To overcome these issues, we propose a novel Mask Focal Loss (MFL) based on heatmap via the Gaussian kernel. MFL provides a unifying framework for the loss functions based on both heatmap and binary feature map ground truths. Additionally, we introduce GTA_Head, a synthetic dataset with comprehensive annotations, for evaluation and comparison. Extensive experimental results demonstrate the superior performance of our MFL across various detectors and datasets, and it can reduce MAE and RMSE by up to 47.03% and 61.99%, respectively. Therefore, our work presents a strong foundation for advancing crowd counting methods based on density estimation.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 54 of its 107 references that are in the map. First posted on arXiv 22 Dec 2022.
Builds on
54 of 107 references.
References · 54
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017Mask R-CNNcited by 7,259
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2015Fast R-CNNcited by 2,930
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,573
- 2019Objects as Pointscited by 1,172
- 2018CornerNet: Detecting Objects as Paired Keypointscited by 763
- 2017Deep Layer Aggregationcited by 436
- 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 408
38 more
- 2018CrowdHuman: A Benchmark for Detecting Human in a Crowdcited by 283
- 2018CSRNet: Dilated Convolutional Neural Networks for Understanding the Highly Congested Scenescited by 267
- 2018Composition Loss for Counting, Density Map Estimation and Localization in Dense Crowdscited by 186
- 2021Rethinking Counting and Localization in Crowds:A Purely Point-Based Frameworkcited by 152
- 2020NWPU-Crowd: A Large-Scale Benchmark for Crowd Counting and Localizationcited by 151
- 2018Context-Aware Crowd Countingcited by 150
- 2019Learning from Synthetic Data for Crowd Counting in the Wildcited by 148
- 2019Synthetic Data for Deep Learningcited by 113
- 2020JHU-CROWD++: Large-Scale Crowd Counting Dataset and A Benchmark Methodcited by 109
- 2019A Survey of Deep Learning-based Object Detectioncited by 106
- 2017Switching Convolutional Neural Network for Crowd Countingcited by 93
- 2021Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medical image segmentationcited by 88
- 2019Region Proposal by Guided Anchoringcited by 87
- 2019Locate, Size and Count: Accurately Resolving People in Dense Crowds via Detectioncited by 73
- 2019Point in, Box out: Beyond Counting Persons in Crowdscited by 62
- 2022PolyLoss: A Polynomial Expansion Perspective of Classification Loss Functionscited by 62
- 2018Occlusion-aware R-CNN: Detecting Pedestrians in a Crowdcited by 58
- 2017Generating High-Quality Crowd Density Maps using Contextual Pyramid CNNscited by 55
- 2018Where are the Blobs: Counting by Localization with Point Supervisioncited by 54
- 2019Perspective-Guided Convolution Networks for Crowd Countingcited by 54
- 2017DecideNet: Counting Varying Density Crowds Through Attention Guided Detection and Density Estimationcited by 49
- 2017Recurrent Autoregressive Networks for Online Multi-Object Trackingcited by 48
- 2019From Open Set to Closed Set: Counting Objects by Spatial Divide-and-Conquercited by 48
- 2020CNN-based Density Estimation and Crowd Counting: A Surveycited by 43
- 2021Tracking Pedestrian Heads in Dense Crowdcited by 42
- 2017CNN-based Cascaded Multi-task Learning of High-level Prior and Density Estimation for Crowd Countingcited by 41
- 2020A Self-Training Approach for Point-Supervised Object Detection and Counting in Crowdscited by 36
- 2019AutoScale: Learning to Scale for Crowd Counting and Localizationcited by 35
- 2019PCC Net: Perspective Crowd Counting via Spatial Convolutional Networkcited by 33
- 2019Pushing the Frontiers of Unconstrained Crowd Counting: New Dataset and Benchmark Methodcited by 32
- 2017A Survey of Recent Advances in CNN-based Single Image Crowd Counting and Density Estimationcited by 29
- 2022Cross-View Cross-Scene Multi-View Crowd Countingcited by 28
- 2019CornerNet-Lite: Efficient Keypoint Based Object Detectioncited by 24
- 2015Crowded Scene Analysis: A Surveycited by 21
- 2021Active Learning for Deep Visual Trackingcited by 19
- 2018Detecting Heads using Feature Refine Net and Cascaded Multi-Scale Architecturecited by 18
- 2016CMS-RCNN: Contextual Multi-Scale Region-based CNN for Unconstrained Face Detectioncited by 14
- 2019Estimating People Flows to Better Count Them in Crowded Scenescited by 12
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Rewardcited by 15
- 2024IRASNet: Improved Feature-Level Clutter Reduction for Domain Generalized SAR-ATRcited by 1
- 2026Neural Architecture Search of Sample Reweighting Networks for Complex Distribution Shiftcited by 0
- 2026Neural Architecture Search of Sample Reweighting Networks for Complex Distribution Shift22 Jun 2026
- 2025CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward31 Mar 2025
- 2024IRASNet: Improved Feature-Level Clutter Reduction for Domain Generalized SAR-ATR25 Sep 2024