Skip to main content
QUICK REVIEW

[Paper Review] A closer look at the approximation capabilities of neural networks

Kai Fong Ernest Chong|arXiv (Cornell University)|Feb 16, 2020
Neural Networks and ApplicationsComputer Science24 references9 citations
TL;DR

This paper provides a direct algebraic proof of the universal approximation theorem for feedforward neural networks with continuous non-polynomial activation functions. It quantifies the number of hidden units required for uniform approximation: $\binom{n+d}{d}$ for polynomial functions of total degree $d$, and $\mathcal{O}(\varepsilon^{-n})$ for general continuous functions, even under strict weight constraints on non-bias weights.

ABSTRACT

The universal approximation theorem, in one of its most general versions, says that if we consider only continuous activation functions $σ$, then a standard feedforward neural network with one hidden layer is able to approximate any continuous multivariate function $f$ to any given approximation threshold $\varepsilon$, if and only if $σ$ is non-polynomial. In this paper, we give a direct algebraic proof of the theorem. Furthermore we shall explicitly quantify the number of hidden units required for approximation. Specifically, if $X\subseteq \mathbb{R}^n$ is compact, then a neural network with $n$ input units, $m$ output units, and a single hidden layer with $\binom{n+d}{d}$ hidden units (independent of $m$ and $\varepsilon$), can uniformly approximate any polynomial function $f:X o \mathbb{R}^m$ whose total degree is at most $d$ for each of its $m$ coordinate functions. In the general case that $f$ is any continuous function, we show there exists some $N\in \mathcal{O}(\varepsilon^{-n})$ (independent of $m$), such that $N$ hidden units would suffice to approximate $f$. We also show that this uniform approximation property (UAP) still holds even under seemingly strong conditions imposed on the weights. We highlight several consequences: (i) For any $δ> 0$, the UAP still holds if we restrict all non-bias weights $w$ in the last layer to satisfy $|w| < δ$. (ii) There exists some $λ>0$ (depending only on $f$ and $σ$), such that the UAP still holds if we restrict all non-bias weights $w$ in the first layer to satisfy $|w|>λ$. (iii) If the non-bias weights in the first layer are \emph{fixed} and randomly chosen from a suitable range, then the UAP holds with probability $1$.

Motivation & Objective

  • To provide a direct algebraic proof of the universal approximation theorem for neural networks with continuous non-polynomial activation functions.
  • To explicitly quantify the number of hidden units required to uniformly approximate continuous and polynomial functions.
  • To investigate whether the universal approximation property (UAP) holds under strong constraints on non-bias weights in the first or last layer.
  • To explore the role of bias and non-bias weights in maintaining approximation capability under structural restrictions.
  • To establish a general algebraic criterion applicable to broader classes of neural networks, including convolutional and recurrent architectures.

Proposed method

  • Uses algebraic geometry and properties of Vandermonde matrices to analyze the linear independence of network functionals.
  • Employs the non-singularity of a non-bias Vandermonde matrix as a key condition for universal approximation under weight constraints.
  • Applies Weierstrass approximation theorem to bound the error between a continuous function and its polynomial approximant.
  • Introduces a modulus of continuity-based error bound to derive the $\mathcal{O}(\varepsilon^{-n})$ scaling for general continuous functions.
  • Constructs a neural network with $\binom{n+d}{d}$ hidden units to exactly represent any polynomial of total degree $d$ on a compact domain.
  • Demonstrates that UAP holds even when non-bias weights are restricted to small intervals or bounded away from zero, via measure-theoretic arguments on weight space.

Experimental results

Research questions

  • RQ1Can the universal approximation theorem be proven via a direct algebraic approach rather than functional-analytic methods?
  • RQ2What is the precise number of hidden units required to uniformly approximate a continuous function within error $\varepsilon$?
  • RQ3Does the universal approximation property persist when non-bias weights in the first or last layer are constrained to specific ranges?
  • RQ4Can the UAP be maintained when non-bias weights are fixed or randomly sampled from a given range?
  • RQ5What algebraic condition on the network weights ensures universal approximation for a given class of neural networks?

Key findings

  • A neural network with $\binom{n+d}{d}$ hidden units can uniformly approximate any polynomial function $f: X \to \mathbb{R}^m$ of total degree at most $d$, independent of $\varepsilon$ and $m$.
  • For any continuous function $f: X \to \mathbb{R}^m$ on a compact set $X \subseteq \mathbb{R}^n$, $\mathcal{O}(\varepsilon^{-n})$ hidden units suffice to achieve uniform approximation within error $\varepsilon$, independent of $m$.
  • The universal approximation property holds even if all non-bias weights in the last layer are restricted to $|w| < \delta$ for any $\delta > 0$, with the bound independent of $\delta$.
  • There exists $\lambda > 0$ (depending on $f$ and $\sigma$) such that the universal approximation property still holds when all non-bias weights in the first layer satisfy $|w| > \lambda$.
  • If non-bias weights in the first layer are fixed and randomly chosen from a suitable range, the universal approximation property holds with probability 1.
  • The set of weight configurations for which the non-bias Vandermonde matrix is non-singular is dense in the weight space, implying that such configurations exist and are generic.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.