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

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

This NeurIPS 2021 paper addresses a critical but often overlooked flaw in how we train AI to learn new things over time. By using unlabeled "in-the-wild" data as a bridge and a dual-teacher distillation system, the authors propose a new framework for Incremental Object Detection (IOD) that prevents catastrophic forgetting—even when old and new object classes never appear in the same image.

The Problem: Catastrophic Forgetting and Co-occurrence Bias

Deep learning models are notoriously forgetful. When you train a model to detect "dogs" (base classes) and then later try to teach it to detect "birds" (novel classes), the model often loses its ability to find dogs. This phenomenon is known as catastrophic forgetting.

Existing solutions for IOD usually rely on a hidden "cheat code": they assume that even if you are training on new images of birds, those images might still contain dogs in the background. This is called co-occurrence. In the real world, however, this isn't guaranteed. If you move a robot from a warehouse to a hospital, the objects it sees will be entirely different. When co-occurrence is absent, current state-of-the-art models fail significantly.

Methods

The authors introduce two main innovations to bridge this "non co-occurrence" gap without requiring the original training data:

1. Blind Sampling Strategy

Since the original dataset (e.g., containing dogs) is no longer available, the authors look for these base classes in a massive pool of unlabeled, "in-the-wild" images. They use the old model (the base teacher) and a model trained only on the new data (the novel teacher) to find images that trigger high responses for either class. They employ a "consistency check"—flipping and scaling images—to ensure these detections are robust before adding them to a small, curated unlabeled dataset.

Blind Sampling Strategy

2. Dual-Teacher Distillation

Next, they train a "student" model using the curated unlabeled data. The student learns from the two teachers simultaneously through three mechanisms:

  • Remodeling: The output layers are adjusted so the teachers can "talk" to a student that knows more total classes than either teacher does individually.
  • Image-level Distillation: Region of Interest (RoI) masks are used to tell the student which parts of an image are important for the old classes versus the new classes, preventing the teachers from giving conflicting instructions.
  • Instance-level Distillation: Response heatmaps transfer fine-grained knowledge about object shapes and locations from the teachers to the student.
Dual-Teacher Distillation Framework

Datasets

The researchers evaluated their method using standard computer vision benchmarks:

  • PASCAL VOC 2007: Used for various "base + novel" splits (e.g., 19 base classes + 1 novel class).
  • MS COCO 2014: A larger, more complex dataset used for a "40+40" split.
  • In-the-wild Data: Images from Open Images and MS COCO served as the unlabeled pool to "bridge" the gap for the PASCAL VOC experiments.

Key Insights and Results

  • Unlabeled Data as a Proxy: You don't need the original labeled data to keep a model from forgetting. A teacher model that already knows the old classes can "label" new, unlabeled data well enough to keep the knowledge alive.
  • The "False Positive" Benefit: Interestingly, even "false positives" in the unlabeled data (things that look like a dog but aren't) are useful for training because they help the model maintain the internal feature representations it developed during its first training phase.
  • Exposing the Co-occurrence Bias: The paper provides a detailed statistical breakdown showing just how much existing benchmarks rely on classes appearing together, proving that previous "incremental" successes were partially due to this overlap.

The proposed method significantly outperformed existing techniques in scenarios where classes do not co-occur:

  • PASCAL VOC (19+1 split): While the previous state-of-the-art dropped to 61.4% mAP (mean Average Precision) when co-occurrence was removed, this method maintained a high 70.2% mAP.
  • MS COCO (40+40 split): The method achieved 22.5% mAP, which actually outperformed some existing methods that did have the advantage of co-occurrence (21.3%).
  • Ablation Studies: Results showed that all three levels of distillation (R-CNN, image-level, and instance-level) were necessary to achieve peak performance, with the blind sampling strategy acting as the foundational "unlock" for the whole process.

Limitations and Future Work

  • Data Dependency: The method requires access to a large, diverse pool of unlabeled "in-the-wild" data. If the unlabeled pool is too different from the target classes, the "bridge" might be too weak.
  • Computational Overhead: The blind sampling and dual-teacher setup add complexity and time to the training process compared to simple fine-tuning.
  • Future Directions: The authors suggest this framework could be extended to more complex sequential learning (e.g., learning 10 classes, then 10 more, then another 10) and exploring more efficient ways to sample the "in-the-wild" data.

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