To Choose or to Fuse? Scale Selection for Crowd Counting

Authors

  • Qingyu Song Tencent Youtu Lab Zhejiang University
  • Changan Wang Tencent Youtu Lab
  • Yabiao Wang Tencent Youtu Lab
  • Ying Tai Tencent Youtu Lab
  • Chengjie Wang Tencent Youtu Lab
  • Jilin Li Tencent Youtu Lab
  • Jian Wu Zhejiang University
  • Jiayi Ma Wuhan University

DOI:

https://doi.org/10.1609/aaai.v35i3.16360

Keywords:

Scene Analysis & Understanding

Abstract

In this paper, we address the large scale variation problem in crowd counting by taking full advantage of the multi-scale feature representations in a multi-level network. We implement such an idea by keeping the counting error of a patch as small as possible with a proper feature level selection strategy, since a specific feature level tends to perform better for a certain range of scales. However, without scale annotations, it is sub-optimal and error-prone to manually assign the predictions for heads of different scales to specific feature levels. Therefore, we propose a Scale-Adaptive Selection Network (SASNet), which automatically learns the internal correspondence between the scales and the feature levels. Instead of directly using the predictions from the most appropriate feature level as the final estimation, our SASNet also considers the predictions from other feature levels via weighted average, which helps to mitigate the gap between discrete feature levels and continuous scale variation. Since the heads in a local patch share roughly a same scale, we conduct the adaptive selection strategy in a patch-wise style. However, pixels within a patch contribute different counting errors due to the various difficulty degrees of learning. Thus, we further propose a Pyramid Region Awareness Loss (PRA Loss) to recursively select the most hard sub-regions within a patch until reaching the pixel level. With awareness of whether the parent patch is over-estimated or under-estimated, the fine-grained optimization with the PRA Loss for these region-aware hard pixels helps to alleviate the inconsistency problem between training target and evaluation metric. The state-of-the-art results on four datasets demonstrate the superiority of our approach. The code will be available at: https://github.com/TencentYoutuResearch/CrowdCounting-SASNet.

Downloads

Published

2021-05-18

How to Cite

Song, Q., Wang, C., Wang, Y., Tai, Y., Wang, C., Li, J., Wu, J., & Ma, J. (2021). To Choose or to Fuse? Scale Selection for Crowd Counting. Proceedings of the AAAI Conference on Artificial Intelligence, 35(3), 2576-2583. https://doi.org/10.1609/aaai.v35i3.16360

Issue

Section

AAAI Technical Track on Computer Vision II