arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.07209cs.LGcs.CR
收藏

浮点运算中的可靠随机平滑

Sound Randomized Smoothing in Floating-Point Arithmetics

Tübingen AI Center(图宾根人工智能中心);University of Tübingen(图宾根大学)

Václav Voráček, Matthias Hein

AI总结:

针对浮点精度导致随机平滑产生虚假鲁棒证书的问题,本文分析其隐含假设失效,并提出仅依赖公平硬币、速度与证书表现相匹配的可靠随机平滑方法。

摘要:

在使用无限精度时,随机平滑是可靠的。然而,我们证明,在有限浮点精度下,随机平滑不再可靠。我们给出一个简单例子:尽管在距离 0.8 处存在对抗样本,随机平滑却证明某点周围具有 1.26 的半径;我们进一步扩展该例子,为 CIFAR10 提供错误证书。我们讨论随机平滑的隐含假设,并表明这些假设不适用于通常被证明其平滑版本的通用图像分类模型。为克服这一问题,我们提出一种在浮点精度下进行随机平滑的可靠方法,其速度基本相同,并且对于迄今测试的标准分类器,能够匹配标准、不可靠做法的证书。我们唯一的假设是可以获得一枚公平硬币。

英文摘要:

Randomized smoothing is sound when using infinite precision. However, we show that randomized smoothing is no longer sound for limited floating-point precision. We present a simple example where randomized smoothing certifies a radius of $1.26$ around a point, even though there is an adversarial example in the distance $0.8$ and extend this example further to provide false certificates for CIFAR10. We discuss the implicit assumptions of randomized smoothing and show that they do not apply to generic image classification models whose smoothed versions are commonly certified. In order to overcome this problem, we propose a sound approach to randomized smoothing when using floating-point precision with essentially equal speed and matching the certificates of the standard, unsound practice for standard classifiers tested so far. Our only assumption is that we have access to a fair coin.

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

↑