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

Sejun Park, Yeachan Park, Geonho Hwang

International Conference on Machine Learning 2026 · Oral

Overview

This talk investigates a foundational yet frequently overlooked question in deep learning theory: what are the strict minimum depth and width requirements for neural networks when operating under floating-point arithmetic rather than idealized real arithmetic? Classical expressivity theory—including universal approximation and memorization theorems—is almost exclusively derived under exact real arithmetic. However, real-world hardware executes models using finite-precision formats where inputs, outputs, and parameters are floating-point numbers, and every internal addition and multiplication incurs round-off error, non-associativity, and potential overflow.

Watch on SlidesLive

Visual summary for On Minimum Depth and Width of Floating-Point Neural Networks for Representing Floating-Point Functions by Sejun Park, Yeachan Park, Geonho Hwang
Visual summary for On Minimum Depth and Width of Floating-Point Neural Networks for Representing Floating-Point Functions by Sejun Park, Yeachan Park, Geonho Hwang

Key moments

  1. 0:00 Introduction and motivation for floating-point neural networks
  2. 2:00 Problem setup and minimum depth results overview
  3. 4:00 Minimum width results and proof sketch for depth lower bound
  4. 5:30 Width upper bound and transformation of constructions
  5. 6:00 Width lower bound proof sketch and conclusion
  6. 8:00 Audience Q&A: Discussion on codomain size and depth requirements

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

Speakers: Sejun Park; Yeachan Park; Geonho Hwang

Conference: ICML

YouTube: https://slideslive.com/39083548

Overview

This talk investigates a foundational yet frequently overlooked question in deep learning theory: what are the strict minimum depth and width requirements for neural networks when operating under floating-point arithmetic rather than idealized real arithmetic? Classical expressivity theory—including universal approximation and memorization theorems—is almost exclusively derived under exact real arithmetic. However, real-world hardware executes models using finite-precision formats where inputs, outputs, and parameters are floating-point numbers, and every internal addition and multiplication incurs round-off error, non-associativity, and potential overflow.

Presented by Sejun Park (joint work with Yeachan Park and Geonho Hwang), the research bridges the gap between classical approximation theory and finite-precision systems engineering. The authors examine fully connected ReLU networks operating with floating-point parameters and operations, establishing definitive bounds that break away from classical real-arithmetic intuitions. The findings reveal that floating-point constraints fundamentally alter network capacity requirements, necessitating strictly greater depth and width than previously assumed, while introducing novel dependencies on the underlying domain and codomain boundaries.

Background

▶ Watch: Introduction and motivation for floating-point neural networks (0:00)

In the machine learning and systems literature, the expressivity of neural networks is traditionally evaluated using real-number abstractions. Under exact arithmetic, the foundational mechanics of neural networks are well-documented:

  • Universal approximation proves that ReLU networks can approximate any continuous function on a $D$-dimensional unit cube with a minimum depth of 2 and a minimum width of $D+1$.
  • Memorization results demonstrate that ReLU networks can fit any finite set of input-output pairs using a minimum width and depth of 2, where the width is entirely independent of the input dimension $D$ because any finite set of points can be projected onto a real line.

However, real hardware does not compute over real numbers. Instead, models run on finite sets of floating-point numbers adhering to standards like IEEE 754. A floating-point number is represented by a finite number of bits: one sign bit, $Q$ exponent bits, and $P$ mantissa (scaling factor) bits. Crucially, the gap between consecutive floating-point numbers grows exponentially as the magnitude increases, rendering the grid non-uniform. Furthermore, every floating-point operation rounds its exact result to the closest representable float, introducing round-off errors, breaking algebraic properties like associativity, and risking overflow into infinities or NaNs.

Because rounding, overflow, and non-associativity can break the algebraic constructions underlying classical proofs, existing bounds do not automatically transfer to finite-precision hardware. The problem studied in this work lies at the intersection of memorization and universal approximation: the set of floating-point vectors is finite (making it akin to memorization), yet any floating-point function is the restriction of a continuous function (making it akin to universal approximation). Prior to this work, the best known lower bound for the minimum depth of floating-point networks was 4.

Key Findings

▶ Watch: Minimum width results and proof sketch for depth lower bound (4:00)

The paper's central contribution is resolving the exact minimum depth and bounding the minimum width for floating-point ReLU networks representing arbitrary functions from $D$-dimensional floating-point vectors ($\mathbb{F}^D$) to floating-point numbers:

  • Minimum Depth is Exactly 3: While classical real arithmetic permits a minimum depth of 2 for both universal approximation and memorization, floating-point arithmetic strictly requires a minimum depth of 3.
  • Domain and Codomain Sensitivity (Depth): If the codomain is shrunk or the domain is restricted to non-negative inputs, the minimum depth drops back to 2. This behavior has no analog in exact real arithmetic, where invertible affine transformations of domains and codomains leave approximation properties invariant.
  • Minimum Width Bounds: For the domain $\mathbb{F}^D$, the minimum width lies tightly between $2D$ and $2D+4$. If inputs are strictly non-negative, this requirement drops to between $D$ and $D+4$. For degenerate domains consisting solely of zero and the smallest positive float, the width can even drop below $D$. Thus, floating-point networks require a width of approximately $2D$, roughly double the $D+1$ baseline of exact arithmetic.
  • Precision Coverage: The mathematical proofs cover standard 8-bit floating-point configurations, requiring the mantissa precision $P \ge 2$ and exponent bits $Q \ge 4$ (with specific parameter relationships detailed in the paper).

