Skip to main content
QUICK REVIEW

[Paper Review] Crowd Counting with Density Adaption Networks

Li Wang, Weiyuan Shao|arXiv (Cornell University)|Jun 26, 2018
Video Surveillance and Tracking MethodsComputer Science26 references12 citations
TL;DR

This paper proposes Density Adaption Networks (DAN) for crowd counting, which automatically estimates crowd density levels and adaptively selects between lightweight counter networks trained for low- and high-density domains. The method achieves state-of-the-art performance with 2.5 MAE improvement over CP-CNN on ShanghaiTech Part B and runs at 20 FPS on a single GPU.

ABSTRACT

Crowd counting is one of the core tasks in various surveillance applications. A practical system involves estimating accurate head counts in dynamic scenarios under different lightning, camera perspective and occlusion states. Previous approaches estimate head counts despite that they can vary dramatically in different density settings; the crowd is often unevenly distributed and the results are therefore unsatisfactory. In this paper, we propose a lightweight deep learning framework that can automatically estimate the crowd density level and adaptively choose between different counter networks that are explicitly trained for different density domains. Experiments on two recent crowd counting datasets, UCF_CC_50 and ShanghaiTech, show that the proposed mechanism achieves promising improvements over state-of-the-art methods. Moreover, runtime speed is 20 FPS on a single GPU.

Motivation & Objective

  • Address the challenge of inconsistent crowd counting performance across varying density levels in surveillance scenarios.
  • Overcome the limitations of universal normalization or scaling in existing methods that fail under highly dynamic or unevenly distributed crowd conditions.
  • Develop a lightweight, end-to-end deep learning framework that dynamically selects the optimal counter network based on input image density.
  • Improve accuracy and generalization across datasets without requiring extensive retraining or architectural complexity.

Proposed method

  • Introduce a spatial gating unit that integrates a density-level estimator with multiple counter networks (LCN for low-density, HCN for high-density).
  • Train a density-level classifier (DAN) to predict the dominant density domain of each image patch using a grid-based classification head.
  • Use a shared backbone network to extract features, followed by separate subnetworks (LCN and HCN) for low- and high-density regions.
  • Apply adaptive inference: the predicted density class determines which counter network processes each image patch, enabling domain-specific adaptation.
  • Leverage both discrete head count annotations and continuous density maps during training to preserve local detail and improve regression accuracy.
  • Optimize the entire pipeline end-to-end with a multi-task loss combining count regression and density classification.

Experimental results

Research questions

  • RQ1Can a deep learning framework automatically detect the density level of a crowd image and adaptively select the most suitable counter network?
  • RQ2How does adaptive selection between domain-specific counter networks improve accuracy compared to universal normalization or fixed architectures?
  • RQ3To what extent does the proposed method generalize across datasets with different crowd distributions and imaging conditions?
  • RQ4What is the trade-off between model complexity, inference speed, and accuracy in dynamic crowd counting scenarios?

Key findings

  • The proposed method achieves a 2.5 MAE improvement over CP-CNN on ShanghaiTech Part B, with 17.6 MAE and 26.8 MSE.
  • On UCF_CC_50, the model reduces MAE by 35.8 compared to the previous state-of-the-art method by Shang et al., achieving 88.5 MAE and 147.6 MSE on Part A.
  • The density-level estimator (DAN) achieves 96% accuracy in classifying image patches into low- or high-density domains.
  • The framework runs at 20 FPS on a single NVIDIA Titan X GPU, demonstrating high efficiency suitable for real-time applications.
  • Transfer learning experiments show that fine-tuning on a target dataset improves performance by 5.6 MAE and 6.4 MSE compared to no fine-tuning.
  • Optimal performance is achieved with an 8×8 grid size and 512×512 input resolution, balancing local detail preservation and computational efficiency.

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.