The DOI matches its Crossref record; 4 of the 4 references it cites were found in a registry or an index.
DTATrans: Leveraging Dynamic Token-Based Quantization With Accuracy Compensation Mechanism for Efficient Transformer Architecture
Abstract
Models based on the attention mechanism, i.e., transformers, have shown extraordinary performance in natural language processing (NLP) tasks. However, their memory footprint, inference latency, and power consumption are still prohibitive for efficient inference at edge devices, even at data centers. To tackle this issue, we present an algorithm-architecture co-design named DTATrans. We find empirically that the tolerance to the noise varies from token to token in attention-based NLP models. This finding leads us to dynamically quantize different tokens with mixed levels of bits. Furthermore, we find that the overstrict quantization method causes a dilemma of the model accuracy and model compression ratio, which impels us to explore a method to compensate for the model accuracy when the compression ratio is high. Thus, in DTATrans, we design a compression framework that: 1) dynamically quantizes tokens while they are forwarded in the models; 2) jointly determines the ratio of each precision; and 3) compensate the model accuracy by exploiting lightweight computing on the 0-bit tokens. Moreover, due to the dynamic mixed-precision tokens caused by our framework, previous matrix-multiplication accelerators (e.g., systolic array) cannot effectively exploit the benefit of the compressed attention computation. We thus design our transformer accelerator with the variable-speed systolic array (VSSA) and propose an effective optimization strategy to alleviate the pipeline-stall problem in VSSA without hardware overhead. We conduct experiments with existing attention-based NLP models, including BERT and GPT-2 on various language tasks. Our results show that DTATrans outperforms the previous neural network accelerator Eyeriss by$16.04\times $in terms of speedup and$3.62\times $in terms of energy saving. Compared with the state-of-the-art attention accelerator SpAtten, our DTATrans achieves at least$3.62\times $speedup and$4.22\times $energy efficiency improvement.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
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?
In the citing paper
“They further note that pruning 19% least important tokens causes only a 0.2% drop in accuracy, whereas pruning 24% tokens degrade accuracy by 5%.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“This approach allows more aggressive pruning for the same accuracy loss.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“There is negligible impact on BERT accuracy when adding Gaussian noise (equivalent to quantization) in the tokens with very low importance.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“Processing this RToken adds only minor overhead but avoids the accuracy loss due to completely pruning unimportant tokens.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“However, doing this to highly important tokens greatly impacts accuracy.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“This reduces stall cycles since the cases of Q and K T having different precisions are reduced.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“They further note that pruning 19% least important tokens causes only a 0.2% drop in accuracy, whereas pruning 24% tokens degrade accuracy by 5%.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
In the citing paper
“They note that the noise tolerance of a token depends on its importance.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [106]
Citations
Cites
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
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
Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
Jacob, B., Kligys, S., Chen, B., Zhu, M., Tang, M., Howard, A., Adam, H., & Kalenichenko, D. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00286 · Cited by 4,114
Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural Networks
Chen, Y.-H., Krishna, T., Emer, J. S., & Sze, V. (2017) · IEEE Journal of Solid-State Circuits · doi:10.1109/jssc.2016.2616357 · Cited by 3,247
Research works printed but not linked: 31
- 10.1109/TNNLS.2020.2979670 · DOI · Paper page
- Liu, 2019, RoBERTa: A robustly optimized BERT pretraining approach, arXiv:1907.11692 · arXiv
- Radford, Language models are unsupervised multitask learners, 1
- 10.18653/v1/w18-5446 · DOI · Paper page
- 10.18653/v1/D16-1264 · DOI · Paper page
- 10.1109/CVPR.2018.00474 · DOI · Paper page
- 10.1109/HPCA51647.2021.00018 · DOI · Paper page
- Han, Deep compression: Compressing deep neural network with pruning, trained quantization and Huffman coding, 1
- Gysel, Hardware-oriented approximation of convolutional neural networks, 1
- 10.1109/CVPR42600.2020.00215 · DOI
- 10.1145/3467476 · DOI
- 10.1609/aaai.v34i05.6409 · DOI · Paper page
- Kim, I-BERT: Integer-only BERT quantization, 1
- 10.1109/ISCA45697.2020.00086 · DOI
- 10.1145/3307650.3322214 · DOI
- 10.1109/HPCA47549.2020.00035 · DOI · Paper page
- Vaswani, 2017, Attention is all you need
- Radford, Improving language understanding by generative pre-training, 1
- 10.24963/ijcai.2020/520 · DOI · Paper page
- 10.18653/v1/2020.findings-emnlp.1 · DOI
- 10.1145/3140659.3080246 · DOI
- 10.1109/DAC18074.2021.9586216 · DOI
- 10.1109/EMC2-NIPS53020.2019.00016 · DOI · Paper page
- 10.1609/aaai.v36i3.20202 · DOI
- Snoek, 2012, Practical Bayesian optimization of machine learning algorithms
- 10.1007/978-3-030-58545-7_1 · DOI
- 10.7551/mitpress/3206.001.0001 · DOI · Paper page
- Merity, 2016, Pointer sentinel mixture models, arXiv:1609.07843 · arXiv
- Li, 2022, Q-ViT: Fully differentiable quantization for vision transformer, arXiv:2201.07703 · arXiv
- Liu, 2021, Post-training quantization for vision transformer
- Michel, 2019, Are sixteen heads really better than one?
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
Metadata
- Authors
- Yang, T., Ma, F., Li, X., Liu, F., Zhao, Y., He, Z., & Jiang, L.
- Affiliations
- Shanghai Jiao Tong University (CN)
- Inceptio Technology Institute, Shanghai, China
- Venue
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2023-02
- Volume
- 42
- Issue
- 2
- Pages
- 509-520
- ISSN
- 0278-0070 (ISSN-L)
- 1937-4151
- OpenAlex
- W4285236966
- Cited by
- 33
- References
- 4
- Citations by year
- 2026: 8 · 2025: 16 · 2024: 6 · 2023: 3
- FWCI
- 2.04
- Type
- journal article
- Language
- en
- Open access
- closed
- Licence
- Locations
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems (publishedVersion)
- Funders
- National Key Research and Development Program of China (2018YFB1403400)
- National Natural Science Foundation of China (61834006)
- Wu Wen Jun Honorary Doctoral Scholarship, AI Institute, Shanghai Jiao Tong University
- 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 › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Keywords
- mixed-precision quantization, attention mechanism, transformer models, neural network compression, transformer accelerators, energy-efficient inference, BERT, GPT-2
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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: DTATrans: Leveraging Dynamic Token-Based Quantization With Accuracy Compensation Mechanism for Efficient Transformer Architecture. https://app.cochat.ai/papers/10.1109/tcad.2022.3181541
- The paper
- Yang, T., Ma, F., Li, X., Liu, F., Zhao, Y., He, Z., & Jiang, L. (2023). DTATrans: Leveraging Dynamic Token-Based Quantization With Accuracy Compensation Mechanism for Efficient Transformer Architecture. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems. https://doi.org/10.1109/tcad.2022.3181541