Skip to main content
QUICK REVIEW

[Paper Review] Dense Scale Network for Crowd Counting

Feng Dai, Hao Liu|arXiv (Cornell University)|Jun 24, 2019
Video Surveillance and Tracking MethodsComputer Science31 references24 citations
TL;DR

This paper proposes DSNet, a dense scale single-column CNN for crowd counting that uses densely connected dilated convolution blocks with carefully selected dilation rates to capture a wide, continuous range of scales. By stacking three such blocks with dense residual connections and introducing a multi-scale density level consistency loss, DSNet achieves state-of-the-art performance, reducing MAE by up to 30% on UCF-QNRF and UCF_CC_50 and 20% on ShanghaiTech and UCSD.

ABSTRACT

Crowd counting has been widely studied by computer vision community in recent years. Due to the large scale variation, it remains to be a challenging task. Previous methods adopt either multi-column CNN or single-column CNN with multiple branches to deal with this problem. However, restricted by the number of columns or branches, these methods can only capture a few different scales and have limited capability. In this paper, we propose a simple but effective network called DSNet for crowd counting, which can be easily trained in an end-to-end fashion. The key component of our network is the dense dilated convolution block, in which each dilation layer is densely connected with the others to preserve information from continuously varied scales. The dilation rates in dilation layers are carefully selected to prevent the block from gridding artifacts. To further enlarge the range of scales covered by the network, we cascade three blocks and link them with dense residual connections. We also introduce a novel multi-scale density level consistency loss for performance improvement. To evaluate our method, we compare it with state-of-the-art algorithms on four crowd counting datasets (ShanghaiTech, UCF-QNRF, UCF_CC_50 and UCSD). Experimental results demonstrate that DSNet can achieve the best performance and make significant improvements on all the four datasets (30% on the UCF-QNRF and UCF_CC_50, and 20% on the others).

Motivation & Objective

  • Address the challenge of large-scale variation in crowd counting, where people vary significantly in size and density across images.
  • Overcome the limitations of existing multi-column or multi-branch networks that can only capture a limited number of discrete scales.
  • Improve feature representation for both sparse and dense crowd scenes by enabling dense, continuous scale sampling across the receptive field.
  • Enhance model generalization by introducing a novel loss function that enforces consistency in density levels at multiple scales between predicted and ground truth maps.
  • Achieve end-to-end training with a simple, single-column architecture that outperforms complex multi-branch designs on standard benchmarks.

Proposed method

  • Propose the Dense Dilation Convolution Block (DDCB), where multiple dilated convolutions with carefully selected rates are densely connected to preserve multi-scale features and avoid gridding artifacts.
  • Stack three DDCBs and connect them via dense residual connections to progressively expand the effective receptive field and enhance scale diversity.
  • Introduce a multi-scale density level consistency loss ($L_c$) that enforces global and local consistency between predicted and ground truth density maps at different scale levels (e.g., 1×1, 2×2, 4×4 pooling outputs).
  • Train the entire network end-to-end using a combination of standard Euclidean loss and the proposed $L_c$ loss, which improves feature alignment across scales.
  • Use VGG-16 as the backbone and progressively add DDCB blocks and residual connections to ablate component contributions.
  • Apply average pooling at multiple scale levels to extract density-level representations for computing the consistency loss, ensuring both global and local structure alignment.

Experimental results

Research questions

  • RQ1Can a single-column CNN with densely connected dilated convolutions effectively capture a continuous and wide range of scales in crowd counting?
  • RQ2Does the use of dense residual connections between DDCB blocks further enhance scale diversity and feature reuse compared to standard residual connections?
  • RQ3Can a multi-scale density level consistency loss improve the quality of predicted density maps by enforcing structural and intensity consistency at different spatial scales?
  • RQ4To what extent does the proposed loss function reduce errors in crowd counting, especially on datasets with extreme scale variations?
  • RQ5How does DSNet compare to state-of-the-art methods in terms of MAE and MSE across diverse crowd counting benchmarks?

Key findings

  • DSNet achieves the lowest MAE of 6.74 on the ShanghaiTech Part_B dataset, outperforming previous state-of-the-art methods by a significant margin.
  • On the UCF-QNRF and UCF_CC_50 datasets, DSNet reduces MAE by approximately 30% compared to existing methods, demonstrating exceptional performance on highly crowded scenes.
  • The ablation study shows that adding the DDCB block alone reduces MAE from 15.21 to 7.33, indicating a substantial improvement from enhanced scale modeling.
  • The dense residual connection further reduces MAE from 7.06 to 6.74, proving its effectiveness in aggregating multi-scale features across blocks.
  • The multi-scale consistency loss ($L_c$) contributes significantly, reducing MAE from 7.06 to 6.74 when added last, with incremental improvements at each scale level (1×1, 2×2, 4××4).
  • The full model with all components achieves state-of-the-art performance across all four benchmark datasets—ShanghaiTech, UCF-QNRF, UCF_CC_50, and UCSD—on both MAE and MSE metrics.

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.