arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.05784math.NAcs.NA
收藏

稳健误差估计的区间运算

An Interval Arithmetic for Robust Error Estimation

Oliver Flatt, Pavel Panchekha

摘要:

区间运算是一种将数学表达式计算到任意精度的简单方法,广泛用于验证浮点计算。然而,这种简单性掩盖了挑战。某些输入违反了前提条件或导致域错误。另一些则会导致算法进入无限循环,无法计算出真实值。此外,当无效和不可采样的点占输入空间的绝大多数时,找到有效的输入本身就是一个挑战。这些问题会使区间运算变得脆弱和喜怒无常。本文介绍了三个扩展的区间运算,以解决这些挑战。错误区间表达了输入有效性的丰富概念,并指示区间中的所有或某些点是否违反了隐式或显式前提条件。可移动性标志通过指示更高精度的重新计算是否会产生更准确的结果来检测无效的重新计算并防止超时。Andinput搜索将采样限制为有效的、可采样的点,因此它们更容易找到。我们将这些扩展与最先进的技术计算软件Mathematica进行比较,并证明我们的扩展能够解决60.3%的挑战性输入,返回10.2倍的完全不确定结果,并避免64例致命错误。

英文摘要:

Interval arithmetic is a simple way to compute a mathematical expression to an arbitrary accuracy, widely used for verifying floating-point computations. Yet this simplicity belies challenges. Some inputs violate preconditions or cause domain errors. Others cause the algorithm to enter an infinite loop and fail to compute a ground truth. Plus, finding valid inputs is itself a challenge when invalid and unsamplable points make up the vast majority of the input space. These issues can make interval arithmetic brittle and temperamental. This paper introduces three extensions to interval arithmetic to address these challenges. Error intervals express rich notions of input validity and indicate whether all or some points in an interval violate implicit or explicit preconditions. Movability flags detect futile recomputations and prevent timeouts by indicating whether a higher-precision recomputation will yield a more accurate result. Andinput search restricts sampling to valid, samplable points, so they are easier to find. We compare these extensions to the state-of-the-art technical computing software Mathematica, and demonstrate that our extensions are able to resolve 60.3% more challenging inputs, return 10.2x fewer completely indeterminate results, and avoid 64 cases of fatal error.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