PreprintCited by 514Numerical Methods and AlgorithmsAdvanced Neural Network ApplicationsParallel Computing and Optimization Techniques

A Study of BFLOAT16 for Deep Learning Training

Open access
Kalamkar, Dhiraj, Mudigere, Dheevatsa, Mellempudi, Naveen, Das, Dipankar, Banerjee, Kunal, Avancha, Sasikanth, Vooturi, Dharma Teja, Jammalamadaka, Nataraj +11 more·2019·arXiv

Abstract

This paper presents the first comprehensive empirical study demonstrating the efficacy of the Brain Floating Point (BFLOAT16) half-precision format for Deep Learning training across image classification, speech recognition, language modeling, generative networks and industrial recommendation systems. BFLOAT16 is attractive for Deep Learning training for two reasons: the range of values it can represent is the same as that of IEEE 754 floating-point format (FP32) and conversion to/from FP32 is simple. Maintaining the same range as FP32 is important to ensure that no hyper-parameter tuning is required for convergence; e.g., IEEE 754 compliant half-precision floating point (FP16) requires hyper-parameter tuning. In this paper, we discuss the flow of tensors and various key operations in mixed precision training, and delve into details of operations, such as the rounding modes for converting FP32 tensors to BFLOAT16. We have implemented a method to emulate BFLOAT16 operations in Tensorflow, Caffe2, IntelCaffe, and Neon for our experiments. Our results show that deep learning training using BFLOAT16 tensors achieves the same state-of-the-art (SOTA) results across domains as FP32 tensors in the same number of iterations and with no changes to hyper-parameters.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

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

Integrity signals

Registry

DataCite · 10.48550/arxiv.1905.12322

Cites

34 of 34 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

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

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Bfloat16 precision offers significant speedups for BERT models while maintaining comparable accuracy to FP32.

    “This precision offers significant speedups for BERT models while maintaining comparable accuracy to FP32.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [164]

    Section 4.2.2 (p. 5) reports BFLOAT16 accuracy matching or exceeding FP32 for a neural machine translation model. Section 2 (p. 3) reports speedups for other TensorFlow tasks, but our copy does not report BERT results or establish significant speedups for BERT. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • All the discussed numerical formats offer several benefits over traditional floating-point precision, enabling faster and more efficient inference with reduced memory bandwidth.

    “All these formats discussed here offer several benefits over the traditional floating-point precision, enabling faster and more efficient inference with reduced memory bandwidth.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [164]

    The Introduction (p. 1) links low-precision computing to faster deep-learning computation and says BFLOAT16 reduces communication volume in distributed training. It mentions mixed-precision inference, but does not establish that all the formats discussed make inference faster or reduce its memory bandwidth. (LLM, conf=0.85)

    Experimental — accuracy not yet measured
  • Emerging numerical formats such as Bfloat16, MSFP, Tensorfloat32, and FP8 provide better computational efficiency and accuracy for several transformer workloads.

    “The emerging numerical formats such as Bfloat16 [164], Microsoft Floating Point (MSFP) [165], Tensorfloat32 [166], and FP8 [167, 168] provide better computational efficiency and accuracy for several transformer workloads.”

    From A Survey of Techniques for Optimizing Transformer Inference (2023) · cites this paper as [164]

    The BFLOAT16 citation [164] supports only the BFLOAT16 part of the sentence. Section 3 (p. 3) describes potential hardware area and power savings, and Section 4.2.2 (p. 5) reports equal or better translation accuracy than FP32 for a recurrent model. The paper does not establish improved computational efficiency and accuracy for transformer workloads; its evaluated translation model uses LSTMs, not a transformer. (LLM, conf=0.88)

    Experimental — accuracy not yet measured

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

9 of the 43 references couldn’t be matched to a known paper.

Research works printed but not linked: 5

  1. [10][10] Jeffrey Dean, Greg Corrado, Rajat Monga, Kai Chen, Matthieu Devin, Mark Mao, Andrew Senior, Paul Tucker, Ke Yang, Quoc V Le, et al. Large scale distributed deep networks. In Advances in neural information processing systems , pages 1223-1231, 2012. -
  2. [15][15] Boris Ginsburg, Sergei Nikolaev, and Paulius Micikevicius. Training of deep networks with half-precision float. NVidia GPU Technology Conference , 2017. -
  3. [34][34] Matthew Richardson, Ewa Dominowska, and Robert Ragno. Predicting clicks: Estimating the click-through rate for new ads. In Proceedings of the 16th International Conference on World Wide Web , WWW'07, pages 521-530, New York, NY, USA, 2007. ACM. -
  4. [37][37] Vincent Vanhoucke, Andrew Senior, and Mark Z Mao. Improving the speed of neural networks on CPUs. In Proc. Deep Learning and Unsupervised Feature Learning NIPS Workshop , volume 1, 2011. -
  5. [43][43] Jian Zhang, Jiyan Yang, and Hector Yuen. Training with low-precision embedding tables. In Systems for Machine Learning Workshop at NeurIPS 2018 . 2018.

Cited by

Sorted by citations

Authors
Kalamkar, D., Mudigere, D., Mellempudi, N., Das, D., Banerjee, K., Avancha, S., Vooturi, D. T., Jammalamadaka, N., Huang, J., Yuen, H., Yang, J., Park, J., Heinecke, A., Georganas, E., Srinivasan, S., Kundu, A., Smelyanskiy, M., Kaul, B., & Dubey, P.
Affiliations
  • Meta (United States) (US)
  • Intel (United States) (US)
Venue
arXiv
Publisher
arXiv
Published
2019
ISSN
2331-8422 (ISSN-L)
OpenAlex
W2947629474
Cited by
169
References
43
Citations by year
2026: 4 · 2025: 14 · 2024: 15 · 2023: 33 · 2022: 32 · 2021: 37 · 2020: 32 · 2019: 2
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Computational Theory and Mathematics › Numerical Methods and Algorithms
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
Keywords
bfloat16, half-precision floating-point, mixed-precision training, deep learning training, rounding modes, image classification, speech recognition, language modeling, generative neural networks, recommender systems

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