arXiv:2610.28800stat.MLOct 2026

Manuscript Offprint

arXiv:2610.28800

Depth Separation for Neural Networks under Gaussian Measure

Cynthia Bortolotto, Francisco Ganacim, Roberto I. Oliveira

CYNTHIA BORTOLOTTO, FRANCISCO GANACIM, AND ROBERTO I. OLIVEIRA

ABSTRACT. We revisit the problem of depth separation for neural networks, as studied by Eldan and Shamir, Daniely, and others. Specifically, we consider the natural setting of L2L^{2} approximation of radial functions under the standard Gaussian measure in d dimensions. We show that there is a radial function in L2L^{2} under the standard Gaussian measure that can be approximated to a fixed sufficiently small L2L^{2} error by a depth-3 ReLU neural network of polynomial size in d but can only be approximated by depth-2 networks with subexponentially bounded weights if their size is at least exponential in d. For that, we prove a general result showing that if a radial function has substantial mass in the high frequencies of its Hermite expansion, then it cannot be well approximated by a depth-2 neural network with small width and bounded weights. All theorems, lemmas, propositions, and corollaries are verified in Lean 4.

1. INTRODUCTION

Deep neural networks have become a central tool in machine learning. Their success in tasks such as image recognition and the generation of speech has been gaining dramatic attention over the last couple of years, as they have been achieving exceptional performance. Many of these models are becoming larger and larger, with billions of parameters and, alongside their growth in model size, empirical evidence suggests that increasing depth can also play an important role in their success.

On the theoretical side, the expressive power of neural networks has been studied since the beginnings of the field. Cybenko [2] and, independently, Funahashi [6] and Hornik, Stinchcombe, and White [7] proved that neural networks with a single hidden layer (depth 2) and a continuous sigmoidal activation function can uniformly approximate any continuous function on a compact domain; Leshno, Lin, Pinkus, and Schocken [8] later showed that any continuous nonpolynomial activation function suffices.

To better understand the role of depth in neural networks, a long line of work has studied depth separations: families of functions that small deep networks represent but that shallow networks cannot approximate without exponentially many neurons. Barron [1] proved quantitative approximation bounds for shallow networks

CYNTHIA BORTOLOTTO, FRANCISCO GANACIM, AND ROBERTO I. OLIVEIRA

under Fourier-analytic regularity assumptions. For networks with growing depth, Telgarsky [12] established exponential approximation separations. Martens, Chattopadhyay, Pitassi, and Zemel [9] proved a depth separation result for a function on {0,1}2d\{0,1\}^{2d}, which can be computed by a depth-3 network of polynomial size in dd, but requires exponential size for depth-2 networks with monotone activations under suitable bounds on neuron contributions and a fixed classification margin.

Three years later, Eldan and Shamir [4] exhibited a function on Rd\mathbb{R}^d computed by a depth-3 network of polynomial size in dd, whereas achieving a certain approximation accuracy with a depth-2 network requires exponential width. The probability measure underlying their L2L^2 norm is tailored to the Fourier-analytic proof: its density is the square of the Fourier transform of the indicator function of a Euclidean ball.

The following year, Daniely [3] gave a proof of a separation with respect to the uniform product distribution on Sd−1×Sd−1S^{d-1} \times S^{d-1}. Using tools from the theory of orthogonal polynomials, he proved that for inner-product functions F(x,x′)=g(⟨x,x′⟩)F(\mathbf{x}, \mathbf{x}') = g(\langle \mathbf{x}, \mathbf{x}' \rangle) on Sd−1×Sd−1S^{d-1} \times S^{d-1}, polynomial-size depth-2 networks with exponentially bounded weights cannot approximate FF whenever the function gg is far from low-degree polynomials. For rapidly oscillating functions like g(t)=sin⁡(πd3t)g(t) = \sin(\pi d^3 t), 2Ω(dlog⁡d)2^{\Omega(d \log d)} hidden neurons are required, while a depth-3 ReLU network of polynomial size attains any constant accuracy. Further depth-separation results and approximation bounds for radial functions were obtained in [11, 10].

In this work, we establish an exponential depth separation for neural-network approximation of certain radial functions on the unbounded space Rd\mathbb{R}^d, equipped with the standard Gaussian measure γd\gamma^d. Many elements of our proof are already contained in [3]. Still, we believe that our setup of Gaussian measure and radial functions is more natural than what has been considered in previous works.

