Crowd Counting with Deep Structured Scale Integration Network

Lingbo Liu, Zhilin Qiu, Guanbin Li, Shufan Liu, Wanli Ouyang, Liang Lin

Introduction

Crowd counting is a fundamental task in computer vision, primarily focused on generating accurate density maps from images of crowded scenes. A major hurdle in this field is extreme scale variation: individuals near the camera appear significantly larger than those in the background. Traditional methods often employ multi-column networks to handle different head sizes, but these branches typically operate in isolation, failing to leverage the inherent spatial correlations between different scales.

Methodology

The authors propose the Deep Structured Scale Integration Network (DSSINet) to address these limitations through two primary technical innovations: structured feature refinement and a scale-aware loss function.

DSSINet Architecture

The network processes an image pyramid—the same image at multiple scales—to capture features across a broad range of resolutions. Unlike simple concatenation or averaging, DSSINet employs a hierarchical fusion strategy to maintain high spatial resolution while integrating multi-scale information.

Overview of the DSSINet architecture featuring the Structured Feature Enhancement Module (SFEM) and hierarchical fusion.

Structured Feature Enhancement Module (SFEM)

The SFEM is the core of the architecture, utilizing Conditional Random Fields (CRFs) to implement a message-passing mechanism between feature maps at different scales. This allows high-level semantic information from deeper layers to refine low-level appearance details from shallower layers, and vice versa. This mutual refinement ensures that features are robust to scale changes and spatially consistent, reflecting the physical reality that neighbors in a crowd typically share similar scales.

Dilated Multiscale Structural Similarity (DMS-SSIM) Loss

To further improve performance, the authors introduced the DMS-SSIM loss. Standard loss functions like Mean Squared Error (MSE) treat pixels independently, ignoring local structural correlations. By adapting the MS-SSIM metric with dilated convolutions, the network is forced to maintain structural consistency across varying region sizes, from small background clusters to large foreground individuals.

The Dilated Multiscale Structural Similarity (DMS-SSIM) loss function structure.

Experiments and Results

DSSINet was evaluated on several major benchmarks, including ShanghaiTech (Part A & B), UCF-QNRF, UCF_CC_50, and WorldExpo’10. The model achieved state-of-the-art (SOTA) results across the board:

  • UCF-QNRF: Achieved a Mean Absolute Error (MAE) of 99.1, representing a significant 24.9% error reduction over previous methods.
  • ShanghaiTech Part A: Reduced the MAE to 60.63, a 9.5% improvement compared to the previous leader.
  • Efficiency: Despite its sophisticated structured modeling, DSSINet remains relatively efficient with 8.85 million parameters, roughly half the size of popular models like CSRNet.

Discussion and Conclusion

The success of DSSINet highlights that features at different scales are complementary rather than redundant. By using CRFs for message passing and a dilated structural loss, the network effectively captures scale correlations.

While highly effective, the authors noted that excessive CRF iterations (more than two) can lead to over-mixing of features, causing them to lose scale-specific information. Additionally, while parameter-efficient, the inference speed (~450ms per frame on a GTX 1080) suggests room for optimization for real-time edge applications. Future work may extend this structured scale integration to other domains where scale variation is a primary challenge, such as satellite imagery or medical segmentation.

Summary updated

BibTeX
@inproceedings{liu2019crowd,
  author = {Lingbo Liu and Zhilin Qiu and Guanbin Li and Shufan Liu and Wanli Ouyang and Liang Lin},
  title = {{Crowd Counting with Deep Structured Scale Integration Network}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00186},
}
Figure