Taste More, Taste Better: Diverse Data and Strong Model Boost Semi-Supervised Crowd Counting
Maochen Yang, Zekun Li, Jian Zhang, Lei Qi, Yinghuan Shi
TL;DR
This work targets the semi-supervised crowd counting problem under limited labeled data and challenging scenes. It introduces Taste More Taste Better (TMTB), a framework that combines diffusion-based Inpainting Augmentation with a Visual State Space Model (VSSM) backbone and an Anti-Noise classification head within a Mean Teacher paradigm to produce robust pseudo-supervision. Key innovations include a foreground-preserving inpainting strategy guided by count-interval predictions, an EMA-based inconsistency filter for unreliable augmentations, and a dual-headed architecture that learns both exact density maps and interval-based counts. Across four benchmark datasets and multiple labeling regimes, TMTB achieves state-of-the-art MAEs, demonstrating strong label-efficiency and cross-dataset generalization, with notable improvements such as a 12.4% MAE reduction on JHU-Crowd++ at 5% labels.
Abstract
Semi-supervised crowd counting is crucial for addressing the high annotation costs of densely populated scenes. Although several methods based on pseudo-labeling have been proposed, it remains challenging to effectively and accurately utilize unlabeled data. In this paper, we propose a novel framework called Taste More Taste Better (TMTB), which emphasizes both data and model aspects. Firstly, we explore a data augmentation technique well-suited for the crowd counting task. By inpainting the background regions, this technique can effectively enhance data diversity while preserving the fidelity of the entire scenes. Secondly, we introduce the Visual State Space Model as backbone to capture the global context information from crowd scenes, which is crucial for extremely crowded, low-light, and adverse weather scenarios. In addition to the traditional regression head for exact prediction, we employ an Anti-Noise classification head to provide less exact but more accurate supervision, since the regression head is sensitive to noise in manual annotations. We conduct extensive experiments on four benchmark datasets and show that our method outperforms state-of-the-art methods by a large margin. Code is publicly available on https://github.com/syhien/taste_more_taste_better.
