CFA: Constraint-Based Finetuning Approach for Generalized Few-Shot Object Detection

Abstract

Few-shot object detection (FSOD) seeks to detect novel categories with limited data by leveraging prior knowledge from abundant base data. Generalized few-shot object detection (G-FSOD) aims to tackle FSOD without forgetting previously seen base classes and, thus, accounts for a more realistic scenario, where both classes are encountered during test time. While current FSOD methods suffer from catastrophic forgetting, G-FSOD addresses this limitation yet exhibits a performance drop on novel tasks compared to the state-of-the-art FSOD. In this work, we propose a constraint-based finetuning approach (CFA) to alleviate catastrophic forgetting, while achieving competitive results on the novel task without increasing the model capacity. CFA adapts a continual learning method, namely Average Gradient Episodic Memory (A-GEM) to G-FSOD. Specifically, more constraints on the gradient search strategy are imposed from which a new gradient update rule is derived, allowing for better knowledge exchange between base and novel classes. To evaluate our method, we conduct extensive experiments on MS-COCO and PASCAL-VOC datasets. Our method outperforms current FSOD and G-FSOD approaches on the novel task with minor degeneration on the base task. Moreover, CFA is orthogonal to FSOD approaches and operates as a plug-and-play module without increasing the model capacity or inference time.

Cite

Text

Guirguis et al. "CFA: Constraint-Based Finetuning Approach for Generalized Few-Shot Object Detection." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2022. doi:10.1109/CVPRW56347.2022.00449

Markdown

[Guirguis et al. "CFA: Constraint-Based Finetuning Approach for Generalized Few-Shot Object Detection." IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops, 2022.](https://mlanthology.org/cvprw/2022/guirguis2022cvprw-cfa/) doi:10.1109/CVPRW56347.2022.00449

BibTeX

@inproceedings{guirguis2022cvprw-cfa,
  title     = {{CFA: Constraint-Based Finetuning Approach for Generalized Few-Shot Object Detection}},
  author    = {Guirguis, Karim and Hendawy, Ahmed and Eskandar, George and Abdelsamad, Mohamed and Kayser, Matthias and Beyerer, Jürgen},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops},
  year      = {2022},
  pages     = {4038-4048},
  doi       = {10.1109/CVPRW56347.2022.00449},
  url       = {https://mlanthology.org/cvprw/2022/guirguis2022cvprw-cfa/}
}