Unleashing Vanilla Vision Transformer with Masked Image Modeling for Object Detection
Yuxin Fang, Shusheng Yang, Shijie Wang, Yixiao Ge, Ying Shan, Xinggang Wang
Abstract
We present an approach to efficiently and effectively adapt a masked image modeling (MIM) pre-trained vanilla Vision Transformer (ViT) for object detection, which is based on our two novel observations: (i) A MIM pre-trained vanilla ViT encoder can work surprisingly well in the challenging object-level recognition scenario even with randomly sampled partial observations, e.g., only 25% 50% of the input embeddings. (ii) In order to construct multi-scale representations for object detection from single-scale ViT, a randomly initialized compact convolutional stem supplants the pre-trained patchify stem, and its intermediate features can naturally serve as the higher resolution inputs of a feature pyramid network without further upsampling or other manipulations. While the pre-trained ViT is only regarded as the 3rd-stage of our detector’s backbone instead of the whole feature extractor. This naturally results in a ConvNet-ViT hybrid architecture. The proposed detector, named MimDet, enables a MIM pre-trained vanilla ViT to outperform leading hierarchical architectures such as Swin Transformer, MViTv2 and ConvNeXt on COCO object detection & instance segmentation, and achieves better results compared with the previous best adapted vanilla ViT detector using a more modest fine-tuning recipe while converging 2.8× faster. Code and pre-trained models are available at https://github.com/hustvl/MIMDet.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
16 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection cites Vision Transformer Adapter for Dense Predictions
- Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- MCMAE: Masked Convolution Meets Masked Autoencoders cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MCMAE: Masked Convolution Meets Masked Autoencoders cites A ConvNet for the 2020s
- MCMAE: Masked Convolution Meets Masked Autoencoders cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- MCMAE: Masked Convolution Meets Masked Autoencoders cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- A ConvNet for the 2020s cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A ConvNet for the 2020s cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Vision Transformer Adapter for Dense Predictions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Vision Transformer Adapter for Dense Predictions cites A ConvNet for the 2020s
- Vision Transformer Adapter for Dense Predictions cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Vision Transformer Adapter for Dense Predictions cites Learning Transferable Visual Models From Natural Language Supervision
- Vision Transformer Adapter for Dense Predictions cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Learning Transferable Visual Models From Natural Language Supervision
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Spatial Transform Decoupling for Oriented Object Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Spatial Transform Decoupling for Oriented Object Detection cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DETR Does Not Need Multi-Scale or Locality Design cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- DETR Does Not Need Multi-Scale or Locality Design cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- DETR Does Not Need Multi-Scale or Locality Design cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
Cited by top-tier papers16
- Vision Transformer Adapter for Dense PredictionsZhe Chen, Yuchen Duan, Wenhai Wang, Junjun He et al.ICLR 2023 · 204 citations
- MCMAE: Masked Convolution Meets Masked AutoencodersPeng Gao, Teli Ma, Hongsheng Li, Ziyi Lin et al.NeurIPS 2022 · 84 citations
- Spatial Transform Decoupling for Oriented Object DetectionHongtian Yu, Yunjie Tian, Qixiang Ye, Yunfan LiuAAAI 2024 · 56 citations
- Integrally Migrating Pre-trained Transformer Encoder-decoders for Visual Object DetectionFeng Liu, Xiaosong Zhang, Zhiliang Peng, Zonghao Guo et al.ICCV 2023 · 30 citations
- DETR Does Not Need Multi-Scale or Locality DesignYutong Lin, Yuhui Yuan, Zheng Zhang, Chen Li et al.ICCV 2023 · 27 citations
Builds on28
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
Related papers
- HiViT: A Simpler and More Efficient Design of Hierarchical Vision TransformerXiaosong Zhang, Yunjie Tian, Lingxi Xie, Wei Huang et al.ICLR 2023
- Global Context Vision TransformersAli Hatamizadeh, Hongxu Yin, Greg Heinrich, Jan Kautz et al.ICML 2023 · 213 citations
- Masked Image Residual Learning for Scaling Deeper Vision TransformersGuoxi Huang, Hongtao Fu, Adrian G. BorsNeurIPS 2023 · 10 citations
- Masked Image Modeling with Denoising ContrastKun Yi, Yixiao Ge, Xiaotong Li, Shusheng Yang et al.ICLR 2023 · 8 citations
- Integrally Pre-Trained Transformer Pyramid NetworksYunjie Tian, Lingxi Xie, Zhaozhi Wang, Longhui Wei et al.CVPR 2023
