Repository · Full text

Sharp Rank Laws for Maxout Switch Density

Read PDF

HTML version 1 Added

Papers are listed without authors and are not intended for submission or formal publication.

Contents

Sharp Rank Laws for Maxout Switch Density

Abstract

We resolve the linear-rank conjecture of Goujon, Etemadi, and Unser [10] for the expected density of active-candidate switches in random Maxout units. Their quadratic bound counts all pairwise candidate intersections; our analysis counts only intersections visible on the upper envelope. A multiplicity-aware area formula and a sharp visibility inequality give a rank-linear bound along every deterministic finite-length rectifiable path. For a rank-K unit in the original iid-coordinate model, with weight-coordinate variance σw2 and independent bias density bounded by B, we prove E⁢λ≤(K/3)⁢B⁢σw, where λ is the switch count divided by path length. The fixed-rank coefficient K/3 is sharp in the supremal sense, and the optimal universal constant multiplying (K−1)⁢B⁢σw is 2/3. The argument extends to weight-dependent conditional bias-density envelopes and independent heterogeneous candidates. For iid copies of a jointly Gaussian weight–bias vector, we derive an exact spherical-length formula whenever score variance is nonzero along the path. Its coefficient is cK=E⁢maxj≤K⁢Gj/π∼2⁢log⁡K/π, where Gj are iid standard normals. This identifies a sharp contrast between worst-case linear rank dependence and Gaussian square-root-logarithmic growth. The single-unit laws also yield explicit layerwise switch-density bounds for networks with independent layers, linking the resolved conjecture to pathwise complexity in deep random networks.

Note. This paper was generated entirely by AI, including MiMo, using an automated research pipeline developed by Chenghua Liu and Hanyu Li.

1 Introduction

Maxout units take the maximum of finitely many affine functions [9]. They are basic convex piecewise-affine maps, and their active candidates determine the linear regions of Maxout networks; this viewpoint is closely related to the affine-spline description of deep networks [3, 4]. Much of the expressivity literature therefore counts regions or activation patterns globally or in the worst case [17, 23, 18, 12]. A complementary line of work measures how many region boundaries a one-dimensional probe encounters. This pathwise viewpoint is both dimensionally economical and well suited to random initialization [19, 11, 10].

For a rank-K unit, the direct argument examines every one of the (K2) equality hyperplanes. Proposition 6 of Goujon et al. [10] consequently gives a quadratic rank factor and is followed by the conjecture that one power of K should disappear. The obstruction to the all-pairs count is simple but quantitative: most pairwise intersections lie below a third candidate and never change the Maxout output. At a common height y, the probability that the other K−2 candidates lie below the pair is F⁢(y)K−2, where F is the common score CDF. Our main lemma shows that integrating this visibility factor under a bounded conditional-density envelope saves the sharp factor 1/(K−1).

Our contributions follow two complementary proof routes. For independent candidates, a multiplicity-aware area formula counts only pair crossings visible on the upper envelope. In the iid case, a sharp visibility inequality turns this identity into a rank-linear bound in a tilted Gini mean-difference path functional. Under the original iid-coordinate assumptions, the sharp supremal coefficient is K/3 at fixed rank, and the sharp constant in the uniform (K−1)-normalization is 2/3. The same argument yields an aggregate candidate-additive bound for heterogeneous candidates. It requires no density assumption on the weights, while retaining conditional bias anti-concentration.

For iid Gaussian weight–bias vectors whose score variance is nonzero along the probe, a marked spherical Crofton argument gives an exact cK-times-spherical-length law. We give finite-rank bounds, a second-order asymptotic, and a planar Gaussian-polytope interpretation of cK. Both single-unit results feed into a layerwise switch-and-length recursion; for Gaussian layers, an exact active-weight second moment sharpens the generic length factor.

Visibility markings have classical antecedents in random convex-hull geometry [20, 8], and the deep recursion builds on existing composition and curve-length arguments [10, 25]. The new contributions are the sharp bounded-density visibility inequality, its distribution-free constants, the Gaussian upper-envelope coefficient, and their consequences for Maxout networks.

2 Setup and main results

This section formalizes the pathwise switch count and states the distribution-free and Gaussian results used later. We begin with the iid model, record heterogeneous and random-probe extensions, and then state the exact Gaussian law.

For K≥2, let

MK⁢(x):=max1≤j≤K⁡(WjT⁢x+βj),x∈Rd,(2.1)

where the candidate pairs (Wj,βj) are independent and identically distributed unless stated otherwise. We call K, the number of affine candidates, the Maxout rank. The case K=1 is affine and has no active-candidate switches.

Let γ:[0,L]→Rd be a deterministic rectifiable path of positive finite length L=ℓ⁡(γ)=Len⁡(γ), parameterized by arclength. Thus γ is 1-Lipschitz and its derivative u⁢(s):=γ˙⁢(s) exists with ‖u⁡(s)‖2=1 for almost every s. Self-intersections and retracing are retained with parameter multiplicity. Continuous piecewise-linear (CPWL) paths are a special case.

For distinct a,b∈Rd, let [a,b] also denote the arclength parametrization s↦a+s⁡(b−a)/‖b−a‖2, 0≤s≤‖b−a‖2. Thus ktMK[a,b] and λMK[a,b] refer to this affine inclusion path. For a=b, its length and switch count are defined to be zero.

Definition 2.1 (Active-candidate switches and path-averaged density).

Put fj⁢(s)=WjT⁢γ⁢(s)+βj. An active switch is a parameter value s∈(0,L) at which exactly two candidates tie at the maximum and their difference changes sign across s: in some neighborhood of s, the difference is nonzero on either side and has opposite signs on the two sides. The active-switch count ktMKγ∈N0∪{+∞} is the number of such parameter values. Endpoints are not counted, while self-intersections and retracing are counted at each distinct parameter value. Intersections of two inactive candidates are not counted. The path-averaged switch density is

λMKγ:=ktMKγℓ⁡(γ).(2.2)

Under the hypotheses of Lemma 3.1, the relevant equality set is almost surely finite, and every equality is interior, involves a unique pair, and is transverse. Hence the definition equals the number of changes of the unique maximizing index. For a CPWL probe it agrees almost surely with the projection-region change count in Definition 6 of Goujon et al. [10].

Throughout, an active switch changes the active candidate within one unit, a pathwise breakpoint is a parameter value at which an output curve ceases to be locally affine, and a global activation region is a cell in input space. These objects need not coincide.

Proposition 6 of Goujon et al. [10] counts all candidate equality hyperplanes and gives the distribution-free estimate 2⁢(K2)⁢‖ρβ‖∞⁢σw, and the Gaussian estimate 2⁢(K2)⁢σw/(π⁢σβ). The authors conjecture immediately after their equation (31) that one factor of the rank should be removable.

Open problem 2.2 (Rank-linear Maxout knot density).

Suppose the coordinates of W are iid, their common law has a density and finite variance σw2, and the independent bias β has a bounded density ρβ. Is there a universal constant C such that, for every K,d, every admissible law, and every deterministic finite-length CPWL path γ,

E⁢λMKγ≤C⁡(K−1)⁢σw⁢‖ρβ‖∞⁢?(2.3)

What is the optimal rank dependence and constant, and what sharper statement holds for Gaussian parameters?

Our weighted iid result allows the density envelope to depend on the weight. Let μ be the law of W, and suppose that, for μ-almost every w, a regular conditional law of β given W=w is absolutely continuous. Choose a jointly measurable conditional density. After modifying it on a μ⁡(d⁢w)⁢d⁢b-null set, and defining it arbitrarily on a μ-null set of weights, we take the representative satisfying

P⁡[β∈d⁢b∣W=w]=g⁡(b∣w)⁢d⁢b,0≤g⁡(b∣w)≤b0⁢(w),(2.4)

for every b and μ-almost every w, where b0:Rd→R is measurable and nonnegative, and

0<B¯:=E⁢b0⁢(W)<∞,d⁢μ~d⁢μ⁢(w):=b0⁢(w)B¯.(2.5)

Write W~,W~′ for independent draws from μ~, and Σ~=Cov⁡(W~) when it exists. The envelope is imposed on the conditional density, not merely on the marginal density of β.

The tilt in (2.5) charges each weight value according to its conditional bias-concentration envelope. The first main theorem shows that the resulting mean-difference functional controls visible switches with linear rank dependence.

Theorem 2.3 (Sharp weighted iid visibility bound).

Under (2.4)–(2.5), every deterministic finite-length rectifiable path satisfies

E⁢ktMKγ≤K⁢B¯2⁢∫0LE⁢|u⁢(s)T⁢(W~−W~′)|⁢ds.(2.6)

If W~ has finite covariance, then

E⁢ktMKγ≤K⁢B¯3⁢∫0Lu⁢(s)T⁢Σ~⁢u⁢(s)⁢ds.(2.7)

In particular, if b0⁢(w)≡B and Σ=Cov⁡(W), then

E⁢λMKγ≤K⁢B3⁢λmax⁢(Σ).(2.8)
Remark 2.4 (Minimal moment requirement).

Finite tilted covariance is used only in (2.7). The Gini mean-difference estimate (2.6) needs only the displayed directional first moments and may apply when the original or tilted law has infinite variance; without them, it is understood as an inequality in [0,+∞]. The constant-envelope case b0≡B recovers the original weight law.

We now specialize the weighted theorem to the original iid-coordinate class and separate the sharp fixed-rank coefficient from the constant uniform in rank.

Corollary 2.5 (Solution of the open problem and sharp constants).

Under the assumptions of open problem 2.2, put B=‖ρβ‖∞. Then

E⁢λMKγ≤K3⁢B⁢σw≤23⁢(K−1)⁢B⁢σw.(2.9)

For each fixed K≥2 and d≥1, the first coefficient is sharp in the supremal sense:

supE⁢λMKγB⁢σw=K3,(2.10)

where the supremum ranges over admissible laws on Rd with B⁢σw>0 and positive-length deterministic rectifiable paths. Hence the sharp distribution-free rank order is Θ⁡(K), and the optimal universal constant in (2.3) is

C∗=23.(2.11)

The iid assumption is not needed to replace an all-pairs count by a candidate-additive bound. The next result isolates the appropriate aggregate for heterogeneous candidates.

Theorem 2.6 (Independent heterogeneous candidates).

Let the candidate pairs (Wi,βi), 1≤i≤K, be mutually independent but not necessarily identically distributed, and let Pi be the law of Wi. Suppose βi|Wi=w admits a jointly measurable density gi⁢(b∣w) satisfying 0≤gi⁢(b∣w)≤Bi<∞ for every b and for Pi-almost every w, and E⁢‖Wi‖<∞. Then

E⁢ktMKγ≤∫0Linfc∈R∑i=1KBi⁢E⁢|u⁢(s)T⁢Wi−c|⁢ds.(2.12)

If Wi has mean μi and covariance Σi, then the integrand is at most

infc∈R∑i=1KBi⁢u⁢(s)T⁢Σi⁢u⁢(s)+(u⁢(s)T⁢μi−c)2.(2.13)

Here c is a common one-dimensional reference location for the projected slopes. In particular, a common mean removes the location term. For K=2, the pointwise integrand bound in (2.12) is sharp in the shrinking-segment supremal sense.

Two further consequences make the pathwise nature of the iid estimate explicit. They are useful when the probe itself is random or when several Maxout units are evaluated in parallel.

Corollary 2.7 (Random probes and parallel Maxout units).

In the constant-envelope case of Theorem 2.3, let Γ be an almost surely rectifiable path of finite positive length, represented by a jointly measurable arclength parametrization and independent of all candidate parameters. Write uΓ⁢(s):=Γ˙⁢(s) for its almost-everywhere tangent. Suppose the expectation below is finite. Then

E⁢ktMKΓ≤K⁢B3⁢EΓ⁢∫0ℓ⁡(Γ)uΓ⁢(s)T⁢Σ⁢uΓ⁢(s)⁢ds.(2.14)

Moreover, let M=(MK1(1),…,MKq(q)) be a collection of Maxout units on Rd. Within unit r, suppose the candidates are iid and satisfy Theorem 2.3 with constants Br,Σr; no independence between different units is required. If γ is any deterministic positive-length rectifiable path and ktMγ counts changes of the joint active-index tuple, then

E⁢ktMγ≤13⁢∫0L∑r=1qKr⁢Br⁢u⁢(s)T⁢Σr⁢u⁢(s)⁢ds.(2.15)
Proof.

Condition on the random path, use independence, and apply Theorem 2.3; Tonelli’s theorem gives (2.14). For (2.15), every change of the joint active-index tuple is a change in at least one component, so ktMγ≤∑rktMKr(r)γ. Apply Theorem 2.3 to each marginal unit and use linearity of expectation. ∎

The Gaussian model admits a smaller, exactly identifiable rank factor. Let ϕ and Φ denote the standard-normal density and CDF, and let G1,…,GK be iid standard normal variables. Put MKG:=maxj≤K⁡Gj. We write Sd={z∈Rd+1:‖z‖2=1}, and LenSd for parameterized spherical arclength, including retracing multiplicity. Define

cK:=E⁢max1≤j≤K⁢Gjπ.(2.16)
Theorem 2.8 (Jointly Gaussian spherical-length law).

Let Θ=(W,β)∈Rd+1 be Gaussian with arbitrary mean and covariance Ω⪰0, and let the K candidates be iid copies. Put qx=(x,1), and assume

qγ⁡(s)T⁢Ω⁢qγ⁡(s)>0,0≤s≤L.(2.17)

For every x with qxT⁢Ω⁢qx>0, define

ΨΩ⁢(x):=Ω1/2⁢qxqxT⁢Ω⁢qx∈Sd,(2.18)

where Ω1/2 is the unique symmetric positive-semidefinite principal square root. Condition (2.17) places the whole probe in this domain. Then γ obeys

E⁢ktMKγ=cK⁢LenSd⁡(ΨΩ∘γ).(2.19)

The spherical length counts self-intersections and retracing with parameter multiplicity. The formula permits correlation between weights and biases and singular Ω; only the nonvanishing condition (2.17) is required along the probe.

Corollary 2.9 (Independent anisotropic Gaussian parameters).

Suppose W∼N⁡(μw,Σ) and β∼N⁡(μβ,σβ2) independently, with σβ>0 and possibly singular Σ⪰0. Define

ΨΣ⁢(x):=(Σ1/2⁢x,σβ)σβ2+xT⁢Σ⁢x.(2.20)

Then (2.19) holds with ΨΩ replaced by ΨΣ, and

E⁢λMKγ≤cK⁢λmax⁢(Σ)σβ.(2.21)

When λmax⁢(Σ)>0, this coefficient is sharp in the precise sense that

supγE⁢λMKγλmax⁢(Σ)/σβ=cK,(2.22)

where the supremum is over deterministic positive-length rectifiable paths. Moreover,

cK∼2⁢log⁡Kπ.(2.23)

In the isotropic case Σ=σw2⁢Id,

E⁢λMKγ≤K−1π⁢σwσβ,(2.24)

and 1/π is the optimal universal constant in this rank-linear form, uniformly over K≥2.

The proofs have two independent branches. The distribution-free results use a multiplicity area formula followed by a sharp visibility inequality, whereas the Gaussian identity uses a marked spherical Crofton argument. Both single-unit laws then enter the layerwise recursion.

3 Rectifiable visible-crossing formula

We derive the marked-crossing identity underlying all distribution-free bounds. We first treat independent heterogeneous candidates; the iid formula then follows by symmetry.

For candidate i, let Pi be the law of Wi. We use a jointly measurable conditional density representative satisfying 0≤gi⁢(b∣w)≤bi⁢(w) for every b and Pi-almost every w, where E⁢bi⁢(Wi)<∞. For almost every s∈(0,L), set

Ai,s:=WiT⁢u⁢(s),Si,s:=WiT⁢γ⁢(s),Yi,s:=Si,s+βi,(3.1)

