Attention Scaling for Crowd Counting
Xiaoheng Jiang, Li Zhang, Mingliang Xu, Tianzhu Zhang, Pei Lv, Bing Zhou, Xin Yang, Yanwei Pang
Abstract
Convolutional Neural Network (CNN) based methods generally take crowd counting as a regression task by outputting crowd densities. They learn the mapping between image contents and crowd density distributions. Though having achieved promising results, these data-driven counting networks are prone to overestimate or underestimate people counts of regions with different density patterns, which degrades the whole count accuracy. To overcome this problem, we propose an approach to alleviate the counting performance differences in different regions. Specifically, our approach consists of two networks named Density Attention Network (DANet) and Attention Scaling Network (ASNet). DANet provides ASNet with attention masks related to regions of different density levels. ASNet first generates density maps and scaling factors and then multiplies them by attention masks to output separate attention-based density maps. These density maps are summed to give the final density map. The attention scaling factors help attenuate the estimation errors in different regions. Furthermore, we present a novel Adaptive Pyramid Loss (APLoss) to hierarchically calculate the estimation losses of subregions, which alleviates the training bias. Extensive experiments on four challenging datasets (ShanghaiTech Part A, UCF CC 50, UCF-QNRF, and WorldExpo'10) demonstrate the superiority of the proposed approach.
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 87aa0855-a223-4f70-8dc0-341ee34c9f95Cited by top-tier papers22
- Rethinking Counting and Localization in Crowds: A Purely Point-Based FrameworkQingyu Song, Changan Wang, Zhengkai Jiang, Yabiao Wang et al.ICCV 2021 · 376 citations
- To Choose or to Fuse? Scale Selection for Crowd CountingQingyu Song, Changan Wang, Yabiao Wang, Ying Tai et al.AAAI 2021 · 195 citations
- Rethinking Spatial Invariance of Convolutional Networks for Object CountingZhi-Qi Cheng, Qi Dai, Hong Li, Jingkuan Song et al.CVPR 2022 · 119 citations
- Spatial Uncertainty-Aware Semi-Supervised Crowd CountingYanda Meng, Hongrun Zhang, Yitian Zhao, Xiaoyun Yang et al.ICCV 2021 · 108 citations
- Learning to Count via Unbalanced Optimal TransportZhiheng Ma, Xing Wei, Xiaopeng Hong, Hui Lin et al.AAAI 2021 · 100 citations
Builds on10
- 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
- Perspective-Guided Convolution Networks for Crowd CountingZhaoyi Yan, Yuchen Yuan, Wangmeng Zuo, Xiao Tan et al.ICCV 2019 · 209 citations
- Multi-Level Bottom-Top and Top-Bottom Feature Fusion for Crowd CountingVishwanath Sindagi, Vishal M. PatelICCV 2019 · 194 citations
- From Open Set to Closed Set: Counting Objects by Spatial Divide-and-ConquerHaipeng Xiong, Hao Lu, Chengxin Liu, Liang Liu et al.ICCV 2019 · 184 citations
Related papers
- Shallow Feature Based Dense Attention Network for Crowd CountingYunqi Miao, Zijia Lin, Guiguang Ding, Jungong HanAAAI 2020 · 120 citations
- CrossNet: Boosting Crowd Counting with LocalizationJi Zhang, Zhi-Qi Cheng, Xiao Wu, Wei Li et al.ACM MM 2022 · 20 citations
- Relational Attention Network for Crowd CountingAnran Zhang, Jiayi Shen, Zehao Xiao, Fan Zhu et al.ICCV 2019 · 175 citations
- Learning Scales from Points: A Scale-aware Probabilistic Model for Crowd CountingZhiheng Ma, Xing Wei, Xiaopeng Hong, Yihong GongACM MM 2020 · 39 citations
- Scale-aware Progressive Optimization NetworkYing Chen, Lifeng Huang, Chengying Gao, Ning LiuACM MM 2020 · 1 citation