Technical Deep Dive

▶ Watch: Width upper bound and transformation of constructions (5:30)

The technical analysis relies on constructing adversarial counterexamples and structural proofs that account for the non-uniformity and arithmetic edge cases of floating-point numbers.

Depth Lower Bound Proof Sketch (Why Depth 2 Fails)

To prove that 2 layers are insufficient, the authors construct a target function featuring a deep, narrow valley:

  • The function evaluates to negative big omega ($-\Omega$, the largest finite float) at 0.
  • It evaluates to positive big omega ($+\Omega$) at both small omega ($\omega$, the smallest positive float) and negative small omega ($-\omega$).

Consider a single neuron contributing to the peak at $\omega$. Given the value at 0, that neuron must output a near-zero value at 0 while sharply escalating to a large value at $\omega$. This steep rise over an extremely short interval forces a massive weight product. However, evaluating that same neuron at $x = 1$ causes the value to exceed the largest finite float, triggering an overflow to infinity. Consequently, a two-layer network cannot represent this sharp valley without breaking finiteness, proving that a minimum depth of 3 is required to mediate the transition safely.

Width Upper Bound Construction ($2D+4$)

The upper bound is established by transforming the 3-layer construction into a deep, narrow architecture where a single block of neurons repeats:

  • Every layer maintains the same $2D+4$ neurons.
  • $2D$ neurons store the input by separating each coordinate into its positive and negative parts (necessitated by the non-negative output constraint of ReLU activations).
  • Two additional neurons compute the first and second layers of the 3-layer construction.
  • The remaining two neurons accumulate the positive and negative parts of the final output.

For non-negative inputs, the sign is fixed, reducing the input storage requirement to $D$ neurons and yielding the $D+4$ bound.

Width Lower Bound Proof Sketch ($2D$)

To prove that a width of $2D$ is necessary, the first layer is analyzed as a bottleneck. If the first layer maps two distinct inputs to identical values, those inputs must yield identical network outputs.

  • For each coordinate $i$, the authors construct six inputs that agree everywhere except on the $i$-th coordinate (where lower coordinates are 0, higher coordinates are big omega, and the target coordinate varies between consecutive floating-point numbers $a$ and $a^+$).
  • The target function is assigned distinct outputs for each of these input pairs.
  • Any neuron in the first layer that separates a coordinate pair $(x_i, x_i')$ cannot simultaneously separate pairs from other coordinates and must miss at least one associated pair.

Covering $D$ coordinate pairs requires at least $D$ neurons, and those same neurons leave an additional $D$ pairs unseparated, forcing a minimum width requirement of $2D$.

Experimental Setup & Results

▶ Watch: Width lower bound proof sketch and conclusion (6:00)

Because this work is a theoretical systems and machine learning theory paper establishing rigorous mathematical proofs regarding floating-point representation limits, it does not involve empirical model training, datasets, or hardware benchmarks. Instead, the results are analytical theorems bounding network capacity under IEEE-style finite-precision arithmetic constraints.

Practical Implications

▶ Watch: Audience Q&A: Discussion on codomain size and depth requirements (8:00)

For practitioners, model builders, and systems engineers working on hardware-software co-design, quantization, and extreme edge deployment, these findings carry direct implications:

  • Quantization Limits: When quantizing models down to ultra-low-precision floating-point formats (such as FP8 variants), engineers must recognize that network capacity is not infinitely scalable downward. Theoretical minimum widths scale with $2D$ rather than $D$, implying that extremely narrow, quantized architectures may suffer representation bottlenecks that do not appear in floating-point emulations running in higher-precision (FP32/FP64) environments.
  • Overflow Vulnerability: The interaction between network weights, activation functions, and floating-point boundaries ($-\Omega$ to $+\Omega$) means that poorly scaled architectures can easily trigger silent overflows or NaN propagations during inference, particularly in shallow networks forced to learn sharp transitions.
  • Domain Normalization: The discovery that input domain and codomain boundaries directly alter structural depth and width requirements suggests that input normalization and activation clipping are not merely numerical stability tricks—they actively alter the theoretical representational capacity of finite-precision networks.

Key Takeaways

  • Floating-point neural networks strictly require a minimum depth of 3 layers for universal approximation and memorization, breaking the classical 2-layer bound established under real arithmetic.
  • The minimum width for floating-point networks lies between $2D$ and $2D+4$, approximately doubling the classical $D+1$ real-arithmetic requirement.
  • Unlike exact real arithmetic, restricting the input domain or shrinking the codomain can reduce the required depth (from 3 back to 2) and width, demonstrating a tight coupling between numerical ranges and network capacity.
  • The proofs explicitly account for finite-precision rounding errors, non-associativity, and overflow dynamics, covering standard 8-bit floating-point regimes ($P \ge 2$, $Q \ge 4$).

About the Speaker(s)

  • Sejun Park: Sejun Park is the speaker presenting this work on floating-point neural networks, investigating the depth and width requirements of ReLU networks under floating-point arithmetic.
  • Yeachan Park: Yeachan Park is a collaborator on this joint work investigating minimum depth and width of floating-point neural networks for representing floating-point functions.
  • Geonho Hwang: Geonho Hwang is a collaborator on this joint work investigating minimum depth and width of floating-point neural networks for representing floating-point functions.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026