We first fix our terminology. Let σ(t)=max⁡(t,0)\sigma(t) = \max(t, 0) be the ReLU activation function. A depth-2 network of width ww with parameters w1,…,ww∈Rd\mathbf{w}_1, \ldots, \mathbf{w}_w \in \mathbb{R}^d and v1,…,vw,b1,…,bw∈Rv_1, \ldots, v_w, b_1, \ldots, b_w \in \mathbb{R} is the function given by

x⟼∑i=1wviσ(⟨wi,x⟩+bi),x∈Rd.x\longmapsto\sum_{i=1}^{w}v_{i}\sigma\big(\langle\mathbf{w}_{i},x\rangle+b_{i}\big),\qquad x\in\mathbb{R}^{d}.

Similarly, a depth-3 network of widths w1w_1 and w2w_2, with parameters w1,…,ww1∈Rd\mathbf{w}_1, \ldots, \mathbf{w}_{w_1} \in \mathbb{R}^d and bjb_j, vijv_{ij}, cic_i, ui∈Ru_i \in \mathbb{R}, is the function

x⟼∑i=1w2uiσ(∑j=1w1vijσ(⟨wj,x⟩+bj)+ci),x∈Rd.x\longmapsto\sum_{i=1}^{w_{2}}u_{i}\sigma\bigg(\sum_{j=1}^{w_{1}}v_{i j}\sigma\big(\langle\mathbf{w}_{j},x\rangle+b_{j}\big)+c_{i}\bigg),\qquad x\in\mathbb{R}^{d}.

We call max⁡{w1,w2}\max\{w_1, w_2\} the width of this network. When discussing bounds on parameters of these networks, we use the Euclidean norm for weight vectors and the absolute value for scalar weights and biases.

A ridge function on Rd\mathbb{R}^d is a function that depends on its input through a single one-dimensional projection, that is, a function of the form

x⟼g(⟨v,x⟩),v∈Sd−1,x\longmapsto g\big(\langle v,x\rangle\big),\qquad v\in S^{d-1},

where g:R→Rg: \mathbb{R} \to \mathbb{R}. These functions are widely studied in approximation theory. Note that a depth-2 ReLU network of width ww is such a sum of r=wr = w ridge functions. For wi≠0\mathbf{w}_i \neq 0, take the direction wi/∥wi∥\mathbf{w}_i / \|\mathbf{w}_i\| and the ridge function gi(t)=viσ(∥wi∥t+bi)g_i(t) = v_i \sigma(\|\mathbf{w}_i\| t + b_i). If wi=0\mathbf{w}_i = 0, then gi(t)=viσ(bi)g_i(t) = v_i \sigma(b_i).

Throughout, γ\gamma denotes the one-dimensional standard Gaussian measure and γd\gamma^d the standard Gaussian measure on Rd\mathbb{R}^d. The multivariate Hermite polynomials are an orthogonal basis of L2(γd)L^2(\gamma^d). Let PnP_n denote the orthogonal projection in L2(γd)L^2(\gamma^d) onto the span of the multivariate Hermite polynomials of total degree nn. For n0∈Nn_0 \in \mathbb{N}, write P≥n0=∑n≥n0PnP_{\geq n_0} = \sum_{n \geq n_0} P_n. (The definition of multivariate Hermite polynomials is recalled in Section 2.)

Finally, for V=(V1,…,Vd)V = (V_1, \ldots, V_d) uniformly distributed on the sphere Sd−1S^{d-1} and even n, we define

Kn:=E[V1n]=∏i=0n/2−12i+1d+2i.K_{n}:=\mathbb{E}[V_{1}^{n}]=\prod_{i=0}^{n/2-1}\frac{2i+1}{d+2i}.

The product formula is proved in Proposition 3.4. Note that it yields Kn≤(n/(d+n))n/2K_n \leq (n/(d + n))^{n/2} for even 2≤n≤d2 \leq n \leq d, so KnK_n is exponentially small when nn is proportional to dd; in particular, Kd≤2−d/2K_d \leq 2^{-d/2} for even dd.

Our main lower bound states that a radial function whose Hermite expansion has a substantial component in the high Hermite degrees cannot be well approximated by few ridge functions.

Theorem 1.1. Let n0n_0 be even, let F∈L2(γd)F \in L^2(\gamma^d) be radial and set A=∥P≥n0F∥L2(γd)A = \|P_{\geq n_0}F\|_{L^2(\gamma^d)}. Let M>0M > 0, and let g1,…,gr∈L2(γ)g_1, \ldots, g_r \in L^2(\gamma) with ∥gj∥L2(γ)≤M\|g_j\|_{L^2(\gamma)} \leq M and v1,…,vr∈Sd−1v_1, \ldots, v_r \in S^{d-1}. If

