[Paper Review] Towards Using Count-level Weak Supervision for Crowd Counting
This paper proposes Multiple Auxiliary Task Training (MATT), a weakly-supervised crowd counting method that leverages count-level annotations by introducing multiple auxiliary branches to regularize density map predictions. By enforcing consistency across branches and alignment with total counts, MATT significantly improves performance over naive count-regression baselines, achieving state-of-the-art results on both standard and newly introduced datasets with minimal location-level annotations.
Most existing crowd counting methods require object location-level annotation, i.e., placing a dot at the center of an object. While being simpler than the bounding-box or pixel-level annotation, obtaining this annotation is still labor-intensive and time-consuming especially for images with highly crowded scenes. On the other hand, weaker annotations that only know the total count of objects can be almost effortless in many practical scenarios. Thus, it is desirable to develop a learning method that can effectively train models from count-level annotations. To this end, this paper studies the problem of weakly-supervised crowd counting which learns a model from only a small amount of location-level annotations (fully-supervised) but a large amount of count-level annotations (weakly-supervised). To perform effective training in this scenario, we observe that the direct solution of regressing the integral of density map to the object count is not sufficient and it is beneficial to introduce stronger regularizations on the predicted density map of weakly-annotated images. We devise a simple-yet-effective training strategy, namely Multiple Auxiliary Tasks Training (MATT), to construct regularizes for restricting the freedom of the generated density maps. Through extensive experiments on existing datasets and a newly proposed dataset, we validate the effectiveness of the proposed weakly-supervised method and demonstrate its superior performance over existing solutions.
Motivation & Objective
- To address the high annotation cost of location-level supervision in crowd counting by leveraging easily obtainable count-level annotations.
- To investigate whether count-level weak supervision can effectively improve model generalization and performance.
- To design a training strategy that effectively regularizes density maps predicted from count-level annotated images.
- To validate the effectiveness of auxiliary tasks and asymmetry training in improving model robustness and accuracy.
- To release a new dataset collected via progressive image addition/removal to enable evaluation of count-level weak supervision.
Proposed method
- Proposes Multiple Auxiliary Task Training (MATT), which introduces multiple auxiliary prediction branches to generate diverse yet consistent density maps from the same feature map.
- Imposes two loss terms per auxiliary branch: (1) the integral of the predicted density map must match the ground-truth count, and (2) the predicted density maps from different branches must be consistent.
- Uses an asymmetry training strategy where only the primary branch learns from ground-truth annotations, while auxiliary branches learn from the primary branch’s predictions and the count label, preventing noisy gradient flow.
- Applies the method in a weakly-supervised setting: a small subset of images have location-level annotations (dot maps), while the majority have only count-level annotations.
- Employs a shared feature extractor across all branches, with each branch producing a separate density map for the same input image.
- Uses standard crowd counting loss (e.g., L1 or L2) on the primary branch and auxiliary supervision to enhance feature learning without requiring additional annotations.
Experimental results
Research questions
- RQ1Can count-level annotations, which are easily obtainable, effectively improve crowd counting performance when used in weakly-supervised learning?
- RQ2Does naive count-regression loss fail to constrain density map predictions adequately, leading to suboptimal performance?
- RQ3Can auxiliary tasks that encourage consistency across multiple density map predictions improve model generalization on weakly-supervised data?
- RQ4Is asymmetry in training—where auxiliary tasks do not update the primary branch—essential for preventing gradient noise and improving performance?
- RQ5To what extent can the proposed method leverage large-scale count-level annotated data to outperform fully-supervised baselines?
Key findings
- The proposed MATT method achieves a mean absolute error (MAE) of 80.1 on the ShanghaiTech Part_A dataset, significantly outperforming the naive count-regression baseline (MAE 90.8).
- Using 4 to 6 auxiliary branches yields the best performance, with fewer branches (e.g., 2) performing worse than the baseline, indicating the importance of diverse supervision signals.
- Removing the asymmetry training strategy degrades performance to MAE 89.0 and MSE 140.6, validating that preventing gradient flow from auxiliary to primary branches is crucial.
- On fully-annotated data, MATT only slightly improves performance (MAE 104.6) compared to single-task learning (MAE 106.5), indicating that the method’s strength lies in exploiting weak supervision, not multi-task learning per se.
- The newly introduced dataset demonstrates that count-level annotations collected via progressive image manipulation are effective for training and enable reliable evaluation of weakly-supervised methods.
- Combining both count-level and consistency losses across auxiliary branches leads to the best performance, confirming the effectiveness of the multi-branch regularization strategy.
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.