2019

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

Bhandare, Aishwarya, Sripathi, Vamsi, Karkada, Deepthi et al.

Understand

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.

Reading the bibliography…