paper-with-me

Papers

Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Model

2019-06-03 · Aishwarya Bhandare, Vamsi Sripathi, Deepthi Karkada, Vivek Menon, Sun Choi, Kushal Datta, Vikram Saletore

In this work, we quantize a trained Transformer machine language translation model leveraging INT8/VNNI instructions in the latest Intel$^\circledR$ Xeon$^\circledR$ Cascade Lake processors to improve inference performance while maintaining less than 0.5$\%$ drop in accuracy. To the best of our knowledge, this is the first attempt in the industry to quantize the Transformer model. This has high impact as it clearly demonstrates the various complexities of quantizing the language translation model. We present novel quantization techniques directly in TensorFlow to opportunistically replace 32-bit floating point (FP32) computations with 8-bit integers (INT8) and transform the FP32 computational graph. We also present a bin-packing parallel batching technique to maximize CPU utilization. Overall, our optimizations with INT8/VNNI deliver 1.5X improvement over the best FP32 performance. Furthermore, it reveals the opportunities and challenges to boost performance of quantized deep learning inference and establishes best practices to run inference with high efficiency on Intel CPUs.

📄 PDF Abstract BibTeX arXiv:1906.00532

Code (0)

등록된 구현이 없습니다.

Tasks

CPUQuantizationTranslation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

Fully Quantized Transformer for Machine Translation

2019-10-17 · Findings of the Association for Computational Linguistics 2020 · Gabriele Prato, Ella Charlaix, Mehdi Rezagholizadeh

State-of-the-art neural machine translation methods employ massive amounts of parameters. Drastically reducing computational costs of such methods without affecting performance has been up to this point unsuccessful. To …

Machine TranslationQuantizationTranslation

Neural Machine Translation with 4-Bit Precision and Beyond

2019-09-13 · Alham Fikri Aji, Kenneth Heafield

Neural Machine Translation (NMT) is resource intensive. We design a quantization procedure to compress NMT models better for devices with limited hardware capability. Because most neural network parameters are near zero,…

Machine TranslationNMTQuantizationTranslation

The Uneven Impact of Post-Training Quantization in Machine Translation

2025-08-28 · Benjamin Marie, Atsushi Fujita arxiv

Quantization is essential for deploying large language models (LLMs) on resource-constrained hardware, but its implications for multilingual tasks remain underexplored. We conduct the first large-scale evaluation of post…

Machine Translation

Extremely Low Bit Transformer Quantization for On-Device Neural Machine Translation

2020-09-16 · Findings of the Association for Computational Linguistics 2020 · Insoo Chung, Byeongwook Kim, Yoonjung Choi, Se Jung Kwon 외

The deployment of widely used Transformer architecture is challenging because of heavy computation load and memory overhead during inference, especially when the target device is limited in computational resources such a…

Machine TranslationNMTQuantizationTranslation

Binarized Neural Machine Translation

2023-02-09 · NeurIPS 2023 11 · Yichi Zhang, Ankush Garg, Yuan Cao, Łukasz Lew 외

The rapid scaling of language models is motivating research using low-bitwidth quantization. In this work, we propose a novel binarization technique for Transformers applied to machine translation (BMT), the first of its…

BinarizationMachine TranslationQuantizationTranslation