Proceedings

CrowdFormer: An Overlap Patching Vision Transformer for Top-Down Crowd Counting

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 1545-1551.

https://doi.org/10.24963/ijcai.2022/215

Abstract

Crowd counting methods typically predict a density map as an intermediate representation of counting, and achieve good performance. However, due to the perspective phenomenon, there is a scale variation in real scenes, which causes the density map-based methods suffer from a severe scene generalization problem because only a limited number of scales are fitted in density map prediction and generation. To address this issue, we propose a novel vision transformer network, i.e., CrowdFormer, and a density kernels fusion framework for more accurate density map estimation and generation, respectively. Thereafter, we incorporate these two innovations into an adaptive learning system, which can take both the annotation dot map and original image as input, and jointly learns the density map estimator and generator within an end-to-end framework. The experimental results demonstrate that the proposed model achieves the state-of-the-art in the terms of MAE and MSE (e.g., it achieved a MAE of 67.1 and MSE of 301.6 on NWPU-Crowd dataset.), and confirm the effectiveness of the proposed two designs. The code is https://github.com/special-yang/Top_Down-CrowdCounting.

  1. [Alexey et al., 2021] Dosovitskiy Alexey, Beyer Lucas, et al. An image is worth 16x16 words: Transformers for im- age recognition at scale. In International Conference on Learning Representations, 2021.
  2. [Ashish et al., 2017] Vaswani Ashish, Shazeer Noam, et al. Attention is all you need. In Annual Conference on Neural Information Processing Systems, pages 5998-6008, 2017.
  3. [Boyu et al., 2020] Wang Boyu, Liu Huidong, et al. Distri- bution matching for crowd counting. In Annual Confer- ence on Neural Information Processing Systems, 2020.
  4. [Chan et al., 2008] Antoni B. Chan, Zhang-Sheng John Liang, and Nuno Vasconcelos. Privacy preserving crowd monitoring: Counting people without people models or tracking. In Computer Society Conference on Computer Vision and Pattern Recognition, pages 1-7, 2008.
  5. [Chattopadhyay et al., 2017] Prithvijit Chattopadhyay, Ra- makrishna Vedantam, et al. Counting everyday objects in everyday scenes. In Conference on Computer Vision and Pattern Recognition, pages 4428-4437, 2017.
  6. [Chen et al., 2021] Binghui Chen, Zhaoyi Yan, et al. Varia- tional attention: Propagating domain-specific knowledge for multi-domain learning in crowd counting. In Inter- national Conference on Computer Vision, pages 16065- 16075, 2021.
  7. [Dingkang et al., 2021] Liang Dingkang, Chen Xiwu, et al. Transcrowd: Weakly-supervised crowd counting with transformer. CoRR, abs/2104.09116, 2021.
  8. [Haroon et al., 2018] Idrees Haroon, Tayyab Muhmmad, Athrey Kishan, et al. Composition loss for counting, den- sity map estimation and localization in dense crowds. In ECCV, volume 11206, pages 544-559, 2018.
  9. [Jia et al., 2020] Wan Jia, Antoni B. Chan, et al. Modeling noisy annotations for crowd counting. In Annual Confer- ence on Neural Information Processing Systems, 2020.
  10. [Jia et al., 2021] Wan Jia, Liu Ziquan, et al. A general- ized loss function for crowd counting and localization. In Conference on Computer Vision and Pattern Recognition, pages 1974-1983, 2021.
  11. [Lempitsky et al., 2010] Victor S. Lempitsky, Andrew Zis- serman, et al. Learning to count objects in images. In Annual Conference on Neural Information Processing Sys- tems, pages 1324-1332, 2010.
  12. [Lin et al., 2021] Hui Lin, Xiaopeng Hong, et al. Direc- t measure matching for crowd counting. In Internation- al Joint Conference on Artificial Intelligence, pages 837- 844, 2021. IJCAI
  13. [Liu et al., 2021] Hao Liu, Qiang Zhao, et al. Bipartite matching for crowd counting with point supervision. In International Joint Conference on Artificial Intelligence, pages 860-866, 2021. IJCAI
  14. [Min et al., 2008] Li Min, Zhang Zhaoxiang, Huang Kaiqi, and Tan Tieniu. Estimating the number of people in crowded scenes by mid based foreground segmentation and head-shoulder detection. In International Conference on Pattern Recognition, pages 1-4, 2008.
  15. [Nicolas et al., 2020] Carion Nicolas, Massa Francisco, et al. End-to-end object detection with transformers. In EC- CV, volume 12346 of Lecture Notes in Computer Science, pages 213-229, 2020.
  16. [Qi et al., 2021] Wang Qi, Gao Junyu, et al. Nwpu-crowd: A large-scale benchmark for crowd counting and localiza- tion. Trans. Pattern Anal. Mach. Intell., 43(6):2141-2149, 2021.
  17. [Qingyu et al., 2021] Song Qingyu, Wang Changan, et al. To choose or to fuse? scale selection for crowd counting. In AAAI Conference on Artificial Intelligence, volume 35, pages 2576-2583, 2021.
  18. [Shuai et al., 2020] Bai Shuai, He Zhiqun, et al. Adaptive dilated network with self-correction supervision for count- ing. In Conference on Computer Vision and Pattern Recog- nition, pages 4593-4602, 2020.
  19. [Song et al., 2021] Qingyu Song, Changan Wang, et al. Re- thinking counting and localization in crowds: A purely point-based framework. In International Conference on Computer Vision, pages 3365-3374, 2021.
  20. [Tsung-Yi et al., 2017] Lin Tsung-Yi, Dollár Piotr, et al. Feature pyramid networks for object detection. In Confer- ence on Computer Vision and Pattern Recognition, pages 936-944, 2017.
  21. [Wan and Chan, 2019] Jia Wan and Antoni B. Chan. Adap- tive density map generation for crowd counting. In In- ternational Conference on Computer Vision, pages 1130- 1139, 2019.
  22. [Wan et al., 2020] Jia Wan, Qingzhong Wang, and Antoni B Chan. Kernel-based density map generation for dense ob- ject counting. Transactions on Pattern Analysis and Ma- chine Intelligence, 2020.
  23. [Yifan et al., 2020] Yang Yifan, Li Guorong, et al. Weakly- supervised crowd counting learns from sorting rather than locations. In ECCV, pages 1-17, 2020.
  24. [Yingying et al., 2016] Zhang Yingying, Zhou Desen, et al. Single-image crowd counting via multi-column convolu- tional neural network. In Conference on Computer Vision and Pattern Recognition, pages 589-597, 2016.
  25. [Yuhong et al., 2018] Li Yuhong, Zhang Xiaofan, and Chen Deming. Csrnet: Dilated convolutional neural networks for understanding the highly congested scenes. In Confer- ence on Computer Vision and Pattern Recognition, pages 1091-1100, 2018.
  26. [Ze et al., 2021] Liu Ze, Lin Yutong, et al. Swin trans- former: Hierarchical vision transformer using shifted win- dows. In International Conference on Computer Vision, pages 10012-1110022, 2021.
  27. [Zheng et al., 2021] Sixiao Zheng, Jiachen Lu, et al. Re- thinking semantic segmentation from a sequence-to- sequence perspective with transformers. In Conference on Computer Vision and Pattern Recognition, pages 6881- 6890, 2021.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards