ICML2026

On Minimum Depth and Width of Floating-Point Neural Networks for Representing Floating-Point Functions

Sejun Park, Yeachan Park, Geonho Hwang

摘要

Research on the expressive power of neural networks has identified the minimum depth and width of neural networks that enable universal approximation and memorization. However, existing results are derived under exact arithmetic and cannot be directly applied to real implementations on computers, which can only use a finite set of numbers and inexact machine operations with round-off errors. In this work, we study floating-point ReLU networks that have floating-point parameters and use floating-point operations. Specifically, we investigate their minimum depth and width to represent all functions from the set of floating-point vectors Fd\mathbb F^d to the set of floating-point numbers F\mathbb F. We first show that the minimum depth for representing all functions from Fd\mathbb F^d to F\mathbb F is exactly three, where two layers can be sufficient if we consider a smaller domain and/or codomain. We further show that the minimum width for representing all functions from Fd\mathbb F^d to F\mathbb F lies between 2d2d and 2d+42d+4. In addition, if we restrict the domain to non-negative floats, it lies between dd and d+4d+4, where it can be smaller for a smaller domain, even beyond dd. Our results show that the existing results analyzed under exact arithmetic do not extend to the floating-point setup.