HAT: Hardware-Aware Transformers for Efficient Natural Language Processing
Not on the map. Why?
Abstract (arXiv)
Transformers are ubiquitous in Natural Language Processing (NLP) tasks, but they are difficult to be deployed on hardware due to the intensive computation. To enable low-latency inference on resource-constrained hardware platforms, we propose to design Hardware-Aware Transformers (HAT) with neural architecture search. We first construct a large design space with textitarbitrary encoder-decoder attention and textitheterogeneous layers. Then we train a textitSuperTransformer that covers all candidates in the design space, and efficiently produces many textitSubTransformers with weight sharing. Finally, we perform an evolutionary search with a hardware latency constraint to find a specialized textitSubTransformer dedicated to run fast on the target hardware. Extensive experiments on four machine translation tasks demonstrate that HAT can discover efficient models for different hardware (CPU, GPU, IoT device). When running WMT'14 translation task on Raspberry Pi-4, HAT can achieve 3× speedup, 3.7× smaller size over baseline Transformer; 2.7× speedup, 3.6× smaller size over Evolved Transformer with 12,041× less search cost and no performance loss. HAT code is https://github.com/mit-han-lab/hardware-aware-transformers.git
Key facts. Cited by 136 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 May 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 39; 2022: 39; 2023: 33; 2024: 15; 2025: 8; 2026: 2.
136 papers.
Sort:
By area:
- 2021Transformers in Vision: A Surveycited by 1,009
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 285
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 186
- 2023Speculative Decoding with Big Little Decodercited by 163
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 161
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2021Group Fisher Pruning for Practical Network Compressioncited by 130
38 more
- 2021QuantumNAS: Noise-Adaptive Search for Robust Quantum Circuitscited by 97
- 2021Sparse is Enough in Scaling Transformerscited by 86
- 2021Scalable Vision Transformers with Hierarchical Poolingcited by 84
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 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
- 2022HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformerscited by 46
- 2021Searching the Search Space of Vision Transformercited by 39
- 2023Transformers in Speech Processing: A Surveycited by 38
- 2021AlphaNet: Improved Training of Supernets with Alpha-Divergencecited by 36
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2022Training-free Transformer Architecture Searchcited by 33
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
- 2021AutoTinyBERT: Automatic Hyper-parameter Optimization for Efficient Pre-trained Language Modelscited by 31
- 2023LLM Performance Predictors are good initializers for Architecture Searchcited by 29
- 2021Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimizationcited by 27
- 2022EATFormer: Improving Vision Transformer Inspired by Evolutionary Algorithmcited by 27
- 2021Energon: Towards Efficient Acceleration of Transformers Using Dynamic Sparse Attentioncited by 26
- 2022Meta Learning for Natural Language Processing: A Surveycited by 26
- 2023Gradient-Free Structured Pruning with Unlabeled Datacited by 26
- 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
- 2022EdgeFormer: A Parameter-Efficient Transformer for On-Device Seq2seq Generationcited by 21
- 2021Analogous to Evolutionary Algorithm: Designing a Unified Sequence Modelcited by 20
- 2021Dynamic-OFA: Runtime DNN Architecture Switching for Performance Scaling on Heterogeneous Embedded Platformscited by 18
- 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
- 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformerscited by 17
- 2021HELP: Hardware-Adaptive Efficient Latency Prediction for NAS via Meta-Learningcited by 16
- 2022Mokey: Enabling Narrow Fixed-Point Inference for Out-of-the-Box Floating-Point Transformer Modelscited by 16
- 2022PVNAS: 3D Neural Architecture Search with Point-Voxel Convolutioncited by 16
- 2021EfficientBERT: Progressively Searching Multilayer Perceptron via Warm-up Knowledge Distillationcited by 15
- 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
- 2021You Only Compress Once: Towards Effective and Elastic BERT Compression via Exploit-Explore Stochastic Nature Gradientcited by 14
- 2021Generic Neural Architecture Search via Regressioncited by 14
- 2022LiteTransformerSearch: Training-free Neural Architecture Search for Efficient Language Modelscited by 14
- 2022STI: Turbocharge NLP Inference at the Edge via Elastic Pipeliningcited by 14
50 most cited of 136 All 136 (JSON)
- 2026LLMForge: Multi-Backend Hardware-Aware Neural Architecture Search with Infinite-Head Attention for Edge Language Models17 May 2026
- 2026SnapGen++: Unleashing Diffusion Transformers for Efficient High-Fidelity Image Generation on Edge Devices13 Jan 2026
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices27 Nov 2025
- 2025Low-Rank GEMM: Efficient Matrix Multiplication via Low-Rank Approximation with FP8 Acceleration24 Nov 2025
- 2025Elastic ViTs from Pretrained Models without Retraining20 Oct 2025
- 2025Where to Begin: Efficient Pretraining via Subnetwork Selection and Distillation8 Oct 2025
- 2025LM-Searcher: Cross-domain Neural Architecture Search with LLMs via Unified Numerical Encoding6 Sep 2025
- 2025ESM: A Framework for Building Effective Surrogate Models for Hardware-Aware Neural Architecture Search2 Aug 2025
- 2025CATransformers: Carbon Aware Transformers Through Joint Model-Hardware Optimization2 May 2025
- 2025Enhancing Video Understanding: Deep Neural Networks for Spatiotemporal Analysis11 Feb 2025
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Models4 Aug 2024
- 2024Quasar-ViT: Hardware-Oriented Quantization-Aware Architecture Search for Vision Transformers25 Jul 2024
38 more
- 2024Croppable Knowledge Graph Embedding3 Jul 2024
- 2024QCQA: Quality and Capacity-aware grouped Query Attention8 Jun 2024
- 2024One QuantLLM for ALL: Fine-tuning Quantized LLMs Once for Efficient Deployments30 May 2024
- 2024HW-GPT-Bench: Hardware-Aware Architecture Benchmark for Language Models16 May 2024
- 2024DynaMo: Accelerating Language Model Inference with Dynamic Multi-Token Sampling1 May 2024
- 2024Efficiently Distilling LLMs for Edge Applications1 Apr 2024
- 2024MS-Net: A Multi-Path Sparse Model for Motion Prediction in Multi-Scenes1 Mar 2024
- 2024Merino: Entropy-driven Design for Generative Language Models on IoT Devices28 Feb 2024
- 2024Multi-objective Differentiable Neural Architecture Search28 Feb 2024
- 2024CiMNet: Towards Joint Optimization for DNN Architecture and Configuration for Compute-In-Memory Hardware19 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2024TransAxx: Efficient Transformers with Approximate Computing12 Feb 2024
- 2024A Comprehensive Survey of Compression Algorithms for Language Models27 Jan 2024
- 2023Weight-Entanglement Meets Gradient-Based Neural Architecture Search16 Dec 2023
- 2023SiGeo: Sub-One-Shot NAS via Information Theory and Geometry of Loss Landscape22 Nov 2023
- 2023On Elastic Language Models13 Nov 2023
- 2023MathNAS: If Blocks Have a Role in Mathematical Architecture Design8 Nov 2023
- 2023DistDNAS: Search Efficient Feature Interactions within 2 Hours1 Nov 2023
- 2023LLM Performance Predictors are good initializers for Architecture Search25 Oct 2023
- 2023MatFormer: Nested Transformer for Elastic Inference11 Oct 2023
- 2023Quantized Transformer Language Model Implementations on Edge Devices6 Oct 2023
- 2023Evolutionary Neural Architecture Search for Transformer in Knowledge Tracing2 Oct 2023
- 2023YFlows: Systematic Dataflow Exploration and Code Generation for Efficient Neural Network Inference using SIMD Architectures on CPUs1 Oct 2023
- 2023PRAT: PRofiling Adversarial aTtacks20 Sep 2023
- 2023RingMo-lite: A Remote Sensing Multi-task Lightweight Network with CNN-Transformer Hybrid Framework16 Sep 2023
- 2023InstaTune: Instantaneous Neural Architecture Search During Fine-Tuning29 Aug 2023
- 2023Which Transformer to Favor: A Comparative Analysis of Efficiency in Vision Transformers18 Aug 2023
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inference26 Jun 2023
- 2023SqueezeLLM: Dense-and-Sparse Quantization13 Jun 2023
- 2023Mixture-of-Supernets: Improving Weight-Sharing Supernet Training with Architecture-Routed Mixture-of-Experts8 Jun 2023
- 2023Training-free Neural Architecture Search for RNNs and Transformers1 Jun 2023
- 2023Meta-prediction Model for Distillation-Aware NAS on Unseen Datasets26 May 2023
- 2023Open-TransMind: A New Baseline and Benchmark for 1st Foundation Model Challenge of Intelligent Transportation12 Apr 2023
- 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformers8 Apr 2023
- 2023System-status-aware Adaptive Network for Online Streaming Video Understanding28 Mar 2023
- 2023TransCODE: Co-design of Transformers and Accelerators for Efficient Training and Inference27 Mar 2023
- 2023EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platforms24 Mar 2023
50 newest of 136 All 136 (JSON)
- 2023Speculative Decoding with Big Little Decodercited by 163
- 2022HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformerscited by 46
- 2023Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inferencecited by 6
- 2024QCQA: Quality and Capacity-aware grouped Query Attentioncited by 5
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Models4 Aug 2024
- 2024QCQA: Quality and Capacity-aware grouped Query Attention8 Jun 2024
- 2023Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inference26 Jun 2023
- 2023Speculative Decoding with Big Little Decoder15 Feb 2023
- 2022HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision Transformers15 Nov 2022
- 2023Mixture-of-Supernets: Improving Weight-Sharing Supernet Training with Architecture-Routed Mixture-of-Experts8 Jun 2023
- 2022AutoMoE: Heterogeneous Mixture-of-Experts with Adaptive Computation for Efficient Neural Machine Translation14 Oct 2022
- 2022Efficient Sparsely Activated Transformers31 Aug 2022
- 2021Transformers in Vision: A Surveycited by 1,009
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 285
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 186
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 161
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2021Group Fisher Pruning for Practical Network Compressioncited by 130
- 2021QuantumNAS: Noise-Adaptive Search for Robust Quantum Circuitscited by 97
12 most cited of 127 All 127 (JSON)
- 2026LLMForge: Multi-Backend Hardware-Aware Neural Architecture Search with Infinite-Head Attention for Edge Language Models17 May 2026
- 2025AutoTailor: Automatic and Efficient Adaptive Model Deployment for Diverse Edge Devices27 Nov 2025
- 2025Low-Rank GEMM: Efficient Matrix Multiplication via Low-Rank Approximation with FP8 Acceleration24 Nov 2025
- 2025Elastic ViTs from Pretrained Models without Retraining20 Oct 2025
- 2025Where to Begin: Efficient Pretraining via Subnetwork Selection and Distillation8 Oct 2025
- 2025LM-Searcher: Cross-domain Neural Architecture Search with LLMs via Unified Numerical Encoding6 Sep 2025
- 2025ESM: A Framework for Building Effective Surrogate Models for Hardware-Aware Neural Architecture Search2 Aug 2025
- 2025CATransformers: Carbon Aware Transformers Through Joint Model-Hardware Optimization2 May 2025
- 2025Enhancing Video Understanding: Deep Neural Networks for Spatiotemporal Analysis11 Feb 2025
- 2024Quasar-ViT: Hardware-Oriented Quantization-Aware Architecture Search for Vision Transformers25 Jul 2024
- 2024Croppable Knowledge Graph Embedding3 Jul 2024
- 2024One QuantLLM for ALL: Fine-tuning Quantized LLMs Once for Efficient Deployments30 May 2024
12 newest of 127 All 127 (JSON)