∥F−∑j=1rgj(⟨vj,⋅⟩)∥L2(γd)2≤A22,thenr≥A4MKn0.\left\|F-\sum_{j=1}^{r}g_{j}\big(\langle v_{j},\cdot\rangle\big)\right\|_{L^{2}(\gamma^{d})}^{2}\leq\frac{A^{2}}{2},\qquad then\qquad r\geq\frac{A}{4M\sqrt{K_{n_{0}}}}.

For a radial target of the form F(x)=ϕ(∥x∥2/d)F(x) = \phi(\|x\|^2/d), the condition in Theorem 1.1 has a natural interpretation in terms of polynomial approximation. The variable ∥X∥2/d\|X\|^2/d, for X∼γdX \sim \gamma^d, has the normalized χd2\chi_d^2 distribution, with density ρd(t)\rho_d(t). If ϕ\phi cannot be well approximated by low-degree polynomials in L2(ρd(t)dt)L^2(\rho_d(t) dt), then FF has substantial Hermite mass in high degrees. The following corollary therefore gives a width lower bound directly from this polynomial approximation condition.

CYNTHIA BORTOLOTTO, FRANCISCO GANACIM, AND ROBERTO I. OLIVEIRA

Corollary 1.2. Let d≥2d \geq 2 and let n0≥2n_0 \geq 2 be even. Let F∈L2(γd)F \in L^2(\gamma^d) be such that F(x)=ϕ(∥x∥2/d)F(x) = \phi(\|x\|^2 / d) for some measurable ϕ\phi and suppose that, for some a>0a > 0,

inf⁡q∈R[t]deg⁡q<n0/2∫0∞(ϕ(t)−q(t))2ρd(t)dt≥a2.\inf_{\substack{q\in\mathbb{R}[t]\\ \deg q<n_{0}/2}}\int_{0}^{\infty}(\phi(t)-q(t))^{2}\rho_{d}(t)dt\geq a^{2}.

Let M>0M > 0, and let g1,…,gr∈L2(γ)g_1, \ldots, g_r \in L^2(\gamma) and v1,…,vr∈Sd−1v_1, \ldots, v_r \in S^{d-1} satisfy ∥gj∥L2(γ)≤M\|g_j\|_{L^2(\gamma)} \leq M. If

∥F−∑j=1rgj(⟨vj,⋅⟩)∥L2(γd)2≤a22,\left\|F-\sum_{j=1}^{r}g_{j}\big(\langle v_{j},\cdot\rangle\big)\right\|_{L^{2}(\gamma^{d})}^{2}\leq\frac{a^{2}}{2},

then

r≥a4MKn0.r\geq\frac{a}{4M\sqrt{K_{n_{0}}}}.

Proof. By Lemma 5.1, applied to F(x)=ϕ(∥x∥2/d)F(x) = \phi(\|x\|^2 / d), the polynomial approximation hypothesis gives A:=∥P≥n0F∥L2(γd)≥aA := \|P_{\geq n_0} F\|_{L^2(\gamma^d)} \geq a. The assumed squared error is therefore at most a2/2≤A2/2a^2 / 2 \leq A^2 / 2. Theorem 1.1 yields r≥A/(4MKn0)≥a/(4MKn0)r \geq A / (4M \sqrt{K_{n_0}}) \geq a / (4M \sqrt{K_{n_0}}). □\square

The main idea behind the proof of Theorem 1.1 is to exploit the interaction between the Hermite decomposition associated with Gaussian measure and the rotational symmetry of the target function. This is similar to the general strategy of Daniely [3]. Since the target is radial, only the radial part of a ridge function contributes to their correlation. We therefore average the ridge function over rotations and examine its Hermite expansion. In each Hermite degree, this averaging introduces moments of a uniformly distributed random vector on Sd−1S^{d-1} and the decay of these moments is what allows us to bound the correlation.

Specializing F to a rapidly oscillating radial sine function and taking n0=dn_{0}=d yields the following depth separation.

Theorem 1.3. Let F:Rd→RF : \mathbb{R}^d \to \mathbb{R} be defined by

F(x)=sin⁡(4πd1/2∥x∥2).F(x)=\sin\bigl(4\pi d^{1/2}\left\|x\right\|^{2}\bigr).

Then, there are universal constants c>0c > 0 and d0d_0 such that for every even d≥d0d \geq d_0 the following holds:

