Evaluating the Resiliency of Posits for Scientific Computing
Open Access
- 12 November 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 477-487
Abstract
IEEE-754 is the de-facto standard for the implementation of floating-point number systems in hardware. With the rise of machine-learning and mixed-precision computation, applications tolerate small inaccuracies in the data by using lower bit-width floating-point values to improve computational speed and memory bandwidth, but still rely on some variant of IEEE-754. Posits have been proposed as a drop-in replacement to the IEEE-754 floating-point standard. Recent work has suggested that posits can offer greater numerical accuracy and reproducibility than IEEE-754-compliant floating point numbers at a comparable architectural cost. There have been several studies which consider the use of posits and other floating-point implementations in hardware and software, but there is limited work examining this new number system from a reliability perspective. In this paper, we evaluate the resiliency of posits to inform hardware design for fault-tolerant systems. Using real-world scientific datasets, we conduct an extensive bit-flip fault injection campaign to explore the tradeoff between accuracy and sensitivity to silent data corruption (SDC) between posits and IEEE-754. Our analysis breaks down the impact of a bit flip on the various fields within both floating-point standards. Results show the presence of the regime reduces the number of bits that cause catastrophic error in posits compared to IEEE floats. This leads to overall less error in upper bit positions of posits, except in certain edge cases. We found flips in the sign bit usually cause more error in posits due to the effect sign has on posit magnitude, unlike in IEEE floats. We also found that unlike in IEEE floats, the posit exponent does not produce significant error due to its small, static two bit size. Finally, error in the posit fraction was found to be similar to that of IEEE floats.Keywords
Funding Information
- National Science Foundation (SHF-1910197 and SHF-1943114)
This publication has 29 references indexed in Scilit:
- Numerical recovery strategies for parallel resilient Krylov linear solversNumerical Linear Algebra with Applications, 2016
- IPAS: intelligent protection against silent output corruption in scientific applications2016
- Adaptive Impact-Driven Detection of Silent Data Corruption for HPC ApplicationsIEEE Transactions on Parallel and Distributed Systems, 2016
- LLFI: An Intermediate Code-Level Fault Injection Tool for Hardware Faults2015
- Quantifying the Accuracy of High-Level Fault Injection Techniques for Hardware Faults2014
- Evaluating the Impact of SDC on the GMRES Iterative Solver2014
- FlipIt: An LLVM Based Fault Injector for HPC2014
- Fault resilience of the algebraic multi-grid solver2012
- Compiler transformations for high-performance computingACM Computing Surveys, 1994
- Effect of Cosmic Rays on Computer MemoriesScience, 1979