Crowd counting—the task of estimating the number of people in dense images—is a critical computer vision application for public safety and urban planning. However, the primary bottleneck in developing robust models is the high cost of manual annotation. Traditional fully supervised methods require annotators to mark every individual head in an image, a process that can take thousands of hours for large-scale datasets like UCF-QNRF.
A new approach, "Crowd Counting with Sparse Annotation," proposes a way to slash this labor while maintaining or even exceeding state-of-the-art accuracy. The core insight is that labeling a few heads everywhere is significantly more valuable for a neural network than labeling every head in a small, localized area.
The Sparse Annotation Strategy
To mitigate labeling costs, researchers have previously explored Partial Annotation (PA), where only specific rectangular patches of an image are fully labeled. However, PA often suffers from information redundancy within the labeled patches and fails to capture the diverse crowd distributions in the rest of the image.
The authors propose Sparse Annotation (SA) as a more efficient alternative. In SA, a fixed percentage of individuals (e.g., 10% to 50%) are randomly sampled and labeled across the entire image. This captures the "global diversity" of the scene—including varying perspectives, lighting conditions, and densities—without the exhaustive effort of a full count.
Progressive Point Matching (PPM) Network
Training a model on sparse points presents a unique challenge: the network must distinguish between unlabeled individuals and actual background regions. To address this, the authors developed the Progressive Point Matching (PPM) network, which uses a "self-teaching" mechanism via pseudo-labels.
The PPM architecture operates in two main stages:
- Proposal Matching Network (PMN): A base classifier that generates point proposals and matches them to the sparse ground truth using the Hungarian algorithm.
- Performance Restoration Network (PRN): This stage acts as a self-correction mechanism. It takes high-confidence predictions from the first stage and treats them as pseudo-labels to fill in the gaps left by the sparse annotation.
- Progressive Proposal Selection (PPS): To prevent the model from learning from its own mistakes, the authors use a moving threshold. Early in training, the model only trusts its most certain predictions; as it improves, it incorporates more pseudo-labels to refine its understanding of the crowd geometry.
Experimental Results
The authors validated their approach on five major crowd-counting benchmarks, including ShanghaiTech and NWPU-Crowd. The results demonstrate that the PPM network with sparse annotation can achieve performance comparable to full supervision.
Key findings include:
- Exceeding Full Supervision: On the ShanghaiTech Part A dataset, the PPM model using only 80% sparse annotation achieved a Mean Absolute Error (MAE) of 52.2, actually outperforming the fully supervised P2PNet baseline (52.7).
- Efficiency at Low Ratios: With only 20% of the labels, the model achieved an MAE of 72.2—drastically better than the baseline's 336.3 at the same ratio.
- Superiority over Semi-Supervised Methods: Compared to other methods like DACount, the PPM approach reduced error by a large margin across various labeling ratios.
Conclusion
The "Crowd Counting with Sparse Annotation" framework demonstrates that global diversity in labeling is more valuable than local density. By combining the Sparse Annotation strategy with the Progressive Point Matching network, the authors provide a scalable solution that significantly reduces human labor while maintaining state-of-the-art performance. While the model struggles at extremely low ratios (e.g., 5%), it represents a major step toward more efficient computer vision training.
Summary updated