Abstract
Traditional Universal Approximation Theorems establish that neural networks can approximate any continuous function to arbitrary precision over compact sets. However, these theorems often fail to address the behavior of networks across the entire real line, particularly for activations like the Rectified Linear Unit (ReLU) which exhibit unbounded growth. This paper bridges the gap between local and global approximation by introducing a mathematical framework for the global universality of two-layer ReLU networks. By defining a specific Banach space and a weighted norm that accounts for linear growth at infinity, the authors prove that two-layer ReLU networks are dense in the space of continuous functions that grow at most linearly.
Introduction
The Universal Approximation Theorem is a cornerstone of deep learning theory, providing the mathematical justification for the expressive power of neural networks. Most formulations of this theorem, such as those by Cybenko (1989) and Hornik (1991), focus on approximation over compact (closed and bounded) subsets of $\mathbb{R}^n$. While sufficient for many practical applications where data is bounded, this "local" perspective leaves a theoretical void regarding the global behavior of networks.
For ReLU-based networks, the challenge of global approximation is particularly acute. Because the ReLU activation function $f(x) = \max(0, x)$ grows infinitely as $x \to \infty$, a finite sum of ReLUs will also grow at most linearly. This paper addresses whether these networks can approximate functions across the entire real line ($\mathbb{R}$) by matching the growth characteristics of the network to the function space it inhabits.
The Mathematical Framework
To rigorously discuss global convergence, the authors define a specific function space, denoted as $\mathcal{Y}$. This space consists of continuous functions $f: \mathbb{R} \to \mathbb{R}$ that satisfy a specific growth condition at infinity. Specifically, the function must have a limit when normalized by its potential linear growth:
$$\exists \lim_{x \to \pm \infty} \frac{f(x)}{1+|x|}$$
The Global Norm
To measure the distance between functions in this space, the authors introduce a "global" norm:
$$\|f\|_{\mathcal{Y}} := \sup_{x \in \mathbb{R}} \frac{|f(x)|}{1+|x|}$$
This weighted norm is the critical innovation of the paper. By dividing the error by $(1+|x|)$, the norm "tames" the function's behavior at infinity. It ensures that errors far from the origin are weighted relative to the expected linear growth of the ReLU units, allowing for a consistent measurement of approximation quality across the entire domain $\mathbb{R}$.
Methodology and Proof Strategy
The paper utilizes classical tools from functional analysis to establish density. The core objective is to show that the set of functions representable by two-layer ReLU networks is dense in the Banach space $(\mathcal{Y}, \|\cdot\|_{\mathcal{Y}})$.
The authors employ a proof by contradiction using the Hahn-Banach Theorem and the Riesz Representation Theorem. The logical flow is as follows:
- Assume there exists a bounded linear functional on $\mathcal{Y}$ that vanishes on all two-layer ReLU networks.
- Use the Riesz Representation Theorem to represent this functional as a measure.
- Demonstrate that if this functional vanishes on the subspace of neural networks, the underlying measure must be zero.
- Conclude that the only functional that vanishes on the networks is the zero functional, which implies that the subspace of networks is dense in $\mathcal{Y}$.
Key Insights
The Linear Growth Match
The choice of the $(1+|x|)$ denominator is not arbitrary. Since a single ReLU unit $f(x) = \max(0, ax+b)$ grows linearly, any finite sum of ReLUs (a two-layer network) also grows at most linearly. By scaling the function space by this linear factor, the authors create a "level playing field" where the network's inherent architecture matches the requirements of the function space.
From Local to Global
A significant hurdle in global approximation is handling the "tails" of the function as $x \to \pm \infty$. The authors demonstrate that while ReLUs can construct "bump functions" (functions with compact support) to handle local approximation, the global norm allows these local approximations to be stitched together with controlled error at the boundaries of infinity.
Generalization of Classical Results
The paper shows that this global universality is a true generalization of earlier work. If the domain is restricted to a bounded interval, the global norm $\|\cdot\|_{\mathcal{Y}}$ simplifies and becomes equivalent to the standard uniform norm used in classical proofs. Thus, the global result encompasses the local results of Cybenko and Funahashi as special cases.
Conclusion and Limitations
The primary result, Theorem 1.1, formally proves that for any continuous function $f \in \mathcal{Y}$ and any $\epsilon > 0$, there exists a two-layer ReLU network $G(x)$ such that $\|f - G\|_{\mathcal{Y}} < \epsilon$. This confirms that two-layer ReLU networks are globally universal for functions with at most linear growth.
Despite its theoretical importance, the paper notes several limitations:
- Dimensionality: The current proof is restricted to the one-dimensional case ($f: \mathbb{R} \to \mathbb{R}$).
- Architecture: The results are specific to two-layer networks; while deep networks are common, this study focuses on the fundamental base case.
- Activation Functions: The framework is tailored to the ReLU activation. While other unbounded activations like Leaky ReLU or ELU might follow similar logic, they would require specific modifications to the space $\mathcal{Y}$ to account for their unique growth patterns.
Summary updated