Learning Intelligent Dialogs for Bounding Box Annotation

Ksenia Konyushkova, Jasper R. R. Uijlings, Christoph H. Lampert, Vittorio Ferrari

Abstract

Creating high-quality object detection datasets is a labor-intensive process. This paper introduces Intelligent Annotation Dialogs (IAD), a framework that treats dataset labeling as a strategic game. By training an agent to choose between verifying machine-generated bounding boxes or asking a human to draw one from scratch, the system significantly reduces the time and cost required to build large-scale datasets while maintaining high detector performance.

Introduction

Creating large-scale datasets for object detection is notoriously expensive. For instance, the official protocol for the ILSVRC (ImageNet) dataset requires approximately 30 seconds of human labor per bounding box. While researchers have attempted to lower this cost using "box verification"—where a human simply confirms or rejects a computer-proposed box—this method is only efficient if the detector's proposals are accurate. In cluttered images or with weak detectors, a human might reject dozens of boxes, making the process slower than manual drawing.

The challenge lies in the lack of a "one-size-fits-all" strategy. Easy images with strong detectors favor verification, while hard images favor manual drawing. This research addresses how to automatically choose the best sequence of actions for every unique image-class pair to minimize total annotation time.

Methodology

The authors propose the Intelligent Annotation Dialog (IAD) framework to manage the interaction between the computer and the human annotator. Two types of agents were developed:

  1. IAD-Prob (Probabilistic): This agent uses a classifier to predict the probability ($p$) that a proposed box will be accepted. Mathematically, the agent should only ask for verification if the probability of acceptance is higher than the ratio of verification time to drawing time ($t_V / t_D$). If no boxes meet this threshold, it triggers a manual drawing request.
  2. IAD-RL (Reinforcement Learning): This agent uses Q-learning to learn a policy directly from experience. It receives a reward based on negative time spent, learning to minimize the temporal cost of obtaining a successful annotation.
The IAD agent workflow, illustrating the decision process between box verification and manual drawing.

Both agents utilize features such as detector confidence scores, box size, and class-level statistics to make real-time decisions.

Experimental Setup

The approach was evaluated using the PASCAL VOC 2007 dataset across several simulated real-world conditions:

  • Detector Strength: Ranging from weakly-supervised (image labels only) to fully-supervised detectors.
  • Interface Speed: Comparing traditional box drawing (25.5s) to "Extreme Clicking" (7s).
  • Quality Thresholds: Testing different Intersection over Union (IoU) requirements for box acceptance.

Results and Discussion

IAD agents consistently outperformed fixed strategies. A core insight is that the decision to verify is relative to cost; if manual drawing is fast (e.g., Extreme Clicking), the accuracy threshold for a machine-proposed box to be worth verifying becomes significantly higher.

Key findings include:

  • Speedup: In scenarios with weak detectors and high-quality requirements, IAD-Prob reduced annotation time by roughly 50% compared to standard verification series.
  • Performance Parity: Detectors trained on boxes collected via IAD reached 98% of the mean Average Precision (mAP) of those trained on expensive, 100% ground-truth manual annotations.
  • Dynamic Adaptation: The agents automatically adapt to detector evolution. As a detector is re-trained and becomes more reliable, the agent shifts from requesting manual drawings to favoring verifications.
Comparison of annotation efficiency, showing the percentage of images completed over time for different strategies.

Conclusion

The IAD framework demonstrates that intelligent task allocation can significantly optimize the human-in-the-loop annotation process. While the current model assumes constant human response times and does not account for the mental cost of task-switching, it provides a robust foundation for future work in variable annotation modeling and complex tasks like semantic segmentation.

Summary updated

BibTeX
@inproceedings{konyushkova2018learning,
  author = {Ksenia Konyushkova and Jasper R. R. Uijlings and Christoph H. Lampert and Vittorio Ferrari},
  title = {{Learning Intelligent Dialogs for Bounding Box Annotation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00956},
}
Figure