MGS: Markov Greedy Sums for Accurate Low-Bitwidth Floating-Point Accumulation
Not on the map. Why?
Abstract (arXiv)
We offer a novel approach, MGS (Markov Greedy Sums), to improve the accuracy of low-bitwidth floating-point dot products in neural network computations. In conventional 32-bit floating-point summation, adding values with different exponents may lead to loss of precision in the mantissa of the smaller term, which is right-shifted to align with the larger term's exponent. Such shifting (a.k.a. 'swamping') is a significant source of numerical errors in accumulation when implementing low-bitwidth dot products (e.g., 8-bit floating point) as the mantissa has a small number of bits. We avoid most swamping errors by arranging the terms in dot product summation based on their exponents and summing the mantissas without overflowing the low-bitwidth accumulator. We design, analyze, and implement the algorithm to minimize 8-bit floating point error at inference time for several neural networks. In contrast to traditional sequential summation, our method has significantly lowered numerical errors, achieving classification accuracy on par with high-precision floating-point baselines for multiple image classification tasks. Our dMAC hardware units can reduce power consumption by up to 34.1% relative to conventional MAC units.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 10 of its 40 references that are in the map. First posted on arXiv 12 Apr 2025.
Builds on
10 of 40 references.
References · 10
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
- 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 269
- 2022Pruning has a disparate impact on model accuracycited by 43
- 2023A2Q: Accumulator-Aware Quantization with Guaranteed Overflow Avoidancecited by 11
- 2020Quantization of Deep Neural Networks for Accumulator-constrained Processorscited by 9
- 2023MEMA Runtime Framework: Minimizing External Memory Accesses for TinyML on Microcontrollerscited by 2
Built on by
Not cited yet.