[Paper Review] Shallow Feature Based Dense Attention Network for Crowd Counting
This paper proposes SDANet, a shallow feature-based dense attention network for crowd counting that improves accuracy by leveraging early-layer features to suppress background noise and using dense skip connections to preserve multi-scale human features. It achieves a 11.9% MAE reduction on UCF_CC_50, demonstrating superior robustness to scale variation and cluttered backgrounds.
While the performance of crowd counting via deep learning has been improved dramatically in the recent years, it remains an ingrained problem due to cluttered backgrounds and varying scales of people within an image. In this paper, we propose a Shallow feature based Dense Attention Network (SDANet) for crowd counting from still images, which diminishes the impact of backgrounds via involving a shallow feature based attention model, and meanwhile, captures multi-scale information via densely connecting hierarchical image features. Specifically, inspired by the observation that backgrounds and human crowds generally have noticeably different responses in shallow features, we decide to build our attention model upon shallow-feature maps, which results in accurate background-pixel detection. Moreover, considering that the most representative features of people across different scales can appear in different layers of a feature extraction network, to better keep them all, we propose to densely connect hierarchical image features of different layers and subsequently encode them for estimating crowd density. Experimental results on three benchmark datasets clearly demonstrate the superiority of SDANet when dealing with different scenarios. Particularly, on the challenging UCF CC 50 dataset, our method outperforms other existing methods by a large margin, as is evident from a remarkable 11.9% Mean Absolute Error (MAE) drop of our SDANet.
Motivation & Objective
- To address the persistent challenge of background clutter and scale variation in crowd counting from still images.
- To reduce false positives caused by background elements such as umbrellas, stairs, and buildings in density estimation.
- To preserve multi-scale human features across different layers of a deep network for improved density prediction.
- To develop a lightweight attention mechanism that avoids complex, parameter-heavy standalone models.
- To enhance feature representation by densely connecting hierarchical features from multiple network layers.
Proposed method
- The method employs an Attention Map Generator (AMG) that uses shallow convolutional feature maps to produce attention weights, distinguishing between crowd and background regions based on their distinct activation patterns.
- The AMG is integrated into the feature extraction backbone, enabling end-to-end training without additional parameters or separate classifiers.
- A densely connected structure fuses features from all preceding layers, ensuring multi-scale human features are preserved and effectively encoded.
- The network uses a coarse-to-fine refinement strategy with a multi-scale loss function $ L_{map} $, which improves density map prediction accuracy.
- The attention mechanism is trained using a binary cross-entropy loss $ L_{att} $, optimizing for accurate background suppression.
- Feature maps from multiple layers are concatenated and processed through refinement layers to generate the final density map.
Experimental results
Research questions
- RQ1Can shallow feature maps effectively distinguish between crowd regions and cluttered backgrounds in crowd counting?
- RQ2Does a lightweight attention mechanism based on shallow features outperform complex standalone attention models in reducing background noise?
- RQ3Can dense skip connections across hierarchical features improve multi-scale representation learning for crowd counting?
- RQ4How does the combination of shallow attention and dense feature fusion affect performance on challenging datasets with varying crowd densities?
- RQ5To what extent does the coarse-to-fine refinement strategy enhance density map estimation accuracy?
Key findings
- On the UCF_CC_50 dataset, SDANet achieves a 11.9% reduction in Mean Absolute Error (MAE), significantly outperforming prior state-of-the-art methods.
- On the WorldExpo’10 dataset, SDANet achieves the best performance on Scene 1, Scene 4, Scene 5, and the average metric, demonstrating strong adaptability across diverse real-world scenes.
- On the ShanghaiTech Part-B dataset, SDANet reduces MAE by 4.87% and MSE by 20.31% compared to the latest method TEDnet.
- Ablation studies show that removing the attention module increases MAE by 37%, proving its critical role in background suppression.
- Removing the dense connection structure leads to a 20.1% drop in counting accuracy, confirming its importance in preserving multi-scale features.
- Eliminating the refinement layers results in a 16% increase in MAE, validating the effectiveness of the coarse-to-fine training strategy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.