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- unit in the original iid-coordinate model, with weight-coordinate variance and independent bias density bounded by , we prove , where is the switch count divided by path length. The fixed-rank coefficient is sharp in the supremal sense, and the optimal universal constant multiplying is . 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 , where 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- unit, the direct argument examines every one of the 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 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 , the probability that the other candidates lie below the pair is , where is the common score CDF. Our main lemma shows that integrating this visibility factor under a bounded conditional-density envelope saves the sharp factor .
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 at fixed rank, and the sharp constant in the uniform -normalization is . 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 -times-spherical-length law. We give finite-rank bounds, a second-order asymptotic, and a planar Gaussian-polytope interpretation of . 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 , let
| (2.1) |
where the candidate pairs are independent and identically distributed unless stated otherwise. We call , the number of affine candidates, the Maxout rank. The case is affine and has no active-candidate switches.
Let be a deterministic rectifiable path of positive finite length , parameterized by arclength. Thus is 1-Lipschitz and its derivative exists with for almost every . Self-intersections and retracing are retained with parameter multiplicity. Continuous piecewise-linear (CPWL) paths are a special case.
For distinct , let also denote the arclength parametrization , . Thus and refer to this affine inclusion path. For , its length and switch count are defined to be zero.
Definition 2.1 (Active-candidate switches and path-averaged density).
Put . An active switch is a parameter value at which exactly two candidates tie at the maximum and their difference changes sign across : in some neighborhood of , the difference is nonzero on either side and has opposite signs on the two sides. The active-switch count 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
| (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 , and the Gaussian estimate . 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 are iid, their common law has a density and finite variance , and the independent bias has a bounded density . Is there a universal constant such that, for every , every admissible law, and every deterministic finite-length CPWL path ,
| (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 , and suppose that, for -almost every , a regular conditional law of given is absolutely continuous. Choose a jointly measurable conditional density. After modifying it on a -null set, and defining it arbitrarily on a -null set of weights, we take the representative satisfying
| (2.4) |
for every and -almost every , where is measurable and nonnegative, and
| (2.5) |
Write for independent draws from , and 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).
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 . The constant-envelope case 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 . Then
| (2.9) |
For each fixed and , the first coefficient is sharp in the supremal sense:
| (2.10) |
where the supremum ranges over admissible laws on with and positive-length deterministic rectifiable paths. Hence the sharp distribution-free rank order is , and the optimal universal constant in (2.3) is
| (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 , , be mutually independent but not necessarily identically distributed, and let be the law of . Suppose admits a jointly measurable density satisfying for every and for -almost every , and . Then
| (2.12) |
If has mean and covariance , then the integrand is at most
| (2.13) |
Here is a common one-dimensional reference location for the projected slopes. In particular, a common mean removes the location term. For , 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 for its almost-everywhere tangent. Suppose the expectation below is finite. Then
| (2.14) |
Moreover, let be a collection of Maxout units on . Within unit , suppose the candidates are iid and satisfy Theorem 2.3 with constants ; no independence between different units is required. If is any deterministic positive-length rectifiable path and counts changes of the joint active-index tuple, then
| (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 . 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 be iid standard normal variables. Put . We write , and for parameterized spherical arclength, including retracing multiplicity. Define
| (2.16) |
Theorem 2.8 (Jointly Gaussian spherical-length law).
Let be Gaussian with arbitrary mean and covariance , and let the candidates be iid copies. Put , and assume
| (2.17) |
For every with , define
| (2.18) |
where is the unique symmetric positive-semidefinite principal square root. Condition (2.17) places the whole probe in this domain. Then obeys
| (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 and independently, with and possibly singular . Define
| (2.20) |
Then (2.19) holds with replaced by , and
| (2.21) |
When , this coefficient is sharp in the precise sense that
| (2.22) |
where the supremum is over deterministic positive-length rectifiable paths. Moreover,
| (2.23) |
In the isotropic case ,
| (2.24) |
and is the optimal universal constant in this rank-linear form, uniformly over .
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 , let be the law of . We use a jointly measurable conditional density representative satisfying for every and -almost every , where . For almost every , set
| (3.1) |
and let be the CDF of . Define the finite measure
| (3.2) |
and its mass . The envelope gives
| (3.3) |
Thus . For , put
| (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 are defined as , including when .
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 for every and -almost every , and . Then
| (3.5) |
The equality holds in . 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 , , and
| (3.6) |
the formula becomes
| (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 , fixed weights , and . The map
| (3.8) |
is Lipschitz. Its two-dimensional Jacobian exists for almost every and equals
| (3.9) |
For every nonnegative measurable mark , the multiplicity area formula [7, Theorem 3.2.3(2), p. 243] gives
| (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 , apply the area formula, and then average over . Using (3.9), the contribution at is precisely . Letting is justified by monotone convergence.
No conditioning on a probability-zero equality event is involved. For fixed , independence says directly that all remaining candidates are strictly below with probability ; strict and weak inequalities agree because each has a density. Multiplying by this mark in the area formula gives the summand of (3.5).
We finally dispose of degeneracies in four steps. First, the product of the null set where is not differentiable with 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 therefore makes all remaining equalities transverse. Third, conditional on fixed weights, the expected number of pair equalities is at most
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 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).
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 and , and let be the density of . For a threshold , define
| (4.2) | ||||
| (4.3) | ||||
| (4.4) |
Then , and the pointwise density bound gives
| (4.5) |
Since is absolutely continuous with density ,
| (4.6) |
Put
Using the first and second bounds in (4.5), respectively, gives
| (4.7) |
If , use the second estimate; otherwise use the first. In both cases,
| (4.8) |
The layer-cake identity
and Tonelli’s theorem yield
| (4.9) |
where the last equality applies the same layer-cake formula to the common tilted law of . Integrating first over and then taking proves the inequality as an extended-valued statement when the first moment is infinite. ∎
The factor is pointwise sharp at the base point. Indeed, in the constant-envelope case, if almost surely and is independent of and uniform on an interval of length , then and , so equality holds in (4.1), where is an independent copy of . At , 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 and an independent copy ,
| (4.10) |
The constant is sharp, with equality for every nondegenerate uniform law.
Proof.
Let be a quantile function of and let . The standard quantile identity for the Gini mean difference, followed by Cauchy–Schwarz, gives
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 and abbreviate . For , define
The triangle inequality gives
| (4.11) |
Writing , summing the two oriented terms in (4.11) yields
| (4.12) |
The density envelope implies
| (4.13) |
Each product of CDFs rises from zero to one. Integrating (4.12) over , using (4.13), and then using Lemma 3.1 gives the integrand in (2.12). The infimum may be restricted to rational , which also verifies measurability as a function of .
Cauchy–Schwarz gives
proving (2.13). To see local sharpness for , take deterministic projected slopes at the origin. Let the two independent biases be uniform on nested intervals of lengths and . Their density overlap integrates to , so the exact local intensity is , equal to . 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.
Under the iid-coordinate assumptions of open problem 2.2, . 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 and . Let be mutually independent, with
| (5.3) |
and set . Probe along the first coordinate axis and write for the projected slope; let be an independent copy. At the origin, the value and are independent, and
| (5.4) |
Consequently, the exact local intensity furnished by Lemma 3.1 is
| (5.5) |
To turn this local calculation into the stated supremum over positive-length paths, put and . For , the integrand in (3.7) vanishes outside , while
For almost every , the defining indicators for the two uniform laws converge as , so and . The displayed compactly supported bound supplies domination, first showing that the exact local intensity converges to (5.5) as . For , , averaging that intensity over the segment shows that its expected switch density has the same limit as . The unused iid coordinates do not affect this probe. This proves (2.10). At , the limiting ratio to is , 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 , let the slopes be iid from any atomless law, and, independently of the slopes, let the iid biases satisfy . Then, for every ,
| (5.6) |
In particular, no uniform length-proportional bound can hold over all bias laws that allow arbitrary atoms.
Proof.
On the event , which has probability , 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 , 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 and , and let
| (5.7) |
Both and have bounded densities. Nevertheless, for two iid candidate pairs and every ,
| (5.8) |
Proof.
The candidate affine functions are . Since almost surely, the larger slope is active to the right of and the smaller slope is active to the left. Thus there is exactly one switch at . The path length is , proving (5.8). Here 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 , let , and let be absolutely continuous. Define the set of transverse interior parameter preimages
| (6.1) |
Then
| (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 it is Santaló [21, Eq. (37), p. 716] with spherical circle radius ; 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 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 be an integer, let be iid , and let be an absolutely continuous curve. If counts active-index switches of , then
| (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 , every absolutely continuous curve in is constant, and both sides of (6.3) vanish. Assume henceforth that .
At almost every , write and . Since , these variables are independent Gaussians with variances and . Thus the expected absolute derivative difference for a fixed pair at common value is , while the other candidates lie below with probability . The visible-pair intensity is
| (6.4) |
Integration by parts, using , gives
| (6.5) |
The boundary term vanishes at both ends, so (6.4) is .
For the global count, fix a pair and write
The vectors are independent standard Gaussians, and, up to the null exceptions in Lemma 6.1, the pair ties precisely at . At any such intersection the common pair value is , independently of and of the remaining candidates. Its averaged visibility mark is
| (6.6) |
Since is finite almost surely, marked Tonelli gives
| (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 in expectation. Summing over pairs and using (6.5) gives
which proves (6.3). ∎
Proof of Theorem 2.8.
Write with . The common deterministic affine function does not affect the active index. Along the path, put
Condition (2.17) and compactness give , so is absolutely continuous. The centered candidate values are . Multiplication by the common positive factor 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 . Direct differentiation gives, for every ,
| (6.8) |
Equivalently, if
| (6.9) |
then the exact local switch intensity is
| (6.10) |
Here denotes the switch rate per unit parameter at position and tangent ; this equation defines it through the continuous local-speed density. The identity remains valid for singular . In particular,
| (6.11) |
Integrating and applying Theorem 2.8 proves (2.21). At , 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 , , and Lemma 6.2 is exactly the spherical-length form of the Edelman–Kostlan zero-count formula [6]. The factor 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 . Then
| (6.12) |
Here is the principal branch in . For independent weights and biases, the numerator is . For a CPWL path, sum (6.12) over its consecutive nonconstant segments.
Proof.
The unnormalized lift of is the affine segment joining and . 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 . We establish finite-rank bounds and asymptotics, relate to planar Gaussian polytopes, and then deduce the whole-line switch count. Write .
Proposition 7.1 (Finite-rank bounds and asymptotics).
For , let . Then
| (7.1) |
The sequence is strictly increasing and discretely concave. As ,
| (7.2) |
where is Euler’s constant.
Proof.
We prove the finite-rank bounds, discrete shape properties, and asymptotic expansion in turn. For any real , the tail-integral identity gives
| (7.3) |
At , the union bound and yield . The function is concave, so for ,
Integrating this bound and dropping the positive integral in (7.3) proves the lower bound.
For , write . Couple the nested maxima and let be one auxiliary standard normal independent of all of them. Then
This quantity is positive. Since almost surely, and the inequality is strict jointly with on an event of positive probability, the increments strictly decrease with . This proves monotonicity and discrete concavity. Finally, Mills’ ratio gives
| (7.4) |
Moreover, Gaussian extreme-value theory [16, Theorem 1.5.3] gives convergence of to the standard Gumbel law. We record the first-moment justification. For , Gaussian hazard bounds give
For , , Mills’ bound yields
The two tail estimates, with the finitely many smaller handled separately, prove uniform integrability of . Hence . Combining with (7.4) and dividing by proves (7.2), and in particular (2.23). ∎
The same coefficient has two exact planar interpretations. Let for iid , and let and denote its number of vertices and perimeter (with the usual doubled-segment convention when ).
Proposition 7.2 (Planar Gaussian-polytope identities).
For every ,
| (7.5) |
Consequently,
| (7.6) |
Proof.
Apply Lemma 6.2 to , , with the endpoints identified. The seam has a tie with probability zero. The active candidate is the exposed vertex of ; as crosses a boundary between adjacent normal cones, this vertex changes. For , the two support candidates exchange twice and both sample points are vertices. For , the hull is almost surely a nondegenerate polygon and the number of transitions around the circle equals its number of vertices. Thus . The Cauchy support-function formula and rotational invariance give
Eliminating between the preceding identities proves (7.6). ∎
These formulas place the rank coefficient within classical Gaussian-polytope theory [1, 5, 13, 14]. Since ,
| (7.7) |
This proves (2.24). For ,
Together with shrinking-path equality in (6.11), this shows that is the optimal constant uniform in in the rank-linear Gaussian normalization.
One further consequence makes the global one-dimensional scale explicit. If , , are iid Gaussian pairs with positive-definite covariance and , the normalized feature curve of over traces an open semicircle of length . Define the whole-line count by the monotone limit . Monotone convergence and Lemma 6.2 therefore give
| (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 , widths , and unit ranks . Set , and for define
| (8.1) | ||||
| (8.2) |
Thus , where ; , and denotes a generic candidate weight in unit . Put . Parameter collections in different layers are independent. Within each unit the candidates are iid, with conditional bias density bounded by and square-integrable weight . 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
| (8.3) | ||||
| (8.4) |
where is an independent copy of one candidate weight. For each layer, write . Let be the set of parameter values that satisfy the active-switch sign-change criterion of Definition 2.1 for the candidate scores
with time measured in the original parametrization of . Set
| (8.5) |
Thus counts distinct switch times; simultaneous events count once, so it is not the sum of the individual unit counts.
The factor controls switches created per unit incoming length, whereas 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,
| (8.6) | ||||
| (8.7) |
For every , the factors admit the covariance-based estimates
| (8.8) | ||||
| (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 . Conditional on the first layers, 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
| (8.10) |
At almost every parameter where exists and is nonzero and every unit has a unique maximizing candidate, put . The derivative of one unit is the projection of its active weight, so the chain rule gives
| (8.11) |
When , 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
Integration gives
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 ; it does not require a new higher-layer tie and creates no additional distinct-time term.
For Gaussian layers, both factors can be sharpened. Assume now that in each unit the candidate pairs are iid as above and, for every ,
| (8.13) |
with independent of and . Let
| (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 and , and let the candidate pairs be iid with , , , and independent of , where and . For every deterministic , let denote the almost surely unique active candidate of the unit at . Then
| (8.15) |
Moreover, and
| (8.16) |
Consequently, .
Proof.
Fix a direction . For candidate , set , , , and . Gaussian regression gives
The residual vector is independent of the full score vector . The almost surely unique winner is score-measurable, so selecting does not change the residual variance or create a cross term. Since is distributed as ,
which is (8.15). Put
Cauchy–Schwarz in the -seminorm gives . If , then ; if , then . Thus . Jensen gives . Finally, , and
Integrating at the threshold proves (8.16). ∎
Define
| (8.17) | ||||
| (8.18) |
For later use, let denote in (8.15) with . 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,
| (8.19) |
Moreover, fix and , and let be absolutely continuous and independent of the parameters in layer . Conditional on this input curve,
| (8.20) |
where exists for almost every , and the expectation is over the current layer.
Proof.
For each unit, (6.10) and (6.11) bound its local switch intensity in direction by
which gives . For length, Jensen’s inequality and Proposition 8.2 give the pointwise conditional bound
and integration gives (8.20). The bound then gives . The proof of Theorem 8.1 completes the recursion. ∎
The relations and determine the unit-level rank dependence. More precisely, let along a family with fixed depth and uniformly bounded widths. Suppose constants , , and , independent of , satisfy
for every unit. Then uniformly in . If, in addition, each layer contains a unit with bounded below by a positive constant independent of , both factors are . 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 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 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 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.