Mixed precision accumulation for neural network inference guided by componentwise forward error analysis
19 Mar · El-Mehdi El Arar, Silviu-Ioan Filip, Theo Mary +1 · arXiv:2503.15568
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…