Multi-Resolution Fusion and Multi-scale Input Priors Based Crowd Counting

Usman Sajid, Wenchi Ma, Guanghui Wang

Abstract

Crowd counting is a critical task in computer vision, often hampered by extreme scale variations within scenes. This paper introduces a novel architecture that leverages multi-resolution fusion and multi-scale input priors to estimate crowd density without relying on error-prone density classification. By processing three parallel image scales and frequently exchanging information between them, the proposed model achieves state-of-the-art results on benchmarks like UCF-QNRF and ShanghaiTech Part-A, demonstrating significant improvements in Root Mean Square Error (RMSE) and cross-dataset generalization.

Introduction

Estimating the number of individuals in a still image—crowd counting—is inherently difficult due to scale variation. A person near the camera may occupy a large portion of the frame, while those in the background appear as mere clusters of pixels. Previous attempts to address this, such as the Patch Rescaling Module (PRM), utilized a separate classifier to determine local density and rescale patches accordingly. However, this "middleman" approach introduces a single point of failure: if the density classifier is inaccurate, the subsequent count is fundamentally flawed.

This research presents a "parallelism over selection" strategy. Instead of choosing a single optimal scale, the network processes multiple scales simultaneously and learns to fuse their features, effectively bypassing the need for explicit density classification.

Methodology

The proposed architecture, termed the Main Network (MN), is built upon three core components:

  1. Multi-scale Input Priors: For every $128 \times 128$ image patch, the network receives three versions: an up-scaled $256 \times 256$ patch, the original $128 \times 128$ patch, and a down-scaled $64 \times 64$ patch. These serve as multi-scale priors for three parallel CNN columns.
  2. Recurring Multi-resolution Fusions: Unlike traditional multi-column networks that only merge at the output, this model performs fusions at regular intervals (phases). High-resolution features are downsampled to assist low-resolution branches, while low-resolution features are upsampled to provide global context to high-resolution branches.
  3. Auxiliary Regression Heads: To ensure robust feature learning across all branches, auxiliary crowd estimation heads ($RH_1, RH_2, RH_3$) are placed at the end of each phase. The final output is a weighted average of these auxiliary counts and a final master head ($RH_{final}$).
The proposed Main Network (MN) architecture featuring multi-scale input priors and recurring multi-resolution fusions across three phases.

Experimental Evaluation

The model was rigorously tested on three major crowd counting benchmarks:

  • UCF-QNRF: A large-scale dataset with extreme density variations and high-resolution imagery.
  • ShanghaiTech (Part-A): A standard benchmark featuring diverse crowd scenes.
  • AHU-crowd: A smaller dataset used to evaluate the model's robustness and generalization capabilities.

Results and Discussion

The authors evaluated two primary fusion variants: a concatenation-based version (v4) and a summation-based version (v5). The v5 model consistently outperformed existing state-of-the-art methods, particularly in metrics sensitive to outliers like RMSE.

Detailed view of the (a) concatenation-based (v4) and (b) summation-based (v5) fusion modules used in the network.

Key performance highlights include:

  • ShanghaiTech Part-A: Achieved an RMSE of 81.0, surpassing the previous PRM-based state-of-the-art (86.2).
  • UCF-QNRF: Reached an RMSE of 130.1, a significant improvement over the 141.9 achieved by PRM.
  • Generalization: Cross-dataset testing revealed that the model maintains high accuracy when trained on one dataset and tested on another, suggesting it captures fundamental crowd features rather than dataset-specific biases.

Furthermore, the authors found that providing rescaled versions of the input significantly boosted the model's ability to handle "over-estimation" in sparse areas and "under-estimation" in dense areas.

Conclusion

By maintaining high-resolution representations and integrating multi-scale input priors, the proposed multi-resolution fusion network effectively addresses the scale variation problem in crowd counting. While the multi-column architecture increases computational complexity compared to single-column models, the gains in accuracy and robustness are substantial. Future research will focus on optimizing the architecture for real-time deployment and exploring its applicability to other dense object detection tasks.

Summary updated

BibTeX
@inproceedings{sajid2020multi,
  author = {Usman Sajid and Wenchi Ma and Guanghui Wang},
  title = {{Multi-Resolution Fusion and Multi-scale Input Priors Based Crowd Counting}},
  booktitle = {ICPR},
  year = {2020},
  doi = {10.1109/icpr48806.2021.9412406},
}
Figure