TL;DR
This paper introduces Inversed Objects Replay (IOR), a novel method for incremental object detection that tackles catastrophic forgetting without relying on expensive generative models. IOR efficiently generates old-class samples by inverting the existing detector and intelligently reuses these samples to improve performance, especially in scenarios where old-class objects are absent.
What Problem Does This Paper Address?
Incremental Object Detection (IOD) aims to train object detectors on a sequence of datasets, where new classes are introduced over time. A major challenge in this process is "catastrophic forgetting," where the model's performance on previously learned classes degrades significantly as it learns new ones. While some methods try to mitigate this by generating synthetic "old-class" samples, these approaches often require training and storing separate, computationally expensive generative models. This becomes a bottleneck, especially in resource-constrained environments. Furthermore, existing generation methods can be redundant, producing many samples that don't significantly contribute to performance. This paper specifically addresses the challenging scenario of "non co-occurrence," where new-class images do not contain any old-class objects, making it harder to retain knowledge of older classes without explicit replay.
Methods
IOR proposes a three-pronged approach to address the limitations of existing IOD methods:
- Inverse Detector Generation: Instead of training a new generative model, IOR "inverts" the existing incremental detector. This means using the detector's own learned parameters to generate new images that contain old-class objects. This process is framed as an optimization problem where pixels are initialized randomly and then adjusted to satisfy the detector's loss function, effectively creating synthetic old-class data. Regularization terms are used to ensure the generated images are realistic.
- Augmented Replay: To combat the redundancy in sample generation, IOR employs "augmented replay." This involves cropping the generated old-class objects and strategically placing them into new-class images. This reuse of generated objects reduces the need to generate a massive number of samples, making the process more efficient.
- High-Value Knowledge Distillation: Even with replayed objects, the background in images can overwhelm the subtle features of the old-class objects, hindering effective knowledge transfer. IOR proposes "high-value distillation" that specifically focuses on distilling knowledge from regions containing generated objects and unlabeled real objects, ignoring irrelevant background information. This is applied to both feature and logit layers of the detector.
Datasets
The proposed method is evaluated on the MS COCO 2017 dataset. The experiments are set up in two scenarios:
- Non co-occurrence: Images with old and new classes are separated, ensuring old classes are absent in incremental datasets.
- Co-occurrence: Images with both old and new classes are present in incremental datasets.
Key Insights and Ideas
- Inverting the Detector is Cheaper: The core idea of using the detector itself to generate data is a significant departure from traditional methods that require separate, costly generative models. This drastically reduces computational overhead and storage requirements.
- Less is More for Generation: The paper demonstrates that generating a small number of representative old-class objects is sufficient to significantly improve performance, challenging the notion that massive sample generation is always necessary.
- Targeted Distillation is Crucial: Simply distilling all features and logits can be detrimental when old-class objects are scarce or overwhelmed by background. Focusing distillation on the relevant object regions (generated or otherwise) is key to effective knowledge transfer.
- IOR Excels in Challenging Scenarios: The method shows particular strength in non co-occurrence scenarios, where traditional methods struggle due to the lack of old-class data.
Key Results
- IOR achieves state-of-the-art performance in non co-occurrence scenarios for both one-step and multi-step IOD tasks.
- In the "40+40" non co-occurrence setting, IOR achieved a significant improvement of 6.5% in old-class AP when high-value distillation was applied, demonstrating the effectiveness of the combined components.
- The method shows minimal performance degradation (0.5% AP gap) even when generating only a few objects per class.
- IOR is highly efficient, with generation taking only 10 minutes for the "40+40" setting on an NVIDIA RTX 4090, which is negligible compared to the incremental training time. This contrasts with other methods that require significant storage (e.g., 5GB for SDDGR) or extensive training for generative models.
Limitations and Future Work
- Realism vs. Accuracy: The paper notes that while regularization terms (R(I)) improve the realism of generated objects, they don't necessarily lead to increased IOD accuracy, suggesting that detector-specific features are more critical than photorealism.
- Efficiency of Inversing Loss: The ablation study indicates that the primary detection loss (Ldetect) contributes more to accuracy than the regularization terms (RBN, Rprior) in the inversing loss. This suggests potential for further optimization in the regularization strategy.
- Future Work: The paper implicitly suggests that further exploration into optimizing the generation process and distillation strategies could yield even better results. The efficiency and effectiveness of IOR in resource-constrained settings also open avenues for deployment in real-world applications.
Summary updated