Incremental Few-Shot Object Detection for Robotics

Yiting Li, Haiyue Zhu, Sichao Tian, Fan Feng, Jun Ma, Chek Sing Teo, Cheng Xiang, Prahlad Vadakkepat, Tong Heng Lee

TL;DR

This paper introduces a novel framework for Incremental Few-Shot Object Detection (CI-FSOD) specifically designed for robotics. It enables robots to learn new object detection tasks using very few examples without forgetting previously learned knowledge, achieving state-of-the-art performance.

What Problem Does This Paper Address?

Robots operating in real-world scenarios need to continuously learn new tasks and recognize new objects. This is challenging because:

  1. Few-Shot Learning: New objects often appear with very limited annotated data, making traditional training difficult.
  2. Incremental Learning: Robots must learn these new tasks without catastrophically forgetting what they've already learned from previous tasks. This is a common problem in deep learning, known as "catastrophic forgetting."
  3. Robotics Constraints: Robots often have limited computational resources (e.g., on-edge devices), so solutions must be efficient in terms of memory and computation.
  4. Data Privacy/Availability: Re-accessing or storing all past training data for retraining is often impractical or undesirable.

Existing methods struggle to balance these requirements, often sacrificing performance on old classes when learning new ones, or requiring excessive memory.

Methods

The proposed CI-FSOD framework equips the Faster R-CNN detector with three key components:

  • Dual-Embedding-Space (DES) Architecture: This is the core innovation. It decouples the learning of base (pre-trained) classes and novel (newly learned) classes into two separate "spaces."
    • Base Retention Space: This space focuses on preserving performance on previously learned base classes. It achieves this by freezing most of the pre-trained network and only updating the final classification layer for new classes.
  • Novel Adaptation Space: This space is dedicated to learning new classes effectively. It fine-tunes the feature extraction layers, box regressor, and the new classification layer, allowing for better adaptation to novel object features.
  • Sequential Model Fusion (SMF): To combat catastrophic forgetting in the novel adaptation space, SMF is proposed. It's an improved version of Incremental Moment Matching (IMM). Instead of just interpolating model weights at the end of training, SMF performs weight merging iteratively at the end of each training epoch. This encourages the model's learned parameters to stay closer together across tasks, promoting long-term memory.
  • Inter-Task Class Separation Loss (Lmgn): This novel regularization technique aims to prevent confusion between classes from different tasks. It works by pushing the decision boundaries of new classes further away from those of old classes in the feature space. Crucially, it achieves this by storing representative feature embeddings (not raw images) from previous tasks, making it memory-efficient and privacy-preserving.

Datasets

The paper evaluates its approach on the MS-COCO dataset. They split the 80 classes into 60 base classes for pre-training and 20 novel classes for incremental learning, introducing one new class per task. They also evaluate on a Pascal VOC dataset in a cross-domain setting (MS-COCO to VOC) to test generalization.

Key Insights and Ideas

  • Decoupling is Key: Separating the learning of old and new knowledge into distinct pathways (DES) is crucial for simultaneously preserving old knowledge and adapting to new.
  • Iterative Consolidation: Applying weight merging (SMF) more frequently (per epoch) rather than just once at the end of training significantly improves long-term memory retention.
  • Feature Embeddings for Memory: Storing only representative feature embeddings, rather than full images, is a practical and privacy-conscious way to enable inter-task separation without large memory footprints.
  • Robotics Relevance: The framework's focus on efficiency and continuous learning makes it highly suitable for real-world robotic applications where resources are limited and adaptability is paramount.

Key Results

The proposed CI-FSOD framework significantly outperforms existing state-of-the-art methods.

  • On MS-COCO, the method achieves a 2.4 AP gain over previous SOTA for 10-shot learning.
  • The DES architecture effectively balances base-class retention and novel-class adaptation.
  • SMF demonstrates superior performance over standard IMM for incremental learning.
  • The inter-task class separation loss consistently improves performance compared to standard cross-entropy loss.
  • The cross-domain evaluation on Pascal VOC confirms the method's strong generalization capabilities.

Limitations and Future Work

  • Computational Cost: While more efficient than re-training from scratch, the incremental learning process still involves fine-tuning and regularization, which adds computational overhead compared to a static detector.
  • Number of Classes: The paper focuses on a sequential introduction of classes. Scaling to a very large number of incremental tasks might still present challenges in terms of cumulative performance degradation or computational burden.
  • Future Work: The authors suggest exploring more advanced regularization techniques and potentially adapting the framework to other object detection architectures beyond Faster R-CNN. Further investigation into the trade-offs between performance and computational efficiency for different robotic platforms would also be valuable.

Summary updated

BibTeX
@inproceedings{li2020incremental,
  author = {Yiting Li and Haiyue Zhu and Sichao Tian and Fan Feng and Jun Ma and Chek Sing Teo and Cheng Xiang and Prahlad Vadakkepat and Tong Heng Lee},
  title = {{Incremental Few-Shot Object Detection for Robotics}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
}
Figure