Introduction: The Challenge of Continual Object Detection
Deep learning models are notoriously susceptible to "catastrophic forgetting." When a model is trained on a new task, it often overwrites the weights used for previous tasks, losing its prior knowledge. In Continual Object Detection (CLOD), this problem is exacerbated by the missing annotations problem.
Consider a scenario where a model learns to detect "toys" in Task 1 and "mugs" in Task 2. An image in Task 2 might contain both a mug and a toy, but typically only the mug is labeled. If the model correctly detects the toy, but the ground truth only specifies the mug, the model is penalized. It begins to treat the toy as "background," effectively unlearning Task 1. While previous research has relied on complex distillation techniques to mitigate this, these methods often struggle to scale or maintain high accuracy over long sequences of new classes.
Methodology: The RCLPOD Framework
The authors propose RCLPOD (Replay Consolidation with Label Propagation for Object Detection), a framework designed to make "Replay"—the practice of maintaining a small buffer of old images—effective for detection. RCLPOD is built on four primary pillars:
- Label Propagation (LP): This serves as the "consolidation" step. In the forward step, the model uses its previous version to predict and "fill in" labels for old classes in new data. In the backward step, it examines old images in the replay buffer and uses the current model to identify and label new classes that were previously ignored.
- Optimizing Class Distribution in Memory (OCDM): To prevent the replay buffer from becoming unbalanced (e.g., dominated by common classes like "person"), OCDM uses a greedy selection algorithm to ensure a diverse and balanced set of classes, promoting class fairness.
- Custom Masking Loss: To handle overlapping objects where a new class and an old class occupy the same space, this loss function ignores the contribution of new classes when calculating loss for samples retrieved from the replay buffer.
- Feature Distillation (FD): To maintain stability, the internal representations (features) of the new model are aligned with the old one, preventing the model's backbone from drifting too far during incremental training.
Experimental Evaluation
The researchers evaluated RCLPOD on two industry-standard benchmarks using the modern, anchor-free YOLOv8 architecture:
- PASCAL VOC 2017: Tested on various splits, including the long-stream 15p1 (15 initial classes followed by 1 at a time) and 10p10.
- MS COCO: Focused on the challenging 40p10 scenario, adding 10 classes at a time across four tasks.
Results and Key Insights
RCLPOD consistently outperformed standard Replay, Learning without Forgetting (LwF), and Pseudo-Labeling methods:
- VOC 15p1: RCLPOD achieved 56.1 mAP, a significant improvement over standard Replay (39.0 mAP) and the previous state-of-the-art OCDM (49.6 mAP).
- COCO 40p10: In this complex 80-class environment, RCLPOD reached 20.0 mAP, more than doubling the performance of standard Replay (8.3 mAP).
The study demonstrates that if managed correctly, replay-based methods can provide a superior balance of stability (remembering old tasks) and plasticity (learning new tasks) compared to pure distillation. By using the model's own predictions as pseudo-labels, RCLPOD prevents the model from falling into the "background trap," where old classes are accidentally treated as negative samples.
Conclusion
RCLPOD offers a robust solution to the missing label problem in continual learning. While the label propagation steps add some computational overhead during training, the approach remains lightweight enough for edge devices in fields like autonomous driving and robotics. Future work will focus on further improving plasticity in long-stream scenarios and refining the balance between backbone stability and head adaptation.
Summary updated