Low-shot Object Detection via Classification Refinement

Yiting Li, Yu Cheng, Lu Liu, Sichao Tian, Haiyue Zhu, Cheng Xiang, Prahlad Vadakkepat, Chek Sing Teo, Tong Heng Lee

Abstract

Incremental few-shot learning is highly expected for practical robotics applications. On one hand, robot is desired to learn new tasks quickly and flexibly using only few annotated training samples; on the other hand, such new additional tasks should be learned in a continuous and incremental manner without forgetting the previous learned knowledge dramatically. In this work, we propose a novel Class-Incremental Few-Shot Object Detection (CI-FSOD) framework that enables deep object detection network to perform effective continual learning from just few-shot samples without re-accessing the previous training data. We achieve this by equipping the widely-used Faster-RCNN detector with three elegant components. Firstly, to best preserve performance on the pre-trained base classes, we propose a novel Dual-Embedding-Space (DES) architecture which decouples the representation learning of base and novel categories into different spaces. Secondly, to mitigate the catastrophic forgetting on the accumulated novel classes, we propose a Sequential Model Fusion (SMF) method, which is able to achieve long-term memory without additional storage cost. Thirdly, to promote inter-task class separation in feature space, we propose a novel regularization technique that extends the classification boundary further away from the previous classes to avoid misclassification. Overall, our framework is simple yet effective and outperforms the previous SOTA with a significant margin of 2.4 points in AP performance.

Introduction

In robotics, two major challenges collide: Few-Shot Learning (learning from very little data) and Incremental Learning (learning new things over time). Standard deep learning models suffer from "catastrophic forgetting"—when trained on a new set of objects, they tend to overwrite the weights used to recognize previous objects. While some methods solve this by keeping a "memory buffer" of old images, this is often impractical for robots due to storage limits, privacy concerns, or the sheer variety of tasks.

The proposed CI-FSOD framework aims to be data-efficient, incremental (learning new classes without re-accessing old data), and stable (preserving performance on original "base" classes).

Methodology

The framework builds upon the Faster R-CNN detector, introducing three key innovations:

Dual-Embedding-Space (DES) Architecture

Instead of a single classification head, the model uses two parallel paths. The "Base Retention Space" keeps the original knowledge frozen to prevent forgetting, while the "Novel Adaption Space" is fine-tuned to learn new categories. Their outputs are combined during the final prediction stage.

The DES Architecture decouples base and novel category representation.

Sequential Model Fusion (SMF)

To prevent the model from drifting too far during fine-tuning, a weight-merging strategy is implemented. At the end of every training epoch, the new weights are blended with the weights from the start of the epoch ($w_{merged} = \alpha w_{initial} + (1-\alpha) w_{trained}$). This acts as a "tether" that keeps the model in a stable region of the parameter space, achieving long-term memory without additional storage cost.

Inter-Task Separation Loss

To avoid confusing new objects with old ones, the authors store "representative feature embeddings" of old classes. A margin-based loss function pushes the features of new objects away from these old anchors in the embedding space, promoting inter-task class separation.

Experimental Results

The researchers evaluated their framework using MS-COCO (60 base, 20 novel classes introduced sequentially) and Pascal VOC (for cross-dataset evaluation).

Performance comparison on Pascal VOC showing significant improvements over SOTA.

The CI-FSOD framework significantly outperformed previous state-of-the-art (SOTA) methods. On the MS-COCO 10-shot benchmark, the model achieved 8.6 AP for novel classes, a 2.4-point increase over the previous best method. Notably, the model maintained a steady 28.8 AP on base classes, showing zero degradation. In cross-domain scenarios (COCO to Pascal VOC), the model achieved 15.1 AP in the 10-shot setting, whereas previous methods like ONCE struggled at just 2.6 AP.

Conclusion

The CI-FSOD framework demonstrates that decoupling embedding spaces and using weight merging can effectively mitigate catastrophic forgetting in low-shot object detection. While feature drift remains a challenge for very long-term incremental steps, the use of feature anchors provides a memory-efficient alternative to raw data storage, making it highly suitable for mobile robotics.

Summary updated

BibTeX
@inproceedings{li2020low,
  author = {Yiting Li and Yu Cheng and Lu Liu and Sichao Tian and Haiyue Zhu and Cheng Xiang and Prahlad Vadakkepat and Chek Sing Teo and Tong Heng Lee},
  title = {{Low-shot Object Detection via Classification Refinement}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2020},
}
Figure