Noisy Annotation Refinement for Object Detection

Jiafeng Mao, Qing Yu, Yoko Yamakata, Kiyoharu Aizawa

Introduction

Training high-performance object detectors typically necessitates large, meticulously hand-labeled datasets. However, producing such "gold standard" data is both time-consuming and expensive. In practice, many real-world applications rely on cheaper alternatives, such as crowdsourcing or automated labeling via pre-trained models. These methods frequently introduce "localization noise"—bounding boxes that are misaligned, overly large, or too small.

State-of-the-art detectors, such as Faster R-CNN, exhibit significant sensitivity to this noise. As the inaccuracy of training annotations increases, test performance degrades sharply. This paper addresses the challenge of training robust detectors when the provided "ground truth" is fundamentally flawed.

Methodology: The Alternating Refinement Framework

The authors propose a joint optimization strategy that treats training annotations as variables to be updated alongside network weights. Instead of static labels, the framework employs an iterative "self-cleaning" cycle.

The Refinement Cycle

The process consists of the following steps:

  1. Initial Training: The model is trained on the noisy dataset for several epochs to establish a baseline understanding of object features.
  2. Prediction: For each training image, the model generates a set of bounding box predictions ($P$).
  3. Matching: The model compares its predictions to the noisy annotations ($G$). For each original annotation, it identifies the prediction with the highest Intersection over Union (IoU) and a matching class label.
  4. Weighted Update: If the IoU exceeds a predefined threshold, the annotation is updated via a weighted average: $$g^* = \frac{w \cdot p^* + g}{w + 1}$$ where $w$ is a hyperparameter representing the model's "trust" in its own predictions.

  5. Retraining: The model continues training using these refined annotations ($g^*$) for the subsequent epoch.

The alternating refinement framework iteratively updates network parameters and annotations to improve localization accuracy.

This framework is architecture-agnostic and has been successfully integrated into both two-stage (e.g., Faster R-CNN) and single-stage (e.g., RefineDet) detectors.

Experimental Evaluation

The method was evaluated using both synthetic and real-world noisy data:

  • PASCAL VOC 2007: Uniform and Gaussian noise were injected into the standard training set, varying both the "noise rate" (percentage of affected boxes) and "noise range" (magnitude of displacement).
  • Global Wheat Head Detection (GWHD): A real-world dataset where annotations are naturally noisy due to difficult conditions like occlusion and small object sizes.

Key Results and Insights

The refinement framework consistently outperformed baselines that trained on noisy data without correction.

  • Performance Gains: On PASCAL VOC with high noise (100% rate), the baseline Faster R-CNN mAP of 54.40% improved to 58.56% with refinement. Similar gains were observed with RefineDet (51.25% to 57.21%).
  • Real-World Application: On the GWHD dataset, [email protected]:.95 improved from 47.91 to 48.92, demonstrating efficacy on natural noise.
  • Loss-Noise Correlation: The authors found that training loss correlates with noise levels. By refining labels to minimize loss, the model naturally converges toward more accurate localizations.
Visual example of bounding box refinement on a sample image from the dataset.

Conclusion and Future Work

While the proposed framework effectively handles localization noise, it currently assumes that class labels are correct and the number of objects is fixed. It does not yet account for "false positive" annotations or missing objects. Future research aims to extend this joint optimization to handle classification noise and variable object counts, moving toward a fully automated "self-cleaning" data pipeline.

Summary updated

BibTeX
@inproceedings{mao2021noisy,
  author = {Jiafeng Mao and Qing Yu and Yoko Yamakata and Kiyoharu Aizawa},
  title = {{Noisy Annotation Refinement for Object Detection}},
  booktitle = {BMVC},
  year = {2021},
}
Figure