Bfloat16 Processing for Neural Networks
Neil Burgess, Jelena Milanović, Nigel Stephens et al. · Proceedings/Proceedings - Symposium on Computer Arithmetic · 2019
Bfloat16 ("BF16") is a new floating-point format tailored specifically for high-performance processing of Neural Networks and will be supported by major CPU and GPU architectures as well as Neural Network accelerators. This paper proposes a possible implementation of a BF16 multiply-accumulation operation that relaxes several IEEE Floating-Point Standard features to afford low-cost hardware implementations. Specifically, subnorms are flushed to zero; only one non-standard rounding mode (Round-Odd) is supported; NaNs are not propagated; and IEEE exception flags are not provided. The paper shows that this approach achieves the same network-level accuracy as using IEEE single-precision arithmetic ("FP32") for less than half the datapath area cost and with greater throughput.
Cited by 99 works. doi:10.1109/arith.2019.00022
Authors
References
- ImageNet Large Scale Visual Recognition Challenge
- Librispeech: An ASR corpus based on public domain audio books
- Mixed Precision Training
- IEEE Standard for Floating-Point Arithmetic
- Training Deep Neural Networks with 8-bit Floating Point Numbers
- Rethinking floating point for deep learning
- Mixed Precision Training of Convolutional Neural Networks using Integer Operations
- Fused Multiply-Add Microarchitecture Comprising Separate Early-Normalizing Multiply and Add Pipelines
- Emulation of a FMA and Correctly Rounded Sums: Proved Algorithms Using Rounding to Odd