Skip to main content
QUICK REVIEW

[Paper Review] Depth-Width Tradeoffs in Approximating Natural Functions with Neural Networks

Itay Safran, Ohad Shamir|arXiv (Cornell University)|Oct 31, 2016
Advanced Numerical Analysis TechniquesEngineering94 citations
TL;DR

This paper establishes theoretical depth-width tradeoffs in approximating natural functions using ReLU feedforward networks, showing that deeper networks can approximate certain functions—like indicators of balls and ellipses, L1-radial functions, and smooth nonlinearities—with exponentially lower width requirements than shallow networks. It proves that 3-layer networks can achieve high-accuracy approximation of such functions with polynomial width in dimension and inverse accuracy, while 2-layer networks require exponential width, even when trained with standard backpropagation.

ABSTRACT

We provide several new depth-based separation results for feed-forward neural networks, proving that various types of simple and natural functions can be better approximated using deeper networks than shallower ones, even if the shallower networks are much larger. This includes indicators of balls and ellipses; non-linear functions which are radial with respect to the $L_1$ norm; and smooth non-linear functions. We also show that these gaps can be observed experimentally: Increasing the depth indeed allows better learning than increasing width, when training neural networks to learn an indicator of a unit ball.

Motivation & Objective

  • To establish theoretical depth-based separation results for neural networks using natural, interpretable functions.
  • To demonstrate that deeper networks can approximate certain functions with significantly lower width than shallower networks, even when the latter are much larger.
  • To show that these approximation gaps are not just theoretical but observable in practice using standard training methods.
  • To analyze the expressive power of ReLU networks in terms of L2 approximation error, focusing on functions relevant to real-world learning tasks.

Proposed method

  • Reduction from Eldan & Shamir (2016) to prove that 2-layer networks cannot approximate the indicator of a unit ball or ellipsoid better than O(1/d⁴) without exponential width.
  • Construction of a 3-layer ReLU network that exactly represents any L1-radial, piecewise-linear function using O(d/ε) neurons for ε-accuracy.
  • Use of depth to simulate multiplication via bit extraction and composition, enabling efficient approximation of functions built from additions and multiplications.
  • Derivation of an L∞ approximation bound for functions computable via t operations involving additions and multiplications, showing depth and width dependence on log(1/ε) and log(M).
  • Combining depth-based upper bounds with width-based lower bounds to establish exponential separation in network size requirements.
  • Empirical validation using standard backpropagation to train 2- and 3-layer networks on learning the unit ball indicator, confirming theoretical predictions.

Experimental results

Research questions

  • RQ1Can deeper ReLU networks approximate natural functions with significantly lower width than shallower networks?
  • RQ2Is the approximation gap between deep and shallow networks observable in practice using standard training algorithms?
  • RQ3What is the minimal width required for a 2-layer ReLU network to approximate the indicator of a unit ball to high accuracy?
  • RQ4Can functions with compositional structure (e.g., sums and products) be efficiently approximated by deep networks with small width and depth?
  • RQ5How does the approximation error of shallow networks scale with dimension d and target accuracy ε for natural functions?

Key findings

  • The indicator of the Euclidean unit ball in R^d cannot be approximated to accuracy better than O(1/d⁴) by a 2-layer ReLU network unless its width is exponential in d.
  • For any ellipsoidal indicator function, the same exponential width lower bound holds for 2-layer networks, while 3-layer networks achieve ε-accuracy with O(d/ε) neurons.
  • Any L1-radial, piecewise-linear function f(x) = f(||x||₁) cannot be ε-approximated by a 2-layer ReLU network of width less than Õ(min{1/ε, exp(Ω(d))}).
  • Smooth, twice-differentiable functions like x² on [0,1] that require poly(log(1/ε)) depth and width in deep networks cannot be approximated to ε-accuracy by constant-depth networks unless width is at least poly(1/ε).
  • Empirical training shows that 3-layer networks learn the unit ball indicator effectively using standard backpropagation, while 2-layer networks (even larger ones) struggle significantly.
  • Theoretical analysis confirms that the observed performance gap is due to fundamental approximation limits, not optimization difficulties.

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.