Efficient Few-Shot Object Detection via Knowledge Inheritance

Ze Yang, Chi Zhang, Ruibo Li, Yi Xu, Guosheng Lin
3/23/2022
cs.CVcs.AIcs.LG

Official code: Ze-Yang/Efficient-FSOD (38 stars, Python, Apache-2.0, last commit 2024-01-17).

Abstract

Few-shot object detection (FSOD), which aims at learning a generic detector that can adapt to unseen tasks with scarce training samples, has witnessed consistent improvement recently. However, most existing methods ignore the efficiency issues, e.g., high computational complexity and slow adaptation speed.

Show full abstract

Notably, efficiency has become an increasingly important evaluation metric for few-shot techniques due to an emerging trend toward embedded AI. To this end, we present an efficient pretrain-transfer framework (PTF) baseline with no computational increment, which achieves comparable results with previous state-of-the-art (SOTA) methods. Upon this baseline, we devise an initializer named knowledge inheritance (KI) to reliably initialize the novel weights for the box classifier, which effectively facilitates the knowledge transfer process and boosts the adaptation speed. Within the KI initializer, we propose an adaptive length re-scaling (ALR) strategy to alleviate the vector length inconsistency between the predicted novel weights and the pretrained base weights. Finally, our approach not only achieves the SOTA results across three public benchmarks, i.e., PASCAL VOC, COCO and LVIS, but also exhibits high efficiency with 1.8-100x faster adaptation speed against the other methods on COCO/LVIS benchmark during few-shot transfer. To our best knowledge, this is the first work to consider the efficiency problem in FSOD. We hope to motivate a trend toward powerful yet efficient few-shot technique development. The codes are publicly available at https://github.com/Ze-Yang/Efficient-FSOD.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The official implementation of Efficient Few-Shot Object Detection via Knowledge Inheritance (TIP 2022)

384Python, CudaJun 18, 20202 years agoApache-2.0
efficiency-analysisfew-shot-learningobject-detection

Similar Papers

Cite this paper

@article{yang2022efficient,
  title  = {Efficient Few-Shot Object Detection via Knowledge Inheritance},
  author = {Ze Yang and Chi Zhang and Ruibo Li and Yi Xu and Guosheng Lin},
  year   = {2022},
  eprint = {2203.12224},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.12224}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.12224.svg)](https://codeofpaper.com/paper/2203.12224)

Discussion