An Algorithm-Hardware Co-Optimized Framework for Accelerating N:M Sparse Transformers
Not on the map. Why?
Abstract (arXiv)
The Transformer has been an indispensable staple in deep learning. However, for real-life applications, it is very challenging to deploy efficient Transformers due to immense parameters and operations of models. To relieve this burden, exploiting sparsity is an effective approach to accelerate Transformers. Newly emerging Ampere GPUs leverage a 2:4 sparsity pattern to achieve model acceleration, while it can hardly meet the diverse algorithm and hardware constraints when deploying models. By contrast, we propose an algorithm-hardware co-optimized framework to flexibly and efficiently accelerate Transformers by utilizing general N:M sparsity patterns. (1) From algorithm perspective, we propose a sparsity inheritance mechanism along with an inherited dynamic pruning (IDP) method to obtain a series of N:M sparse candidate Transformers rapidly. A model compression scheme is further proposed to significantly reduce the storage requirement for deployment. (2) From hardware perspective, we present a flexible and efficient hardware architecture, namely STA, to achieve significant speedup when deploying N:M sparse Transformers. STA features not only a computing engine unifying both sparse-dense and dense-dense matrix multiplications with high computational efficiency but also a scalable softmax module eliminating the latency from intermediate off-chip data communication. Experimental results show that compared to other methods, N:M sparse Transformers, generated using IDP, achieves an average of 6.7% improvement on accuracy with high training efficiency. Moreover, STA can achieve 14.47x and 11.33x speedup compared to Intel i9-9900X and NVIDIA RTX 2080 Ti, respectively, and perform 2.00-19.47x faster inference than the state-of-the-art FPGA-based accelerators for Transformers.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 20 of its 44 references that are in the map. First posted on arXiv 12 Aug 2022.
Builds on
20 of 44 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2020Efficient Transformers: A Surveycited by 784
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
- 2021Accelerating Sparse Deep Neural Networkscited by 213
- 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
8 more
- 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 132
- 2020Dynamic Model Pruning with Feedbackcited by 125
- 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
- 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
- 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 52
- 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 42
- 2020Systolic Tensor Array: An Efficient Structured-Sparse GEMM Accelerator for Mobile CNN Inferencecited by 17
- 2020An Efficient Hardware Accelerator for Structured Sparse Convolutional Neural Networks on FPGAscited by 16
Built on by
Citing papers per year: 2022: 1; 2023: 6; 2024: 15; 2025: 3; 2026: 3.
28 papers.
Sort:
By area:
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 200
- 2024Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Modelscited by 140
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2024Duplex: A Device for Large Language Models with Mixture of Experts, Grouped Query Attention, and Continuous Batchingcited by 33
- 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
- 2022BEBERT: Efficient and Robust Binary Ensemble BERTcited by 13
- 2024CHAI: Clustered Head Attention for Efficient LLM Inferencecited by 13
- 2023Bi-directional Masks for Efficient N:M Sparse Trainingcited by 12
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Acceleratorscited by 8
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
- 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Designcited by 5
16 more
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
- 2024Efficient Deep Learning Infrastructures for Embedded Computing Systems: A Comprehensive Survey and Future Envisioncited by 5
- 2024Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsitycited by 5
- 2025MCBP: A Memory-Compute Efficient LLM Inference Accelerator Leveraging Bit-Slice-enabled Sparsity and Repetitivenesscited by 4
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
- 2025Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimizationcited by 3
- 2025MEADOW: Memory-efficient Dataflow and Data Packing for Low Power Edge LLMscited by 3
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
- 2024Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activationscited by 2
- 2024Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deploymentcited by 2
- 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inferencecited by 2
- 2024ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Accelerationcited by 2
- 2023Spatial Re-parameterization for N:M Sparsitycited by 1
- 2026ELiTeFormer: An Efficient Transformer for FPGAscited by 0
- 2026HiFloat4 Format for End-To-End Reinforcement Learning Post-Training of Large Language Modelscited by 0
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computationcited by 0
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computation2 Aug 2026
- 2026HiFloat4 Format for End-To-End Reinforcement Learning Post-Training of Large Language Models29 Jul 2026
- 2026ELiTeFormer: An Efficient Transformer for FPGAs4 Jul 2026
- 2025MCBP: A Memory-Compute Efficient LLM Inference Accelerator Leveraging Bit-Slice-enabled Sparsity and Repetitiveness12 Sep 2025
- 2025MEADOW: Memory-efficient Dataflow and Data Packing for Low Power Edge LLMs14 Feb 2025
- 2025Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimization11 Jan 2025
- 2024Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity13 Dec 2024
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs27 Nov 2024
- 2024Efficient Deep Learning Infrastructures for Embedded Computing Systems: A Comprehensive Survey and Future Envision3 Nov 2024
- 2024ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Acceleration15 Sep 2024
- 2024Duplex: A Device for Large Language Models with Mixture of Experts, Grouped Query Attention, and Continuous Batching2 Sep 2024
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Models4 Aug 2024
16 more
- 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference17 Jul 2024
- 2024Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deployment16 Jul 2024
- 2024Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activations8 Jul 2024
- 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networks9 May 2024
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving7 May 2024
- 2024CHAI: Clustered Head Attention for Efficient LLM Inference12 Mar 2024
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Accelerators12 Mar 2024
- 2024Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Models22 Feb 2024
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge22 Jan 2024
- 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Design22 Sep 2023
- 2023A Survey of Techniques for Optimizing Transformer Inference16 Jul 2023
- 2023Spatial Re-parameterization for N:M Sparsity9 Jun 2023
- 2023Full Stack Optimization of Transformer Inference: a Survey27 Feb 2023
- 2023Bi-directional Masks for Efficient N:M Sparse Training13 Feb 2023
- 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Precondition2 Feb 2023
- 2022BEBERT: Efficient and Robust Binary Ensemble BERT28 Oct 2022
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 200
- 2024CHAI: Clustered Head Attention for Efficient LLM Inferencecited by 13
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
- 2025MCBP: A Memory-Compute Efficient LLM Inference Accelerator Leveraging Bit-Slice-enabled Sparsity and Repetitivenesscited by 4
- 2025MCBP: A Memory-Compute Efficient LLM Inference Accelerator Leveraging Bit-Slice-enabled Sparsity and Repetitiveness12 Sep 2025
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Models4 Aug 2024
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving7 May 2024
- 2024CHAI: Clustered Head Attention for Efficient LLM Inference12 Mar 2024
- 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
- 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
- 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
- 2022BEBERT: Efficient and Robust Binary Ensemble BERTcited by 13
- 2023Bi-directional Masks for Efficient N:M Sparse Trainingcited by 12
- 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Acceleratorscited by 8
- 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
- 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Designcited by 5
- 2024Efficient Deep Learning Infrastructures for Embedded Computing Systems: A Comprehensive Survey and Future Envisioncited by 5
- 2024Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsitycited by 5
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
- 2025Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimizationcited by 3
12 most cited of 22 All 22 (JSON)
- 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computation2 Aug 2026
- 2026HiFloat4 Format for End-To-End Reinforcement Learning Post-Training of Large Language Models29 Jul 2026
- 2026ELiTeFormer: An Efficient Transformer for FPGAs4 Jul 2026
- 2025MEADOW: Memory-efficient Dataflow and Data Packing for Low Power Edge LLMs14 Feb 2025
- 2025Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimization11 Jan 2025
- 2024Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsity13 Dec 2024
- 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAs27 Nov 2024
- 2024Efficient Deep Learning Infrastructures for Embedded Computing Systems: A Comprehensive Survey and Future Envision3 Nov 2024
- 2024ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Acceleration15 Sep 2024
- 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inference17 Jul 2024
- 2024Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deployment16 Jul 2024
- 2024Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activations8 Jul 2024
12 newest of 22 All 22 (JSON)