SwiftTron: An Efficient Hardware Accelerator for Quantized Transformers
Open accessThe DOI matches its Crossref record; 39 of the 42 references it cites were found in a registry or an index.
Abstract
Transformers' compute- intensive operations pose enormous challenges for their deployment in resource- constrained EdgeAI / tiny ML devices. As an established neural network compression technique, quantization reduces the hardware computational and memory resources. In particular, fixed-point quantization is desirable to ease the computations using lightweight blocks, like adders and multipliers, of the underlying hardware. However, deploying fully-quantized Transformers on existing general-purpose hardware, generic AI accelerators, or specialized architectures for Transformers with floating-point units might be infeasible and/or inefficient. Towards this, we propose SwiftTron, an efficient specialized hardware accelerator designed for Quantized Transformers. SwiftTron supports the execution of different types of Transformers' operations (like Attention, Softmax, GELU, and Layer Normalization) and accounts for diverse scaling factors to perform correct computations. We synthesize the complete SwiftTron architecture in a 65 nm CMOS technology with the ASIC design flow. Our Accelerator executes the RoBERTa-base model in 1.83 ns, while consuming 33.64 mW power, and occupying an area of 273 mm2• To ease the reproducibility, the RTL of our SwiftTron architecture is released at https://github.com/albertomarchisio/SwiftTron.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures
![Fig. 1 Simplified diagrams showing the computation flows for (a) the Quantization-Dequantization scheme of [8], and (b) the quantization-based scheme adopted in this work that employs Requantization blocks.](https://figures.cochat.ai/paper-figures/9ff0d6fafb7e4ba29856ae5b4b014dbc/swifttron-an-efficient-hardware-accelerator-for-quantized-transformers-figure-1.png)


![Fig. 4 Architectural model of the Transformer [12], where inputs and outputs are taken after the positional encoding operations.](https://figures.cochat.ai/paper-figures/102e72f39ac941bcbbc32a7e92400acd/swifttron-an-efficient-hardware-accelerator-for-quantized-transformers-figure-4.png)






![Fig. 11 Architecture of the Softmax operator. According to [11], q 1 = ⌊ b/S pe ⌋ , q 2 = ⌊ c/aS 2 pe ⌋ , q 3 = ⌊ ln 2 /S e ⌋ , and q 4 = ⌊-1 /q 3 ⌋ , where S e is the scaling factor of the exponential computation input (relative to q e ), S pe is the scaling factor of the polynomial approximation input (relative to q pe ) and a, b, c are the coefficient of the second-order polynomial that approximates the function, i.e., a ( x + b ) 2 + c . Therefore, q 1 , 2 , 3 , 4 can be computed at design time and provided as constant values to the SwiftTron architecture.](https://figures.cochat.ai/paper-figures/e9b4aebf33c14fb18a46c0349c6f95a2/swifttron-an-efficient-hardware-accelerator-for-quantized-transformers-figure-11.png)


![Fig. 14 Architecture of the GELU operator. According to [11], q 5 = -b/S , q 6 = ⌊ b/S ⌋ q 7 = ⌊ c/aS 2 ⌋ , and q 8 = ⌊ 1 /S erf ⌋ , where S is the scaling factor of the GELU input (relative to q ), S erf is the scaling factor of the error function output (relative to q erf ) and a, b, c are the coefficient of the second-order polynomial that approximates the function, i.e., a ( x + b ) 2 + c . Therefore, q 5 , 6 , 7 , 8 can be computed at design time and provided as constant values to the SwiftTron architecture.](https://figures.cochat.ai/paper-figures/04667867842e40eeb10c0f6812d2174d/swifttron-an-efficient-hardware-accelerator-for-quantized-transformers-figure-14.png)




Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
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?
In the citing paper
“On a high-level, SwiftTron hardware consists of following units which are executed in integer precision: (i) MHSA unit for attention and softmax computation, (ii) FFN unit for MLP and GELU computation, and (iii) LayerNorm unit for element-wise multiplication and square root operation.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [154]
In the citing paper
“SwiftTron [154] is an accelerator designed for quantized networks that supports the common transformer operations.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [154]
In the citing paper
“Figure 40 depicts the core structure of the accelerator which consists of five MatMul blocks, each one for QKV, QK T and AV matrix computation.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [154]
In the citing paper
“The hardware is synthesized in a 65 nm CMOS technology, and the RoBERTa-base model [155] requires only 1.83 ns while occupying an area of 273 mm 2 and consuming 33.64 mW power.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [154]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
ImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155
Exploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., et al. (2020) · arXiv · doi:10.48550/arxiv.2010.11929 · Cited by 47,472
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., & Guo, B. (2021) · 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.00986 · Cited by 35,534
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
RoBERTa: A Robustly Optimized BERT Pretraining Approach
Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., Levy, O., Lewis, M., Zettlemoyer, L., & Stoyanov, V. (2019) · arXiv · doi:10.48550/arxiv.1907.11692 · Cited by 16,515
(2010) · International Conference on Machine Learning · Cited by 13,995
Research works printed but not linked: 2
- H. Wang et al., Efficient algorithms and hardware for natural language processing. PhD thesis, Massachusetts Institute of Technology, 2020.
- "Nvidia h100 tensor core gpu architecture whitepaper," https://resources.nvidia.com/en-us-tensor-core/gtc22-whitepaper- hopper.
Cited by
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
Saha, S., & Xu, L. (2025) · Neurocomputing · doi:10.1016/j.neucom.2025.130417 · Cited by 121
Embedded Deep Learning Accelerators: A Survey on Recent Advances
Akkad, G., Mansour, A., & Inaty, E. N. (2023) · IEEE Transactions on Artificial Intelligence · doi:10.1109/tai.2023.3311776 · Cited by 64
PICACHU: Plug-In CGRA Handling Upcoming Nonlinear Operations in LLMs
Qin, J., Xia, T., Tan, C., Zhang, J. J., & Zhang, S. Q. (2025) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3676641.3716013 · Cited by 38
Abushahla, H. A., Varam, D., Panopio, A. J. N., & AlHajri, M. I. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2508.15008 · Cited by 29
Metadata
- Authors
- Marchisio, A., Dura, D., Capra, M., Martina, M., Masera, G., & Shafique, M.
- Affiliations
- TU Wien (AT)
- Politecnico di Torino (IT)
- New York University Abu Dhabi (AE)
- Venue
- 2023 International Joint Conference on Neural Networks (IJCNN)
- Publisher
- IEEE
- Published
- 2023-06-18
- Pages
- 1-9
- ISSN
- 2161-4407 (ISSN-L)
- OpenAlex
- W4385488484
- Semantic Scholar
- 4b0868fcee18fe18f4966fdb1ebf82786ebb4fef
- Cited by
- 39
- References
- 42
- Citations by year
- 2026: 6 · 2025: 22 · 2024: 9 · 2023: 2
- FWCI
- 4.17
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- International Joint Conference on Neural Networks (IJCNN) (publishedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by)
- PORTO@Iris (submittedVersion, other-oa)
- arXiv (Cornell University) (cc-by)
- Funders
- New York University Abu Dhabi (CG010)
- Technische Universität Wien
- Tamkeen (CG010)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Physical Sciences › Engineering › Electrical and Electronic Engineering › Low-power high-performance VLSI design
- Physical Sciences › Engineering › Electrical and Electronic Engineering › Advanced Memory and Neural Computing
- Keywords
- hardware accelerators, fixed-point quantization, edge AI, neural network compression, attention mechanism, GELU, layer normalization, softmax, RoBERTa, ASIC design, low-power electronics, RTL design
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
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.