Semi-Supervised Crowd Counting via Swin Transformer with Adaptive Soft Threshold and Contrastive Learning
Manual annotation for crowd counting remains labor-intensive and costly. Although existing semi-supervised methods partially alleviate this burden, they still face significant challenges regarding the quality of generated pseudo-labels and the utilization of unlabeled data. To address these issues, we propose a novel semi-supervised crowd counting framework, called Point-Adaptive Teacher (PAT). This framework integrates Adaptive Soft Threshold (AST) and contrastive learning to enhance pseudo-label quality and effectively leverage unlabeled data. Specifically, we employ the Swin Transformer as the backbone and develop Swin-P2PNet, which captures global contextual information through hierarchical window attention, improving the accuracy of pseudo-labels. Additionally, we design the AST that dynamically adjusts the sample loss weight by combining confidence and uncertainty predictions, thereby alleviating the effect of noise in pseudo-labels. Finally, we introduce a contrastive learning strategy requiring no extra parameters. This strategy enhances the model’s ability to learn latent representations from unlabeled data. Extensive experiments have been conducted on three public datasets, namely ShanghaiTech, JHU-Crowd++, and UCF-QNRF. The results demonstrate that our method achieves performance comparable to state-of-the-art methods.
Authors
- Mingwei Yao (ORCID: https://orcid.org/0009-0000-8754-5588)
- Xiaokang Zhou (ORCID: https://orcid.org/0000-0003-3488-4679)
- Kehua Guo (ORCID: https://orcid.org/0000-0003-4143-6399)
- Lingyan Zhang (ORCID: https://orcid.org/0000-0003-4191-9059)
- Xuyang Tan (ORCID: https://orcid.org/0000-0002-4595-1905)
Institutions
- Central South University (CN)
- RIKEN Center for Advanced Intelligence Project (JP)
- Kansai University (JP)
Publication Details
- Journal
- ACM Transactions on Intelligent Systems and Technology
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1145/3744747
- Primary Topic
- Video Surveillance and Tracking Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00