Automated Numerical Stability Analysis of Deep Learning Operators
Not on the map. Why?
Abstract (arXiv)
Finite-precision arithmetic unavoidably introduces numerical approximation errors. Numerical computations may use insufficient precision or an improper formulation, which leads to numerical instability. In this paper, we introduce a unified software tool for stochastic numerical validation of deep-learning operators. The tool follows CESTAC on supported exposed operations and uses an operator-level data-perturbation approximation for GEMM-like kernels. Our developed software not only enables numerical validation with a single computation pass but also detects the sources of numerical instability and provides numerical stability monitoring during deep learning training and inference. We verified its effectiveness on the detection of polluted operators with injected numerical instabilities across various tasks. We believe that our developed method and tools provide valuable insights into developing numerically stable computing kernels, which are particularly critical for numerically stable and efficient deep learning training and inference.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 60 references that are in the map. First posted on arXiv 28 Jul 2026.
Builds on
17 of 60 references.
References · 17
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2017Mixed Precision Trainingcited by 1,156
- 2014Deep Speech: Scaling up end-to-end speech recognitioncited by 354
- 2025Why Low-Precision Transformer Training Fails: An Analysis on Flash Attentioncited by 12
- 2024To FP8 and Back Again: Quantifying Reduced Precision Effects on LLM Training Stabilitycited by 9
- 2025Numerical stability analysis of large language modelscited by 9
5 more
- 2025Mixed precision accumulation for neural network inference guided by componentwise forward error analysiscited by 6
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikescited by 4
- 2020A Framework for Semi-Automatic Precision and Accuracy Analysis for Fast and Rigorous Deep Learningcited by 2
- 2026Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Modelscited by 2
- 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Trainingcited by 1
Built on by
Not cited yet.