Neural Architecture Search on Efficient Transformers and Beyond
Not on the map. Why?
Abstract (arXiv)
Recently, numerous efficient Transformers have been proposed to reduce the quadratic computational complexity of standard Transformers caused by the Softmax attention. However, most of them simply swap Softmax with an efficient attention mechanism without considering the customized architectures specially for the efficient attention. In this paper, we argue that the handcrafted vanilla Transformer architectures for Softmax attention may not be suitable for efficient Transformers. To address this issue, we propose a new framework to find optimal architectures for efficient Transformers with the neural architecture search (NAS) technique. The proposed method is validated on popular machine translation and image classification tasks. We observe that the optimal architecture of the efficient Transformer has the reduced computation compared with that of the standard Transformer, but the general accuracy is less comparable. It indicates that the Softmax attention and efficient attention have their own distinctions but neither of them can simultaneously balance the accuracy and efficiency well. This motivates us to mix the two types of attention to reduce the performance imbalance. Besides the search spaces that commonly used in existing NAS Transformer approaches, we propose a new search space that allows the NAS algorithm to automatically search the attention variants along with architectures. Extensive experiments on WMT' 14 En-De and CIFAR-10 demonstrate that our searched architecture maintains comparable accuracy to the standard Transformer with notably improved computational efficiency.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 28 Jul 2022.
Builds on
34 of 42 references.
References · 34
- 2017Attention Is All You Needcited by 60,361
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Regularized Evolution for Image Classifier Architecture Searchcited by 909
- 2020Efficient Transformers: A Surveycited by 790
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
22 more
- 2019Axial Attention in Multidimensional Transformerscited by 358
- 2021Random Feature Attentioncited by 354
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 335
- 2020Sparse Sinkhorn Attentioncited by 251
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 188
- 2019The Evolved Transformercited by 180
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 164
- 2019Blockwise Self-Attention for Long Document Understandingcited by 159
- 2017On the Properties of the Softmax Function with Application in Game Theory and Reinforcement Learningcited by 142
- 2020A Survey on Evolutionary Neural Architecture Searchcited by 142
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2021GLiT: Neural Architecture Search for Global and Local Image Transformercited by 53
- 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
- 2021Sparse Attention with Linear Unitscited by 41
- 2021HR-NAS: Searching Efficient High-Resolution Neural Architectures with Lightweight Transformerscited by 39
- 2022Vicinity Vision Transformercited by 22
- 2019TextNAS: A Neural Architecture Search Space tailored for Text Representationcited by 16
- 2016One-vs-Each Approximation to Softmax for Scalable Estimation of Probabilitiescited by 14
- 2021Memory-Efficient Differentiable Transformer Architecture Searchcited by 13
- 2021RankNAS: Efficient Neural Architecture Search by Pairwise Rankingcited by 12
- 2020Finding Fast Transformers: One-Shot Neural Architecture Search by Component Compositioncited by 10
Built on by
Citing papers per year: 2022: 5; 2023: 8; 2024: 2; 2025: 1; 2026: 1.
17 papers.
Sort:
By area:
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
- 2022The Devil in Linear Transformercited by 98
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20
- 2024Scaling Laws for Linear Complexity Language Modelscited by 19
- 2023Linearized Relative Positional Encodingcited by 17
- 2022Wide Attention Is The Way Forward For Transformers?cited by 8
- 2023Exploring Transformer Extrapolationcited by 8
- 2022Linear Video Transformer with Feature Fixationcited by 6
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexitycited by 6
5 more
- 2022DARTFormer: Finding The Best Type Of Attentioncited by 3
- 2023Improving Autoregressive NLP Tasks via Modular Linearized Attentioncited by 2
- 2023Survey on Computer Vision Techniques for Internet-of-Things Devicescited by 0
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customizationcited by 0
- 2026Reg4Pru: Regularisation Through Random Token Routing for Token Pruningcited by 0
- 2026Reg4Pru: Regularisation Through Random Token Routing for Token Pruning2 Feb 2026
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customization13 Feb 2025
- 2024Scaling Laws for Linear Complexity Language Models24 Jun 2024
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attention27 May 2024
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexity15 Nov 2023
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023Survey on Computer Vision Techniques for Internet-of-Things Devices2 Aug 2023
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer27 Jul 2023
- 2023Exploring Transformer Extrapolation19 Jul 2023
- 2023Linearized Relative Positional Encoding18 Jul 2023
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023Improving Autoregressive NLP Tasks via Modular Linearized Attention17 Apr 2023
5 more
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention25 Nov 2022
- 2022The Devil in Linear Transformer19 Oct 2022
- 2022Linear Video Transformer with Feature Fixation15 Oct 2022
- 2022DARTFormer: Finding The Best Type Of Attention2 Oct 2022
- 2022Wide Attention Is The Way Forward For Transformers?2 Oct 2022
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
- 2022The Devil in Linear Transformercited by 98
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attentioncited by 20
- 2024Scaling Laws for Linear Complexity Language Modelscited by 19
- 2023Linearized Relative Positional Encodingcited by 17
- 2022Wide Attention Is The Way Forward For Transformers?cited by 8
- 2023Exploring Transformer Extrapolationcited by 8
- 2022Linear Video Transformer with Feature Fixationcited by 6
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexitycited by 6
12 most cited of 16 All 16 (JSON)
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customization13 Feb 2025
- 2024Scaling Laws for Linear Complexity Language Models24 Jun 2024
- 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attention27 May 2024
- 2023Accelerating Toeplitz Neural Network with Constant-time Inference Complexity15 Nov 2023
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modeling8 Nov 2023
- 2023Survey on Computer Vision Techniques for Internet-of-Things Devices2 Aug 2023
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer27 Jul 2023
- 2023Exploring Transformer Extrapolation19 Jul 2023
- 2023Linearized Relative Positional Encoding18 Jul 2023
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023Improving Autoregressive NLP Tasks via Modular Linearized Attention17 Apr 2023
- 2022MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention25 Nov 2022
12 newest of 16 All 16 (JSON)