Skip to main content
QUICK REVIEW

[Paper Review] AutoScale: Learning to Scale for Crowd Counting and Localization

Chenfeng Xu, Dingkang Liang|arXiv (Cornell University)|Dec 20, 2019
Video Surveillance and Tracking MethodsComputer Science114 references7 citations
TL;DR

This paper proposes AutoScale, a novel Learning to Scale (L2S) module that automatically normalizes image regions by adjusting the perceived closeness between people in dense crowds, reducing long-tailed density value distributions and alleviating pattern shifts. By dynamically rescaling dense regions, AutoScale improves both density map regression and person localization, achieving state-of-the-art performance on multiple crowd counting benchmarks with consistent gains across datasets.

ABSTRACT

Recent works on crowd counting mainly leverage CNNs to count by regressing density maps, and have achieved great progress. In the density map, each person is represented by a Gaussian blob, and the final count is obtained from the integration of the whole map. However, it is difficult to accurately predict the density map on dense regions. A major issue is that the density map on dense regions usually accumulates density values from a number of nearby Gaussian blobs, yielding different large density values on a small set of pixels. This makes the density map present variant patterns with significant pattern shifts and brings a long-tailed distribution of pixel-wise density values. We propose a simple and effective Learning to Scale (L2S) module, which automatically scales dense regions into reasonable closeness levels (reflecting image-plane distance between neighboring people). L2S directly normalizes the closeness in different patches such that it dynamically separates the overlapped blobs, decomposes the accumulated values in the ground-truth density map, and thus alleviates the pattern shifts and long-tailed distribution of density values. This helps the model to better learn the density map. We also explore the effectiveness of L2S in localizing people by finding the local minima of the quantized distance (w.r.t. person location map). To the best of our knowledge, such a localization method is also novel in localization-based crowd counting. We further introduce a customized dynamic cross-entropy loss, significantly improving the localization-based model optimization. Extensive experiments demonstrate that the proposed framework termed AutoScale improves upon some state-of-the-art methods in both regression and localization benchmarks on three crowded datasets and achieves very competitive performance on two sparse datasets.

Motivation & Objective

  • To address the long-tailed distribution and pattern shifts in crowd density maps caused by overlapping Gaussian blobs in dense regions.
  • To improve the accuracy of crowd counting in highly congested scenes where traditional density map regression fails due to value accumulation.
  • To enable robust person localization by finding local minima in quantized distance maps, a novel approach in localization-based crowd counting.
  • To develop a dynamic cross-entropy loss that enhances optimization for localization-based models.
  • To demonstrate transferability and consistent improvement across multiple datasets and baseline models.

Proposed method

  • The L2S module learns scale factors per image patch to normalize the closeness level between people, effectively decomposing accumulated density values in dense regions.
  • L2S uses center loss in an unsupervised clustering manner to group dense regions into similar, appropriate closeness levels, reducing distribution gaps.
  • The method rescales the ground-truth density map and predicted maps using learned scale factors to minimize pattern shifts and long-tailed distributions.
  • For localization, the model identifies person locations by detecting local minima in a quantized distance map derived from the density map.
  • A customized dynamic cross-entropy loss is introduced to improve training stability and localization accuracy.
  • The framework is compatible with existing regression and localization baselines, enabling plug-and-play improvements.

Experimental results

Research questions

  • RQ1Can learning to scale dense crowd regions reduce the long-tailed distribution of pixel-wise density values in crowd counting?
  • RQ2Does normalizing closeness levels between people improve density map prediction in highly congested scenes?
  • RQ3Can the proposed L2S module be effectively applied to both regression-based and localization-based crowd counting?
  • RQ4How does the dynamic cross-entropy loss enhance localization performance compared to standard cross-entropy?
  • RQ5To what extent does AutoScale generalize across diverse crowd counting datasets?

Key findings

  • AutoScale achieves state-of-the-art performance on three crowded datasets: ShanghaiTech Part A (60.5 MAE), JHU-Crowd++ (76.1 MAE), and JHU-Crowd (76.4 MAE), outperforming prior methods.
  • The localization-based AutoScale variant achieves competitive performance with a MAE of 65.8 on ShanghaiTech Part A and 85.6 on JHU-Crowd++, demonstrating strong localization capability.
  • Refining at most two dense regions instead of one leads to a marginal improvement of less than 0.7 MAE and 2.8 MSE, indicating limited gains from additional refinement.
  • The L2S module improves performance consistently across multiple baseline models, showing strong transferability and generalization.
  • The dynamic cross-entropy loss significantly enhances localization accuracy, especially in complex scenes with overlapping people.
  • AutoScale generalizes well to vehicle counting, showing potential for broader application beyond crowd counting.

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.