Band Structure of a Network Layer: Tracking Rank Collapse as Gap Closing

When a deep network "collapses," its internal features lose dimensions: inputs that should look different end up squeezed onto a few directions. Almost every diagnostic for this is a single global number, such as effective rank, an isometry score, or the singular value gap. Global numbers can say that collapse happened. They cannot say where on the data it happened, or whether a small dip is noise or the start of a lasting change. This note proposes a local, threshold-free alternative taken from band theory in condensed-matter physics. The idea is to treat a layer's stretching factors, as they vary across the data, the way a physicist treats electron energy bands as they vary across momentum. The stretching factors are the singular values of the layer's Jacobian, meaning its matrix of local derivatives, restricted to directions along the data manifold. In physics, a band's topology can only change where two bands touch, or where a gap closes. These touching points are quantized, counted by integers, and created or destroyed only in pairs.

The proposal applies this picture to networks with smooth activations such as GeLU, Swish, Tanh and SoftPlus. That is exactly the setting where the only existing topology-aware rank analysis, the polyhedral decomposition of ReLU networks, stops working. Our hypothesis is that local rank collapse in smooth networks happens as discrete, conserved "nodal events," points where the smallest stretching factor touches zero. We expect these events to be detectable before global rank metrics move. If the hypothesis holds, we get a collapse diagnostic that localizes the event, holds up under noise, and works for the activations modern models actually use. If it fails, we learn that nothing local adds information beyond global rank metrics.

Core Claim

Fix a layer map $f$ and a data manifold $M$ of dimension $m$. Examples are images under rotation combined with cyclic shift, which form a torus, or the joint angles of a two-link arm. At each point $x$ on $M$, let $J(x)$ be the layer Jacobian restricted to the tangent directions of $M$, and let $g(x)=J(x)^\top J(x)$ be the $m\times m$ "pulled-back metric," which records how the layer stretches each tangent direction. Its eigenvalues $\sigma_1^2(x)\ge\dots\ge\sigma_m^2(x)$ form $m$ bands over $M$.

For a smooth activation, these bands vary smoothly. Standard eigenvalue-crossing counting (von Neumann–Wigner) says that generic crossings $\sigma_i=\sigma_{i+1}$ of a real symmetric matrix have codimension two. On a two-dimensional data manifold, crossings are therefore isolated points. Around each one, the principal stretching direction rotates by half a turn, so the point carries a quantized index of $\pm 1/2$. On a three-dimensional manifold, the crossings form lines, an analogue of nodal-line semimetals. The indices on a closed surface obey a conservation law of the Poincaré–Hopf type:

$$\sum_{p:\ \sigma_1(p)=\sigma_2(p)} \mathrm{ind}(p) = \chi(M),$$

where $\chi(M)$ is the Euler characteristic, equal to 0 for a torus and 2 for a sphere. Full local collapse points, where $\sigma_1=\sigma_2=0$, are a special kind of crossing and are counted in the same sum.

Two consequences follow, and both can be tested.

First, collapse sites can only appear or disappear in index-cancelling pairs. A sphere-shaped data manifold must always carry net index 2, whatever the training does.

Second, the index of a crossing can be computed without choosing any rank threshold. Take a small loop of grid points around a candidate site and track the leading eigenvector $u_1$ of $g$ around it. The Berry-type sign

$$W = \mathrm{sign}\prod_{k} \langle u_1(x_k), u_1(x_{k+1})\rangle$$

equals $-1$ exactly when the loop encloses an odd number of half-index crossings. This is the real-valued analogue of the lattice computation of quantized Berry phases.

The main empirical claim is this. In trained smooth networks, the appearance of zero-gap pairs in the lowest band precedes and predicts drops in global effective rank, and it predicts where on the data manifold topology is destroyed.

What Carries Over From Physics, and What Does Not

Direction 1 supplies the organizing principle, not a metaphor of "protected" layers. Chern Semimetal and the Quantized Anomalous Hall Effect in HgCr2Se4 shows Weyl nodes acting as sources of Berry curvature, and the integer invariant of a two-dimensional slice changes only when the slice passes a node. This is the template for our claim that the topology of a network's local feature map changes only at gap closings. N-band Hopf insulator classifies multi-band structures through homotopy of their eigenframes. That motivates treating all $m$ stretching bands jointly, not only the smallest one. The same paper also warns that "delicate" invariants survive only while the relevant gaps stay open, and our design respects that limit. We claim conservation only for the stretching structure on a closed manifold, and we expect the invariants to be meaningful only where the bands are well separated.

