Abstract
The increasing use of heterogeneous and more energy-efficient computing systems has led to a renewed demand for reduced- or mixed-precision floating-point arithmetic. In light of this, we present the forward CENA method as an efficient roundoff error estimator and corrector. Unlike the previously published CENA method, our forward variant can be easily used in parallel high-performance computing applications. Just like the original variant, its error estimation capabilities can point out code regions where reduced or mixed precision still achieves sufficient accuracy, while the error correction capabilities can increase precision over what is natively supported on a given hardware platform, whenever higher accuracy is needed. CENA methods can also be used to increase the reproducibility of parallel sum reductions.
The submitted manuscript has been created by UChicago Argonne, LLC, Operator of Argonne National Laboratory (‘Argonne’). Argonne, a U.S. Department of Energy Office of Science laboratory, is operated under Contract No. DE-AC02-06CH11357. The U.S. Government retains for itself, and others acting on its behalf, a paid-up nonexclusive, irrevocable worldwide license in said article to reproduce, prepare derivative works, distribute copies to the public, and perform publicly and display publicly, by or on behalf of the Government. The Department of Energy will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan. http://energy.gov/downloads/doe-public-access-plan.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ahrens, P., Demmel, J., Nguyen, H.D.: Algorithms for efficient reproducible floating point summation. ACM Trans. Math. Softw. 46(3), 1–49 (2020)
Ballard, G., Benson, A.R., Druinsky, A., Lipshitz, B., Schwartz, O.: Improving the numerical stability of fast matrix multiplication. SIAM J. Matrix Anal. Appl. 37(4), 1382–1418 (2016)
Bischof, C.H., Carle, A., Hovland, P.D., Khademi, P., Mauer, A.: ADIFOR 2.0 user’s guide (Revision D). Argonne Technical Memorandum 192 (1998)
Christianson, B.: Reverse accumulation and accurate rounding error estimates for Taylor series coefficient. Optim. Methods Softw. 1(1), 81–94 (1992)
Fousse, L., Hanrot, G., Lefèvre, V., Pélissier, P., Zimmermann, P.: MPFR: a multiple-precision binary floating-point library with correct rounding. ACM Trans. Math. Softw. 33(2), 13es (2007)
Garcia, R., Michel, C., Rueher, M.: A branch-and-bound algorithm to rigorously enclose the round-off errors. In: Simonis, H. (ed.) CP 2020. LNCS, vol. 12333, pp. 637–653. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58475-7_37
Graillat, S., Ménissier-Morain, V.: Accurate summation, dot product and polynomial evaluation in complex floating point arithmetic. Inf. Comput. 216, 57–71 (2012)
Griewank, A., Walther, A.: Evaluating Derivatives. Society for Industrial and Applied Mathematics (2008). https://doi.org/10.1137/1.9780898717761
Habib, S., et al.: HACC: Simulating sky surveys on state-of-the-art supercomputing architectures. New Astron. 42, 49–65 (2016)
Higham, N.J.: Exploiting fast matrix multiplication within the level 3 BLAS. ACM Trans. Math. Softw. 16(4), 352–368 (1990)
Iri, M., Tsuchiya, T., Hoshi, M.: Automatic computation of partial derivatives and rounding error estimates with applications to large-scale systems of nonlinear equations. J. Comput. Appl. Math. 24(3), 365–392 (1988)
Jézéquel, F., Graillat, S., Mukunoki, D., Imamura, T., Iakymchuk, R.: Can we avoid rounding-error estimation in HPC codes and still get trustworthy results? In: Christakis, M., Polikarpova, N., Duggirala, P.S., Schrammel, P. (eds.) NSV/VSTTE -2020. LNCS, vol. 12549, pp. 163–177. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-63618-0_10
Jézéquel, F., Chesneaux, J.M.: CADNA: a library for estimating round-off error propagation. Comput. Phys. Commun. 178(12), 933–955 (2008)
Kahan, W.: Pracniques: further remarks on reducing truncation errors. Commun. ACM 8(1), 40 (1965). https://doi.org/10.1145/363707.363723
Kahan, W.: How futile are mindless assessments of roundoff in floating-point computation? (2006). http://www.cs.berkeley.edu/~wkahan/Mindless.pdf
Langlois, P.: Automatic linear correction of rounding errors. BIT Numer. Math. 41(3), 515–539 (2001)
Linnainmaa, S.: Taylor expansion of the accumulated rounding error. BIT Numer. Math. 16(2), 146–160 (1976)
Martel, M.: Semantics of roundoff error propagation in finite precision calculations. Higher-Order Symbolic Comput. 19(1), 7–30 (2006)
Menon, H., et al.: ADAPT: Algorithmic differentiation applied to floating-point precision tuning. In: Proceedings of SC 2018, pp. 48:1–13. IEEE Press, Piscataway, NJ (2018)
Ogita, T., Rump, S.M., Oishi, S.: Accurate sum and dot product. SIAM J. Sci. Comput. 26(6), 1955–1988 (2005)
Solovyev, A., Baranowski, M.S., Briggs, I., Jacobsen, C., Rakamarić, Z., Gopalakrishnan, G.: Rigorous estimation of floating-point round-off errors with symbolic Taylor expansions. ACM Trans. Program. Lang. Syst. 41(1), 2:1–39 (2018)
Tienari, M.: A statistical model of roundoff error for varying length floating-point arithmetic. BIT Numer. Math. 10(3), 355–365 (1970)
Vassiliadis, V., et al.: Towards automatic significance analysis for approximate computing. In: 2016 IEEE/ACM International Symposium on Code Generation and Optimization (CGO), pp. 182–193 (March 2016)
Vignes, J.: Discrete stochastic arithmetic for validating results of numerical software. Numer. Algorithms 37(1–4), 377–390 (2004)
Acknowledgments
We thank Vincent Baudoui for introducing us to the CENA method and constructive conversations about roundoff error. This work was supported by the U.S. Department of Energy, Office of Science, Office of Advanced Scientific Computing Research, Applied Mathematics program under contract number DE-AC02-06CH11357. We gratefully acknowledge the computing resources provided and operated by the Joint Laboratory for System Evaluation (JLSE) at Argonne National Laboratory.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Hovland, P.D., Hückelheim, J. (2021). Error Estimation and Correction Using the Forward CENA Method. In: Paszynski, M., Kranzlmüller, D., Krzhizhanovskaya, V.V., Dongarra, J.J., Sloot, P.M.A. (eds) Computational Science – ICCS 2021. ICCS 2021. Lecture Notes in Computer Science(), vol 12742. Springer, Cham. https://doi.org/10.1007/978-3-030-77961-0_61
Download citation
DOI: https://doi.org/10.1007/978-3-030-77961-0_61
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-77960-3
Online ISBN: 978-3-030-77961-0
eBook Packages: Computer ScienceComputer Science (R0)