TCFormer: A 5M-Parameter Transformer with Density-Guided Aggregation for Weakly-Supervised Crowd Counting
Qiang Guo, Rubo Zhang, Bingbing Zhang, Junjie Liu, Jianqing Liu

TL;DR
TCFormer is a lightweight transformer-based crowd counting model that uses density-guided feature aggregation and density-level classification to achieve high accuracy with only 5 million parameters, suitable for resource-limited environments.
Contribution
The paper introduces TCFormer, a novel ultra-lightweight transformer framework with a density-aware feature aggregation mechanism and density-level classification loss for weakly-supervised crowd counting.
Findings
Achieves competitive accuracy on multiple benchmarks.
Uses only 5 million parameters, suitable for edge devices.
Outperforms existing lightweight models in crowd counting.
Abstract
Crowd counting typically relies on labor-intensive point-level annotations and computationally intensive backbones, restricting its scalability and deployment in resource-constrained environments. To address these challenges, this paper proposes the TCFormer, a tiny, ultra-lightweight, weakly-supervised transformer-based crowd counting framework with only 5 million parameters that achieves competitive performance. Firstly, a powerful yet efficient vision transformer is adopted as the feature extractor, the global context-aware capabilities of which provides semantic meaningful crowd features with a minimal memory footprint. Secondly, to compensate for the lack of spatial supervision, we design a feature aggregation mechanism termed the Learnable Density-Weighted Averaging module. This module dynamically re-weights local tokens according to predicted density scores, enabling the network…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsVideo Surveillance and Tracking Methods · Anomaly Detection Techniques and Applications · Fire Detection and Safety Systems
