证明浮点神经网络能完美逼近任意函数的输入集映射。
Floating-Point Neural Networks Are Provably Robust Universal Approximators
- 在浮点计算模型下建立首个浮点神经网络的区间通用逼近定理。
- 证明浮点神经网络可无误差捕获任意舍入函数的输入集输出映射。
- 为鲁棒神经网络和浮点程序计算完备性提供理论支持,适合形式化验证研究者。
经典通用逼近定理表明,前馈神经网络在一定条件下可任意精确地逼近连续函数 $f$。近期研究进一步证明神经网络具有更一般的区间通用逼近(IUA)定理,即使用区间域的抽象解释可任意精确地逼近函数 $f$ 对输入集合的直接像映射。然而,这些定理基于理想化的无限精度实数计算假设,而实际软件实现依赖有限精度浮点数。一个开放问题在于:在浮点设置下,IUA 定理是否依然成立?本文首次建立了浮点神经网络的 IUA 定理,证明其能完美捕获任意舍入目标函数 $f$ 的直接像映射,表明其表达能力无任何限制。该定理在浮点设定下展现出与实数设定显著不同的特性,反映了两类计算模型的根本差异。该结果还导出两个令人惊讶的推论:(i) 存在可证明鲁棒的浮点神经网络;(ii) 仅使用浮点加法与乘法的直线程序类,对所有会终止的浮点程序类具有计算完备性。
原文摘要 · Abstract (English)
The classical universal approximation (UA) theorem for neural networks establishes mild conditions under which a feedforward neural network can approximate a continuous function $f$ with arbitrary accuracy. A recent result shows that neural networks also enjoy a more general interval universal approximation (IUA) theorem, in the sense that the abstract interpretation semantics of the network using the interval domain can approximate the direct image map of $f$ (i.e., the result of applying $f$ to a set of inputs) with arbitrary accuracy. These theorems, however, rest on the unrealistic assumption that the neural network computes over infinitely precise real numbers, whereas their software implementations in practice compute over finite-precision floating-point numbers. An open question is whether the IUA theorem still holds in the floating-point setting. This paper introduces the first IUA theorem for floating-point neural networks that proves their remarkable ability to perfectly capture the direct image map of any rounded target function $f$, showing no limits exist on their expressiveness. Our IUA theorem in the floating-point setting exhibits material differences from the real-valued setting, which reflects the fundamental distinctions between these two computational models. This theorem also implies surprising corollaries, which include (i) the existence of provably robust floating-point neural networks; and (ii) the computational completeness of the class of straight-line programs that use only floating-point additions and multiplications for the class of all floating-point programs that halt.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。