Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Model
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 16; 2022: 14; 2023: 14; 2024: 8; 2025: 3; 2026: 3.
58 papers.
Sort:
By area:
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2021Learned Token Pruning for Transformerscited by 138
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2023Cascade Speculative Drafting for Even Faster LLM Inferencecited by 83
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 59
- 2021A Survey on Green Deep Learningcited by 52
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantizationcited by 42
38 more
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2023Efficient Post-training Quantization with FP8 Formatscited by 29
- 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inferencecited by 25
- 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Modelscited by 22
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Modelscited by 20
- 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformerscited by 17
- 2022Efficient Quantized Sparse Matrix Operations on Tensor Corescited by 16
- 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
- 2021On the Distribution, Sparsity, and Inference-time Quantization of Attention Values in Transformerscited by 14
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selectioncited by 13
- 2021Improving the Efficiency of Transformers for Resource-Constrained Devicescited by 12
- 2023Binarized Neural Machine Translationcited by 12
- 2023ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformerscited by 12
- 2025ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restorationcited by 12
- 2022Understanding and Improving Knowledge Distillation for Quantization-Aware Training of Large Transformer Encoderscited by 11
- 2024Optimizing Large Language Models through Quantization: A Comparative Analysis of PTQ and QAT Techniquescited by 10
- 2021Efficient Softmax Approximation for Deep Neural Networks with Attention Mechanismcited by 9
- 2021Low-Precision Hardware Architectures Meet Recommendation Model Inference at Scalecited by 7
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Surveycited by 7
- 2021LEAP: Learnable Pruning for Transformer-based Modelscited by 6
- 2023Dynamic Stashing Quantization for Efficient Transformer Trainingcited by 6
- 2024Efficiently Distilling LLMs for Edge Applicationscited by 5
- 2022Sub-8-Bit Quantization Aware Training for 8-Bit Neural Network Accelerator with On-Device Speech Recognitioncited by 4
- 2023Tango: rethinking quantization for graph neural network training on GPUscited by 4
- 2023FP8-BERT: Post-Training Quantization for Transformercited by 4
- 2022Towards Fine-tuning Pre-trained Language Models with Integer Forward and Backward Propagationcited by 3
- 2024Token Pruning using a Lightweight Background Aware Vision Transformercited by 3
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3
- 2025Hawk: Leveraging Spatial Context for Faster Autoregressive Text-to-Image Generationcited by 3
- 2021The NiuTrans System for the WMT21 Efficiency Taskcited by 2
- 2022The Ecological Footprint of Neural Machine Translation Systemscited by 2
- 2022Legal-Tech Open Diaries: Lesson learned on how to develop and deploy light-weight models in the era of humongous Language Modelscited by 2
- 2022Fast DistilBERT on CPUscited by 2
- 2023Teacher Intervention: Improving Convergence of Quantization Aware Training for Ultra-Low Precision Transformerscited by 2
- 2023An Efficient Sparse Inference Software Accelerator for Transformer-based Language Models on CPUscited by 2
- 2026It Takes a MAESTRO To Prune Bad Expertscited by 2
- 2021The NiuTrans System for WNGT 2020 Efficiency Taskcited by 1
50 most cited of 58 All 58 (JSON)
- 2026Unifying Depth and Width Pruning for LLMs via Binary Knapsack Optimization13 Aug 2026
- 2026It Takes a MAESTRO To Prune Bad Experts9 Jul 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2025Hawk: Leveraging Spatial Context for Faster Autoregressive Text-to-Image Generation29 Oct 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2025ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restoration10 Mar 2025
- 2024Optimizing Large Language Models through Quantization: A Comparative Analysis of PTQ and QAT Techniques9 Nov 2024
- 2024Token Pruning using a Lightweight Background Aware Vision Transformer12 Oct 2024
- 2024RevMUX: Data Multiplexing with Reversible Adapters for Efficient LLM Batch Inference6 Oct 2024
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Survey3 Sep 2024
- 2024Optimization of DNN-based speaker verification model through efficient quantization technique12 Jul 2024
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Models4 Apr 2024
38 more
- 2024Efficiently Distilling LLMs for Edge Applications1 Apr 2024
- 2024A Comprehensive Survey of Compression Algorithms for Language Models27 Jan 2024
- 2023Cascade Speculative Drafting for Even Faster LLM Inference18 Dec 2023
- 2023FP8-BERT: Post-Training Quantization for Transformer10 Dec 2023
- 2023Interpretability Illusions in the Generalization of Simplified Models6 Dec 2023
- 2023Sample-based Dynamic Hierarchical Transformer with Layer and Head Flexibility via Contextual Bandit5 Dec 2023
- 2023Efficient Post-training Quantization with FP8 Formats26 Sep 2023
- 2023Tango: rethinking quantization for graph neural network training on GPUs2 Aug 2023
- 2023ITA: An Energy-Efficient Attention and Softmax Accelerator for Quantized Transformers7 Jul 2023
- 2023An Efficient Sparse Inference Software Accelerator for Transformer-based Language Models on CPUs28 Jun 2023
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentation12 Jun 2023
- 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformers8 Apr 2023
- 2023Block-wise Bit-Compression of Transformer-based Models16 Mar 2023
- 2023Dynamic Stashing Quantization for Efficient Transformer Training9 Mar 2023
- 2023Teacher Intervention: Improving Convergence of Quantization Aware Training for Ultra-Low Precision Transformers23 Feb 2023
- 2023Binarized Neural Machine Translation9 Feb 2023
- 2022Understanding and Improving Knowledge Distillation for Quantization-Aware Training of Large Transformer Encoders20 Nov 2022
- 2022Zero-Shot Dynamic Quantization for Transformer Inference17 Nov 2022
- 2022Fast DistilBERT on CPUs27 Oct 2022
- 2022Legal-Tech Open Diaries: Lesson learned on how to develop and deploy light-weight models in the era of humongous Language Models24 Oct 2022
- 2022AlphaTuning: Quantization-Aware Parameter-Efficient Adaptation of Large-Scale Pre-Trained Language Models8 Oct 2022
- 2022Towards Fine-tuning Pre-trained Language Models with Integer Forward and Backward Propagation20 Sep 2022
- 2022Efficient Quantized Sparse Matrix Operations on Tensor Cores14 Sep 2022
- 2022Efficient Methods for Natural Language Processing: A Survey31 Aug 2022
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization30 Aug 2022
- 2022Sub-8-Bit Quantization Aware Training for 8-Bit Neural Network Accelerator with On-Device Speech Recognition30 Jun 2022
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Models20 Jun 2022
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models25 May 2022
- 2022Pyramid-BERT: Reducing Complexity via Successive Core-set based Token Selection27 Mar 2022
- 2022The Ecological Footprint of Neural Machine Translation Systems4 Feb 2022
- 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inference3 Dec 2021
- 2021Efficient Softmax Approximation for Deep Neural Networks with Attention Mechanism21 Nov 2021
- 2021A Survey on Green Deep Learning8 Nov 2021
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantization27 Sep 2021
- 2021The NiuTrans System for WNGT 2020 Efficiency Task16 Sep 2021
- 2021The NiuTrans System for the WMT21 Efficiency Task16 Sep 2021
- 2021Learned Token Pruning for Transformers2 Jul 2021
- 2021Improving the Efficiency of Transformers for Resource-Constrained Devices30 Jun 2021
50 newest of 58 All 58 (JSON)
- 2021Learned Token Pruning for Transformerscited by 138
- 2023Cascade Speculative Drafting for Even Faster LLM Inferencecited by 83
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
- 2024Token Pruning using a Lightweight Background Aware Vision Transformercited by 3
- 2024Token Pruning using a Lightweight Background Aware Vision Transformer12 Oct 2024
- 2023Cascade Speculative Drafting for Even Faster LLM Inference18 Dec 2023
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentation12 Jun 2023
- 2021Learned Token Pruning for Transformers2 Jul 2021
- 2023Efficient Post-training Quantization with FP8 Formatscited by 29
- 2023Efficient Post-training Quantization with FP8 Formats26 Sep 2023
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2021VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inferencecited by 59
- 2021A Survey on Green Deep Learningcited by 52
- 2022ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantizationcited by 42
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2021NN-LUT: Neural Approximation of Non-Linear Operations for Efficient Transformer Inferencecited by 25
- 2023Interpretability Illusions in the Generalization of Simplified Modelscited by 24
12 most cited of 51 All 51 (JSON)
- 2026Unifying Depth and Width Pruning for LLMs via Binary Knapsack Optimization13 Aug 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2025Hawk: Leveraging Spatial Context for Faster Autoregressive Text-to-Image Generation29 Oct 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2024Optimizing Large Language Models through Quantization: A Comparative Analysis of PTQ and QAT Techniques9 Nov 2024
- 2024RevMUX: Data Multiplexing with Reversible Adapters for Efficient LLM Batch Inference6 Oct 2024
- 2024Designing Large Foundation Models for Efficient Training and Inference: A Survey3 Sep 2024
- 2024Optimization of DNN-based speaker verification model through efficient quantization technique12 Jul 2024
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Models4 Apr 2024
- 2024Efficiently Distilling LLMs for Edge Applications1 Apr 2024
- 2024A Comprehensive Survey of Compression Algorithms for Language Models27 Jan 2024
- 2023FP8-BERT: Post-Training Quantization for Transformer10 Dec 2023
12 newest of 51 All 51 (JSON)