New advances in universal approximation with neural networks of minimal width
Dennis Rochau, Robin Chan, Hanno Gottschalk
TL;DR
This work advances the theory of universal approximation for narrow neural networks by establishing explicit minimal-width results for $L^p$ and uniform continuous-function approximation on compact sets, using Leaky ReLU variants, FLOOR, and related activations. It develops a constructive coding scheme to realize UA at widths $w_{ ext{min}}= ext{max}\{d_x,d_y ightar}$ (or $2$ depending on activation) and demonstrates that autoencoders with one-dimensional features are universal in the $L^p$ sense. The paper further extends UA to LU-decomposable invertible networks (LU-Net), proves distributional universal approximation (DUAP), and shows that smoothed LU networks realize diffeomorphisms that universal-approximate $L^p$ maps, linking to Brenier–Gangbo. A sharp lower bound for continuous monotone activations is provided, highlighting fundamental width limitations and the necessity of discontinuities or non-monotonicity for minimal-width UA in certain regimes. Collectively, the results deepen understanding of the capacity-width tradeoffs in neural networks and provide constructive tools for normalizing flows and diffeomorphic transport, with implications for both theory and practice.
Abstract
We prove several universal approximation results at minimal or near-minimal width for approximation of $L^p(\mathbb{R}^{d_x}, \mathbb{R}^{d_y})$ and $C^0(\mathbb{R}^{d_x}, \mathbb{R}^{d_y})$ on compact sets. Our approach uses a unified coding scheme that yields explicit constructions relying only on standard analytic tools. We show that feedforward neural networks with two leaky ReLU activations $σ_α$, $σ_{-α}$ achieve the optimal width $\max\{d_x, d_y\}$ for $L^p$ approximation, while a single leaky ReLU $σ_α$ achieves width $\max\{2, d_x, d_y\}$, providing an alternative proof of the results of Cai et al. (2023). By generalizing to stepped leaky ReLU activations, we extend these results to uniform approximation of continuous functions while identifying sets of activation functions compatible with gradient-based training. Since our constructions pass through an intermediate dimension of one, they imply that autoencoders with a one-dimensional feature space are universal approximators. We further show that squashable activations combined with FLOOR achieve width $\max\{3, d_x, d_y\}$ for uniform approximation. We also establish a lower bound of $\max\{d_x, d_y\} + 1$ for networks when all activations are continuous and monotone and $d_y \leq 2d_x$. Moreover, we extend our results to invertible LU-decomposable networks, proving distributional universal approximation for LU-Net normalizing flows and providing a constructive proof of the classical theorem of Brenier and Gangbo on $L^p$ approximation by diffeomorphisms.
