Schr"odinger's FP: Dynamic Adaptation of Floating-Point Containers for Deep Learning Training
Not on the map. Why?
Abstract (arXiv)
The transfer of tensors from/to memory during neural network training dominates time and energy. To improve energy efficiency and performance, research has been exploring ways to use narrower data representations. So far, these attempts relied on user-directed trial-and-error to achieve convergence. We present methods that relieve users from this responsibility. Our methods dynamically adjust the size and format of the floating-point containers used for activations and weights during training, achieving adaptivity across three dimensions: i) which datatype to use, ii) on which tensor, and iii) how it changes over time. The different meanings and distributions of exponent and mantissas lead us to tailored approaches for each. We present two lossy pairs of methods to eliminate as many mantissa and exponent bits as possible without affecting accuracy. Quantum Mantissa and Quantum Exponent are machine learning compression methods that tap into the gradient descent algorithm to learn the minimal mantissa and exponent bitlengths on a per-layer granularity. They automatically learn that many tensors can use just 1 or 2 mantissa bits and 3 or 4 exponent bits. Overall, the two machine learning methods reduce the footprint by 4.74×. Alternatively, BitWave observes changes in the loss function during training to adjust mantissa and exponent bitlengths network-wide, yielding a 3.19× reduction in footprint. Finally, we present an optional method, Gecko, to exploit the naturally emerging, lop-sided exponent distribution to losslessly compress resulting exponents from Quantum Exponent or BitWave and, on average, improve compression rates to 5.64× and 4.56×.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 21 of its 42 references that are in the map. First posted on arXiv 28 Apr 2022.
Builds on
21 of 42 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2017Mixed Precision Trainingcited by 1,156
- 2019Deep Learning Recommendation Model for Personalization and Recommendation Systemscited by 327
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 295
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
9 more
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2018Mixed Precision Quantization of ConvNets via Differentiable Neural Architecture Searchcited by 125
- 2018Mixed Precision Training of Convolutional Neural Networks using Integer Operationscited by 45
- 2017Flexpoint: An Adaptive Numerical Format for Efficient Training of Deep Neural Networkscited by 44
- 2018Training DNNs with Hybrid Block Floating Pointcited by 40
- 2021BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network Quantizationcited by 39
- 2021FAST: DNN Training Under Variable Precision Block Floating Point with Stochastic Roundingcited by 31
- 2020BitPruning: Learning Bitlengths for Aggressive and Accurate Quantizationcited by 14
- 2020FPRaker: A Processing Element For Accelerating Neural Network Trainingcited by 6
Built on by
Citing papers per year: 2023: 1.
1 paper.