[Paper Review] Stacked Pooling: Improving Crowd Counting by Boosting Scale Invariance
This paper proposes stacked pooling and multi-kernel pooling to enhance scale invariance in crowd counting by leveraging cross-scale visual similarity. By using larger, multi-receptive-field pooling kernels—especially through stacked pooling—the method improves feature consistency across scale variations, achieving superior performance over vanilla pooling on benchmark datasets like ShanghaiTech-B and UCF-QNRF.
In this work, we explore the cross-scale similarity in crowd counting scenario, in which the regions of different scales often exhibit high visual similarity. This feature is universal both within an image and across different images, indicating the importance of scale invariance of a crowd counting model. Motivated by this, in this paper we propose simple but effective variants of pooling module, i.e., multi-kernel pooling and stacked pooling, to boost the scale invariance of convolutional neural networks (CNNs), benefiting much the crowd density estimation and counting. Specifically, the multi-kernel pooling comprises of pooling kernels with multiple receptive fields to capture the responses at multi-scale local ranges. The stacked pooling is an equivalent form of multi-kernel pooling, while, it reduces considerable computing cost. Our proposed pooling modules do not introduce extra parameters into model and can easily take place of the vanilla pooling layer in implementation. In empirical study on two benchmark crowd counting datasets, the stacked pooling beats the vanilla pooling layer in most cases.
Motivation & Objective
- Address the challenge of significant scale variation in crowd counting due to diverse person sizes and densities.
- Highlight the importance of scale invariance in crowd counting models, driven by cross-scale visual similarity across images.
- Improve CNN robustness to scale variation without increasing model parameters or hyperparameters.
- Develop efficient, non-parametric pooling modules that can seamlessly replace standard pooling layers in existing architectures.
Proposed method
- Introduce multi-kernel pooling, which applies multiple pooling kernels (e.g., 2×2, 4×4, 8×8) in parallel to capture multi-scale local responses.
- Propose stacked pooling as an equivalent, computationally efficient alternative to multi-kernel pooling by stacking smaller pooling operations sequentially.
- Ensure the proposed pooling modules are non-parametric, adding no extra learnable parameters or hyperparameters.
- Integrate the pooling modules into existing CNN architectures (e.g., Base-M Net, Wide-Net, Deep-Net) as drop-in replacements for vanilla pooling layers.
- Use exponential moving average (EMA) smoothing to visualize and compare training and validation learning curves.
- Quantify scale invariance using a variation ratio metric γ, measuring feature map consistency across scaled inputs.
Experimental results
Research questions
- RQ1How does cross-scale visual similarity in crowd images affect the need for scale invariance in crowd counting models?
- RQ2Can pooling modules be enhanced to improve scale invariance without adding parameters or increasing model complexity?
- RQ3How does stacked pooling compare to vanilla and multi-kernel pooling in terms of performance and generalization on crowd counting benchmarks?
- RQ4What is the impact of pooling kernel size on the scale invariance of CNNs under significant scale variation?
- RQ5Does the proposed method show particular advantages in high-density crowd scenarios?
Key findings
- Stacked pooling outperforms vanilla pooling in most experiments on both ShanghaiTech-B and UCF-QNRF datasets, demonstrating improved generalization and robustness.
- The variation ratio γ of feature maps is significantly lower for stacked pooling than for vanilla pooling, especially on high-density images, indicating stronger scale invariance.
- On high-density images, the kernel set K = {2,4,8} in stacked pooling yields substantially better performance than a single kernel K = {2}, confirming its effectiveness under severe scale variation.
- Learning curves show that stacked pooling-based models generalize better than vanilla pooling models, particularly in early training stages, despite slightly higher training MAE.
- The stacked pooling module maintains strong performance even in deeper and wider networks (e.g., Deep-Net), indicating its scalability and practicality in real-world applications.
- Insight studies confirm that larger pooling ranges enhance scale invariance, and stacked pooling effectively captures this benefit with reduced computational cost.
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.