Deterministic and probabilistic rounding error analysis of neural networks in floating-point arithmetic

Abstract The use of artificial neural networks is now becoming widespread across a wide variety of tasks. In this context of very rapid development issues related to the storage and computational performance of these models emerge, since networks are sometimes very deep and comprise up to trillions of parameters. For all these reasons the use of reduced precision is increasingly being considered, although, until now, its accuracy and robustness had been approached mostly from a practical standpoint or verified by software. The aim of this work is to provide formal tools to better understand, explain and predict the accuracy and stability of neural networks when using floating-point arithmetic. To this end, we apply a rounding error analysis based on existing tools in numerical linear algebra to obtain both forward and backward error bounds. This includes both deterministic worst-case bounds as well as probabilistic bounds that are sharper on average. Since the exact backward error is not directly computable the backward error bounds are validated experimentally through a linearized backward error. These bounds both ensure the proper functioning of neural networks once trained and provide recommendations on architectures and training methods to enhance the robustness of neural networks.

Authors

Institutions

Publication Details

Journal
IMA Journal of Numerical Analysis
Published
2025-10-20
DOI
https://doi.org/10.1093/imanum/draf130
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Deterministic and probabilistic rounding error analysis of neural networks in floating-point arithmetic

Serge Gratton, Théo Mary, Théo Beuzeville, Alfredo Buttari
IMA Journal of Numerical Analysis
Neural Networks and Applications
article

Deterministic and probabilistic rounding error analysis of neural networks in floating-point arithmetic

Serge Gratton, Théo Mary, Théo Beuzeville, Alfredo Buttari
article en

Abstract

Abstract The use of artificial neural networks is now becoming widespread across a wide variety of tasks. In this context of very rapid development issues related to the storage and computational performance of these models emerge, since networks are sometimes very deep and comprise up to trillions of parameters. For all these reasons the use of reduced precision is increasingly being considered, although, until now, its accuracy and robustness had been approached mostly from a practical standpoint or verified by software. The aim of this work is to provide formal tools to better understand, explain and predict the accuracy and stability of neural networks when using floating-point arithmetic. To this end, we apply a rounding error analysis based on existing tools in numerical linear algebra to obtain both forward and backward error bounds. This includes both deterministic worst-case bounds as well as probabilistic bounds that are sharper on average. Since the exact backward error is not directly computable the backward error bounds are validated experimentally through a linearized backward error. These bounds both ensure the proper functioning of neural networks once trained and provide recommendations on architectures and training methods to enhance the robustness of neural networks.

IMA Journal of Numerical Analysis
Centre National de la Recherche Scientifique (FR), Université Toulouse III - Paul Sabatier (FR), Institut National Polytechnique de Toulouse (FR), Université Toulouse-I-Capitole (FR), Sorbonne Université (FR), Institut de Recherche en Informatique de Toulouse (FR), Université Toulouse - Jean Jaurès (FR), Laboratoire Jacques-Louis Lions (FR), Institut Polytechnique de Bordeaux (FR)
Agence Nationale de la Recherche, Université de Toulouse
Openalex Percentile: Top 85%
Neural Networks and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.