Accommodating Transformer onto FPGA: Coupling the Balanced Model Compression and FPGA-Implementation Optimization
Abstract
Recently, Transformers gradually gain popularity and perform outstanding for many Natural Language Processing (NLP) tasks. However, Transformers suffer from heavy computation and memory footprint, making it difficult to deploy on embedded devices. The field-programmable gate array (FPGA) is widely used to accelerate deep learning algorithms for its advantages. However, the trained Transformer models are too large to accommodate to an FPGA fabric. To accommodate Transformer onto FPGA and achieve efficient execution, we propose an acceleration framework coupling the balanced model compression at the algorithm level and FPGA-implementation optimization at the hardware level. At algorithm level, we adopt a block-balanced pruning and propose an efficient sparse matrix storage format for this pruning technique, named Compressed Block Row (CBR). At the hardware level, we design an accelerator for sparse model. And we also abstract a performance analytic model to evaluate the performance of accelerator. Experiments show that our CBR format perform better than general formats and can significantly save storage space. And our accelerator can achieve $38\times$ and $1.93\times$ speedup compared to other works on CPU and GPU respectively.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
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?
Compared to COO and CSR formats, the CBR format needs lower memory.
“Compared to COO and CSR formats, their CBR format needs lower memory.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [121]
Qi et al.'s pruning technique reduces latency on an FPGA.
“Their pruning technique reduces latency on an FPGA.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [121]
BBP provides superior accuracy than BW at nearly all sparsity ratios.
“On applying these to the transformer, BBP provides superior accuracy than BW at nearly all sparsity ratios.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [121]
BBP is a fine-grained pruning scheme that retains more crucial information.
“BBP is a finegrained pruning scheme that retains more crucial information.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [121]
The CBR format stores only the non-zero row index and not the column index of each nonzero element.
“This is because it stores only the non-zero row index and not the column index of each nonzero element.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [121]
Cites
FTRANS: energy-efficient acceleration of transformers using FPGA
Li, B., Pandey, S., Fang, H., Lyv, Y., Li, J., Chen, J., Xie, M., Wan, L., Liu, H., & Ding, C. (2020) · Proceedings of the ACM/IEEE International Symposium on Low Power Electronics and Design · doi:10.1145/3370748.3406567 · Cited by 206 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
A Survey of Techniques for Optimizing Transformer Inference
Chitty-Venkata, K. T., Mittal, S., Emani, M., Vishwanath, V., & Somani, A. K. (2023) · Journal of Systems Architecture · doi:10.1016/j.sysarc.2023.102990 · Cited by 154 · see citing works
Li, Z., Sun, M., Lu, A., Ma, H., Yuan, G., Xie, Y., Tang, H., Li, Y., Leeser, M., Wang, Z., et al. (2022) · 2022 32nd International Conference on Field-Programmable Logic and Applications (FPL) · doi:10.1109/fpl57034.2022.00027 · Cited by 85 · see citing works
- Authors
- Qi, P., Song, Y., Peng, H., Huang, S., Zhuge, Q., & Sha, E. H.-M.
- Affiliations
- East China Normal University (CN)
- University of Connecticut (US)
- Venue
- Proceedings of the 2021 Great Lakes Symposium on VLSI
- Publisher
- ACM
- Published
- 2021-06-22
- Pages
- 163-168
- OpenAlex
- W3176468986
- Cited by
- 37
- References
- 1
- Citations by year
- 2026: 2 · 2025: 6 · 2024: 9 · 2023: 9 · 2022: 9 · 2021: 2
- FWCI
- 5.27
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Great Lakes Symposium on VLSI (GLSVLSI) (publishedVersion)
- Funders
- Shanghai Science and Technology Commission Project (20511101600)
- National Nature Science Foundation of China (NSFC) (61972154)
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Embedded Systems Design Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Engineering › Electrical and Electronic Engineering › VLSI and FPGA Design Techniques
- Keywords
- transformer models, FPGA, hardware acceleration, model compression, sparse matrix storage, performance modeling, embedded deployment, memory footprint reduction
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