Expressive Power of Floating-Point Neural Networks with Arbitrary Reduction Orders and Inexact Activation Implementations

Yeachan Park, Geonho Hwang, Wonyeol Lee, Sejun ParkarXiv 2026

TL;DR

This paper bridges the gap between idealized neural network theory and real-world hardware constraints by proving that floating-point neural networks remain universal representators under realistic execution semantics. The authors demonstrate that networks retain their full expressive power even when arithmetic reductions occur in arbitrary orders (as happens during parallel GPU computation) and when activation functions are implemented inexactly with bounded rounding errors.

What Problem Does This Paper Address?

Traditional Universal Approximation Theorems assume that neural networks operate using exact real arithmetic ($\mathbb{R}$). However, practical deep learning models run on finite-precision floating-point hardware ($\mathbb{F}$), such as float16, bfloat16, or float32. This discrepancy introduces two major challenges that standard theory ignores:

  1. Non-Associative Summation: Floating-point addition is non-associative—meaning $(a + b) + c$ does not always equal $a + (b + c)$. On massively parallel hardware like GPUs, the order in which numbers are summed up (the reduction order) is often hardware-dependent and non-deterministic, which changes the network's outputs.
  2. Inexact Activations: Standard math libraries rarely implement transcendental activation functions (like $\text{Sigmoid}$, $\tanh$, or $\text{GELU}$) with perfect "correct rounding." Instead, they use polynomial approximations that introduce small errors, measured in units in the last place (ulps).

Previous attempts to model floating-point expressivity relied on highly restrictive assumptions, such as strict left-to-right summation and perfectly rounded activations. This paper tackles the realistic, messy reality of modern hardware execution.

Methods

The authors introduce a general mathematical framework based on distinguishability.

  • Necessary Condition: They prove that for a floating-point neural network to be a universal representator over a domain, its first layer must be able to distinguish between every pair of distinct inputs. If an activation function maps two different inputs to the exact same floating-point value across all possible affine transformations, universal representation fails.
  • Sufficient Condition: Conversely, they show that if a network can distinguish inputs and the activation function satisfies mild output conditions, it is sufficient for universal representability.

Using this framework, the authors construct a robust four-layer neural network architecture that can exactly represent any arbitrary floating-point function. Crucially, this construction is proven to work under any arbitrary reduction order and accommodates inexact activation implementations with bounded ulp errors.

To visualize how these mathematical bounds guarantee that an activation function can successfully separate inputs, the authors provide geometric conditions for both correctly rounded functions (Lemma 11) and inexact implementations (Lemma 15).

Fig. 1: Visualization of the conditions in Lemma 11.
Fig. 2: Visualization of the conditions in Lemma 15.

Datasets

None used. This is a purely theoretical paper establishing mathematical proofs for neural network expressivity.

Key Insights and Ideas

  • The Identity Activation is Universal! In exact real arithmetic, a network using only identity activations ($f(x)=x$) can only represent linear functions. However, in a floating-point environment, round-off errors make affine transformations inherently non-linear. The authors reveal that an Identity network is actually a universal representator under floating-point arithmetic!
  • GPU Summation Chaos Doesn't Break Expressivity: Even though parallel reduction orders alter intermediate values, the paper proves that the universal representation phenomenon is not an artifact of a specific summation convention. Expressive power is preserved under arbitrary reduction orders.
  • Inexactness is Perfectly Fine: Activation functions do not need to be perfectly rounded to maintain expressivity. As long as the implementation's error is bounded (the authors analyze up to 10 ulps) and satisfies mild monotonicity conditions, the network can still successfully distinguish inputs.

Key Results

The paper successfully establishes universal representability results for a wide array of widely used, practical activation functions—including Sigmoid, tanh, ReLU, ELU, SeLU, GELU, Swish, Mish, and sin—under highly realistic execution models.

The authors also outline the precision requirements necessary to guarantee these properties. For inexact implementations, a mantissa precision of $p \ge 7$ bits is required to guarantee the existence of "separating points." This condition is easily satisfied by standard formats like float16 ($p=10$), bfloat16 ($p=7$), and float32 ($p=23$).

The paper includes a breakdown of the maximum ulp errors for popular activation functions across these standard precisions:

Ulp errors in popular activations on [0, 8] in half and single precision.

Limitations and Future Work

  • Existential vs. Practical Representability: The paper provides an existential proof (showing that a network can exactly represent a function) using a constructive 4-layer approach. However, it does not address the size or width efficiency required to represent complex, real-world target functions.
  • Trainability: While the network configurations are proven to exist, the paper does not explore whether standard optimization algorithms like Stochastic Gradient Descent (SGD) can actually discover these precise floating-point weights during training.
  • Ultra-Low Precision: The bounded ulp error framework assumes high-to-medium precision formats ($p \ge 7$). Extremely low-precision environments like 8-bit or 4-bit quantization (e.g., float8), where lookup tables are heavily relied upon or errors are much larger, fall outside the scope of this analysis and remain an open area for future research.

Summary updated

BibTeX
@misc{park2026expressive,
  author = {Yeachan Park and Geonho Hwang and Wonyeol Lee and Sejun Park},
  title = {{Expressive Power of Floating-Point Neural Networks with Arbitrary Reduction Orders and Inexact Activation Implementations}},
  year = {2026},
  eprint = {2605.28704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.28704},
}
Figure