TL;DR
How "wiggly" is the decision boundary of a deep ReLU neural network right out of the box? By blending tropical geometry with signal-processing tools, this paper derives an exact, closed-form formula to predict how often a path on the input sphere crosses a randomly initialized network's decision boundary—at any depth and finite width. Better yet, it gives a sharp geometric explanation for why standard "He initialization" keeps deep networks so remarkably well-behaved.
What Problem Does This Paper Address?
A central mystery in deep learning is how adding layers shapes the functions a neural network can express. Traditionally, theorists measure this by counting the linear regions—the flat, affine pieces that a ReLU network carves the input space into. While region counts grow exponentially with depth, they are merely a proxy for internal processing; they don't actually tell you what the decision boundary (where class 1 ties with class 2) looks like.
Meanwhile, algebraic approaches using tropical geometry (a branch of math where addition becomes max and multiplication becomes +, matching ReLU networks naturally) can explicitly describe the decision boundary's shape, but previously hit a mathematical wall beyond two layers. On the flip side, mean-field and infinite-width theories track how signals propagate through arbitrary depths, but they only watch neuron pre-activations, remaining blind to the boundary's geometry. This paper bridges the gap, tracking an explicit geometric property of the decision boundary across arbitrary depths without needing infinite-width approximations.
Methods
In a 2-layer ReLU binary classifier, tropical geometry tells us that every flat piece of the decision boundary is perpendicular to the edges of geometric shapes called zonotopes, which are built from a set of vectors called generators (derived directly from the network's weights).
To push past two layers into depth $L$, the author uses a clever local trick: fix an input region where the on/off activation patterns of the bottom $L-2$ layers don't change. Inside that cell, those lower layers collapse into a single linear transformation, turning the whole deep network locally into an effective 2-layer network. The author defines the generator energy ($Z_L$) as the sum of squared lengths (squared Frobenius norm) of these local generators, and computes its exact average ($\Gamma_L$) and variance across randomly initialized Gaussian networks by prepending one layer at a time via mathematical induction.
Finally, to translate this algebraic "energy" into tangible geometry, the paper brings in Rice's formula—a classic tool from signal processing used to count how often a random wave crosses zero. Given the hidden layers, the network's log-odds output along a great circle on the input sphere acts as a Gaussian process. Combining $\Gamma_L$ (which dictates how fast the output changes) with the output variance $q^{(L)}$ (how far the output typically sits from zero) yields an explicit estimate for the boundary crossing rate.
Datasets
Not discussed in the paper. Because this is a theoretical study of randomly initialized network ensembles, no external training datasets are used. Instead, the author validates the exact mathematical formulas using Monte Carlo simulations—sampling synthetic unit-norm inputs uniformly from high-dimensional hyperspheres (such as $\mathbb{S}^{19} \subset \mathbb{R}^{20}$ and $\mathbb{S}^{49} \subset \mathbb{R}^{50}$).
Key Insights and Ideas
- He Initialization is Geometrically Depth-Invariant: Every time you prepend a layer with weight variance $\sigma_l^2$, the expected generator energy $\Gamma_L$ simply multiplies by $\sigma_l^2 / 2$ (where the $1/2$ comes from the probability of a ReLU unit being active). Under standard He initialization ($\sigma_w^2 = 2$), the ratio is $1$, locking $\Gamma_L$ at $8(1 + 1/\pi)$ regardless of whether your network has 2 layers or 200!
- Biases Shift, Weights Twist: Remarkably, $\Gamma_L$ is completely invariant to the variance of the network's biases ($\sigma_b^2$). However, biases do change the boundary crossing rate! Because biases inflate the output variance $q^{(L)}$ (pushing output values further away from zero) without increasing the gradient energy $\Gamma_L$, cranking up bias variance actually makes zero-crossings sparser.
- Single Networks Behave Like the Ensemble: By computing fourth moments to bound $\text{Var}(Z_L)$, the paper proves that as long as hidden layer widths ($p$) are large relative to depth ($L$), the generator energy of a single random network tightly concentrates around the theoretical ensemble average.
Key Results
- Exact Finite-Width Closed Form: For any finite widths and any bias variances, the expected generator energy is $\Gamma_L = 8(1 + 1/\pi) \prod_{l=1}^L (\sigma_l^2 / 2)$. Numerical tests on 50 random networks up to depth $L = 21$ (width 128) match this parameter-free curve across 16 orders of magnitude.
- Fast Convergence of Crossing Rates: Using $\rho_L \propto \sqrt{\Gamma_L / q^{(L)}}$ to estimate the exact boundary crossing density $\rho_{\text{exact}}$ incurs a relative error $\delta$ that vanishes rapidly with width $p$:
- With zero biases, $\rho_L = \frac{1}{\pi R}$ (for sphere radius $R$), and the approximation error drops exponentially fast with width: $-\delta \approx (L-1)(1+p)/2^p$, getting within $1\%$ accuracy by around width $p=16$.
- With Gaussian biases, the error shrinks inversely with width: $\delta = \sum_{l=1}^{L-1} c_l / p_l$ (with constants $c_l \in [-5/6, 0]$).
- Phase Diagram Validation: Across sweeps of weight variance ($\sigma_w^2 \in [1, 5]$) at depth $L=8$ and width $p=600$, Monte Carlo zero-crossing counts align closely with the analytical $\rho_L$ predictions.
Limitations and Future Work
The entire mathematical machinery relies on the symmetry and independence of i.i.d. Gaussian weights at initialization. Once gradient descent begins on real data, network weights become correlated and non-Gaussian, breaking the clean layerwise recursions. As the author notes, the natural—and exciting—next step is to track how generator energy $Z_L$ and the decision boundary's crossing rate evolve dynamically during training.
Summary updated