[Paper Review] Object Counting and Instance Segmentation with Image-level Supervision
This paper proposes an image-level supervised method for joint object counting and instance segmentation using a novel density map estimation approach that predicts both global counts and spatial distributions of objects. By leveraging subitizing-range annotations (1–4 objects), it achieves state-of-the-art performance in object counting and improves image-level instance segmentation by 17.8% in average best overlap on PASCAL VOC 2012.
Common object counting in a natural scene is a challenging problem in computer vision with numerous real-world applications. Existing image-level supervised common object counting approaches only predict the global object count and rely on additional instance-level supervision to also determine object locations. We propose an image-level supervised approach that provides both the global object count and the spatial distribution of object instances by constructing an object category density map. Motivated by psychological studies, we further reduce image-level supervision using a limited object count information (up to four). To the best of our knowledge, we are the first to propose image-level supervised density map estimation for common object counting and demonstrate its effectiveness in image-level supervised instance segmentation. Comprehensive experiments are performed on the PASCAL VOC and COCO datasets. Our approach outperforms existing methods, including those using instance-level supervision, on both datasets for common object counting. Moreover, our approach improves state-of-the-art image-level supervised instance segmentation with a relative gain of 17.8% in terms of average best overlap, on the PASCAL VOC 2012 dataset. Code link: https://github.com/GuoleiSun/CountSeg
Motivation & Objective
- Address the challenge of predicting both global object counts and spatial distributions of instances under weak image-level supervision.
- Reduce annotation burden by using only limited object count supervision (1–4 instances), inspired by human subitizing behavior.
- Improve image-level supervised instance segmentation by incorporating spatial density map predictions to better localize adjacent object instances.
- Demonstrate that image-level supervision with minimal count annotations can outperform methods requiring stronger instance-level supervision.
- Bridge the gap between object counting and instance segmentation by using a shared density map representation for both tasks.
Proposed method
- Construct a per-category object density map using a deep neural network trained with a novel loss function that enforces consistency between predicted density and ground-truth object counts.
- Use image-level supervision with only the total count of objects per category (limited to 1–4 instances) to train the model, reducing annotation cost.
- Introduce a penalty term in the scoring function for object proposals to favor those with predicted count = 1, improving localization of adjacent instances.
- Leverage the predicted density map to guide instance mask generation by accumulating density values within proposal regions, enhancing spatial precision.
- Train the model end-to-end using a combination of regression loss for global count and a spatial consistency loss for density map accuracy.
- Adapt the peak response map (PRM) framework for instance segmentation by integrating the predicted density map as a spatial prior to improve mask localization.
Experimental results
Research questions
- RQ1Can image-level supervision with only 1–4 object counts per image enable accurate prediction of both global object counts and spatial distributions?
- RQ2How effective is a learned density map in improving instance segmentation performance under weak supervision?
- RQ3Can subitizing-range supervision (1–4 objects) be sufficient to generalize to scenes with more than four objects?
- RQ4Does incorporating spatial density information improve localization of adjacent object instances in instance segmentation?
- RQ5Can a weakly supervised approach outperform existing methods that use stronger supervision (e.g., bounding boxes or point-level annotations) in object counting and segmentation?
Key findings
- The proposed method achieves superior object counting performance on COCO and PASCAL VOC 2007, outperforming both image-level and instance-level supervised methods in terms of RMSE across all count ranges.
- On the PASCAL VOC 2007 person category, the method achieves a GAME(3) score of 1.83, outperforming the PL-supervised LCFCN (2.80) and CSRNet (2.44).
- For image-level supervised instance segmentation on PASCAL VOC 2012, the method improves the state-of-the-art PRM baseline by 17.8% in average best overlap (ABO), reaching 44.3%.
- The method significantly improves localization of adjacent instances of the same category, such as multiple sheep or horses, which PRM fails to separate.
- The gain is most pronounced at high IoU thresholds (e.g., 0.75), indicating improved mask alignment with ground truth, due to the density map's spatial guidance.
- The model generalizes well beyond the subitizing range, accurately counting 11 persons in a heavily occluded scene despite being trained only on images with 1–4 instances.
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.