Abstract
Acquiring count annotations generally requires less human effort than point-level and bounding box annotations. Thus, we propose the novel problem setup of localizing objects in dense scenes under this weaker supervision. We propose LOOC, a method to Localize Overlapping Objects with Count supervision. We train LOOC by alternating between two stages. In the first stage, LOOC learns to generate pseudo point-level annotations in a semi-supervised manner. In the second stage, LOOC uses a fully-supervised localization method that trains on these pseudo labels. The localization method is used to progressively improve the quality of the pseudo labels. We conducted experiments on popular counting datasets. For localization, LOOC achieves a strong new baseline in the novel problem setup where only count supervision is available. For counting, LOOC outperforms current state-of-the-art methods that only use count as their supervision.
Introduction
In computer vision, training models for object localization typically necessitates expensive human labor, such as drawing bounding boxes or providing point-level annotations for every instance. In contrast, "count labels"—specifying the total number of objects in an image—are significantly cheaper and faster to collect. However, these labels provide no explicit spatial information.
This challenge is particularly acute in dense scenes where objects, such as penguins in a colony or vehicles in traffic, frequently overlap and vary in scale. Traditional weakly-supervised methods often struggle in these environments as they assume objects are salient and well-separated. LOOC (Localize Overlapping Objects with Count supervision) addresses this "where" problem by learning to pinpoint object locations using only the total count as supervision.
Methodology
LOOC operates through a two-stage alternating training cycle that iteratively refines object localization.
- Pseudo-Label Generation: The framework utilizes a class-agnostic proposal generator (e.g., Selective Search) to identify potential object regions. Based on the known ground truth count, the top-scoring proposals are selected, and their centroids serve as "pseudo" point-level labels.
- Localization Training: A fully-supervised localization network, specifically LC-FCN, is trained using these pseudo-labels. LC-FCN is optimized to output a single "blob" per object, which is well-suited for counting tasks.
- Iterative Feedback and Curriculum Learning: The trained localizer generates a Class Probability Map (CPM), which is used to re-score the original proposals. This feedback loop allows the model to distinguish objects of interest from background clutter. A curriculum approach is employed, gradually increasing the number of selected proposals until it matches the ground truth count, allowing the model to learn from "easier" instances first.
Experiments and Results
The authors evaluated LOOC on four diverse dense-scene benchmarks: UCSD (pedestrians), Trancos (vehicles), Mall (crowds), and Penguins (wildlife).
Quantitative Performance
LOOC was compared against state-of-the-art counting-only methods like Glance and baselines like TopK.
- Counting Accuracy: LOOC consistently achieved lower Mean Absolute Error (MAE) than Glance. For instance, on the Trancos dataset, LOOC reached an MAE of 8.68, significantly better than Glance's 11.66.
- Localization Performance: Using the Grid Average Mean Absolute Error (GAME) metric, LOOC demonstrated superior localization compared to the TopK baseline, validating the effectiveness of the iterative pseudo-label refinement.
Qualitative Analysis
Despite the lack of explicit spatial supervision during training, LOOC's predicted locations align closely with actual object centers, even in highly congested scenes.
Conclusion and Future Work
LOOC establishes a strong baseline for object localization under count-only supervision. While it bridges the gap between weak supervision and dense localization, a performance gap remains compared to fully-supervised models. Future research directions include developing "proposal-free" methods to reduce dependency on external generators and exploring additional regularization techniques for scenarios with limited training images.
Summary updated