mlsanityData to 7 Oct 2026

DeepStability: A Study of Unstable Numerical Methods and Their Solutions in Deep Learning

arXiv 2202.03493 ↗First posted 7 Feb 2022cs.LG cs.NA math.NAcited by 11

Not on the map. Why?

Abstract (arXiv)

Deep learning (DL) has become an integral part of solutions to various important problems, which is why ensuring the quality of DL systems is essential. One of the challenges of achieving reliability and robustness of DL software is to ensure that algorithm implementations are numerically stable. DL algorithms require a large amount and a wide variety of numerical computations. A naive implementation of numerical computation can lead to errors that may result in incorrect or inaccurate learning and results. A numerical algorithm or a mathematical formula can have several implementations that are mathematically equivalent, but have different numerical stability properties. Designing numerically stable algorithm implementations is challenging, because it requires an interdisciplinary knowledge of software engineering, DL, and numerical analysis. In this paper, we study two mature DL libraries PyTorch and Tensorflow with the goal of identifying unstable numerical methods and their solutions. Specifically, we investigate which DL algorithms are numerically unstable and conduct an in-depth analysis of the root cause, manifestation, and patches to numerical instabilities. Based on these findings, we launch, the first database of numerical stability issues and solutions in DL. Our findings and provide future references to developers and tool builders to prevent, detect, localize and fix numerically unstable algorithm implementations. To demonstrate that, using it DeepStability we have located numerical stability issues in Tensorflow, and submitted a fix which has been accepted and merged in.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 5 of its 29 references that are in the map. First posted on arXiv 7 Feb 2022.

Builds on

5 of 29 references.

References · 5

  1. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  2. 2018How Does Batch Normalization Help Optimization?cited by 355
  3. 2013Revisiting Natural Gradient for Deep Networkscited by 157
  4. 2020Adversarial Machine Learning -- Industry Perspectivescited by 121
  5. 2015Stochastic gradient variational Bayes for gamma approximating distributionscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 2; 2024: 1; 2025: 2; 2026: 4.

11 papers.