Abstract
Incremental Object Detection (IOD) is often hindered by catastrophic forgetting, where models lose prior knowledge when learning new classes. Traditional replay-based solutions require significant storage for old images, which is often impractical for edge devices and sensitive to privacy concerns. This paper introduces One-Shot Replay (OSR), a memory-efficient framework that stores only a single representative cropped object per class. By utilizing a copy-paste strategy, Mixup-based object augmentation, and feature augmentation via class analogies, OSR achieves state-of-the-art performance on standard benchmarks like Pascal VOC and MS COCO. Notably, OSR reduces memory requirements by up to 150x compared to traditional image-replay methods.
Introduction
Deep learning models typically struggle with "catastrophic forgetting"—the rapid loss of previously learned information upon training on new data. In object detection, this problem is compounded by the need to maintain both classification accuracy and localization precision. While "replay" methods—storing a subset of old images to mix with new training data—are effective, they suffer from high storage costs and potential privacy violations.
The OSR framework addresses these limitations by identifying the minimum data necessary to preserve prior knowledge. By shifting from image-level replay to object-level replay, the authors provide a scalable solution for incremental learning on resource-constrained devices.
Methodology: The OSR Framework
The OSR framework consists of three primary pillars designed to maximize the utility of a single stored exemplar per class.
1. One-Shot Replay via Copy-Paste
Instead of full images, OSR stores exactly one cropped object per old class. These "exemplars" are selected based on their proximity to the class mean in a pretrained feature space. During training, these crops are randomly pasted onto new images or neutral backgrounds, ensuring the model encounters old and new classes simultaneously.
2. Object Augmentation (Mixup)
To prevent the model from overfitting to the single stored crop, OSR employs a Mixup-based scheme. By interpolating an old object crop with a new one, the system creates synthetic training examples. This enhances the robustness of the Region Proposal Network (RPN) and the detection head.
3. Feature Augmentation via Analogy
OSR leverages the relationship between old and new classes. By constructing a relation graph, the model can use features from a visually similar new class (e.g., "bus") to regularize and enrich the representation of an old class (e.g., "train"). This "learning by analogy" compensates for the scarcity of old data.
Experimental Results
The authors evaluated OSR on Pascal VOC 2007 and MS COCO 2014. In the VOC 10+10 setting (learning 10 classes then 10 more), OSR achieved 69.8% mAP, surpassing previous state-of-the-art methods.
Memory Efficiency
A key contribution of OSR is its drastic reduction in memory footprint. Cropped objects are significantly smaller than high-resolution images, and storing only one per class further minimizes overhead.
As shown in the figure above, object crops consistently require 3.9x to 6.9x less memory than full images. For the VOC 2007 dataset, OSR requires a mere 0.3 MB to 0.5 MB of storage, compared to approximately 75 MB for traditional replay methods—a 150x improvement.
Conclusion
One-Shot Replay demonstrates that a single, well-chosen exemplar is sufficient to mitigate catastrophic forgetting in incremental object detection. By combining object-level replay with sophisticated augmentation and distillation techniques, OSR provides a privacy-preserving, memory-efficient path forward for lifelong learning in computer vision. Future work may focus on reducing the dependency on pretrained models for exemplar selection and exploring context synthesis for replayed objects.
Summary updated