and let Fi,s be the CDF of Yi,s. Define the finite measure

νi,s,y(E):=E[1{Ai,s∈E}gi(y−Si,s∣Wi)](3.2)

and its mass hi,s⁢(y):=νi,s,y⁢(R). The envelope gives

νi,s,y⁢(R)≤E⁢bi⁢(Wi)<∞.(3.3)

Thus d⁢Fi,s⁢(y)=hi,s⁢(y)⁢d⁢y. For i≠j, put

Ri⁢j,s⁢(y):=∬R2|a−a′|⁢νi,s,y⁢(da)⁢νj,s,y⁢(d⁢a′).(3.4)

This is a nonnegative product integral, possibly equal to +∞. All these quantities admit jointly measurable versions because they are integrals of nonnegative jointly measurable functions. Empty products and F⁢(y)0 are defined as 1, including when F⁡(y)=0.

The next identity is the counting interface for all distribution-free bounds: it integrates a pair crossing only when every other candidate lies below its common height.

Lemma 3.1 (Exact rectifiable visible-crossing identity).

For mutually independent candidates, suppose gi⁢(b∣w)≤bi⁢(w)<∞ for every b and Pi-almost every w, and E⁢bi⁢(Wi)<∞. Then

E⁢ktMKγ=∑1≤i<j≤K∫0L∫R(∏k≠i,jFk,s⁢(y))⁢Ri⁢j,s⁢(y)⁢dy⁢ds.(3.5)

The equality holds in [0,∞]. Under the assumptions of Theorem 2.6, both sides are finite. In the weighted iid case they are finite whenever the directional first-moment integral in (2.6) is finite, in particular when Σ~ is finite. In the iid case, writing Fs=Fi,s, νs,y=νi,s,y, and

Rs⁢(y):=∬|a−a′|⁢νs,y⁢(da)⁢νs,y⁢(d⁢a′),(3.6)

the formula becomes

E⁢ktMKγ=(K2)⁢∫0L∫RFs⁢(y)K−2⁢Rs⁢(y)⁢dy⁢ds.(3.7)
Proof.

For each pair, we apply the multiplicity area formula, attach the visibility mark from the remaining candidates, and then exclude degenerate intersections. Fix i<j, fixed weights wi,wj, and DR=(0,L)×[−R,R]. The map

Φwi,wj⁢(s,y):=(y−wiT⁢γ⁢(s),y−wjT⁢γ⁢(s))(3.8)

is Lipschitz. Its two-dimensional Jacobian exists for almost every (s,y) and equals

J⁢Φwi,wj⁢(s,y)=|(wi−wj)T⁢u⁢(s)|.(3.9)

For every nonnegative measurable mark a, the multiplicity area formula [7, Theorem 3.2.3(2), p. 243] gives

∫DRa(s,y)JΦwi,wj(s,y)dsdy=∫R2∑(s,y)∈DR:Φwi,wj⁢(s,y)=(ξi,ξj)a(s,y)dξidξj.(3.10)

Thus a crossing time and common height are mapped to the two required biases, with every parameter preimage counted. Weight the bias integral by gi⁢(ξi∣wi)⁢gj⁢(ξj∣wj), apply the area formula, and then average over wi,wj. Using (3.9), the contribution at (s,y) is precisely Ri⁢j,s⁢(y). Letting R↑∞ is justified by monotone convergence.

No conditioning on a probability-zero equality event is involved. For fixed (s,y), independence says directly that all remaining candidates are strictly below y with probability ∏k≠i,jFk,s⁢(y); strict and weak inequalities agree because each Yk,s has a density. Multiplying by this mark in the area formula gives the (i,j) summand of (3.5).

We finally dispose of degeneracies in four steps. First, the product of the null set where γ is not differentiable with [−R,R] is a two-dimensional null set, and its Lipschitz image under (3.8) is null. Second, applying (3.10) to the zero-Jacobian set shows that almost every bias pair has no preimage there. Conditional absolute continuity of (βi,βj) therefore makes all remaining equalities transverse. Third, conditional on fixed weights, the expected number of pair equalities is at most

min⁡{bi⁢(wi),bj⁢(wj)}⁢∫0L|(wi−wj)T⁢u⁢(s)|⁢ds<∞,

so its equality set is almost surely finite. Fourth, conditional on the full parameters of the pair and this finite set, an independent third candidate has an absolutely continuous value at every equality time; a finite union then excludes triple ties. The same argument excludes endpoint ties.

Every remaining visible transverse equality changes the upper-envelope maximizer, and every active switch belongs to a unique pair. Summing over pairs proves the lemma. Tonelli’s theorem justifies all nonnegative integrations. This is an area-formula proof of a marked Kac–Rice identity; see also Azaïs and Wschebor [2] for the probabilistic framework. ∎

4 Sharp visibility inequalities

The power Fs⁢(y)K−2 in (3.7) removes the inactive intersections. We first quantify this saving, then convert the remaining Gini mean difference into a covariance bound and derive the heterogeneous estimate. No symmetry, log-concavity, or tail assumption is needed for the visibility step.

Lemma 4.1 (Weighted distribution-free visibility estimate).

Fix a parameter s where u⁡(s) exists, suppress s from the notation, and let n≥0 be an integer. Under (2.4)–(2.5), put A~=u⁢(s)T⁢W~, and let A~′ be an independent copy. Then

∫RF⁢(y)n⁢R⁢(y)⁢dy≤B¯n+1⁢E⁢|A~−A~′|.(4.1)
Proof.

We split the projected-slope mass at a threshold, bound the mass on opposite sides, and integrate those bounds through the layer-cake identity. Write A=u⁢(s)T⁢W and S=WT⁢γ⁢(s), and let h be the density of S+β. For a threshold r∈R, define

p~r:=P[A~>r],(4.2)
qr+⁢(y):=E[1{A>r}g(y−S∣W)],(4.3)
qr−⁢(y):=E[1{A≤r}g(y−S∣W)].(4.4)

Then qr++qr−=h, and the pointwise density bound gives

qr+(y)≤E[1{A>r}b0(W)]=B¯p~r,qr−(y)≤B¯(1−p~r).(4.5)

Since F is absolutely continuous with density h,

T:=∫RF⁢(y)n⁢h⁢(y)⁢dy=[F⁢(y)n+1n+1]−∞∞=1n+1.(4.6)

Put

Ur:=∫RF⁢(y)n⁢qr+⁢(y)⁢dy,Hr:=∫RF⁢(y)n⁢qr+⁢(y)⁢qr−⁢(y)⁢dy.

Using the first and second bounds in (4.5), respectively, gives

Hr≤B¯⁢p~r⁢(T−Ur),Hr≤B¯⁢(1−p~r)⁢Ur.(4.7)

If Ur≤p~r⁢T, use the second estimate; otherwise use the first. In both cases,

Hr≤B¯n+1⁢p~r⁢(1−p~r).(4.8)

The layer-cake identity

|a−a′|=∫R(1{a≤r<a′}+1{a′≤r<a})dr

and Tonelli’s theorem yield

∫RF⁢(y)n⁢R⁢(y)⁢dy=2⁢∫RHr⁢dr
≤2⁢B¯n+1⁢∫Rp~r⁢(1−p~r)⁢dr
=B¯n+1⁢E⁢|A~−A~′|,(4.9)

where the last equality applies the same layer-cake formula to the common tilted law of A~,A~′. Integrating first over r∈[−R,R] and then taking R↑∞ proves the inequality as an extended-valued statement when the first moment is infinite. ∎

The factor 1/(n+1) is pointwise sharp at the base point. Indeed, in the constant-envelope case, if S=0 almost surely and β is independent of W and uniform on an interval of length 1/B, then R⁡(y)=ρβ⁢(y)2⁢E⁢|A−A′| and ∫F⁢(y)n⁢ρβ⁢(y)2⁢dy=B/(n+1), so equality holds in (4.1), where A′ is an independent copy of A. At n=K−2, this sharp factor cancels one rank factor before the candidate pairs are summed.

The visibility estimate leaves a Gini mean difference of the projected tilted weights. The next sharp inequality converts that term into the covariance bound in Theorem 2.3.

Lemma 4.2 (Sharp Gini–standard-deviation inequality).

For every square-integrable real random variable X and an independent copy X′,

E⁢|X−X′|≤23⁢Var⁡(X).(4.10)

The constant is sharp, with equality for every nondegenerate uniform law.

Proof.

Let Q be a quantile function of X and let m=E⁢X. The standard quantile identity for the Gini mean difference, followed by Cauchy–Schwarz, gives

E⁢|X−X′|=2⁢∫01(2⁢s−1)⁢Q⁢(s)⁢ds
=2⁢∫01(2⁢s−1)⁢(Q⁡(s)−m)⁢ds
≤2⁢(∫01(2⁢s−1)2⁢ds)1/2⁢(∫01(Q⁡(s)−m)2⁢ds)1/2
=23⁢Var⁡(X).

An affine quantile function, equivalently a uniform law up to location and scale, attains equality. See also La Haye and Zizler [15]. ∎

Proof of Theorem 2.6.

Fix s and abbreviate Ai=u⁢(s)T⁢Wi. For c∈R, define

mi,s⁢(y,c):=∫R|a−c|⁢νi,s,y⁢(da).

The triangle inequality gives

Ri⁢j,s⁢(y)≤mi,s⁢(y,c)⁢hj,s⁢(y)+hi,s⁢(y)⁢mj,s⁢(y,c).(4.11)

Writing Pi⁢j,s⁢(y)=∏k≠i,jFk,s⁢(y), summing the two oriented terms in (4.11) yields

∑i<jPi⁢j,s⁢Ri⁢j,s≤∑i=1Kmi,s⁢(y,c)⁢∑j≠ihj,s⁢(y)⁢Pi⁢j,s⁢(y)
=∑i=1Kmi,s⁢(y,c)⁢(∏k≠iFk,s⁢(y))′.(4.12)

The density envelope implies

mi,s⁢(y,c)≤Bi⁢E⁢|Ai−c|.(4.13)

Each product of K−1 CDFs rises from zero to one. Integrating (4.12) over y, using (4.13), and then using Lemma 3.1 gives the integrand in (2.12). The infimum may be restricted to rational c, which also verifies measurability as a function of s.

Cauchy–Schwarz gives

E⁢|Ai−c|≤Var⁡(Ai)+(E⁢Ai−c)2,

proving (2.13). To see local sharpness for K=2, take deterministic projected slopes a1<a2 at the origin. Let the two independent biases be uniform on nested intervals of lengths 1/B1 and 1/B2. Their density overlap integrates to min⁡(B1,B2), so the exact local intensity is min⁡(B1,B2)⁢(a2−a1), equal to infc{B1⁢|a1−c|+B2⁢|a2−c|}. Shrinking a segment around the origin turns the local equality into the claimed supremal sharpness for positive-length probes. ∎

5 Sharpness and necessity of the assumptions

This section first proves the covariance corollary and its sharp constants. It then gives two counterexamples that delimit the conditional anti-concentration assumption.

Proof of Theorem 2.3.

Apply Lemma 4.1 with n=K−2 in (3.7). For almost every s, put A~s=u⁢(s)T⁢W~ and A~s′=u⁢(s)T⁢W~′. Then

E⁢ktMKγ≤(K2)⁢B¯K−1⁢∫0LE⁢|A~s−A~s′|⁢ds
=K⁢B¯2⁢∫0LE⁢|u⁢(s)T⁢(W~−W~′)|⁢ds.(5.1)

By Lemma 4.2,

E⁢|uT⁢(W~−W~′)|≤23⁢uT⁢Σ~⁢u.(5.2)

Integration proves (2.7). In the constant-envelope case, B¯=B, Σ~=Σ, and uT⁢Σ⁢u≤λmax⁢(Σ); division by L gives (2.8). ∎

Under the iid-coordinate assumptions of open problem 2.2, Σ=σw2⁢Id. Thus (2.9) follows at once from Theorem 2.3. We now prove that neither of its constants can be improved. There are two distinct equality mechanisms: uniform biases make the visibility estimate exact for any prescribed projected weight law, while a uniform projected weight makes the Gini–variance step exact. The following construction realizes both simultaneously.

Proof of sharpness in Corollary 2.5.

We first compute the exact local intensity and then realize it as a limit on positive-length segments. Fix B,σw>0 and d≥1. Let X1,…,Xd,β be mutually independent, with

X1,…,Xd∼iidUnif[−3σw,3σw],β∼Unif[−1/(2B),1/(2B)](5.3)

and set W=(X1,…,Xd). Probe along the first coordinate axis and write X=X1 for the projected slope; let X′ be an independent copy. At the origin, the value β and X are independent, and

E⁢|X−X′|=2⁢σw3,∫Rρβ⁢(y)2⁢Fβ⁢(y)K−2⁢dy=BK−1.(5.4)

Consequently, the exact local intensity furnished by Lemma 3.1 is

(K2)⁢2⁢σw3⁢BK−1=K3⁢B⁢σw.(5.5)

To turn this local calculation into the stated supremum over positive-length paths, put a=3⁢σw and h=1/(2⁢B). For |t|≤δ, the integrand in (3.7) vanishes outside |y|≤h+a⁢δ, while

Rt(y)≤2aB2 1{|y|≤h+aδ}.

For almost every y, the defining indicators for the two uniform laws converge as t→0, so Ft⁢(y)→Fβ⁢(y) and Rt⁢(y)→ρβ⁢(y)2⁢E⁢|X−X′|. The displayed compactly supported bound supplies domination, first showing that the exact local intensity converges to (5.5) as t→0. For γε(s)=(−ε/2+s)e1, 0≤s≤ε, averaging that intensity over the segment shows that its expected switch density has the same limit as ε↓0. The unused iid coordinates do not affect this probe. This proves (2.10). At K=2, the limiting ratio to (K−1)⁢B⁢σw is 2/3, proving (2.11). ∎

The preceding example uses densities throughout. The next elementary counterexample explains why arbitrary atomic biases cannot be admitted.

Proposition 5.1 (Atomic biases can destroy local density bounds).

Let K=2,d=1, let the slopes W1,W2 be iid from any atomless law, and, independently of the slopes, let the iid biases satisfy P[β=0]=p>0. Then, for every ε>0,

E⁢λM2[−ε,ε]≥p22⁢ε.(5.6)

In particular, no uniform length-proportional bound can hold over all bias laws that allow arbitrary atoms.

Proof.

On the event {β1=β2=0}, which has probability p2, the two affine candidates meet at the interior point zero. Their slopes are distinct almost surely, so they exchange upper-envelope order there and create one active switch. The path has length 2⁢ε, proving (5.6). This shows that absolute continuity cannot simply be deleted; it does not assert that every particular law containing an atom must fail. ∎

Even bounded densities for both marginals do not suffice when weights and biases may be dependent. The conditional formulation in (2.4) is therefore substantive rather than a technical convenience.

Proposition 5.2 (Marginal density bounds are insufficient).

Fix a>0 and x0≠0, and let

W∼Unif⁡[−a,a],β=−x0⁢W.(5.7)

Both W and β have bounded densities. Nevertheless, for two iid candidate pairs and every ε>0,

E⁢λM2[x0−ε,x0+ε]=12⁢ε.(5.8)
Proof.

The candidate affine functions are Wj⁢(x−x0). Since W1≠W2 almost surely, the larger slope is active to the right of x0 and the smaller slope is active to the left. Thus there is exactly one switch at x0. The path length is 2⁢ε, proving (5.8). Here β|W is a point mass, which is precisely what the conditional-density hypothesis rules out. ∎

6 Gaussian local intensity and spherical geometry

This section derives the exact Gaussian switch law from spherical geometry. We first state the multiplicity-preserving Crofton interface for normalized feature curves, then apply the covariance lift and specialize to straight segments.

Lemma 6.1 (Parameterized spherical Crofton formula).

Let m≥2, let D∼N⁡(0,Im), and let ψ:[0,L]→Sm−1 be absolutely continuous. Define the set of transverse interior parameter preimages

Zψ(D):={s∈(0,L):DTψ(s)=0,ψ˙(s) exists,DTψ˙(s)≠0}.(6.1)

Then

ED⁢#⁢Zψ⁢(D)=1π⁢∫0L‖ψ˙⁢(s)‖2⁢ds.(6.2)

The count retains parameter multiplicity and is finite almost surely. Endpoints, the nondifferentiable and zero-speed images, and tangencies have zero Crofton measure.

Proof.

This is the spherical Crofton formula with intersection multiplicity. In ambient dimension m=2 it is Santaló [21, Eq. (37), p. 716] with spherical circle radius π/2; the higher-dimensional intersection formula is Santaló [22, Eq. (18.36), pp. 323–324], after normalizing the invariant hyperplane measure. Applied to the rectifiable curve measure induced by the parametrization, it counts each parameter preimage, so retraced arcs contribute repeatedly. Absolute continuity has the Lusin N property, so the image of the parameter-null set where the derivative does not exist has zero one-dimensional measure. The one-dimensional area formula gives the same conclusion for the zero-speed image. Crofton’s formula then makes the average intersection count of these images zero; endpoint intersections also have probability zero. Its coarea integrand vanishes at tangencies, so they contribute zero as well. Finally, the right-hand side of (6.2) is finite, so the count is finite almost surely. ∎

Lemma 6.2 (Gaussian upper-envelope Crofton law).

Let m≥1 be an integer, let Z1,…,ZK be iid N⁡(0,Im), and let ψ:[0,L]→Sm−1 be an absolutely continuous curve. If NK⁢(ψ) counts active-index switches of maxj≤K⁡ZjT⁢ψ⁢(s), then

E⁢NK⁢(ψ)=cK⁢∫0L‖ψ˙⁢(s)‖2⁢ds.(6.3)
Proof.

We first compute the intensity at regular points and then justify its integration along an arbitrary absolutely continuous curve by the parameterized Crofton formula. If m=1, every absolutely continuous curve in S0 is constant, and both sides of (6.3) vanish. Assume henceforth that m≥2.

At almost every s, write V=ZT⁢ψ⁢(s) and A=ZT⁢ψ˙⁢(s). Since ψ⁢(s)T⁢ψ˙⁢(s)=0, these variables are independent Gaussians with variances 1 and ‖ψ˙⁢(s)‖22. Thus the expected absolute derivative difference for a fixed pair at common value y is 2⁢‖ψ˙⁢(s)‖2/π, while the other candidates lie below y with probability Φ⁢(y)K−2. The visible-pair intensity is

(K2)⁢2⁢‖ψ˙⁢(s)‖2π⁢∫Rϕ⁢(y)2⁢Φ⁢(y)K−2⁢dy.(6.4)

Integration by parts, using y⁢ϕ⁢(y)=−ϕ′⁢(y), gives

E⁢maxj≤K⁢Gj=K⁡(K−1)⁢∫Rϕ⁢(y)2⁢Φ⁢(y)K−2⁢dy.(6.5)

The boundary term vanishes at both ends, so (6.4) is cK⁢‖ψ˙⁢(s)‖2.

For the global count, fix a pair and write

C=Zi+Zj2,D=Zi−Zj2.

The vectors C,D are independent standard Gaussians, and, up to the null exceptions in Lemma 6.1, the pair ties precisely at Zψ⁢(D). At any such intersection the common pair value is CT⁢ψ⁢(s)/2∼N⁡(0,1/2), independently of D and of the remaining candidates. Its averaged visibility mark is

pK−2=2⁢π⁢∫Rϕ⁢(y)2⁢Φ⁢(y)K−2⁢dy.(6.6)

Since Zψ⁢(D) is finite almost surely, marked Tonelli gives

EC,(Zk)k≠i,j[∑s∈Zψ⁢(D)1{ZkTψ(s)<CTψ(s)/2∀k≠i,j}|D]=pK−2⁢#⁢Zψ⁢(D).(6.7)

Only the marginal mark at each intersection is used; marks at different intersections need not be independent. The same conditioning, followed by a finite union, excludes triple ties. Hence every marked transverse pair intersection is one active switch, and every active switch has a unique pair. By Lemma 6.1, a fixed pair contributes pK−2⁢Len⁡(ψ)/π in expectation. Summing over pairs and using (6.5) gives

(K2)⁢pK−2π⁢Len⁡(ψ)=cK⁢Len⁡(ψ),

which proves (6.3). ∎

Proof of Theorem 2.8.

Write Θ=μ+Ω1/2⁢Z with Z∼N⁡(0,Id+1). The common deterministic affine function μT⁢qx does not affect the active index. Along the path, put

r⁡(s):=‖Ω1/2⁢qγ⁡(s)‖2,ψ⁡(s):=ΨΩ⁢(γ⁡(s)).

Condition (2.17) and compactness give infsr⁡(s)>0, so ψ is absolutely continuous. The centered candidate values are r⁡(s)⁢ZjT⁢ψ⁢(s). Multiplication by the common positive factor r⁡(s) leaves their ordering unchanged. Applying Lemma 6.2 proves (2.19). ∎

Proof of Corollary 2.9.

The block-diagonal covariance gives the lift (2.20). Put sx2=σβ2+xT⁢Σ⁢x. Direct differentiation gives, for every u∈Rd,

‖D⁢ΨΣ⁢(x)⁢[u]‖22=uT⁢Σ⁢usx2−(uT⁢Σ⁢x)2sx4.(6.8)

Equivalently, if

vx,u2:=Var⁡(WT⁢u∣WT⁢x+β)=uT⁢Σ⁢u−(uT⁢Σ⁢x)2sx2,(6.9)

then the exact local switch intensity is

IK⁢(x,u)=cK⁢vx,usx.(6.10)

Here IK⁢(x,u) denotes the switch rate per unit parameter at position x and tangent u; this equation defines it through the continuous local-speed density. The identity remains valid for singular Σ. In particular,

‖D⁢ΨΣ⁢(x)⁢[u]‖2≤uT⁢Σ⁢usx≤λmax⁢(Σ)σβ(‖u‖2=1).(6.11)

Integrating and applying Theorem 2.8 proves (2.21). At x=0, equality holds along a top eigenvector. Averaging the continuous local speed over shrinking segments in that direction proves (2.22). The rank statements (2.23) and (2.24) are proved in Section 7. ∎

For K=2, c2=1/π, and Lemma 6.2 is exactly the spherical-length form of the Edelman–Kostlan zero-count formula [6]. The factor cK is what upper-envelope visibility contributes for general rank.

The exact identity also gives a closed form for straight segments.

Corollary 6.3 (Jointly Gaussian straight-segment formula).

Under the assumptions of Theorem 2.8, suppose (2.17) holds on the segment [a,b]. Then

E⁢ktMK[a,b]=cK⁢arccos⁡(qaT⁢Ω⁢qbqaT⁢Ω⁢qa⁢qbT⁢Ω⁢qb).(6.12)

Here arccos is the principal branch in [0,π]. For independent weights and biases, the numerator is σβ2+aT⁢Σ⁢b. For a CPWL path, sum (6.12) over its consecutive nonconstant segments.

Proof.

The unnormalized lift of (1−t)⁢a+t⁢b is the affine segment joining Ω1/2⁢qa and Ω1/2⁢qb. It avoids the origin by assumption. Its normalization traces the minor great-circle arc (possibly degenerate) of length less than π between the normalized endpoints. Its spherical length is their arccosine distance; a degenerate arc has zero length and zero switch count. Thus Theorem 2.8 applies. ∎

7 Gaussian rank constants and random polytopes

This section studies the Gaussian rank coefficient cK. We establish finite-rank bounds and asymptotics, relate cK to planar Gaussian polytopes, and then deduce the whole-line switch count. Write mK:=E⁢MKG=π⁢cK.

Proposition 7.1 (Finite-rank bounds and asymptotics).

For K≥2, let bK=Φ−1⁢(1−1/K). Then

bK−Φ⁢(bK)K+1K⁢ϕ⁢(bK)≤mK≤K⁢ϕ⁢(bK).(7.1)

The sequence (mK)K≥1 is strictly increasing and discretely concave. As K→∞,

cK=2⁢log⁡Kπ−log⁡log⁡K+log⁡(4⁢π)−2⁢γE2⁢2⁢π⁢log⁡K+o((logK)−1/2),(7.2)

where γE is Euler’s constant.

Proof.

We prove the finite-rank bounds, discrete shape properties, and asymptotic expansion in turn. For any real b, the tail-integral identity gives

mK=b+∫b∞(1−Φ⁢(t)K)⁢dt−∫−∞bΦ⁢(t)K⁢dt.(7.3)

At b=bK, the union bound and ∫b∞(1−Φ⁡(t))⁢dt=ϕ⁡(b)−b⁡(1−Φ⁡(b)) yield mK≤K⁢ϕ⁢(bK). The function log⁡Φ is concave, so for t≤bK,

Φ⁢(t)K≤Φ⁢(bK)K⁢exp⁡{K⁢ϕ⁢(bK)Φ⁡(bK)⁢(t−bK)}.

Integrating this bound and dropping the positive integral in (7.3) proves the lower bound.

For x∈R, write x+=max⁡{x,0}. Couple the nested maxima and let G be one auxiliary standard normal independent of all of them. Then

mK+1−mK=E⁢(G−MKG)+.

This quantity is positive. Since MK+1G≥MKG almost surely, and the inequality is strict jointly with G>MK+1G on an event of positive probability, the increments strictly decrease with K. This proves monotonicity and discrete concavity. Finally, Mills’ ratio gives

bK=2⁢log⁡K−log⁡log⁡K+log⁡(4⁢π)2⁢2⁢log⁡K+o((logK)−1/2).(7.4)

Moreover, Gaussian extreme-value theory [16, Theorem 1.5.3] gives convergence of XK:=bK⁢(MKG−bK) to the standard Gumbel law. We record the first-moment justification. For K≥3, Gaussian hazard bounds give

P⁡(XK>x)≤e−x(x≥0),P⁡(XK<−x)≤exp⁡(−ex/2)(0≤x≤bK2).

For x=bK2+bK⁢r, r≥0, Mills’ bound yields

P(XK<−x)≤2−Ke−Kr2/2,∫bK2∞P(XK<−x)dx≤bK2−Kπ2⁢K.

The two tail estimates, with the finitely many smaller K handled separately, prove uniform integrability of (XK). Hence mK=bK+γE/bK+o⁡(1/bK). Combining with (7.4) and dividing by π proves (7.2), and in particular (2.23). ∎

The same coefficient has two exact planar interpretations. Let PK=conv⁡{Z1,…,ZK} for iid Zj∼N⁡(0,I2), and let f0⁢(PK) and Per⁡(PK) denote its number of vertices and perimeter (with the usual doubled-segment convention when K=2).

Proposition 7.2 (Planar Gaussian-polytope identities).

For every K≥2,

E⁢f0⁢(PK)=2⁢π⁢cK=2⁢π⁢mK,E⁢Per⁡(PK)=2⁢π⁢mK.(7.5)

Consequently,

E⁢f0⁢(PK)=1π⁢E⁢Per⁡(PK).(7.6)
Proof.

Apply Lemma 6.2 to ψ⁡(θ)=(cos⁡θ,sin⁡θ), 0≤θ≤2⁢π, with the endpoints identified. The seam has a tie with probability zero. The active candidate is the exposed vertex of PK; as θ crosses a boundary between adjacent normal cones, this vertex changes. For K=2, the two support candidates exchange twice and both sample points are vertices. For K≥3, the hull is almost surely a nondegenerate polygon and the number of transitions around the circle equals its number of vertices. Thus E⁢f0⁢(PK)=2⁢π⁢cK. The Cauchy support-function formula and rotational invariance give

E⁢Per⁡(PK)=∫02⁢πE⁢maxj≤K⁢ZjT⁢ψ⁢(θ)⁢dθ=2⁢π⁢mK.

Eliminating mK between the preceding identities proves (7.6). ∎

These formulas place the rank coefficient within classical Gaussian-polytope theory [1, 5, 13, 14]. Since f0⁢(PK)≤K,

cK≤K2⁢π≤K−1π.(7.7)

This proves (2.24). For K=2,

m2=12⁢E⁢|G1−G2|=1π,c2=1π.

Together with shrinking-path equality in (6.11), this shows that 1/π is the optimal constant uniform in K in the rank-linear Gaussian normalization.

One further consequence makes the global one-dimensional scale explicit. If (Aj,Bj), 1≤j≤K, are iid Gaussian pairs with positive-definite covariance and K≥2, the normalized feature curve of t↦Aj⁢t+Bj over t∈R traces an open semicircle of length π. Define the whole-line count by the monotone limit NR:=limR→∞ktMK[−R,R]. Monotone convergence and Lemma 6.2 therefore give

E⁢NR=π⁢cK=π⁢mK.(7.8)

Every finite interval has strictly smaller expected count, and the supremum over finite intervals equals the right-hand side.

8 Propagation through deep Maxout networks

We now propagate the single-unit estimates through a feedforward Maxout network. We first give a distribution-free switch-and-length recursion and then sharpen both factors for Gaussian layers. Fix a depth D≥1, widths q0=d,q1,…,qD≥1, and unit ranks Kℓ⁢r≥2. Set z0⁢(x)=x, and for 1≤ℓ≤D define

Fℓ⁢r⁢(z):=max1≤j≤Kℓ⁢r⁡(Wℓ⁢r⁢jT⁢z+βℓ⁢r⁢j),z∈Rqℓ−1,1≤r≤qℓ,(8.1)
Fℓ:=(Fℓ⁢1,…,Fℓ⁢qℓ),zℓ:=Fℓ∘zℓ−1.(8.2)

Thus zℓ=(zℓ⁢1,…,zℓ⁢qℓ), where zℓ⁢r=Fℓ⁢r∘zℓ−1; Wℓ⁢r⁢j∈Rqℓ−1, and Wℓ⁢r denotes a generic candidate weight in unit (ℓ,r). Put Σℓ⁢r:=Cov⁡(Wℓ⁢r). Parameter collections in different layers are independent. Within each unit the candidates are iid, with conditional bias density bounded by Bℓ⁢r<∞ and square-integrable weight Wℓ⁢r. Units in the same layer may have arbitrary dependence subject to these marginal assumptions.

For each layer define its switch factor and length factor by

Dℓ:=12⁢sup‖v‖2=1∑r=1qℓKℓ⁢r⁢Bℓ⁢r⁢E⁢|vT⁢(Wℓ⁢r−Wℓ⁢r′)|,(8.3)
Aℓ:=sup‖v‖2=1(∑r=1qℓE⁢maxj≤Kℓ⁢r⁢|vT⁢Wℓ⁢r⁢j|2)1/2,(8.4)

where Wℓ⁢r′ is an independent copy of one candidate weight. For each layer, write Γℓ−1:=zℓ−1∘γ. Let Sℓ⁢r⁢(γ) be the set of parameter values t∈(0,L) that satisfy the active-switch sign-change criterion of Definition 2.1 for the candidate scores

Wℓ⁢r⁢jT⁢Γℓ−1⁢(t)+βℓ⁢r⁢j,1≤j≤Kℓ⁢r,

with time measured in the original parametrization of γ. Set

SD⁢(γ):=⋃ℓ=1D⋃r=1qℓSℓ⁢r⁢(γ),SD⁢(γ):=|SD⁢(γ)|.(8.5)

Thus SD⁢(γ) counts distinct switch times; simultaneous events count once, so it is not the sum of the individual unit counts.

The factor Dℓ controls switches created per unit incoming length, whereas Aℓ controls expected length growth. The next theorem iterates these two one-layer estimates.

Theorem 8.1 (Layerwise switch propagation).

For every deterministic finite-length rectifiable input path,

E⁢Len⁡(zℓ∘γ)≤Len⁡(γ)⁢∏h=1ℓAh,1≤ℓ≤D,(8.6)
E⁢SD⁢(γ)≤Len⁡(γ)⁢∑ℓ=1DDℓ⁢∏h<ℓAh.(8.7)

For every 1≤ℓ≤D, the factors admit the covariance-based estimates

Dℓ≤13⁢sup‖v‖2=1∑r=1qℓKℓ⁢r⁢Bℓ⁢r⁢vT⁢Σℓ⁢r⁢v,(8.8)
Aℓ≤λmax⁢(∑r=1qℓKℓ⁢r⁢E⁢[Wℓ⁢r⁢Wℓ⁢rT]).(8.9)
Proof.

We condition layer by layer, prove one-step switch and length bounds for the incoming curve, and then iterate while taking the union of switch times. Write Γℓ=zℓ∘γ. Conditional on the first ℓ−1 layers, Γℓ−1 is a fixed absolutely continuous rectifiable curve independent of layer ℓ. If its length is zero, it is constant and both one-step bounds below are zero. Otherwise, remove constant portions and use its arclength representation, preserving the order and multiplicity of retraced portions. Constant portions cannot create an active switch. Applying the first bound of Theorem 2.3 to this representation for every unit and taking a union bound gives

E⁡[switches created in layer ℓ∣Γℓ−1]≤Dℓ⁢Len⁡(Γℓ−1).(8.10)

At almost every parameter where Γℓ−1′ exists and is nonzero and every unit has a unique maximizing candidate, put v=Γℓ−1′/‖Γℓ−1′‖2. The derivative of one unit is the projection of its active weight, so the chain rule gives

‖Γℓ′‖2≤‖Γℓ−1′‖2⁢(∑r=1qℓmaxj≤Kℓ⁢r⁡|vT⁢Wℓ⁢r⁢j|2)1/2.(8.11)

When Γℓ−1′=0, the output derivative also vanishes. Conditional Jensen, which does not require independence among same-layer units, and (8.4) therefore give for almost every parameter

E⁡[‖Γℓ′‖2∣Γℓ−1]≤Aℓ⁢‖Γℓ−1′‖2.

Integration gives

E⁡[Len⁡(Γℓ)∣Γℓ−1]≤Aℓ⁢Len⁡(Γℓ−1).

Iteration proves (8.6). Summing (8.10) over layers, observing that simultaneous switches can only reduce the number of distinct parameter values, proves (8.7). If a vertex created in a lower layer propagates through later layers, it remains at the same parameter value already included in SD⁢(γ); it does not require a new higher-layer tie and creates no additional distinct-time term.

For clarity, if Break⁡(η) denotes the parameter values where a CPWL curve η is not locally affine, then for a CPWL input probe γ, almost surely,

Break⁡(zD∘γ)⊆Break⁡(γ)∪SD⁢(γ).(8.12)

Hence an affine probe has at most SD⁢(γ) final-output breakpoints; equality need not hold. Finally, Lemma 4.2 proves (8.8), while maxj⁡|vT⁢Wj|2≤∑j|vT⁢Wj|2 proves (8.9). ∎

For Gaussian layers, both factors can be sharpened. Assume now that in each unit (ℓ,r) the candidate pairs are iid as above and, for every j,

Wℓ⁢r⁢j∼N⁡(0,Σℓ⁢r),βℓ⁢r⁢j∼N⁡(0,σβ,ℓ⁢r2)(8.13)

with Wℓ⁢r⁢j independent of βℓ⁢r⁢j and σβ,ℓ⁢r>0. Let

m2,K:=E⁡[(MKG)2],qK:=max⁡{1,m2,K}.(8.14)

The Gaussian length factor can be improved because the active weight is not a generic candidate weight. The next proposition identifies its exact second moment.

Proposition 8.2 (Exact active-weight second moment for a Gaussian unit).

Let K≥2 and q≥1, and let the candidate pairs be iid with Wj∈Rq, Wj∼N⁡(0,Σ), βj∼N⁡(0,σβ2), and Wj independent of βj, where Σ⪰0 and σβ>0. For every deterministic z∈Rq, let J⁡(z) denote the almost surely unique active candidate of the unit at z. Then

E⁡[WJ⁡(z)⁢WJ⁡(z)T]=QK⁢(z):=Σ+(m2,K−1)⁢Σ⁢z⁢zT⁢Σσβ2+zT⁢Σ⁢z.(8.15)

Moreover, QK⁢(z)⪯qK⁢Σ and

π⁢cK2≤m2,K≤qK≤2⁢log⁡(2⁢K)+2.(8.16)

Consequently, qK=Θ⁡(log⁡K).

Proof.

Fix a direction v. For candidate j, set Vj=WjT⁢z+βj, Aj=vT⁢Wj, sz2=σβ2+zT⁢Σ⁢z, and τ=vT⁢Σ⁢z. Gaussian regression gives

Aj=τsz2⁢Vj+εj,E⁢εj2=vT⁢Σ⁢v−τ2sz2.

The residual vector (ε1,…,εK) is independent of the full score vector (V1,…,VK). The almost surely unique winner J⁡(z) is score-measurable, so selecting J⁡(z) does not change the residual variance or create a cross term. Since VJ⁡(z) is distributed as sz⁢MKG,

E⁢(vT⁢WJ⁡(z))2=vT⁢Σ⁢v+(m2,K−1)⁢(vT⁢Σ⁢z)2sz2,

which is (8.15). Put

P⁡(z):=Σ⁢z⁢zT⁢Σσβ2+zT⁢Σ⁢z.

Cauchy–Schwarz in the Σ-seminorm gives 0⪯P⁡(z)⪯Σ. If m2,K≥1, then QK⁢(z)⪯m2,K⁢Σ; if m2,K<1, then QK⁢(z)⪯Σ. Thus QK⁢(z)⪯qK⁢Σ. Jensen gives m2,K≥mK2=π⁢cK2. Finally, (MKG)2≤maxj≤K⁡|Gj|2, and

P[maxj|Gj|2>t]≤min{1,2Ke−t/2}.

Integrating at the threshold 2⁢log⁡(2⁢K) proves (8.16). ∎

Define

DℓG:=sup‖v‖2=1∑r=1qℓcKℓ⁢r⁢vT⁢Σℓ⁢r⁢vσβ,ℓ⁢r,(8.17)
AℓG:=λmax⁢(∑r=1qℓqKℓ⁢r⁢Σℓ⁢r).(8.18)

For later use, let Qℓ⁢r⁢(z) denote QK⁢(z) in (8.15) with (K,Σ,σβ)=(Kℓ⁢r,Σℓ⁢r,σβ,ℓ⁢r). The preceding quantities replace the generic switch and length factors by their Gaussian counterparts.

Corollary 8.3 (Deep Gaussian rank law).

Under the preceding Gaussian assumptions,

E⁢SD⁢(γ)≤Len⁡(γ)⁢∑ℓ=1DDℓG⁢∏h<ℓAhG.(8.19)

Moreover, fix 1≤ℓ≤D and 0<T<∞, and let η:[0,T]→Rqℓ−1 be absolutely continuous and independent of the parameters in layer ℓ. Conditional on this input curve,

E⁡[Len⁡(Fℓ∘η)∣η]≤∫0Tη˙⁢(s)T⁢(∑r=1qℓQℓ⁢r⁢(η⁡(s)))⁢η˙⁢(s)⁢ds,(8.20)

where η˙⁢(s) exists for almost every s, and the expectation is over the current layer.

Proof.

For each unit, (6.10) and (6.11) bound its local switch intensity in direction v by

cKℓ⁢r⁢vT⁢Σℓ⁢r⁢vσβ,ℓ⁢r,

which gives DℓG. For length, Jensen’s inequality and Proposition 8.2 give the pointwise conditional bound

E⁡[‖(Fℓ∘η)′⁢(s)‖2∣η]≤η˙⁢(s)T⁢(∑r=1qℓQℓ⁢r⁢(η⁡(s)))⁢η˙⁢(s),

and integration gives (8.20). The bound Qℓ⁢r⁢(z)⪯qKℓ⁢r⁢Σℓ⁢r then gives AℓG. The proof of Theorem 8.1 completes the recursion. ∎

The relations cK=Θ⁡(log⁡K) and qK=Θ⁡(log⁡K) determine the unit-level rank dependence. More precisely, let R→∞ along a family with fixed depth and uniformly bounded widths. Suppose constants 0<a≤b<∞, 0<σ¯≤σ¯<∞, and C<∞, independent of R, satisfy

a⁢R≤Kℓ⁢r≤b⁢R,σ¯≤σβ,ℓ⁢r≤σ¯,‖Σℓ⁢r‖op≤C

for every unit. Then DℓG,AℓG=O⁡(log⁡R) uniformly in ℓ. If, in addition, each layer contains a unit with λmax⁢(Σℓ⁢r) bounded below by a positive constant independent of R, both factors are Θ⁡(log⁡R). Without this lower nondegeneracy assumption, only the stated upper order follows. This is a network-level consequence of the sharp single-unit law, not a new curve-length recursion.

9 Relation to prior work, limitations, and outlook

Our results concern expected pathwise active-candidate switches under random parameters, rather than global activation-region counts. This section separates those notions, locates the proof tools in prior work, and records the limits of the conclusions.

The all-pairs estimate of Goujon et al. [10] pays for hidden intersections; their discussion after equation (31) conjectures a tighter linear-in-rank bound. The exact (K−1) normalization, the sharp distribution-free constants, and the Gaussian law proved here strengthen that qualitative conjecture. The area formula accounts for crossings through the variation of projected candidate differences, including parameter multiplicity, while the two counterexamples in Section 5 show why some conditional bias anti-concentration is needed.

Global region counts for piecewise-linear and Maxout networks study a different complexity measure [17, 23, 18]. In particular, Tseran and Montúfar [24, Proposition 29] obtain a one-dimensional O⁡(log⁡K) bound for expected nonempty regions, not the local switch density studied here. Existing composition and curve-length arguments already yield deep recursions [10, 25]; our contribution is the sharp single-unit coefficient inserted into them.

Visibility marks are classical in random convex-hull geometry [20, 8], and the Gaussian proof belongs to the Kac–Rice and integral-geometric tradition [2, 6]. Our additions are the sharp bounded-density visibility inequality and the resulting Maxout constants; the planar-polytope identity in Proposition 7.2 is presented as an interpretation, not as a new face-number formula.

The results do not imply a global region count, a statement for trained weights, or concentration under the present weak assumptions. The deep bound also requires independence between layers. Natural next questions are sharp visibility inequalities for dependent candidates, concentration under stronger distributional assumptions, and analogous laws for broader upper-envelope spline operators.

References

  • [1] F. Affentranger and R. Schneider. Random projections of regular simplices. Discrete & Computational Geometry, 7(3):219–226, 1992. doi:10.1007/BF02187839.
  • [2] J.-M. Azaïs and M. Wschebor. Level Sets and Extrema of Random Processes and Fields. Wiley, 2009. doi:10.1002/9780470434642.
  • [3] R. Balestriero and R. G. Baraniuk. A spline theory of deep learning. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 374–383, 2018. arXiv:1805.06576.
  • [4] R. Balestriero and R. G. Baraniuk. Mad Max: Affine spline insights into deep learning. Proceedings of the IEEE, 109(5):704–727, 2021. doi:10.1109/JPROC.2020.3042100.
  • [5] Y. M. Baryshnikov and R. A. Vitale. Regular simplices and Gaussian samples. Discrete & Computational Geometry, 11(2):141–147, 1994. doi:10.1007/BF02574000.
  • [6] A. Edelman and E. Kostlan. How many zeros of a random polynomial are real? Bulletin of the American Mathematical Society, 32(1):1–37, 1995. doi:10.1090/S0273-0979-1995-00571-9.
  • [7] H. Federer. Geometric Measure Theory. Springer, 1969. doi:10.1007/978-3-642-62010-2.
  • [8] J. Gates. The mean number of extreme lines in a convex hull of lines. Discrete & Computational Geometry, 27(4):485–499, 2002. doi:10.1007/s00454-001-0093-0.
  • [9] I. J. Goodfellow, D. Warde-Farley, M. Mirza, A. Courville, and Y. Bengio. Maxout networks. In Proceedings of the 30th International Conference on Machine Learning, volume 28(3) of Proceedings of Machine Learning Research, pages 1319–1327, 2013. arXiv:1302.4389.
  • [10] A. Goujon, A. Etemadi, and M. Unser. On the number of regions of piecewise linear neural networks. Journal of Computational and Applied Mathematics, 441:115667, 2024. doi:10.1016/j.cam.2023.115667. Extended version: arXiv:2206.08615.
  • [11] B. Hanin and D. Rolnick. Complexity of linear regions in deep networks. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pages 2596–2604, 2019a. arXiv:1901.09021.
  • [12] B. Hanin and D. Rolnick. Deep ReLU networks have surprisingly few activation patterns. In Advances in Neural Information Processing Systems 32, 2019b. arXiv:1906.00904.
  • [13] D. Hug, G. O. Munsonius, and M. Reitzner. Asymptotic mean values of Gaussian polytopes. Beiträge zur Algebra und Geometrie, 45(2):531–548, 2004.
  • [14] Z. Kabluchko and D. Zaporozhets. Absorption probabilities for Gaussian polytopes and regular spherical simplices. Advances in Applied Probability, 52(2):588–616, 2020. doi:10.1017/apr.2020.7.
  • [15] R. La Haye and P. Zizler. The Gini mean difference and variance. METRON, 77(1):43–52, 2019. doi:10.1007/s40300-019-00149-2.
  • [16] M. R. Leadbetter, G. Lindgren, and H. Rootzén. Extremes and Related Properties of Random Sequences and Processes. Springer Series in Statistics. Springer, 1983. doi:10.1007/978-1-4612-5449-2.
  • [17] G. Montúfar, R. Pascanu, K. Cho, and Y. Bengio. On the number of linear regions of deep neural networks. In Advances in Neural Information Processing Systems 27, pages 2924–2932, 2014. arXiv:1402.1869.
  • [18] G. Montúfar, Y. Ren, and L. Zhang. Sharp bounds for the number of regions of Maxout networks and vertices of Minkowski sums. SIAM Journal on Applied Algebra and Geometry, 6(4):618–649, 2022. doi:10.1137/21M1413699.
  • [19] M. Raghu, B. Poole, J. Kleinberg, S. Ganguli, and J. Sohl-Dickstein. On the expressive power of deep neural networks. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 2847–2854, 2017. arXiv:1606.05336.
  • [20] A. Rényi and R. Sulanke. Über die konvexe Hülle von n zufällig gewählten Punkten. Zeitschrift für Wahrscheinlichkeitstheorie und Verwandte Gebiete, 2(1):75–84, 1963. doi:10.1007/BF00535300.
  • [21] L. A. Santaló. Integral formulas in Crofton’s style on the sphere and some inequalities referring to spherical curves. Duke Mathematical Journal, 9(4):707–722, 1942. doi:10.1215/S0012-7094-42-00949-9.
  • [22] L. A. Santaló. Integral Geometry and Geometric Probability. Cambridge Mathematical Library. Cambridge University Press, second edition, 2004. doi:10.1017/CBO9780511617331.
  • [23] T. Serra, C. Tjandraatmadja, and S. Ramalingam. Bounding and counting linear regions of deep neural networks. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pages 4558–4566, 2018. arXiv:1711.02114.
  • [24] H. Tseran and G. Montúfar. On the expected complexity of Maxout networks. In Advances in Neural Information Processing Systems 34, pages 28995–29008, 2021. arXiv:2107.00379.
  • [25] H. Tseran and G. Montúfar. Expected gradients of Maxout networks and consequences to parameter initialization. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 34491–34532, 2023. arXiv:2301.06956.