(i) Let M>0M > 0. For all g1,…,gr∈L2(γ)g_1, \ldots, g_r \in L^2(\gamma) with ∥gj∥L2(γ)≤M\|g_j\|_{L^2(\gamma)} \leq M and all v1,…,vr∈Sd−1v_1, \ldots, v_r \in S^{d-1}, if

∥F−∑j=1rgj(⟨vj,⋅⟩)∥L2(γd)2≤c22,thenr≥c4M2d/4.\left\|F-\sum_{j=1}^{r}g_{j}\big(\langle v_{j},\cdot\rangle\big)\right\|_{L^{2}(\gamma^{d})}^{2}\leq\frac{c^{2}}{2},\qquad then\qquad r\geq\frac{c}{4M}2^{d/4}.

(ii) For every 0<ϵ≤10 < \epsilon \leq 1, there is a depth-3 ReLU network N\mathcal{N} such that

∥F−N∥L2(γd)≤ϵ,\|F-\mathcal{N}\|_{L^{2}(\gamma^{d})}\leq\epsilon,

with width O(d5/2(d+log⁡(1/ϵ))/ϵ)O\left(d^{5/2}(d+\log(1/\epsilon))/\epsilon\right), and with parameters bounded by O(d+log⁡(1/ϵ))O\left(d+\log(1/\epsilon)\right).

The implicit constants are universal, independent of d and ϵ\epsilon.

For the lower bound, we also follow Daniely's strategy [3]. Write F(x)=ϕ(∥x∥2/d)F(x) = \phi(\|x\|^2/d) with ϕ(t)=sin⁡(4πd3/2t)\phi(t) = \sin(4\pi d^{3/2}t). We exploit the fact that ϕ\phi is highly oscillating to show that it cannot be well approximated by low-degree polynomials in L2(ρd(t)dt)L^2(\rho_d(t) dt). Therefore, the first part of Theorem 1.3 follows from Lemma 5.3 and Theorem 1.1. For the second part, we construct a depth-2 network that approximates ∥x∥2\|x\|^2 and, using the same approach, a depth-2 network that approximates the sine function. Composing these two networks yields a depth-3 network that approximates FF.

As a straightforward corollary, we get the comparison below that shows that at any fixed sufficiently small approximation error, depth-2 networks with the stated parameter bound require exponential size, whereas depth-3 networks attain the same error with polynomial size.

Corollary 1.4. There exist constants ϵ0∈(0,1)\epsilon_0 \in (0,1), A≥1A \geq 1, and d1≥1d_1 \geq 1 such that for every even d≥d1d \geq d_1 and every 0<ϵ≤ϵ00 < \epsilon \leq \epsilon_0, setting Bd,ϵ:=A(d+log⁡(1/ϵ))B_{d,\epsilon} := A(d + \log(1/\epsilon)) the function

Fd(x)=sin⁡(4πd∥x∥2)F_{d}(x)=\sin\left(4\pi\sqrt{d}\left\|x\right\|^{2}\right)

has the following properties:

(i) Every depth-2 ReLU network N\mathcal{N} whose parameters are bounded by Bd,ϵB_{d,\epsilon} and which satisfies ∥Fd−N∥L2(γd)≤ϵ\|F_d - \mathcal{N}\|_{L^2(\gamma^d)} \leq \epsilon has width

Ω(2d/4(d+log⁡(1/ϵ))2).\Omega\left(\frac{2^{d/4}}{\left(d+\log(1/\epsilon)\right)^{2}}\right).

(ii) There exists a depth-3 ReLU network N\mathcal{N} whose parameters are bounded by Bd,ϵB_{d,\epsilon}, whose error satisfies ∥Fd−N∥L2(γd)≤ϵ\|F_d - \mathcal{N}\|_{L^2(\gamma^d)} \leq \epsilon, and whose width is

O(d5/2(d+log⁡(1/ϵ))ϵ).O\left(\frac{d^{5/2}\left(d+\log(1/\epsilon)\right)}{\epsilon}\right).

The remainder of the paper is organized as follows. In Section 2, we prove the necessary facts about multivariate Hermite polynomials and their behavior under rotations. In Section 3, we study the radialization of ridge functions and compute the spherical moments that will bound these functions. In Section 4 we combine these results to establish Theorem 1.1. Finally, in Section 5, we apply the theorem's lower bound to establish the first part of Theorem 1.3, and then conclude it by constructing a polynomial-size depth-3 ReLU approximation for the

CYNTHIA BORTOLOTTO, FRANCISCO GANACIM, AND ROBERTO I. OLIVEIRA

target function. In Section 6, we discuss the formal verification of the main results in Lean 4; the code is available in a companion GitHub repository.