# HA-CCN: Hierarchical Attention-based Crowd Counting Network

arXiv: https://arxiv.org/abs/1907.10255 · HTML: https://mlsanity.com/paper/1907.10255/

## Key facts

- Cited by 32 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 24 Jul 2019.

## Built on by (most cited first, 30 of 32)

- [A General Survey on Attention Mechanisms in Deep Learning](https://mlsanity.com/paper/2203.14263/) (2022)
- [Rethinking Spatial Invariance of Convolutional Networks for Object Counting](https://mlsanity.com/paper/2206.05253/) (2022)
- [Learning to Count Anything: Reference-less Class-agnostic Counting with Weak Supervision](https://mlsanity.com/paper/2205.10203/) (2022)
- [Spatial Uncertainty-Aware Semi-Supervised Crowd Counting](https://mlsanity.com/paper/2107.13271/) (2021)
- [BridgeNet: A Joint Learning Network of Depth Map Super-Resolution and Monocular Depth Estimation](https://mlsanity.com/paper/2107.12541/) (2021)
- [Synthetic Data in Human Analysis: A Survey](https://mlsanity.com/paper/2208.09191/) (2022)
- [Robust Visual Question Answering: Datasets, Methods, and Future Challenges](https://mlsanity.com/paper/2307.11471/) (2023)
- [Crowd Counting via Perspective-Guided Fractional-Dilation Convolution](https://mlsanity.com/paper/2107.03665/) (2021)
- [Variational Attention: Propagating Domain-Specific Knowledge for Multi-Domain Learning in Crowd Counting](https://mlsanity.com/paper/2108.08023/) (2021)
- [Video Crowd Localization with Multi-focus Gaussian Neighborhood Attention and a Large-Scale Benchmark](https://mlsanity.com/paper/2107.08645/) (2021)
- [Audio-Visual Transformer Based Crowd Counting](https://mlsanity.com/paper/2109.01926/) (2021)
- [Spatiotemporal Dilated Convolution with Uncertain Matching for Video-based Crowd Estimation](https://mlsanity.com/paper/2101.12439/) (2021)
- [Forget Less, Count Better: A Domain-Incremental Self-Distillation Learning Benchmark for Lifelong Crowd Counting](https://mlsanity.com/paper/2205.03307/) (2022)
- [Focus for Free in Density-Based Counting](https://mlsanity.com/paper/2306.05129/) (2023)
- [Learning Discriminative Features for Crowd Counting](https://mlsanity.com/paper/2311.04509/) (2023)
- [Semi-supervised Counting via Pixel-by-pixel Density Distribution Modelling](https://mlsanity.com/paper/2402.15297/) (2024)
- [Joint CNN and Transformer Network via weakly supervised Learning for efficient crowd counting](https://mlsanity.com/paper/2203.06388/) (2022)
- [TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Image](https://mlsanity.com/paper/2307.06118/) (2023)
- [Fine-grained Domain Adaptive Crowd Counting via Point-derived Segmentation](https://mlsanity.com/paper/2108.02980/) (2021)
- [Hybrid attention network based on progressive embedding scale-context for crowd counting](https://mlsanity.com/paper/2106.02324/) (2021)
- [Towards More Effective PRM-based Crowd Counting via A Multi-resolution Fusion and Attention Network](https://mlsanity.com/paper/2112.09664/) (2021)
- [Dual Windows Are Significant: Learning from Mediastinal Window and Focusing on Lung Window](https://mlsanity.com/paper/2206.03803/) (2022)
- [An Improved Normed-Deformable Convolution for Crowd Counting](https://mlsanity.com/paper/2206.08084/) (2022)
- [Multi-Level Attentive Convoluntional Neural Network for Crowd Counting](https://mlsanity.com/paper/2105.11422/) (2021)
- [BBA-net: A bi-branch attention network for crowd counting](https://mlsanity.com/paper/2201.08983/) (2022)
- [Counting with Adaptive Auxiliary Learning](https://mlsanity.com/paper/2203.04061/) (2022)
- [UniDA3D: Unified Domain Adaptive 3D Semantic Segmentation Pipeline](https://mlsanity.com/paper/2212.10390/) (2022)
- [L2HCount:Generalizing Crowd Counting from Low to High Crowd Density via Density Simulation](https://mlsanity.com/paper/2503.12935/) (2025)
- [Reducing Spatial Labeling Redundancy for Semi-supervised Crowd Counting](https://mlsanity.com/paper/2108.02970/) (2021)
- [Reducing Capacity Gap in Knowledge Distillation with Review Mechanism for Crowd Counting](https://mlsanity.com/paper/2206.05475/) (2022)

## Abstract (arXiv)

Single image-based crowd counting has recently witnessed increased focus, but many leading methods are far from optimal, especially in highly congested scenes. In this paper, we present Hierarchical Attention-based Crowd Counting Network (HA-CCN) that employs attention mechanisms at various levels to selectively enhance the features of the network. The proposed method, which is based on the VGG16 network, consists of a spatial attention module (SAM) and a set of global attention modules (GAM). SAM enhances low-level features in the network by infusing spatial segmentation information, whereas the GAM focuses on enhancing channel-wise information in the higher level layers. The proposed method is a single-step training framework, simple to implement and achieves state-of-the-art results on different datasets. Furthermore, we extend the proposed counting network by introducing a novel set-up to adapt the network to different scenes and datasets via weak supervision using image-level labels. This new set up reduces the burden of acquiring labour intensive point-wise annotations for new datasets while improving the cross-dataset performance.
