Active and Incremental Learning with Weak Supervision

Clemens-Alexander Brust, Christoph Käding, Joachim Denzler

Abstract

Training object detectors for dynamic, real-world data streams, such as wildlife camera traps, is often hindered by the high cost of manual annotation. This paper presents a framework that integrates active learning, incremental learning, and weak supervision to maintain model performance with minimal human intervention. By selecting highly uncertain images for expert verification rather than manual bounding box creation, the system achieves significant accuracy improvements. Experimental results on the iDiv camera trap dataset demonstrate that labeling as few as 32 targeted images can nearly double detection accuracy on animal instances.

Introduction

Standard object detection models typically rely on static, large-scale datasets. However, in applications like automated wildlife surveillance, data distributions shift due to seasonal changes, varying lighting, and the arrival of new species. Retraining models from scratch is computationally prohibitive, and manual labeling is time-intensive. This research addresses the challenge of keeping a YOLO-based detector current in a continuous data stream while minimizing the expert's annotation burden.

Methodology

The proposed system rests on three pillars: active learning, incremental learning, and weak supervision.

Active Learning for Detection

The authors adapt classification-based uncertainty metrics, such as margin sampling (1-vs-2), to the detection task. Uncertainty is calculated for every predicted bounding box and aggregated at the image level. Among various aggregation strategies, the 'Sum' metric—which totals the 1-vs-2 uncertainty of all detections—proved most effective.

The active learning pipeline: predicting on unlabeled data, calculating per-detection value, and aggregating to determine the most informative images for labeling.

Incremental Learning and Weak Supervision

To avoid "catastrophic forgetting," the model is fine-tuned using mini-batches composed of 50% new data and 50% historical examples. The annotation process is streamlined through a "propose-and-confirm" GUI. Instead of drawing boxes, experts verify or correct the model's high-uncertainty predictions, a form of weak supervision that significantly reduces interaction time.

Results and Discussion

The system was evaluated on the PASCAL VOC benchmark and a real-world camera trap dataset from Peneda-Gerês National Park.

Uncertainty and Aggregation

A key finding was that simple aggregation metrics like 'Sum' outperformed complex YOLO-specific heuristics. This approach naturally handles empty images; images with no detections receive a zero score, preventing the system from wasting expert time on background frames until the model begins to detect potential objects.

An example of model uncertainty: the detector misidentifies cows as dogs with high uncertainty, making this image a prime candidate for active learning selection.

Performance Gains

On the camera trap dataset, the initial model accuracy of 66.5% rose to 78.7% after labeling only 512 actively selected images. Most notably, on images containing animals, labeling just 32 images increased accuracy from 25.4% to 42.6%. The incremental strategy maintained performance on old classes with only a minor mAP drop (from 36.7% to 31.9%).

Conclusion and Future Work

The study demonstrates that combining active learning with weak supervision allows for rapid model adaptation in changing environments. While current metrics are effective, they remain heuristic. Future research focuses on Expected Model Output Change (EMOC), a more rigorous criterion that quantifies how much a new label will alter the model's internal representation, potentially further optimizing the selection process.

Summary updated

BibTeX
@article{brust2020active,
  author = {Clemens-Alexander Brust and Christoph Käding and Joachim Denzler},
  title = {{Active and Incremental Learning with Weak Supervision}},
  journal = {Künstliche Intell.},
  year = {2020},
  doi = {10.1007/s13218-020-00631-4},
}
Figure