Skip to main content
QUICK REVIEW

[Paper Review] Depth Separation for Neural Networks

Amit Daniely|arXiv (Cornell University)|Feb 27, 2017
Neural Networks and ApplicationsComputer Science17 citations
TL;DR

This paper establishes a depth separation between two- and three-layer neural networks by proving that certain radial functions $ f(x, x') = g(\langle x, x' \rangle) $ on the sphere $ \mathbb{S}^{d-1} \times \mathbb{S}^{d-1} $ cannot be approximated by polynomial-size, exponentially-weight-bounded depth-2 networks if $ g $ is not well-approximated by low-degree polynomials. The key result shows that for $ g(x) = \sin(\pi d^3 x) $, depth-2 networks require $ 2^{\Omega(d \log d)} $ neurons, while depth-3 networks can approximate such functions with polynomial width, demonstrating a strong separation in expressive power under the uniform distribution.

ABSTRACT

Let $f:\mathbb{S}^{d-1} imes \mathbb{S}^{d-1} o\mathbb{S}$ be a function of the form $f(\mathbf{x},\mathbf{x}') = g(\langle\mathbf{x},\mathbf{x}' angle)$ for $g:[-1,1] o \mathbb{R}$. We give a simple proof that shows that poly-size depth two neural networks with (exponentially) bounded weights cannot approximate $f$ whenever $g$ cannot be approximated by a low degree polynomial. Moreover, for many $g$'s, such as $g(x)=\sin(πd^3x)$, the number of neurons must be $2^{Ω\left(d\log(d) ight)}$. Furthermore, the result holds w.r.t.\ the uniform distribution on $\mathbb{S}^{d-1} imes \mathbb{S}^{d-1}$. As many functions of the above form can be well approximated by poly-size depth three networks with poly-bounded weights, this establishes a separation between depth two and depth three networks w.r.t.\ the uniform distribution on $\mathbb{S}^{d-1} imes \mathbb{S}^{d-1}$.

Motivation & Objective

  • To establish a provable separation in expressive power between depth-2 and depth-3 neural networks under the uniform distribution on $ \mathbb{S}^{d-1} \times \mathbb{S}^{d-1} $.
  • To identify a broad class of functions $ f(x, x') = g(\langle x, x' \rangle) $ that are inexpressible by small depth-2 networks with bounded weights.
  • To provide a strong lower bound on the number of neurons required for depth-2 networks, showing exponential dependence on $ d \log d $, surpassing prior exponential-in-d bounds.
  • To demonstrate that depth-3 networks can efficiently approximate such functions, establishing a separation in favor of depth-3 architectures.

Proposed method

  • Uses harmonic analysis on the sphere, specifically projections onto spherical harmonics of degree $ n $, to analyze approximation error.
  • Defines $ A_{n,d}(f) $ as the $ L^2 $-distance from $ f $ to the space of degree-$(n-1)$ polynomials under measure $ \mu_d $, which captures the best polynomial approximation error.
  • Derives a lower bound on the $ L^2 $-distance between any depth-2 network and the target function $ F(x, x') = f(\langle x, x' \rangle) $, depending on $ A_{n,d}(f) $ and network width/weight bounds.
  • Applies a known result on ReLU approximation of Lipschitz functions (Lemma 6) to construct depth-3 networks that approximate $ f $ with controlled width and weight bounds.
  • Uses the fact that $ \mu_d $ is the pushforward of the uniform measure on $ \mathbb{S}^{d-1} $ via $ x \mapsto x_1 $, enabling the use of orthogonal polynomial theory.
  • Employs Legendre polynomials and their properties to analyze the behavior of $ f $ and its approximation error in high dimensions.

Experimental results

Research questions

  • RQ1Can depth-2 ReLU networks with polynomial size and exponentially bounded weights approximate radial functions $ f(x, x') = g(\langle x, x' \rangle) $ on the sphere?
  • RQ2What is the minimal number of neurons required for such depth-2 networks to approximate functions where $ g $ is not well-approximated by low-degree polynomials?
  • RQ3Can depth-3 networks with polynomial width and bounded weights approximate the same class of functions efficiently?
  • RQ4Does the uniform distribution on $ \mathbb{S}^{d-1} \times \mathbb{S}^{d-1} $ support a provable depth separation between two- and three-layer networks?

Key findings

  • For $ g(x) = \sin(\pi d^3 x) $, the approximation error of any depth-2 ReLU network with weights bounded by $ 2^d $ is at least $ \frac{1}{50e^2\pi^2} $, requiring $ 2^{\Omega(d \log d)} $ neurons.
  • The lower bound is stronger than prior works, which only showed exponential dependence on $ d $, by proving exponential dependence on $ d \log d $.
  • The result holds under the uniform distribution on $ \mathbb{S}^{d-1} \times \mathbb{S}^{d-1} $, a natural and symmetric domain.
  • The proof is short and based on basic harmonic analysis, avoiding advanced tools like tempered distributions used in prior work.
  • In contrast, depth-3 ReLU networks can approximate $ F(x, x') = f(\langle x, x' \rangle) $ with width $ \frac{16\pi d^5}{\epsilon} $ and weights bounded by $ 2\pi d^3 $, showing efficient expressivity.
  • The paper establishes a provable depth separation: depth-2 networks require super-polynomial size for certain functions, while depth-3 networks achieve the same with polynomial size.

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.