Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Gonzalez-Pepe, Inés, Akhaddar, Hiba, Glatard, Tristan, Chatelain, Yohan
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911716630069248
author Gonzalez-Pepe, Inés
Akhaddar, Hiba
Glatard, Tristan
Chatelain, Yohan
author_facet Gonzalez-Pepe, Inés
Akhaddar, Hiba
Glatard, Tristan
Chatelain, Yohan
contents We introduce Fuzzy PyTorch, a framework for rapid evaluation of numerical variability in deep learning (DL) models. As DL is increasingly applied to diverse tasks, understanding variability from floating-point arithmetic is essential to ensure robust and reliable performance. Tools assessing such variability must be scalable, efficient, and integrate seamlessly with existing frameworks while minimizing code modifications. Fuzzy PyTorch enables this by integrating stochastic arithmetic into PyTorch through Probabilistic Rounding with Instruction Set Management, a novel library interfacing with Verificarlo, a numerical analysis compiler. The library offers stochastic rounding mode and a novel mode; up-down rounding. Comparative evaluations show Fuzzy PyTorch maintains model performance and achieves runtime reductions of 5x to 60x versus Verrou, a state-of-the-art tool. We further demonstrate scalability by running models from 1 to 341 million parameters, confirming applicability across small and large DL architectures. Overall, Fuzzy PyTorch provides an efficient, scalable, and practical solution for assessing numerical variability in deep learning, enabling researchers and practitioners to quantify and manage floating-point uncertainty without compromising performance or computational efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25991
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Models
Gonzalez-Pepe, Inés
Akhaddar, Hiba
Glatard, Tristan
Chatelain, Yohan
Machine Learning
Numerical Analysis
We introduce Fuzzy PyTorch, a framework for rapid evaluation of numerical variability in deep learning (DL) models. As DL is increasingly applied to diverse tasks, understanding variability from floating-point arithmetic is essential to ensure robust and reliable performance. Tools assessing such variability must be scalable, efficient, and integrate seamlessly with existing frameworks while minimizing code modifications. Fuzzy PyTorch enables this by integrating stochastic arithmetic into PyTorch through Probabilistic Rounding with Instruction Set Management, a novel library interfacing with Verificarlo, a numerical analysis compiler. The library offers stochastic rounding mode and a novel mode; up-down rounding. Comparative evaluations show Fuzzy PyTorch maintains model performance and achieves runtime reductions of 5x to 60x versus Verrou, a state-of-the-art tool. We further demonstrate scalability by running models from 1 to 341 million parameters, confirming applicability across small and large DL architectures. Overall, Fuzzy PyTorch provides an efficient, scalable, and practical solution for assessing numerical variability in deep learning, enabling researchers and practitioners to quantify and manage floating-point uncertainty without compromising performance or computational efficiency.
title Fuzzy PyTorch: Rapid Numerical Variability Evaluation for Deep Learning Models
topic Machine Learning
Numerical Analysis
url https://arxiv.org/abs/2605.25991