Introduction
Object detection in densely packed scenes, such as retail shelves or industrial rebar bundles, presents a unique challenge for computer vision. While models like Faster R-CNN are highly effective, they are notoriously "data-hungry." In dense environments, a single image can contain hundreds of objects, making the manual annotation of bounding boxes prohibitively expensive and time-consuming.
Semi-Supervised Learning (SSL) aims to mitigate this by leveraging a small amount of labeled data alongside a large pool of unlabeled data. However, standard SSL methods often struggle with dense scenes due to two primary issues: the difficulty of aligning predictions between models in crowded spaces and the neglect of the Region Proposal Network (RPN) in the learning process. This paper introduces a novel framework designed to overcome these hurdles using a "dual consistency" approach.
Methodology
The proposed framework is built upon the Mean Teacher architecture. In this setup, a "Student" model learns from both labeled data and "pseudo-labels" generated by a "Teacher" model, which is a moving average of the student's weights. The core technical contribution consists of two new consistency losses:
- IoU-aware Consistency Loss: In dense scenes, simple spatial distance is often insufficient for matching student predictions with teacher pseudo-labels. This loss uses Intersection-over-Union (IoU) for robust alignment and implements a reweighting strategy. High-IoU pairs (high confidence) are given more weight, while low-IoU pairs (potential false alignments) are suppressed, preventing the student from learning from the teacher's errors.
- Proposal Consistency Loss: Most SSL methods focus only on final predictions. This framework forces the student’s RPN proposals to match the teacher’s in terms of both coordinates and objectness scores. This ensures that the model learns how to propose regions effectively even from unlabeled images.
Datasets and Evaluation
The researchers evaluated their approach on two challenging benchmarks:
- SKU-110K: A standard public dataset featuring densely packed retail shelf images.
- RebarDSC: A new dataset introduced in this study, containing 2,125 high-resolution images of industrial rebar bundles with over 350,000 manual annotations (averaging 165 rebars per image).
Key Results
The "dual consistency" method consistently outperformed supervised-only baselines and existing SSL competitors like CSD and STAC across various labeling ratios.
On the SKU-110K dataset, with only 10% of the data labeled, the method achieved a 59.2% [email protected], a significant 7.8% improvement over the supervised baseline. Similar gains were observed on the RebarDSC dataset. Notably, the most substantial improvements occurred at higher IoU thresholds, suggesting that the dual consistency approach specifically helps the model pinpoint object boundaries more accurately in crowded spaces.
Conclusion
By addressing the specific difficulties of alignment and RPN learning in crowded environments, this paper provides a robust framework for semi-supervised object detection. The results demonstrate that it is possible to significantly reduce manual annotation burdens while maintaining high localization accuracy in complex, real-world industrial and retail scenarios. Future work will focus on reducing computational overhead and exploring the generalizability of this approach to other detector architectures.
Summary updated