Skip to main content
QUICK REVIEW

[Paper Review] Universal Approximation with Deep Narrow Networks

Patrick Kidger, Terry Lyons|arXiv (Cornell University)|May 21, 2019
Neural Networks and ApplicationsComputer Science28 references29 citations
TL;DR

This paper establishes that deep narrow neural networks with arbitrary depth and width $n + m + 2$ can universally approximate any continuous function from $\mathbb{R}^n$ to $\mathbb{R}^m$ on compact domains, using any nonaffine continuous activation function with a nonvanishing derivative at some point—covering all practical activation functions, including polynomials, and providing a fundamental distinction from shallow wide networks.

ABSTRACT

The classical Universal Approximation Theorem holds for neural networks of arbitrary width and bounded depth. Here we consider the natural `dual' scenario for networks of bounded width and arbitrary depth. Precisely, let $n$ be the number of inputs neurons, $m$ be the number of output neurons, and let $ρ$ be any nonaffine continuous function, with a continuous nonzero derivative at some point. Then we show that the class of neural networks of arbitrary depth, width $n + m + 2$, and activation function $ρ$, is dense in $C(K; \mathbb{R}^m)$ for $K \subseteq \mathbb{R}^n$ with $K$ compact. This covers every activation function possible to use in practice, and also includes polynomial activation functions, which is unlike the classical version of the theorem, and provides a qualitative difference between deep narrow networks and shallow wide networks. We then consider several extensions of this result. In particular we consider nowhere differentiable activation functions, density in noncompact domains with respect to the $L^p$-norm, and how the width may be reduced to just $n + m + 1$ for `most' activation functions.

Motivation & Objective

  • To establish universal approximation for deep narrow neural networks with bounded width and arbitrary depth, addressing a dual to the classical universal approximation theorem.
  • To extend the universal approximation result beyond ReLU-based networks to include all practical activation functions, including polynomial and nowhere-differentiable functions.
  • To determine the minimal network width required for universal approximation, showing that $n + m + 1$ neurons suffice for 'most' activation functions.
  • To generalize the approximation result to noncompact domains under $L^p$ norms, extending beyond uniform convergence on compact sets.
  • To provide a method independent of specific activation function properties (e.g., ReLU’s algebraic structure), enabling broader theoretical applicability.

Proposed method

  • Introduce the concept of 'enhanced neurons' that can represent compositions of linear maps and activation functions, enabling precise control over function approximation.
  • Use a register model to simulate identity and constant functions via carefully constructed sequences of neurons, allowing the network to emulate complex function classes.
  • Prove that any nonaffine continuous activation function with a nonvanishing derivative at a point can be used to uniformly approximate the identity function on compact sets.
  • Leverage the Stone–Weierstrass theorem and density arguments to show that the set of functions representable by deep narrow networks is dense in $C(K; \mathbb{R}^m)$.
  • Extend results to $L^p$ spaces by combining compact approximation with exact neural representations of cut-off functions using max/min operations.
  • Apply a perturbation argument using small-scale linear transformations and high-frequency oscillations to approximate the identity even with nowhere-differentiable activation functions.

Experimental results

Research questions

  • RQ1Can deep narrow networks with bounded width and arbitrary depth universally approximate continuous functions on compact domains using arbitrary nonaffine activation functions?
  • RQ2Does the universal approximation property hold for polynomial activation functions, which are excluded in the classical universal approximation theorem?
  • RQ3Can the minimal network width be reduced from $n + m + 2$ to $n + m + 1$ for 'most' activation functions?
  • RQ4Is universal approximation possible in $L^p$ spaces for noncompact domains using deep narrow networks?
  • RQ5Can the theory be extended to activation functions that are nowhere differentiable, such as Weierstrass-type functions?

Key findings

  • Deep narrow networks with width $n + m + 2$ and any nonaffine continuous activation function with a nonvanishing derivative at a point are dense in $C(K; \mathbb{R}^m)$ for compact $K \subseteq \mathbb{R}^n$.
  • The result includes polynomial activation functions, which are excluded in the classical universal approximation theorem, demonstrating a qualitative distinction between deep narrow and shallow wide networks.
  • For 'most' activation functions, the minimal width required for universal approximation is $n + m + 1$, not $n + m + 2$, as shown via a refined construction in Proposition 3.1.
  • The method applies to nowhere-differentiable activation functions by constructing enhanced neurons that uniformly approximate the identity function on compact sets.
  • Universal approximation holds in $L^p(\mathbb{R}^n; \mathbb{R}^m)$ for $p \in [1, \infty)$ by combining compact approximation with exact neural representations of cut-off functions using max/min layers.
  • The proof does not rely on the algebraic properties of ReLU or other specific activation functions, making it robust and generalizable to all practical activation functions used in deep learning.

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.