To Choose or to Fuse? Scale Selection for Crowd Counting
Qingyu Song, Changan Wang, Yabiao Wang, Ying Tai, Chengjie Wang, Jilin Li, Jian Wu, Jiayi Ma
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 02b81355-4b0e-4c3a-ac94-474d873c60ccCited by top-tier papers11
- Rethinking Spatial Invariance of Convolutional Networks for Object CountingZhi-Qi Cheng, Qi Dai, Hong Li, Jingkuan Song et al.CVPR 2022 · 119 citations
- Represent, Compare, and Learn: A Similarity-Aware Framework for Class-Agnostic CountingMin Shi, Hao Lu, Chen Feng, Chengxin Liu et al.CVPR 2022 · 99 citations
- STEERER: Resolving Scale Variations for Counting and Localization via Selective Inheritance LearningTao Han, Lei Bai, Lingbo Liu, Wanli OuyangICCV 2023 · 74 citations
- Coarse to Fine: Domain Adaptive Crowd Counting via Adversarial Scoring NetworkZhikang Zou, Xiaoye Qu, Pan Zhou, Shuangjie Xu et al.ACM MM 2021 · 37 citations
- Single Domain Generalization for Crowd CountingZhuoxuan Peng, S.-H. Gary ChanCVPR 2024 · 27 citations
Builds on9
- Bayesian Loss for Crowd Count Estimation With Point SupervisionZhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong GongICCV 2019 · 612 citations
- Crowd Counting With Deep Structured Scale Integration NetworkLingbo Liu, Zhilin Qiu, Guanbin Li, Shufan Liu et al.ICCV 2019 · 254 citations
- Relational Attention Network for Crowd CountingAnran Zhang, Jiayi Shen, Zehao Xiao, Fan Zhu et al.ICCV 2019 · 175 citations
- Learning Spatial Awareness to Improve Crowd CountingZhi-Qi Cheng, Jun-Xiu Li, Qi Dai, Xiao Wu et al.ICCV 2019 · 139 citations
- Attentional Neural Fields for Crowd CountingAnran Zhang, Lei Yue, Jiayi Shen, Fan Zhu et al.ICCV 2019 · 121 citations
Related papers
- Attention Scaling for Crowd CountingXiaoheng Jiang, Li Zhang, Mingliang Xu, Tianzhu Zhang et al.CVPR 2020
- Scale-aware Progressive Optimization NetworkYing Chen, Lifeng Huang, Chengying Gao, Ning LiuACM MM 2020 · 1 citation
- Shallow Feature Based Dense Attention Network for Crowd CountingYunqi Miao, Zijia Lin, Guiguang Ding, Jungong HanAAAI 2020 · 120 citations
- Learning Scales from Points: A Scale-aware Probabilistic Model for Crowd CountingZhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong GongACM MM 2020 · 39 citations
- FAS-Net: Construct Effective Features Adaptively for Multi-Scale Object DetectionJiangqiao Yan, Yue Zhang, Zhonghan Chang, Tengfei Zhang et al.AAAI 2020 · 2 citations
