mlsanityData to 14 Oct 2026

Mixed precision accumulation for neural network inference guided by componentwise forward error analysis

arXiv 2503.15568 ↗First posted 19 Mar 2025cs.LG cs.AI cs.NAcited by 6

Not on the map. Why?

Abstract (arXiv)

This work proposes a mathematically founded mixed precision accumulation strategy for the inference of neural networks. Our strategy is based on a new componentwise forward error analysis that explains the propagation of errors in the forward pass of neural networks. Specifically, our analysis shows that the error in each component of the output of a linear layer is proportional to the condition number of the inner product between the weights and the input, multiplied by the condition number of the activation function. These condition numbers can vary widely from one component to the other, thus creating a significant opportunity to introduce mixed precision: each component should be accumulated in a precision inversely proportional to the product of these condition numbers. We propose a numerical algorithm that exploits this observation: it first computes all components in low precision, uses this output to estimate the condition numbers, and recomputes in higher precision only the components associated with large condition numbers. We test our algorithm on various networks and datasets and confirm experimentally that it can significantly improve the cost--accuracy tradeoff compared with uniform precision accumulation baselines.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 15 of its 39 references that are in the map. First posted on arXiv 19 Mar 2025.

Builds on

15 of 39 references.

References · 15

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  3. 2021A White Paper on Neural Network Quantizationcited by 472
  4. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
  5. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
  6. 2015Deep Learning with Limited Numerical Precisioncited by 376
  7. 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 261
  8. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
  9. 2015Fixed Point Quantization of Deep Convolutional Networkscited by 143
  10. 2021BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network Quantizationcited by 39
  11. 2019Accumulation Bit-Width Scaling For Ultra-Low Precision Training Of Deep Networkscited by 11
  12. 2020Quantization of Deep Neural Networks for Accumulator-constrained Processorscited by 9
3 more
  1. 2025Numerical stability analysis of large language modelscited by 9
  2. 2024Accumulator-Aware Post-Training Quantization for Large Language Modelscited by 6
  3. 2023Quantized Neural Networks for Low-Precision Accumulation with Guaranteed Overflow Avoidancecited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.