EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platforms
Not on the map. Why?
Abstract (arXiv)
Automated design of efficient transformer models has recently attracted significant attention from industry and academia. However, most works only focus on certain metrics while searching for the best-performing transformer architecture. Furthermore, running traditional, complex, and large transformer models on low-compute edge platforms is a challenging problem. In this work, we propose a framework, called ProTran, to profile the hardware performance measures for a design space of transformer architectures and a diverse set of edge devices. We use this profiler in conjunction with the proposed co-design technique to obtain the best-performing models that have high accuracy on the given task and minimize latency, energy consumption, and peak power draw to enable edge deployment. We refer to our framework for co-optimizing accuracy and hardware performance measures as EdgeTran. It searches for the best transformer model and edge device pair. Finally, we propose GPTran, a multi-stage block-level grow-and-prune post-processing step that further improves accuracy in a hardware-aware manner. The obtained transformer model is 2.8× smaller and has a 0.8% higher GLUE score than the baseline (BERT-Base). Inference with it on the selected edge device enables 15.0% lower latency, 10.0× lower energy, and 10.8× lower peak power draw compared to an off-the-shelf GPU.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 45 of its 66 references that are in the map. First posted on arXiv 24 Mar 2023.
Builds on
45 of 66 references.
References · 45
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,262
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
33 more
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 559
- 2020A Survey of Deep Active Learningcited by 554
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
- 2021FNet: Mixing Tokens with Fourier Transformscited by 347
- 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 273
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
- 2020ConvBERT: Improving BERT with Span-based Dynamic Convolutioncited by 88
- 2018ChamNet: Towards Efficient Network Design through Platform-Aware Model Adaptationcited by 76
- 2020Surrogate NAS Benchmarks: Going Beyond the Limited Search Spaces of Tabular NAS Benchmarkscited by 67
- 2017NeST: A Neural Network Synthesis Tool Based on a Grow-and-Prune Paradigmcited by 60
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 56
- 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 54
- 2020AdaBERT: Task-Adaptive BERT Compression with Differentiable Neural Architecture Searchcited by 51
- 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
- 2021Rethinking Network Pruning -- under the Pre-train and Fine-tune Paradigmcited by 40
- 2016Natural-Parameter Networks: A Class of Probabilistic Neural Networkscited by 34
- 2021Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimizationcited by 27
- 2021Energon: Towards Efficient Acceleration of Transformers Using Dynamic Sparse Attentioncited by 26
- 2021NAAS: Neural Accelerator Architecture Searchcited by 24
- 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
- 2021AutoBERT-Zero: Evolving BERT Backbone from Scratchcited by 21
- 2021COSCO: Container Orchestration using Co-Simulation and Gradient Based Optimization for Fog Computing Environmentscited by 19
- 2020schuBERT: Optimizing Elements of BERTcited by 17
- 2022FlexiBERT: Are Current Transformer Architectures too Homogeneous and Rigid?cited by 12
- 2022CODEBench: A Neural Architecture and Hardware Accelerator Co-Design Frameworkcited by 5
- 2020MicroNet for Efficient Language Modelingcited by 4
- 2021Dynamic Transformer for Efficient Machine Translation on Embedded Devicescited by 4
Built on by
Citing papers per year: 2023: 2.
2 papers.