English

Floating-Point Neural Networks Are Provably Robust Universal Approximators

Machine Learning 2026-01-28 v2 Logic in Computer Science Programming Languages

Abstract

The classical universal approximation (UA) theorem for neural networks establishes mild conditions under which a feedforward neural network can approximate a continuous function ff 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 ff (i.e., the result of applying ff 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 ff, 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.

Keywords

Cite

@article{arxiv.2506.16065,
  title  = {Floating-Point Neural Networks Are Provably Robust Universal Approximators},
  author = {Geonho Hwang and Wonyeol Lee and Yeachan Park and Sejun Park and Feras Saad},
  journal= {arXiv preprint arXiv:2506.16065},
  year   = {2026}
}

Comments

70 pages, 4 figures. Appeared in CAV 2025

R2 v1 2026-07-01T03:24:46.140Z