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. 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.
翻译:视觉变异器在承认和探测等重大视觉任务中表现出巨大的视觉代表力,因此吸引了在手工设计更有效结构方面迅速增加的努力。 在本文中,我们提议使用神经结构搜索来使这一过程自动化,不仅搜索结构,而且搜索空间。中心思想是逐渐演变以其E-T错误为指导的不同搜索维度,这些E-T错误是用共享的超级网计算出来的。此外,我们根据空间搜索过程提供一般视觉变异器的设计指南,进行广泛的分析,这可以促进对视觉变异器的理解。值得注意的是,搜索空间的搜索模型S3(搜索空间短时间)从搜索空间到最近提议的模型,如Swin、DeiT和ViT,在图像网上进行评估时,都取得了优异性性。 S3的有效性还体现在物体探测、语系分解和视觉问题解答上,表明其对下游视觉和视觉任务的一般性。代码和模型将在https://github.com/microcrosoft/Cream上查阅。