Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection

Feng Liu, Xiaosong Zhang, Zhiliang Peng, Zonghao Guo, Fang Wan +2 more
5/19/2022
34 citations
cs.CV
transformer-attention

Official code: LiewFeng/imTED (73 stars, Python, Apache-2.0, last commit 2024-10-15).

Abstract

Modern object detectors have taken the advantages of backbone networks pre-trained on large scale datasets. Except for the backbone networks, however, other components such as the detector head and the feature pyramid network (FPN) remain trained from scratch, which hinders fully tapping the potential of representation models.

Show full abstract

In this study, we propose to integrally migrate pre-trained transformer encoder-decoders (imTED) to a detector, constructing a feature extraction path which is ``fully pre-trained" so that detectors' generalization capacity is maximized. The essential differences between imTED with the baseline detector are twofold: (1) migrating the pre-trained transformer decoder to the detector head while removing the randomly initialized FPN from the feature extraction path; and (2) defining a multi-scale feature modulator (MFM) to enhance scale adaptability. Such designs not only reduce randomly initialized parameters significantly but also unify detector training with representation learning intendedly. Experiments on the MS COCO object detection dataset show that imTED consistently outperforms its counterparts by $\sim$2.4 AP. Without bells and whistles, imTED improves the state-of-the-art of few-shot object detection by up to 7.6 AP. Code is available at https://github.com/LiewFeng/imTED.

View on arXivView PDF

Code Implementations(1)

LiewFeng/imTEDOfficial100%
Apache-2.0

[ICCV 2023] Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection

739Python, DockerfileDec 1, 20222 years agoApache-2.0
few-shot-object-detectioniccv2023object-detectionvision-transformer

Similar Papers

Cite this paper

@article{liu2022integrally,
  title  = {Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection},
  author = {Feng Liu and Xiaosong Zhang and Zhiliang Peng and Zonghao Guo and Fang Wan and Xiangyang Ji and Qixiang Ye},
  year   = {2022},
  eprint = {2205.09613},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.09613},
  journal = {ICCV 2023 2023}
}

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

Discussion