Bridging Non Co-occurrence with Unlabeled In-the-wild Data for Incremental Object Detection

Na Dong, Yongqiang Zhang, Mingli Ding, Gim Hee Lee

TL;DR

This paper tackles a major hurdle in incremental object detection: the unrealistic requirement that old (base) classes must appear in the background of new (novel) class training data. The authors propose a "blind sampling" strategy to harvest relevant unlabeled data from the wild and a dual-teacher distillation framework to teach a student model both old and new tricks simultaneously, effectively eliminating the need for co-occurring classes.

What Problem Does This Paper Address?

Deep learning models are notoriously bad at multitasking over time. When you train a model on new objects (novel classes) without showing it the old ones (base classes), it quickly forgets the old ones—a phenomenon known as catastrophic forgetting.

In the sub-field of Incremental Object Detection (IOD), researchers usually "cheat" a little. They assume that even if the old classes aren't labeled in the new dataset, they still appear in the background of the images. Existing methods rely on this "co-occurrence" to keep the model's memory fresh.

However, in the real world, this assumption often fails. If you train a robot to recognize office supplies and then move it to a construction site to learn about tools, the office supplies won't be in the background. This paper addresses this non co-occurrence problem, making incremental learning much more practical for "in-the-wild" applications.

Methods

The authors introduce two main components to bridge the gap between base and novel classes:

1. Blind Sampling Strategy

Since we can't use the original base data, the authors look for "in-the-wild" unlabeled data. But not all unlabeled data is useful. They use a Blind Sampling Strategy to pick the best images:

  • Dual-Model Filtering: An image is selected if either a pre-trained base model or a novel-class model (trained only on the new data) gives a high-probability response for any object.
  • Consistency Check: To ensure quality, they apply random scaling and flipping. If the model's predictions aren't consistent across these transformations, the image is tossed out.
  • BBox Voting: They use an ensemble of these transformed predictions to create high-quality "pseudo ground truth" bounding boxes.
Figure 1: Overview of our proposed blind sampling strategy. Refer to the text for more details.

2. Dual-Teacher Distillation

Once they have a relevant unlabeled dataset ($D_{unlabel}$), they use a Dual-Teacher setup to train a student model. The base model and the novel model act as teachers.

  • Class Remodeling: This is the "secret sauce." Since the base teacher only knows $B$ classes and the novel teacher only knows $N$ classes, the student (which must know $B+N$ classes) can't compare its outputs directly to them. The authors remodel the student's output probabilities so that classes unknown to a specific teacher are treated as "background," making the math work.
  • Multi-Level Distillation: They don't just distill the final predictions. They use RoI Masks to focus on important image regions and Response Heatmaps to ensure the student's internal features match the teachers' "attention" at both the image and instance levels.
Overview of the dual-teacher distillation framework

Datasets

The authors evaluated their method on two gold-standard benchmarks:

  • PASCAL VOC 2007: Used for various "base + novel" splits (e.g., 19+1, 15+5, 10+10).
  • MS COCO 2014: Used for a large-scale "40+40" split.
  • Unlabeled Data: They pulled "in-the-wild" images from the Open Images dataset and a subset of MS COCO, specifically excluding images that contained any of the target categories to test the most difficult "w/o category" scenario.

Key Insights and Ideas

  • False Positives are Friends: One surprising insight is that the unlabeled data doesn't strictly need to contain the target objects. Even "false positives"—objects that look similar to the target classes—provide useful feature information that helps the model maintain its internal representations.
  • Remodeling is Essential: You can't just average two teachers. By explicitly remodeling the probability space to account for what each teacher doesn't know, the authors prevent the teachers from giving conflicting instructions to the student.
  • Masking the Noise: Standard feature distillation often fails in IOD because the background is too noisy. Using RoI masks derived from the sampling step ensures the model only learns from the most informative parts of the unlabeled images.

Key Results

The proposed method significantly outperforms previous state-of-the-art (SOTA) methods, especially when co-occurrence is absent.

  • VOC 19+1 (No Co-occurrence): While the previous SOTA (Shmelkov et al.) dropped to 61.4% mAP, this method achieved 70.2% mAP, coming very close to the "upper bound" of 72.3% (training on all data at once).
  • COCO 40+40: On the much harder COCO dataset, the method achieved 22.5% mAP without co-occurrence, actually beating the previous SOTA that did have the advantage of co-occurrence (21.3%).
Table 2: Results of "19+1" on VOC test set. "1-19" and "20" ("tv") are base and novel classes. "base | novel | all" is mAPs for base, novel and all classes. Row 1-3 are baselines without incremental learning.

Limitations and Future Work

  • Architecture Specificity: The current framework is built on the Faster R-CNN (a two-stage detector). While effective, it's unclear how easily these distillation losses would translate to one-stage detectors like YOLO or SSD, which have different internal structures.
  • Sampling Overhead: While the "blind sampling" is effective, it requires running multiple passes (with transformations) through two different models, which adds computational cost before training even begins.
  • Scaling to Many Increments: The experiments mostly focus on one or two "steps" of incremental learning. Testing how this holds up over 10 or 20 sequential updates (where the "base" model itself is an incremental model) remains an open question.

Summary updated

BibTeX
@inproceedings{dong2021bridging,
  author = {Na Dong and Yongqiang Zhang and Mingli Ding and Gim Hee Lee},
  title = {{Bridging Non Co-occurrence with Unlabeled In-the-wild Data for Incremental Object Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure