arXiv:2608.23877cs.LGAug 2026

Manuscript Offprint

arXiv:2608.23877

Every Layer Counts: An Exponential L2L_2 Depth Hierarchy for ReLU Networks

Itay Safran

Abstract

We prove a depth hierarchy for ReLU neural networks in which every additional ReLU layer can save exponentially many neurons. For all k≥2k \geq 2, we construct a globally [0,1][0, 1]-valued, 1-Lipschitz function realized by a depth- (k+1)(k+1) network of width O(d4)\mathcal{O}(d^4), whereas any depth-k network with unrestricted weights and width at most 2d2d(k−1)\frac{2^d}{2d(k-1)} has squared L2L_2 error at least 1/24 under an absolutely continuous distribution supported at exponential distance from the origin. To the best of our knowledge, this is the first exponential hierarchy across all adjacent fixed depths, and the first exponential separation for ReLU networks between two fixed depths whose shallower network has depth at least 3. The lower bound also immediately yields the corresponding hierarchy for exact computation. Moreover, the case k=2k = 2 gives a compactly supported separation between depths 3 and 2 with unrestricted shallow-network weights, answering a question raised by Safran et al. [25, Sec. 2.3]. The distribution used in our construction nevertheless has all its mass at exponential radius, placing the hierarchy outside the regularity regime in which such a separation would imply major threshold-circuit lower bounds.

We also prove an exact separation for a more regular target, which is globally [0,1][0,1]-valued and O(d)\mathcal{O}(\sqrt{d})-Lipschitz and maps the unit hypercube onto [0,1][0,1]. It is computed by a polynomial-width depth-4 network, whereas any depth-3 network agreeing with it on the unit hypercube requires exponentially many first-layer neurons, even with unrestricted weights.

1 Introduction

Depth is a defining feature of modern neural-network architectures. Beyond its empirical importance, depth can fundamentally increase representational efficiency: a function admitting a compact deep representation may require a polynomially or even exponentially larger network at a smaller depth. Two seminal works established complementary forms of this phenomenon. Eldan and Shamir [6] proved an exponential separation of depth 3 from depth 2, whereas Telgarsky [28] constructed highly compositional functions separating networks whose depth grows with the problem parameters from substantially shallower networks. Subsequent work broadened these two regimes and progressively extended the results to broader classes of target functions and data distributions [5, 24, 15, 32, 25, 31, 27]. The resulting literature nevertheless remained divided between two regimes: exponential separations of depth 3 from depth 2, and exponential separations between a fixed shallow depth and a deeper architecture whose depth grows with the dimension or the desired accuracy. Recent work established a superlinear depth hierarchy for the exact computation of the maximum function [22], but did not yield an exponential separation. Prior to this work, no exponential separation was known between any two fixed depths k′>k≥3k' > k \geq 3 for ReLU networks or, to the best of our knowledge, for networks using any other standard nonpolynomial activation.

The analogous question has long been central in circuit complexity. Threshold circuits are essentially feedforward neural networks with threshold activations, operating on Boolean inputs and producing Boolean outputs. A central goal in this setting is a full depth hierarchy: for any constant k, one would like to exhibit an explicit function computable by a polynomial-size depth- (k+1)(k+1) threshold circuit but requiring exponential size at depth k. Even substantially weaker goals remain open. A separation of depth 3 from depth 2 is known when the weights of the depth-2 circuit are polynomially bounded [10], but the corresponding result for arbitrary weights is unknown. Separating any larger constant depth from depth 3 is likewise a longstanding open problem. For lower bounds against depth 4 and above, there is a further obstacle. Razborov and Rudich [20] identified a broad class of arguments, called natural proofs, that encompasses most known circuit lower-bound techniques. They showed that, assuming the existence of pseudorandom functions, such arguments cannot prove superpolynomial lower bounds against a circuit class capable of computing them. Since candidate pseudorandom-function families can be computed by polynomial-size depth-4 threshold circuits [13, 18], the natural-proofs barrier applies whenever the shallower circuit has depth at least 4.

The contrast between the two models is particularly striking because neural networks already admit separations whose threshold-circuit analogs remain open. The construction of Telgarsky [28] separates networks of polynomially growing depth from constant-depth networks, whereas the corresponding separation of polynomial-depth threshold circuits from constant-depth threshold circuits is unknown. Similarly, the lower bound of Eldan and Shamir [6] separating depths 3 and 2 places no restriction on the weights of the depth-2 network, while the corresponding arbitrary-weight separation for threshold circuits remains open. Nevertheless, the central fixed-depth gap was shared by both models. For a decade following the results of Eldan and Shamir [6] and Telgarsky [28], no exponential separation was known for fixed depths once the shallower depth was at least 3, even when the two depths were allowed to differ by more than one layer.

Vardi and Shamir [29] formalized the connection between this gap and the corresponding circuit-complexity barriers. Under certain boundedness and regularity assumptions on the target function and input distribution, they showed that, for all k≥4k \geq 4, an exponential separation of some larger constant ReLU depth from depth kk would imply a separation of some larger constant threshold-circuit depth from depth k−2k - 2. Thus, the case k=4k = 4 would resolve the arbitrary-weight depth-2 threshold-circuit problem; the case k=5k = 5 would separate a larger constant depth from depth 3; and the cases k≥6k \geq 6 would enter the regime governed by the natural-proofs barrier [20]. These implications serve both as motivation and as a boundary marker: a sufficiently regular constant-depth hierarchy for ReLU networks would resolve problems extending far beyond neural-network approximation.

Our main result resolves the fixed-depth gap for ReLU networks and, more strongly, establishes a complete exponential hierarchy across all adjacent depths.

Theorem 1.1 (Informal version of Theorem 3.1). For all fixed k≥2k \geq 2, there exist families of functions and corresponding data distributions such that the functions are represented by polynomial-width depth- (k+1)(k+1) ReLU networks, whereas approximating them to error below a fixed constant with depth-k networks, under the corresponding distributions, requires width exponential in the input dimension, even with unrestricted weights.

The proof of our main result relies crucially on a distribution whose support has exponential radius. This violates the almost-bounded-support assumption of Vardi and Shamir [29], which informally requires most of the probability mass to lie within polynomial distance of the origin. Hence, to the best of our knowledge, our approximation hierarchy has no immediate consequences for threshold circuits. Since the support radius of the distribution, the target's Lipschitz parameter, and the required approximation accuracy can be traded against one another by rescaling (see Safran et al. [25, Theorem 9] for a formal statement), our construction requires at least one of them to scale exponentially with the dimension.

The use of an exponential scale is not uncommon in the literature. The separation of Telgarsky [28] also relies crucially on such a scale: although its domain is the unit interval, the Lipschitz constant of the target grows exponentially with the composition depth. The arbitrary-weight separation of Eldan and Shamir [6] instead uses a heavy-tailed distribution and therefore has no finite support radius. Its hard target is supported in a ball of radius O(d)\mathcal{O}(\sqrt{d}), and all but an inverse-polynomial amount of probability mass lies within a polynomial radius. In our chosen normalization, by contrast, the entire distribution is supported at exponential distance from the origin (see Remark 1.3). We use this normalization for expositional simplicity: keeping the target 1-Lipschitz places the exponential scale entirely in the support radius and makes it straightforward to compare the construction with the assumptions of the Vardi–Shamir reduction. Equivalently, one may rescale the input so that the distribution has constant support radius, at the cost of making the target's Lipschitz constant exponential, without changing the depth, width, or approximation error of the separation.

It remains open whether the bounds on the parameters in our L2L_{2} hierarchy can be reduced to a polynomial, or even a constant, while retaining an exponential gap between the required network size. Since the Lipschitz and accuracy scales in our theorem are already constant and the other relevant regularity properties are retained, reducing its support radius to a polynomial would bring the result into the regime of the Vardi–Shamir reduction. Any such improvement would therefore either have to overcome the corresponding circuit-complexity barrier or relax a different assumption.

Exact computation provides an alternative setting in which the approximation scale is removed altogether. Rather than bounding average error under a chosen distribution, one requires the network to agree with the target at every point of the computation domain. Although average-case approximation is more directly related to learning, exact computation removes the distribution from the problem and imposes a stricter requirement on the competing network, which can make representational lower bounds easier to prove.

This contrast is already visible at depth 2. Known approximation lower bounds at this depth require technically involved arguments [6, 5, 27], whereas an elementary geometric argument shows that the maximum of three inputs cannot be represented by any finite depth-2 ReLU network [17, 22]. The maximum function is therefore a natural testbed for exact representation: it is easily computed by a logarithmic-depth tournament that takes pairwise maxima at each layer [1], yet its complexity at smaller depths remains poorly understood. The exact representation of the maximum, and of continuous piecewise-linear (CPWL) functions more generally, has motivated a growing line of work [17, 11, 9, 3, 2, 8, 4]. Despite recent progress, it is still unknown whether the maximum of dd inputs can be expressed by a depth-3 ReLU network for d≥11d \geq 11. Recent work established a superlinear depth hierarchy for the exact computation of the maximum [22], which in particular implies a quadratic lower bound for depth 3, but did not give an exponential separation between fixed depths. Our second result obtains such a separation between depths 4 and 3, but for a CPWL target different from the maximum.

Theorem 1.2 (Informal version of Theorem 4.1). There is a family of O(d)\mathcal{O}(\sqrt{d})-Lipschitz functions, one in each dimension, that can be computed exactly by polynomial-width depth-4 ReLU networks, but for which any depth-3 network agreeing with the target on the unit hypercube requires first-layer width exponential in the dimension, even with unrestricted weights.

It remains open whether every CPWL function in d dimensions can be represented by a depth-3 ReLU network. This qualitative universality question, however, does not settle the efficiency of such representations. Even if the answer is affirmative, the theorem above shows that depth-3 representations can require exponential width for functions having polynomial-width depth-4 representations. Thus, independently of whether depth 3 can represent every CPWL function, there is an exponential quantitative gap between the two depths.

Although our main L2L_{2} hierarchy immediately yields exact separations for all adjacent depths, those separations inherit the exponential scale of the construction. Theorem 4.1 shows that an exponential gap can also arise in a much more regular geometric setting: the lower bound holds on the unit hypercube for a globally bounded target with a polynomial Lipschitz constant and a non-degenerate output range. Section 4 makes this comparison quantitative.

The remainder of the paper is organized as follows. After reviewing related work below, we introduce notation and conventions in Section 2. Section 3 proves the adjacent-depth L2L_{2} hierarchy, and Section 4 proves the exact separation between depths 4 and 3 for a more regular target. Section 5 summarizes our results and discusses directions for future work. The formal proofs are deferred to the appendices.

Remark 1.3 (Compact support and unrestricted weights). The case k=2k = 2 answers the question, raised by Safran et al. [25, Sec. 2.3] and restated by Safran et al. [27], of whether an exponential separation between depths 3 and 2 can hold with respect to a compactly supported distribution without any restriction on the shallow network's weights. The latter work obtained a separation on the unit ball with constant Lipschitz and accuracy scales, but under an exponential upper bound on the shallow network's weights. Thus, it kept the domain, Lipschitz, and accuracy scales constant while leaving open the combination of compact support and unrestricted weights. Our hierarchy imposes no restriction on the weights at any depth, and its k=2k = 2 specialization gives such an exponential lower bound under an absolutely continuous, compactly supported distribution.

This conclusion cannot be obtained simply by truncating the heavy-tailed distribution of Eldan and Shamir [6]: its tail probability decreases only polynomially with the truncation radius, while an unrestricted ReLU network may have an arbitrarily large linear growth rate. Its squared approximation error may therefore be concentrated entirely in the discarded tail. Establishing hardness directly under compact support is thus a genuine strengthening, rather than merely a truncation of the earlier result. Although our result answers the question posed by Safran et al. [25] in its stated form, it does so by trading the earlier restriction on the shallow network's weights for a distribution supported at exponential radius. It therefore leaves open the quantitatively stronger goal of obtaining the same separation with support radius polynomial in d, or ideally bounded by an absolute constant.

References (29)