Searching the Search Space of Vision Transformer

Minghao Chen, Kan Wu, Bolin Ni, Houwen Peng, Bei Liu +3 more
11/29/2021
78 citations
cs.CV
transformer-attention

Official code: microsoft/Cream (1,843 stars, Python, MIT, last commit 2024-07-25).

Abstract

Vision Transformer has shown great visual representation power in substantial vision tasks such as recognition and detection, and thus been attracting fast-growing efforts on manually designing more effective architectures. In this paper, we propose to use neural architecture search to automate this process, by searching not only the architecture but also the search space.

Show full abstract

The central idea is to gradually evolve different search dimensions guided by their E-T Error computed using a weight-sharing supernet. Moreover, we provide design guidelines of general vision transformers with extensive analysis according to the space searching process, which could promote the understanding of vision transformer. Remarkably, the searched models, named S3 (short for Searching the Search Space), from the searched space achieve superior performance to recently proposed models, such as Swin, DeiT and ViT, when evaluated on ImageNet. The effectiveness of S3 is also illustrated on object detection, semantic segmentation and visual question answering, demonstrating its generality to downstream vision and vision-language tasks. Code and models will be available at https://github.com/microsoft/Cream.

View on arXivView PDF

Code Implementations(1)

microsoft/CreamOfficial100%
MIT

This is a collection of our NAS and Vision Transformer work.

1,843239Python, CudaOct 12, 20202 years agoMIT
automlefficiencyknowledge-distillationnasrpe+2 more

Similar Papers

Cite this paper

@article{chen2021searching,
  title  = {Searching the Search Space of Vision Transformer},
  author = {Minghao Chen and Kan Wu and Bolin Ni and Houwen Peng and Bei Liu and Jianlong Fu and Hongyang Chao and Haibin Ling},
  year   = {2021},
  eprint = {2111.14725},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.14725}
}

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

Discussion