In Defense of Single-column Networks for Crowd Counting

Ze Wang, Zehao Xiao, Kai Xie, Qiang Qiu, Xiantong Zhen, Xianbin Cao

Abstract

Crowd counting in images with significant scale variation has traditionally relied on complex multi-column architectures. This paper challenges that convention by introducing SCNet, a streamlined single-column network. By integrating nested dilated convolutions, pyramid pooling, and sub-pixel upsampling, SCNet achieves state-of-the-art performance with reduced computational complexity. Furthermore, a new data preparation paradigm is proposed to maintain ground truth consistency across scales.

Introduction

The primary challenge in crowd counting is the extreme variation in scale; individuals near the camera occupy significantly more pixels than those in the background. Historically, multi-column networks (e.g., MCNN) addressed this by using parallel branches with varying filter sizes. However, these architectures are often redundant, difficult to optimize, and computationally heavy. SCNet demonstrates that a well-designed single-column architecture can effectively capture multi-scale features more efficiently.

The SCNet Architecture

SCNet is built upon three core innovations designed to handle scale and context without the overhead of multiple branches.

Overview of the SCNet architecture and its key components: Residual Fusion Module (RFM), Pyramid Pooling Module (PPM), and Sub-pixel Convolutional Module (SPCM).

Residual Fusion Modules (RFMs)

Instead of parallel branches, SCNet utilizes Nested Dilated Convolutional Layers (NDL) within Residual Fusion Modules. Dilated convolutions expand the receptive field without increasing parameter count. By nesting layers with dilation rates of $2^{k-1}$, the network extracts multi-scale features within a single path, effectively replacing the need for multiple columns.

Pyramid Pooling Module (PPM)

To distinguish between dense crowds and similar-looking background textures (e.g., stone walls), a Pyramid Pooling Module aggregates contextual information at four different scales. This global context helps the network refine its density estimations.

Sub-pixel Convolutional Module (SPCM)

Standard upsampling methods like deconvolution often produce blurry density maps. SCNet employs SPCM, which reshapes the channel dimension into the spatial dimension. This parameter-free approach produces high-resolution, sharp density maps by leveraging spatial information preserved in the channels.

Data Preparation Paradigm

Traditional data augmentation often involves resizing images and their corresponding density maps, which inadvertently alters the Gaussian kernels used to represent individuals. The authors propose an online sampling method that maintains a fixed Gaussian kernel size relative to the person.

The proposed data preparation paradigm, illustrating the coordinate transformation and density map generation process to ensure scale consistency.

As shown in Figure 6, this method transforms the original coordinates to a new coordinate system based on the sampled crop, ensuring the network learns a consistent representation of human heads regardless of the original image scale.

Experimental Results

SCNet was evaluated on several benchmarks, including ShanghaiTech, UCF_CC_50, and WorldExpo’10. It consistently outperformed both multi-column and single-column predecessors.

Dataset Metric SCNet Previous SOTA (CP-CNN)
ShanghaiTech Part A MAE 71.9 73.6
ShanghaiTech Part B MAE 9.3 20.1
UCF_CC_50 MAE 280.5 295.8

Ablation studies confirmed that the combination of online sampling and multi-scale training significantly improved robustness, reducing MAE on ShanghaiTech Part B from 10.6 to 9.3.

Conclusion

SCNet proves that single-column networks are not only viable but superior for crowd counting when engineered with efficient multi-scale feature extraction and consistent data preparation. By focusing on efficiency over redundancy, SCNet sets a new standard for density estimation tasks. Future work includes extending this paradigm to video-based counting and mobile-optimized backbones.

Summary updated

BibTeX
@inproceedings{wang2018defense,
  author = {Ze Wang and Zehao Xiao and Kai Xie and Qiang Qiu and Xiantong Zhen and Xianbin Cao},
  title = {{In Defense of Single-column Networks for Crowd Counting}},
  booktitle = {BMVC},
  year = {2018},
  url = {https://openreview.net/forum?id=bM6Y9gb-Vp3},
}
Figure