mlsanityData to 7 Oct 2026

An Algorithm-Hardware Co-Optimized Framework for Accelerating N:M Sparse Transformers

arXiv 2208.06118 ↗First posted 12 Aug 2022cs.AR cs.LGcited by 28

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  7. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  8. 2020Efficient Transformers: A Surveycited by 784
  9. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
  10. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
  11. 2021Accelerating Sparse Deep Neural Networkscited by 213
  12. 2021Learning N:M Fine-grained Structured Sparse Neural Networks From Scratchcited by 177
8 more
  1. 2017SCNN: An Accelerator for Compressed-sparse Convolutional Neural Networkscited by 132
  2. 2020Dynamic Model Pruning with Feedbackcited by 125
  3. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
  4. 2020EdgeBERT: Sentence-Level Energy Optimizations for Latency-Aware Multi-Task NLP Inferencecited by 69
  5. 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 52
  6. 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 42
  7. 2020Systolic Tensor Array: An Efficient Structured-Sparse GEMM Accelerator for Mobile CNN Inferencecited by 17
  8. 2020An Efficient Hardware Accelerator for Structured Sparse Convolutional Neural Networks on FPGAscited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 6; 2024: 15; 2025: 3; 2026: 3.

28 papers.

Sort:

By area:

  1. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 200
  2. 2024Not All Experts are Equal: Efficient Expert Pruning and Skipping for Mixture-of-Experts Large Language Modelscited by 140
  3. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
  4. 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
  5. 2024Duplex: A Device for Large Language Models with Mixture of Experts, Grouped Query Attention, and Continuous Batchingcited by 33
  6. 2023STEP: Learning N:M Structured Sparsity Masks from Scratch with Preconditioncited by 25
  7. 2022BEBERT: Efficient and Robust Binary Ensemble BERTcited by 13
  8. 2024CHAI: Clustered Head Attention for Efficient LLM Inferencecited by 13
  9. 2023Bi-directional Masks for Efficient N:M Sparse Trainingcited by 12
  10. 2024Enabling Unstructured Sparse Acceleration on Structured Sparse Acceleratorscited by 8
  11. 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
  12. 2023Efficient N:M Sparse DNN Training Using Algorithm, Architecture, and Dataflow Co-Designcited by 5
16 more
  1. 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
  2. 2024Efficient Deep Learning Infrastructures for Embedded Computing Systems: A Comprehensive Survey and Future Envisioncited by 5
  3. 2024Panacea: Novel DNN Accelerator using Accuracy-Preserving Asymmetric Quantization and Energy-Saving Bit-Slice Sparsitycited by 5
  4. 2025MCBP: A Memory-Compute Efficient LLM Inference Accelerator Leveraging Bit-Slice-enabled Sparsity and Repetitivenesscited by 4
  5. 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
  6. 2025Ultra Memory-Efficient On-FPGA Training of Transformers via Tensor-Compressed Optimizationcited by 3
  7. 2025MEADOW: Memory-efficient Dataflow and Data Packing for Low Power Edge LLMscited by 3
  8. 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
  9. 2024Pruning Large Language Models to Intra-module Low-rank Architecture with Transitional Activationscited by 2
  10. 2024Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deploymentcited by 2
  11. 2024Hybrid Dynamic Pruning: A Pathway to Efficient Transformer Inferencecited by 2
  12. 2024ELSA: Exploiting Layer-wise N:M Sparsity for Vision Transformer Accelerationcited by 2
  13. 2023Spatial Re-parameterization for N:M Sparsitycited by 1
  14. 2026ELiTeFormer: An Efficient Transformer for FPGAscited by 0
  15. 2026HiFloat4 Format for End-To-End Reinforcement Learning Post-Training of Large Language Modelscited by 0
  16. 2026DeVIT: Low-Power Vision Transformer Acceleration Using Delta Computationcited by 0