Sampling Techniques for Large-Scale Object Detection From Sparsely Annotated Objects

Yusuke Niitani, Takuya Akiba, Tommi Kerola, Toru Ogawa, Shotaro Sano, Shuji Suzuki

Abstract

Efficient and reliable methods for training of object detectors are in higher demand than ever, and more and more data relevant to the field is becoming available. However, large datasets like Open Images Dataset v4 (OID) are sparsely annotated, and some measure must be taken in order to ensure the training of a reliable detector. In order to take the incompleteness of these datasets into account, one possibility is to use pretrained models to detect the presence of the unverified objects. However, the performance of such a strategy depends largely on the power of the pretrained model. In this study, we propose part-aware sampling, a method that uses human intuition for the hierarchical relation between objects. In terse terms, our method works by making assumptions like "a bounding box for a car should contain a bounding box for a tire". We demonstrate the power of our method on OID and compare the performance against a method based on a pretrained model. Our method also won the first and second place on the public and private test sets of the Google AI Open Images Competition 2018.

Introduction: The Challenge of Sparse Annotation

In deep learning, training typically assumes that all objects in an image are labeled. However, as datasets scale to millions of images, human annotation recall drops. The Open Images Dataset v4 (OID), for instance, has an estimated annotation recall of only 43%.

This sparsity creates a significant hurdle for training object detectors. Standard loss functions treat any region without a label as "background" (a negative sample). If an annotator misses a "tire" on a "car," the detector is penalized for finding it, effectively learning that a tire is background. This "false negative" signal severely degrades performance, especially for smaller "part" objects.

Figure 5: Sparse annotations in large datasets often lead to many objects being incorrectly treated as background during training.

Proposed Methodology

Part-Aware Sampling

The core innovation of this work is part-aware sampling. Instead of relying on complex models to predict missing labels, the authors use basic human intuition about hierarchical object relationships. We know that a "Person" bounding box likely contains parts like "Face," "Hand," and "Foot."

The rule is straightforward: if a "parent" object (e.g., Person) is verified as present, the training algorithm is instructed to ignore the classification loss for its "part" categories within that parent's bounding box—unless those parts are explicitly labeled. By setting the loss weight to zero for these regions, the model is not forced to learn that a visible but unlabeled part is "background."

Figure 1: Hierarchical relationships between parent objects (e.g., Person) and their constituent parts (e.g., Face, Hand) are used to guide the sampling process.

Pseudo Label-Guided Sampling

As a secondary strategy, the authors explored a "teacher-student" approach. An initial model acts as an "oracle" to detect unverified objects in the training set. These predicted regions are then ignored during the training of the final model. Per-category confidence thresholds, calibrated by precision, were used to refine these pseudo-labels.

Experimental Evaluation

The methods were evaluated on two primary datasets:

  • Open Images Dataset v4 (OID): 1.6M images with 500 categories, characterized by high sparsity (~7 verified categories per image).
  • Sparse COCO: A synthetic dataset created by randomly deleting labels from MS COCO to simulate sparsity in a controlled environment where the "true" ground truth was known.

Key Results

The impact of part-aware sampling was most pronounced on "part" categories. On OID, average precision (AP) for parts like human hands, ears, and car tires improved by 9.2 points on average. For specific categories like "human ear" and "human hand," the improvement reached a staggering 22.7 AP.

Overall validation mAP increased from 64.49 to 65.18. These sampling techniques were the "secret sauce" that allowed the authors' team (Preferred Networks) to win 1st and 2nd place on the public and private leaderboards of the Google AI Open Images Competition 2018.

Discussion and Conclusion

The success of part-aware sampling highlights that "ignoring is safer than guessing" in the presence of ambiguous data. Human-defined hierarchical priors provide a robust and computationally inexpensive way to mitigate the damage of missing labels.

However, the method currently relies on manual mapping of parent-part relationships and does not address missing annotations for independent objects (e.g., a missing "chair"). Future work may explore automated discovery of these hierarchies or more sophisticated oracle models for non-hierarchical objects.

Summary updated

BibTeX
@inproceedings{niitani2019sampling,
  author = {Yusuke Niitani and Takuya Akiba and Tommi Kerola and Toru Ogawa and Shotaro Sano and Shuji Suzuki},
  title = {{Sampling Techniques for Large-Scale Object Detection From Sparsely Annotated Objects}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  url = {https://openreview.net/forum?id=IAoW1D6TJp},
}
Figure