Co-mining: Self-Supervised Learning for Sparsely Annotated Object Detection

Tiancai Wang, Tong Yang, Jiale Cao, Xiangyu Zhang

Abstract

Sparsely Annotated Object Detection (SAOD) presents a significant challenge where only a subset of objects in training images are labeled, leading standard detectors to treat unlabeled objects as background. This paper introduces Co-mining, a novel self-supervised training mechanism that utilizes a Siamese network to mine these missing instances. By converting potential false negatives into positive supervision signals, Co-mining improves detector accuracy without incurring additional computational costs during inference.

The Challenge of Sparse Annotation

In ideal scenarios, every object in a training dataset is accurately labeled. However, in large-scale or complex datasets, human annotators frequently miss objects. This results in Sparsely Annotated Object Detection (SAOD). The primary technical hurdle is that standard detection algorithms interpret any unlabeled region as "background" (a negative sample). When an unlabeled object is present, the model receives a "false negative" gradient, which misguides training and degrades final performance.

Comparison of different training paradigms for sparsely annotated object detection. (a) Standard training, (b) Re-weighting, (c) Ignoring unlabeled regions, and (d) the proposed Co-mining approach.

Previous strategies to mitigate this issue typically involved defensive measures, such as down-weighting the loss of suspected missing objects or ignoring those regions entirely. Co-mining shifts this paradigm from damage mitigation to resource utilization, actively turning missing data into useful supervision.

Methodology: The Co-mining Framework

Co-mining employs a self-supervised approach inspired by co-training and Siamese networks. The architecture consists of two identical branches that share weights during training.

Siamese Architecture and Co-generation

During each training step, the model processes two versions of the same data: the original image ($x$) and an augmented version ($x_a$). Each branch generates its own set of predictions. These predictions are then processed by a Co-generation module, which performs several critical filtering steps:

  1. Confidence Filtering: Low-confidence bounding boxes are discarded.
  2. Redundancy Removal: Non-Maximum Suppression (NMS) is applied to eliminate duplicate detections.
  3. Overlap Check: Boxes that significantly overlap with existing ground-truth labels are removed to prevent redundancy.
The detailed architecture of the Co-mining framework, illustrating the dual-branch Siamese network, the Co-generation module, and the cross-supervision mechanism.

Cross-Supervision

The high-confidence predictions from Branch A serve as "pseudo-labels" for Branch B, and vice versa. By merging these pseudo-labels with the sparse ground truth, the model creates a more complete supervision set for the opposing branch. This multi-view learning is crucial; the data augmentation ensures that the two branches see the data differently, preventing them from collapsing into a state where they simply reinforce each other's errors.

Experimental Evaluation

The researchers evaluated Co-mining on the MS COCO dataset across several simulated sparse settings:

  • Easy, Hard, and Extreme: Created by randomly erasing instance annotations at varying rates.
  • COCO-50miss: A specific benchmark where 50% of annotations per object category are removed.
  • Full Dataset: Testing on the standard COCO dataset to determine if the model can identify unlabeled objects even in supposedly "complete" data.

Key Results

  • Performance Gains: On RetinaNet, Co-mining improved Average Precision (AP) by 1.4% to 2.1% across various sparse settings compared to standard baselines.
  • State-of-the-Art Comparison: On the COCO-50miss benchmark, Co-mining achieved 33.9% AP, significantly outperforming other specialized SAOD methods like Part-aware sampling (28.4%) and Background Recalibration Loss (32.7%).
  • Mining "Hidden" Objects: Even on the "Full" COCO dataset, the method improved results from 36.0 to 36.8 AP, suggesting that Co-mining can successfully identify and learn from unlabeled objects present in standard datasets.

Conclusion and Future Work

Co-mining demonstrates that missing annotations can be transformed from a source of noise into a valuable learning signal. Because the two branches share weights, the secondary branch can be discarded after training, resulting in zero extra computational overhead during inference. While the method is highly effective, the authors note that the quality of pseudo-labels can still be affected by early-training noise and incorrect classifications. Future research will focus on integrating advanced noisy-label handling and uncertainty-based filtering to further refine the pseudo-labeling process.

Summary updated

BibTeX
@inproceedings{wang2021co,
  author = {Tiancai Wang and Tong Yang and Jiale Cao and Xiangyu Zhang},
  title = {{Co-mining: Self-Supervised Learning for Sparsely Annotated Object Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i4.16385},
}
Figure