We deliberately do not use non-Hermitian band theory. A square layer Jacobian is non-symmetric, and its eigenvalue structure, including exceptional points and the skin-effect scaling studied in Universal scalefree non-Hermitian skin effect near the Bloch point, is a natural follow-up for bootstrapped value learning. Working with the symmetric $g=J^\top J$ keeps the first study on solid ground.

Direction 2 explains why this matters now. Smooth function approximation by deep neural networks with general activation functions separates piecewise-linear activations from "locally quadratic" ones, those with nonzero curvature such as Swish, ELU and Tanh. For the second class, the Jacobian varies smoothly across inputs, so bands with isolated crossings exist. For ReLU, the Jacobian is constant on each polyhedral region, so the bands are flat pieces that jump at region boundaries. That is precisely the regime handled by A rank decomposition for the topological classification of neural representations. That paper computes local affine rank per region and uses relative homology to show that classification drives topology-destroying, low-rank maps while regression preserves topology. It also states that the method is tied to ReLU and to shallow, low-dimensional settings.

Our method is the smooth counterpart. A SoftPlus activation whose sharpness is set by a temperature parameter $\beta$ interpolates continuously between the two regimes, which lets us check that the two analyses agree in the limit.

Direction 3 supplies the phenomenon and the global metrics we must beat. The relevant results are these:

All of these work with global spectra. Our crossing points are local versions of Joudaki et al.'s isometry condition: at a crossing the layer is locally isotropic on the tangent plane. The conservation law therefore says something their global score cannot, namely that on a sphere-like data manifold, perfect local isometry everywhere is impossible.

The literature disagrees on whether collapse is harmful. Setting the Record Straight on Transformer Oversmoothing reports that a forced-smoothing 48-layer ViT beat a sharpening one on CIFAR-100, while the rank-decomposition paper argues collapse is how classifiers work. A local diagnostic can address this disagreement directly by asking whether collapse sites land on class boundaries (useful squashing) or inside classes (harmful aliasing).

Research Program

The first component is a measurement tool. For a trained network and a parameterized data manifold, we sample a grid on $M$ and compute tangent Jacobians by forward-mode differentiation along the $m$ parameter directions. We then eigendecompose the small $m\times m$ matrix $g$ at each grid point and locate crossings through the loop sign $W$ on every grid cell. This costs $m$ Jacobian-vector products per point, which is cheap for $m\le 3$.

We will validate the tool against two references. The first is planted crossings in hand-built smooth maps. The second is the ReLU polyhedral rank decomposition in the large-$\beta$ SoftPlus limit, where crossings should crowd onto region boundaries.

The second component is a dynamics study. We log nodal events (pair creation, pair annihilation, and crossings of the lowest band through zero) throughout training, alongside global effective rank and $I(G)$. We do this across activations (ReLU, Leaky-ReLU, SoftPlus at several $\beta$, GeLU, Swish, Tanh), normalizations (none, batch normalization, layer normalization), and tasks (classification and regression on the same manifold). This directly tests whether the rank decomposition paper's classification-versus-regression finding extends to smooth activations, and whether that change happens through discrete pair events.

The third component is a minimal intervention. We add a penalty on the lowest band only near detected nodal sites, keeping $\sigma_m$ away from zero there, and compare it to the global gap penalty. This is the only place we claim practical value, and it is where the idea is most likely to fail.

Baselines

The naive reference point is to do nothing local: train the same networks and monitor only the loss curve. Any diagnostic must flag collapse before the loss plateaus or accuracy drops. Batch-normalization-free MLPs are expected to fall to chance once last-layer rank collapses, around 10–12 layers for plain SGD on CIFAR-10 according to Batch Normalization Provably Avoids Rank Collapse for Randomly Initialised Deep Networks. That gives a known failure point to anchor against.

The strongest diagnostic competitor is global spectral monitoring. This means effective rank of the layer's feature matrix as used by Kumar et al., together with the isometry score $I(G)$ of On the impact of activation and normalization in obtaining isometric embeddings at initialization, computed on the same samples drawn from the same manifold. It is the strongest because it is cheap, widely used, and already tracks collapse well enough to motivate fixes. Both methods get identical checkpoints and identical sample budgets. Our grid uses the same number of forward passes as the global metric's sample matrix, counting Jacobian-vector products at their true cost. The metric is lead time and precision for predicting a later drop of at least 20% in effective rank. Beating this baseline means a statistically reliable positive lead time at equal or better precision. No reported result was found on Lacuna for lead-time prediction of rank collapse by any method, so we will establish this number ourselves.

