Cited by 94Advanced Neural Network ApplicationsParallel Computing and Optimization TechniquesEmbedded Systems Design Techniques

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

Open access
Fang, Chao, Zhou, Aojun, Wang, Zhongfeng·2022·IEEE Transactions on Very Large Scale Integration (VLSI) Systems

Abstract

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 the immense parameters and operations of models. To relieve this burden, exploiting sparsity is an effective approach to accelerate Transformers. Newly emerging Ampere graphics processing units (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. First, from an algorithm perspective, we propose a sparsity inheritance mechanism along with inherited dynamic pruning (IDP) 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. Second, from a 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.47\times $and$11.33\times $speedups compared to Intel i9-9900X and NVIDIA RTX 2080 Ti, respectively, and perform$2.00 \,\,\sim 19.47 \times $faster inference than the state-of-the-art field-programmable gate array (FPGA)-based accelerators for Transformers.

Integrity signals

Registry

Crossref · 10.1109/tvlsi.2022.3197282

Cites

4 of 4 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Fang et al.'s N:M sparse transformers generated using inherited dynamic pruning result in a 6.7 percentage point increase in accuracy.

    “The set of N:M sparse transformers are generated using inherited dynamic pruning (IDP), resulting in 6.7 percentage point increase in accuracy.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [87]

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Fang, C., Zhou, A., & Wang, Z.
Affiliations
  • Nanjing University (CN)
  • Chinese University of Hong Kong (HK)
Venue
IEEE Transactions on Very Large Scale Integration (VLSI) Systems
Published
2022-11
Volume
30
Issue
11
Pages
1573-1586
ISSN
  • 1063-8210 (ISSN-L)
  • 1557-9999
OpenAlex
W4291653336
Cited by
94
References
4
Citations by year
2026: 22 · 2025: 29 · 2024: 29 · 2023: 13 · 2022: 1
FWCI
5.89
Type
journal article
Language
en
Open access
Locations
  • IEEE Transactions on Very Large Scale Integration (VLSI) Systems (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Funders
  • National Natural Science Foundation of China (62174084, 62104097)
  • High-Level Personnel Project of Jiangsu Province (JSSCBS20210034)
  • Key Research Plan of Jiangsu Province of China (BE2019003-4)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
  • Physical Sciences › Computer Science › Hardware and Architecture › Embedded Systems Design Techniques
Keywords
sparse transformer, algorithm-hardware co-optimization, model compression, sparse matrix multiplication, inference acceleration

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review