CoChat

Understanding and Overcoming the Challenges of Efficient Transformer Quantization

Open access
Bondarenko, Yelysei, Nagel, Markus, Blankevoort, Tijmen · 2021 · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing
Cited by 81

The DOI matches its Crossref record; 47 of the 47 references it cites were found in a registry or an index.

Abstract

Transformer-based architectures have become the de-facto standard models for a wide range of Natural Language Processing tasks.However, their memory footprint and high latency are prohibitive for efficient deployment and inference on resource-limited devices.In this work, we explore quantization for transformers.We show that transformers have unique quantization challenges -namely, high dynamic activation ranges that are difficult to represent with a low bit fixed-point format.We establish that these activations contain structured outliers in the residual connections that encourage specific attention patterns, such as attending to the special separator token.To combat these challenges, we present three solutions based on post-training quantization and quantization-aware training, each with a different set of compromises for accuracy, model size, and ease of use.In particular, we introduce a novel quantization scheme -per-embedding-group quantization.We demonstrate the effectiveness of our methods on the GLUE benchmark using BERT, establishing state-of-the-art results for post-training quantization.Finally, we show that transformer weights and embeddings can be quantized to ultra-low bit-widths, leading to significant memory savings with a minimum accuracy loss.Our source code is available at https://github. com/qualcomm-ai-research/ transformer-quantization.

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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.18653/v1/2021.emnlp-main.627

Cites

47 of 47 references verified0 citation errors · 0 not checkable

Statistics

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.

A few free checks a day · papers already verified open instantly · results are public

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

Show all 47 references

Cited by

See all 81

Metadata

Authors
Bondarenko, Y., Nagel, M., & Blankevoort, T.
Venue
Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing
Published
2021
Pages
7947-7969
OpenAlex
W3202028501
Cited by
81
References
47
FWCI
3.55
Type
conference paper
Language
en
Open access
hybrid

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: Understanding and Overcoming the Challenges of Efficient Transformer Quantization. https://app.cochat.ai/papers/10.18653/v1/2021.emnlp-main.627
The paper
Bondarenko, Y., Nagel, M., & Blankevoort, T. (2021). Understanding and Overcoming the Challenges of Efficient Transformer Quantization. Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing. https://doi.org/10.18653/v1/2021.emnlp-main.627

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.