Mokey: enabling narrow fixed-point inference for out-of-the-box floating-point transformer models
Open accessAbstract
Increasingly larger and better Transformer models keep advancing state-of-the-art accuracy and capability for Natural Language Processing applications. These models demand more computational power, storage, and energy. Mokey reduces the footprint of state-of-the-art 32-bit or 16-bit floating-point transformer models by quantizing all values to 4-bit indexes into dictionaries of representative 16-bit fixed-point centroids. Mokey does not need fine-tuning, an essential feature as often the training resources or datasets are not available to many. Exploiting the range of values that naturally occur in transformer models, Mokey selects centroid values to also fit an exponential curve. This unique feature enables Mokey to replace the bulk of the original multiply-accumulate operations with narrow 3b fixed-point additions resulting in an area- and energy-efficient hardware accelerator design. Over a set of state-of-the-art transformer models, the Mokey accelerator delivers an order of magnitude improvements in energy efficiency over a Tensor Cores-based accelerator while improving performance by at least 4× and as much as 15× depending on the model and on-chip buffering capacity. Optionally, Mokey can be used as memory compression assist for any other accelerator transparently stashing wide floating-point or fixed-point activations or weights into narrow 4-bit indexes. Mokey proves superior to prior state-of-the-art quantization methods for Transformers.
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?
Mokey quantizes both weights and activations.
“Mokey technique [132] quantizes both weights and activations.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [132]
Mokey quantizes all weights and activations to 16-entry dictionaries of FX16 centroids, requiring only 4-bit indices.
“All weights and activations are quantized to 16-entry dictionaries of FX16 centroids, which require only 4-bit indices.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [132]
In BERT-Large, activations contribute more than 50% of the memory footprint for token lengths above 512.
“In the BERT-Large model, activations contribute more than 50% of the memory footprint for token lengths above 512.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [132]
Mokey outperforms previous quantization techniques.
“Their technique outperforms previous quantization techniques.”
From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [132]
No citation lists for this paper
No citation lists for this paper yet — checked again daily.
References 48 · Cited by 37
- Authors
- Zadeh, A. H., Mahmoud, M., Abdelhadi, A., & Moshovos, A.
- Affiliations
- University of Toronto (CA)
- Venue
- Proceedings of the 49th Annual International Symposium on Computer Architecture
- Publisher
- ACM
- Published
- 2022-06-11
- Pages
- 888-901
- ISSN
- 1063-6897 (ISSN-L)
- OpenAlex
- W4281660701
- Cited by
- 37
- References
- 48
- Citations by year
- 2026: 6 · 2025: 18 · 2024: 8 · 2023: 4 · 2022: 1
- FWCI
- 2.81
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- Proceedings - International Symposium on Computer Architecture/Proceedings (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Funders
- NSERC
- 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 › Computational Theory and Mathematics › Numerical Methods and Algorithms
- Keywords
- transformer models, 4-bit quantization, memory compression, model compression
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