The strongest localization competitor is pointwise thresholded rank. At each grid point we compute the numerical rank of the tangent Jacobian with a cutoff, and for ReLU we use the polyhedral local rank of A rank decomposition for the topological classification of neural representations. Its one quantitative anchor in the file is that average rank on MNIST falls after training toward the data's intrinsic dimension, "roughly 7–13." Beating it means collapse-site maps that stay stable across a range of thresholds and input-noise levels where the thresholded maps fragment. Stability is measured as overlap of detected sites under perturbation.

For the intervention, the strongest existing method is the singular value gap penalty $\sigma_{\max}^2-\sigma_{\min}^2$ of Implicit Under-Parameterization Inhibits Data-Efficient Deep Reinforcement Learning. That paper reports a 74.5% median improvement across 16 Atari games offline with DQN, and 14.1% when added to CQL. Sample weight decay from The Rank and Gradient Lost in Non-stationarity reports interquartile-mean gains of 13.7–30.1% on MuJoCo and Atari. Our intervention testbed has a known torus state space, so these numbers are not directly comparable. We will rerun the gap penalty in our setting with the same hyperparameter search budget as our local penalty.

The key ablation isolates locality and topology. It applies the same lowest-band penalty at randomly chosen manifold points, matched in number to the detected nodal sites. If random placement works as well, the nodal detection adds nothing to the intervention.

Why not just…?

Why not just monitor effective rank or the isometry score? This is the most serious alternative. If global metrics already move at the same time as local events, the band picture is just a description. The evidence that they may fall short is indirect. Global scores average over the manifold, and Setting the Record Straight on Transformer Oversmoothing shows that rank can oscillate or sharpen with depth, so a global number can hide opposing local changes. The lead-time experiment settles the question. If nodal events have no lead over effective rank, we drop the diagnostic claim and keep only the descriptive one.

Why not just threshold the local Jacobian rank at each point? This also gives localization and costs about the same. Its weakness is that the cutoff is arbitrary: near a collapse, $\sigma_m$ is small but not zero over a region, so the detected set grows and shrinks with the threshold. The loop sign $W$ is an integer computed from eigenvector overlaps. It needs no cutoff, and the conservation law rejects spurious single detections. If thresholded maps prove just as stable under noise, the topological machinery is unnecessary, and the stability experiment will show that.

Why not just pick an activation with high isometry strength, or a nearly linear Leaky-ReLU? Low-Rank Learning by Design shows that more linear activations preserve gradient rank, but linearity removes expressivity. Isometry strength is an infinite-width, initialization-time quantity, and its authors concede that later training effects can override it. Our activation sweep tests whether isometry strength at initialization predicts how many nodal events occur late in training. A strong correlation would mean the cheaper initialization-time number suffices for choosing activations, and we would report that.

Proposed Experiments

The controlled study uses three kinds of manifold. The first is the synthetic circles, tori and spheres used by the rank-decomposition and attention-collapse papers. The second is MNIST and CIFAR-10 digits or images swept over rotation combined with cyclic translation, which gives a torus, and over three such parameters, which gives a 3-torus for the nodal-line prediction. The third is a two-link-arm value-learning task whose angle space is a torus, trained with bootstrapped targets to reproduce the collapse reported by Kumar et al.

Architectures are MLPs of 8–32 layers and small ResNets, using the activation and normalization grid above, with five seeds each.

Three checks decide the outcome.

The first is conservation. On sphere-shaped manifolds, the measured net index should equal 2 at every checkpoint for smooth activations. As SoftPlus $\beta$ grows, the count should become ill-defined, with crossings crowding onto polyhedral boundaries and agreeing with the ReLU rank decomposition. Failure here means the measurement tool is broken.

The second is prediction. Pair creation of zero-gap points in the lowest band should precede global effective-rank drops by a measurable number of steps, and should mark the manifold regions whose homology is lost. Homology loss will be verified by relative homology on the image, following the rank-decomposition paper. For classification, we expect most such sites near class boundaries; for regression, few.

The third is intervention. In the bootstrapped torus task, the node-targeted penalty should match or beat the global gap penalty on return and on final effective rank under the same tuning budget, and it should outperform the random-placement ablation.

A positive result on the first two checks with a null on the third would still give a sound diagnostic for smooth networks. A null on the second check would show that, at least on these manifolds, local stretching topology adds nothing beyond global rank metrics.