TL;DR
The paper introduces Single Instance annotated Object Detection (SIOD), a new training paradigm where only one instance per category is labeled in each image. To bridge the gap between this sparse supervision and full supervision, the authors propose DMiner, a framework that uses feature similarity and pixel-level group contrastive learning to effectively mine unlabeled objects, achieving performance near full supervision with 60% fewer instance annotations.
What Problem Does This Paper Address?
Training modern object detectors typically requires exhaustive instance-level annotations (bounding boxes for every object), which is incredibly labor-intensive. Existing alternatives have significant drawbacks:
- Weakly Supervised Object Detection (WSOD): Uses only image-level labels (e.g., "there is a dog here"). It is cheap but suffers from poor localization accuracy.
- Semi-Supervised Object Detection (SSOD): Uses a small set of fully labeled images and a large set of unlabeled ones. It struggles with "inter-image discrepancy"—the difficulty of transferring knowledge between different scenes and lighting conditions.
- Sparsely Annotated Object Detection (SAOD): Labels a random subset of instances. This can lead to category imbalance or images where some categories have no labels at all.
SIOD proposes a middle ground: label exactly one instance for every category present in an image. This transforms the difficult "inter-image" problem into a more reliable "intra-image" mining task, where the model can use a labeled "anchor" to find its unlabeled siblings in the same context.
Methods
The authors propose the Dual-Mining (DMiner) framework, which consists of two main components designed to handle missing labels without being misled by noise:
- Similarity-based Pseudo Label Generating (SPLG): Instead of relying on the detector's own potentially biased predictions, SPLG calculates the feature similarity between the single labeled reference instance and all unlabeled regions in the image. It leverages the inherent equivariance of CNNs—the idea that similar objects should produce similar feature representations—to generate pseudo-labels for the missing instances.
- Pixel-level Group Contrastive Learning (PGCL): Pseudo-labels are inherently noisy. PGCL mitigates this by applying contrastive learning at the pixel level. It groups similar features of the same category together while pushing away features from other categories and the background. Because contrastive learning focuses on the underlying structure of the data rather than explicit labels, it is naturally more tolerant to false pseudo-labels.
Additionally, the authors introduce a Score-aware Detection Evaluation Protocol (AP@S). They observed that standard COCO metrics can be misleading in sparse settings because models might predict many low-confidence boxes that happen to overlap with ground truth. AP@S averages precision across multiple confidence thresholds to ensure the model is truly confident in its detections.
Datasets
- MS COCO 2017: The primary benchmark for training and evaluation.
- Keep1-COCO2017-Train: A new dataset variant created by the authors for this study. It simulates the SIOD setting by randomly preserving only one annotation for each existing category in every image from the original COCO training set. This reduces the total number of instance annotations by approximately 60%.
Key Insights and Ideas
- Intra-image Consistency is Key: By ensuring a reference instance exists within the same image, the model avoids the domain shift issues (lighting, background, scale) that plague semi-supervised methods. The "anchor" and the "targets" share the exact same environment.
- Contrastive Learning as a Noise Filter: The "aha moment" here is using contrastive learning not just for pre-training, but as a robust supervisor during training. If a pseudo-label is wrong, its features likely won't align with the true group, and the contrastive loss will effectively "defeat" the incorrect label.
- Information Density: The results suggest that the first instance of a category in an image provides the vast majority of the learning signal. Adding every subsequent instance offers diminishing returns relative to the annotation cost.
Key Results
- Performance: On the COCO dataset, DMiner significantly outperformed SIOD baselines. For a CenterNet-Res101 backbone, it improved the comprehensive AP@S score by 4.6 points.
- Efficiency: DMiner achieved results comparable to fully supervised detection (FSOD) while using only 40% of the total instances.
- Human Labor: Practical tests with professional annotators showed that the SIOD setup reduced the average annotating time per image by 53.1% compared to full supervision.
- Qualitative Gains: Visualization shows that DMiner is particularly effective at recovering small objects and maintaining high confidence scores, whereas baseline SIOD models often produce many low-confidence, "uncertain" detections.
Limitations and Future Work
- Architecture Complexity: While DMiner works seamlessly with anchor-free detectors (like CenterNet), applying it to anchor-based models like Faster R-CNN is more complex. It requires an additional class-wise classifier branch because anchors often share the same underlying pixel-level features, making it hard to assign unique pseudo-labels.
- Annotation Cost: While 50% cheaper than full supervision, SIOD still requires a human to look at every image and draw boxes. The authors suggest that future work could explore even sparser settings, such as annotating only one instance per image regardless of the number of categories.
- Computational Overhead: The authors note that DMiner increases training time by about 1.4x and memory usage by 3x compared to a standard baseline, though this only affects the training phase.
Summary updated