English

Zero-Shot Dynamic Quantization for Transformer Inference

Computation and Language 2022-11-18 v1

Abstract

We introduce a novel run-time method for significantly reducing the accuracy loss associated with quantizing BERT-like models to 8-bit integers. Existing methods for quantizing models either modify the training procedure,or they require an additional calibration step to adjust parameters that also requires a selected held-out dataset. Our method permits taking advantage of quantization without the need for these adjustments. We present results on several NLP tasks demonstrating the usefulness of this technique.

Keywords

Cite

@article{arxiv.2211.09744,
  title  = {Zero-Shot Dynamic Quantization for Transformer Inference},
  author = {Yousef El-Kurdi and Jerry Quinn and Avirup Sil},
  journal= {arXiv preprint arXiv:2211.09744},
  year   = {2022}
}

Comments

To appear in EMNLP 2022 industry track

R2 v1 2026-06-28T06:08:58.372Z