Algorithms and data structures for automatic precision estimation of neural networks

📅 2025-09-29
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Neural networks suffer from accumulated rounding errors in floating-point arithmetic, causing deviations between actual behavior and mathematical expectations—thereby compromising reliability and interpretability of inference and training. This paper introduces the first automated precision estimation method tailored for deep learning frameworks: it employs lightweight, differentiable data structures and algorithms to enable real-time error propagation tracking during both training and inference, balancing high-fidelity numerical modeling with computational efficiency while seamlessly integrating into mainstream neural network libraries. Its core contribution lies in systematizing and automating floating-point error analysis, enabling end-to-end numerical error monitoring. Extensive experiments across diverse models and tasks demonstrate the method’s broad applicability; they reveal pervasive and significant numerical distortions in most neural networks, underscoring the critical role of precision awareness in ensuring model robustness and trustworthiness.

Technology Category

Machine Learning: Deep Neural Architectures and Foundation ModelsNatural Language Processing: Interpretability, Analysis, and Evaluation of NLP ModelsComputer Vision: Adversarial Attacks & Robustness

Application Category

Graph Algorithms and Modeling for the Web: Graph neural networks and deep learning approaches for Web-related graphsResponsible Web: Human-perceived consequences of algorithmic deployment on the webWeb Mining and Content Analysis: Large pretrained models with web data
📝 Abstract
We describe algorithms and data structures to extend a neural network library with automatic precision estimation for floating point computations. We also discuss conditions to make estimations exact and preserve high computation performance of neural networks training and inference. Numerical experiments show the consequences of significant precision loss for particular values such as inference, gradients and deviations from mathematically predicted behavior. It turns out that almost any neural network accumulates computational inaccuracies. As a result, its behavior does not coincide with predicted by the mathematical model of neural network. This shows that tracking of computational inaccuracies is important for reliability of inference, training and interpretability of results.
Problem

Research questions and friction points this paper is trying to address.

Automatically estimating floating-point precision in neural networks
Addressing computational inaccuracies affecting inference and training
Ensuring reliability and interpretability of neural network results
Innovation

Methods, ideas, or system contributions that make the work stand out.

Algorithms and data structures for automatic precision estimation
Exact estimations with preserved neural network performance
Tracking computational inaccuracies for reliable inference
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
Joint Stock "Research and production company "Kryptonite" | Institute for Information Transmission Problems, Russian Academy of Sciences
I
Igor V. Netay
Joint Stock "Research and production company "Kryptonite"; Institute for Information Transmission Problems, Russian Academy of Sciences