Mixed precision accumulation for neural network inference guided by componentwise forward error analysis
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
- 2017Attention Is All You Needcited by 60,361
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
- 2021A White Paper on Neural Network Quantizationcited by 472
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
- 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 261
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 164
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 143
- 2021BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network Quantizationcited by 39
- 2019Accumulation Bit-Width Scaling For Ultra-Low Precision Training Of Deep Networkscited by 11
- 2020Quantization of Deep Neural Networks for Accumulator-constrained Processorscited by 9
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Modelscited by 2
- 2026LAMP: Look-Ahead Mixed-Precision Inference of Large Language Modelscited by 1
- 2026Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernelscited by 1
- 2026Lipschitz-Based Robustness Certification Under Floating-Point Executioncited by 0
- 2026Automated Numerical Stability Analysis of Deep Learning Operatorscited by 0
- 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Acceleratorscited by 0
- 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Accelerators30 Sep 2026
- 2026Automated Numerical Stability Analysis of Deep Learning Operators28 Jul 2026
- 2026Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernels23 Jun 2026
- 2026Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Models25 May 2026
- 2026Lipschitz-Based Robustness Certification Under Floating-Point Execution6 Mar 2026
- 2026LAMP: Look-Ahead Mixed-Precision Inference of Large Language Models29 Jan 2026