[Paper Review] Crowd counting via scale-adaptive convolutional neural network
This paper proposes a scale-adaptive convolutional neural network (SaCNN) for crowd counting that fuses feature maps from multiple layers of a deep CNN with fixed small receptive fields to adaptively handle scale and perspective variations. By introducing a relative count loss alongside density map loss, SaCNN significantly improves generalization on sparse crowd scenes, achieving state-of-the-art performance on ShanghaiTech, UCF_CC_50, WorldExpo’10, and a new sparse crowd dataset, SmartCity.
The task of crowd counting is to automatically estimate the pedestrian number in crowd images. To cope with the scale and perspective changes that commonly exist in crowd images, state-of-the-art approaches employ multi-column CNN architectures to regress density maps of crowd images. Multiple columns have different receptive fields corresponding to pedestrians (heads) of different scales. We instead propose a scale-adaptive CNN (SaCNN) architecture with a backbone of fixed small receptive fields. We extract feature maps from multiple layers and adapt them to have the same output size; we combine them to produce the final density map. The number of people is computed by integrating the density map. We also introduce a relative count loss along with the density map loss to improve the network generalization on crowd scenes with few pedestrians, where most representative approaches perform poorly on. We conduct extensive experiments on the ShanghaiTech, UCF_CC_50 and WorldExpo datasets as well as a new dataset SmartCity that we collect for crowd scenes with few people. The results demonstrate significant improvements of SaCNN over the state-of-the-art.
Motivation & Objective
- To address the challenge of scale and perspective variation in crowd counting, especially in sparse scenes where existing methods underperform.
- To design a single-column CNN backbone with fixed small filters to preserve spatial resolution and enable deep, efficient training.
- To improve generalization on sparse crowd scenes by introducing a relative count loss as a multi-task objective.
- To collect and release a new dataset, SmartCity, with high-angle shots and an average of 7.4 pedestrians per image to better evaluate sparse crowd counting.
- To demonstrate that a single-column architecture with multi-scale feature fusion can outperform multi-column designs while being simpler and more parameter-efficient.
Proposed method
- SaCNN uses a single CNN backbone with small fixed-size filters to extract deep features while preserving high spatial resolution.
- Feature maps from multiple network layers are upsampled to the same spatial size and concatenated to form a scale-adaptive representation.
- The fused feature maps are used to regress a final density map, from which the total pedestrian count is obtained by integration.
- A multi-task loss is introduced, combining standard density map loss with a relative count loss to improve performance on sparse scenes.
- The relative count loss encourages the network to learn the relative number of pedestrians between image patches, enhancing generalization on low-density images.
- A new dataset, SmartCity, is collected with high-angle views and a low average pedestrian count (7.4 per image) to evaluate sparse crowd counting.
Experimental results
Research questions
- RQ1Can a single-column CNN with multi-scale feature fusion outperform multi-column architectures in crowd counting?
- RQ2Does introducing a relative count loss improve generalization on sparse crowd scenes where existing methods fail?
- RQ3Can a model trained on dense datasets generalize effectively to very sparse crowd scenes?
- RQ4How does the proposed method perform across diverse crowd densities, from very sparse to very dense?
- RQ5Can a unified regression-based approach outperform detection-based methods across the full spectrum of crowd densities?
Key findings
- SaCNN achieves state-of-the-art performance on the ShanghaiTech, UCF_CC_50, and WorldExpo’10 datasets, with significant improvements in MAE and MSE.
- On the new SmartCity dataset with an average of 7.4 pedestrians per image, SaCNN achieves an MAE of 8.6, close to the average count, demonstrating strong generalization on sparse scenes.
- The relative count loss reduces MAE by 9.2 and MSE by 11.8 points compared to SaCNN without the loss, proving its effectiveness in sparse scenarios.
- SaCNN outperforms YOLO9000-based detection methods on dense scenes (ShanghaiTech PartA/B), though YOLO9000 performs slightly better on the very sparse SmartCity dataset.
- The ablation study shows that using a single column with multi-scale feature fusion achieves over 70% of the multi-column model’s accuracy, indicating high efficiency and effectiveness.
- The model generalizes well across the full range of crowd densities, from very sparse to very dense, outperforming both detection-based and regression-based SOTA methods in most settings.
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.