Finding Fast Transformers: One-Shot Neural Architecture Search by Component Composition
Not on the map. Why?
Abstract (arXiv)
Transformer-based models have achieved stateof-the-art results in many tasks in natural language processing. However, such models are usually slow at inference time, making deployment difficult. In this paper, we develop an efficient algorithm to search for fast models while maintaining model quality. We describe a novel approach to decompose the Transformer architecture into smaller components, and propose a sampling-based one-shot architecture search method to find an optimal model for inference. The model search process is more efficient than alternatives, adding only a small overhead to training time. By applying our methods to BERT-base architectures, we achieve 10% to 30% speedup for pre-trained BERT and 70% speedup on top of a previous state-of-the-art distilled BERT model on Cloud TPU-v2 with a generally acceptable drop in performance.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Aug 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 5.
10 papers.
- 2021A Practical Survey on Faster and Lighter Transformerscited by 73
- 2021A Comprehensive Survey on Hardware-Aware Neural Architecture Searchcited by 60
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 55
- 2021GLiT: Neural Architecture Search for Global and Local Image Transformercited by 53
- 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
- 2022LiteTransformerSearch: Training-free Neural Architecture Search for Efficient Language Modelscited by 14
- 2022Wide Attention Is The Way Forward For Transformers?cited by 8
- 2022AutoDistill: an End-to-End Framework to Explore and Distill Hardware-Efficient Language Modelscited by 7
- 2021FEAR: A Simple Lightweight Method to Rank Architecturescited by 3
- 2022DARTFormer: Finding The Best Type Of Attentioncited by 3
- 2022DARTFormer: Finding The Best Type Of Attention2 Oct 2022
- 2022Wide Attention Is The Way Forward For Transformers?2 Oct 2022
- 2022Neural Architecture Search on Efficient Transformers and Beyond28 Jul 2022
- 2022LiteTransformerSearch: Training-free Neural Architecture Search for Efficient Language Models4 Mar 2022
- 2022AutoDistill: an End-to-End Framework to Explore and Distill Hardware-Efficient Language Models21 Jan 2022
- 2021GLiT: Neural Architecture Search for Global and Local Image Transformer7 Jul 2021
- 2021FEAR: A Simple Lightweight Method to Rank Architectures7 Jun 2021
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Search30 May 2021
- 2021A Practical Survey on Faster and Lighter Transformers26 Mar 2021
- 2021A Comprehensive Survey on Hardware-Aware Neural Architecture Search22 Jan 2021