Context-Transformer: Tackling Object Confusion for Few-Shot Detection

Ze Yang, Yali Wang, Xianyu Chen, Jianzhuang Liu, Yu Qiao
3/16/2020
cs.CVcs.AIcs.LG
transformer-attention

Official code: Ze-Yang/Context-Transformer (108 stars, Python, MIT, PyTorch, last commit 2021-06-29).

Abstract

Few-shot object detection is a challenging but realistic scenario, where only a few annotated training images are available for training detectors. A popular approach to handle this problem is transfer learning, i.e., fine-tuning a detector pretrained on a source-domain benchmark.

Show full abstract

However, such transferred detector often fails to recognize new objects in the target domain, due to low data diversity of training samples. To tackle this problem, we propose a novel Context-Transformer within a concise deep transfer framework. Specifically, Context-Transformer can effectively leverage source-domain object knowledge as guidance, and automatically exploit contexts from only a few training images in the target domain. Subsequently, it can adaptively integrate these relational clues to enhance the discriminative power of detector, in order to reduce object confusion in few-shot scenarios. Moreover, Context-Transformer is flexibly embedded in the popular SSD-style detectors, which makes it a plug-and-play module for end-to-end few-shot learning. Finally, we evaluate Context-Transformer on the challenging settings of few-shot detection and incremental few-shot detection. The experimental results show that, our framework outperforms the recent state-of-the-art approaches.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Context-Transformer: Tackling Object Confusion for Few-Shot Detection, AAAI 2020

10812Python, CMar 23, 20205 years agoMIT
few-shotobject-detectionpytorchrfbnettransfer-learning+1 more

Similar Papers

Cite this paper

@article{yang2020contexttransformer,
  title  = {Context-Transformer: Tackling Object Confusion for Few-Shot Detection},
  author = {Ze Yang and Yali Wang and Xianyu Chen and Jianzhuang Liu and Yu Qiao},
  year   = {2020},
  eprint = {2003.07304},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.07304}
}

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/2003.07304.svg)](https://codeofpaper.com/paper/2003.07304)

Discussion