Lune

CVPR2022Top-tier venue

Training-free Transformer Architecture Search

Qinqin Zhou, Kekai Sheng, Xiawu Zheng, Ke Li, Xing Sun, Yonghong Tian, Jie Chen, Rongrong Ji

Abstract

Recently, Vision Transformer (ViT) has achieved remarkable success in several computer vision tasks. The progresses are highly relevant to the architecture design, then it is worthwhile to propose Transformer Architecture Search (TAS) to search for better ViTs automatically. However, current TAS methods are time-consuming and existing zero-cost proxies in CNN do not generalize well to the ViT search space according to our experimental observations. In this paper, for the first time, we investigate how to conduct TAS in a training-free manner and devise an effective training-free TAS (TF-TAS) scheme. Firstly, we observe that the properties of multi-head self-attention (MSA) and multi-layer perceptron (MLP) in ViTs are quite different and that the synaptic diversity of MSA affects the performance notably. Secondly, based on the observation, we devise a modular strategy in TF-TAS that evaluates and ranks ViT architectures from two theoretical perspectives: synaptic diversity and synaptic saliency, termed as DSS-indicator. With DSS-indicator, evaluation results are strongly corre-lated with the test accuracies of ViT models. Experimental results demonstrate that our TF- TAS achieves a competitive performance against the state-of-the-art manually or automatically design ViT architectures, and it promotes the searching efficiency in ViT search space greatly: from about 24 GPU days to less than 0.5 GPU days. Moreover, the proposed DSS-indicator outperforms the existing cutting-edge zero-cost approaches (e.g., TE-score and NASWOT).

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.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ZiCo: Zero-shot NAS via inverse Coefficient of Variation on Gradients cites Searching for MobileNetV3
  • ZiCo: Zero-shot NAS via inverse Coefficient of Variation on Gradients cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ParZC: Parametric Zero-Cost Proxies for Efficient NAS cites ZiCo: Zero-shot NAS via inverse Coefficient of Variation on Gradients
  • ParZC: Parametric Zero-Cost Proxies for Efficient NAS cites PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture Search
  • ParZC: Parametric Zero-Cost Proxies for Efficient NAS cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture Search cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture Search cites Training data-efficient image transformers & distillation through attention
  • Rethinking Vision Transformers for MobileNet Size and Speed cites Searching for MobileNetV3
  • Rethinking Vision Transformers for MobileNet Size and Speed cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Rethinking Vision Transformers for MobileNet Size and Speed cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Rethinking Vision Transformers for MobileNet Size and Speed cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Rethinking Vision Transformers for MobileNet Size and Speed cites Training data-efficient image transformers & distillation through attention
  • Rethinking Vision Transformers for MobileNet Size and Speed cites EfficientFormer: Vision Transformers at MobileNet Speed
  • 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 Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • EfficientFormer: Vision Transformers at MobileNet Speed cites Searching for MobileNetV3
  • EfficientFormer: Vision Transformers at MobileNet Speed cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • EfficientFormer: Vision Transformers at MobileNet Speed cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • EfficientFormer: Vision Transformers at MobileNet Speed cites Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions
  • EfficientFormer: Vision Transformers at MobileNet Speed cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu et al.NeurIPS 2022 · 742 citations
  2. Rethinking Vision Transformers for MobileNet Size and SpeedYanyu Li, Ju Hu, Yang Wen, Georgios Evangelidis et al.ICCV 2023 · 300 citations
  3. PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture SearchHaibin Wang, Ce Ge, Hesen Chen, Xiuyu SunICML 2023 · 27 citations
  4. ZiCo: Zero-shot NAS via inverse Coefficient of Variation on GradientsGuihong Li, Yuedong Yang, Kartikeya Bhardwaj, Radu MarculescuICLR 2023 · 19 citations
  5. ParZC: Parametric Zero-Cost Proxies for Efficient NASPeijie Dong, Lujun Li, Zhenheng Tang, Xiang Liu et al.AAAI 2025 · 14 citations

Builds on24

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. 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
  3. Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le et al.ICCV 2019 · 9,163 citations
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without ConvolutionsWenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan et al.ICCV 2021 · 4,909 citations

Related papers

  1. Auto-Prox: Training-Free Vision Transformer Architecture Search via Automatic Proxy DiscoveryZimian Wei, Peijie Dong, Zheng Hui, Anggeng Li et al.AAAI 2024 · 8 citations
  2. GLiT: Neural Architecture Search for Global and Local Image TransformerBoyu Chen, Peixia Li, Chuming Li, Baopu Li et al.ICCV 2021 · 100 citations
  3. Auto-scaling Vision Transformers without TrainingWuyang Chen, Wei Huang, Xianzhi Du, Xiaodan Song et al.ICLR 2022 · 27 citations
  4. Saliency-Driven Token Merging for Vision TransformersWeiying Xie, Xiaoyu Chen, Xin Zhang, Chenhe Hao et al.CVPR 2026
  5. ETAS: Zero-Shot Transformer Architecture Search via Network Trainability and ExpressivityJiechao Yang, Yong LiuACL Findings 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines