TL;DR
This paper introduces $\mathcal{D}_{LR}$, a lightweight, performance-independent metric that quantifies "dynamical richness" in neural networks by measuring the low-rank bias of feature learning. By decoupling feature dynamics from downstream task accuracy, the metric successfully tracks lazy-to-rich transitions (like grokking) and uncovers new insights, such as how batch normalization drives networks into the rich regime.
What Problem Does This Paper Address?
In deep learning, we often categorize training into two regimes: the lazy regime (where features change very little, resembling linear kernel methods) and the rich regime (where features change dynamically to adapt to the task). Intuitively, we tend to equate "rich feature learning" with "better performance." However, this isn't always true; rich dynamics can sometimes lead to overfitting or poor generalization depending on the task structure.
Despite this decoupling, researchers frequently use test accuracy as a proxy for dynamical richness because existing direct metrics are deeply flawed. For instance, tracking changes in the Neural Tangent Kernel (NTK) is computationally prohibitive for modern architectures, while other metrics rely too heavily on specific initializations, weight norms, or class labels.
This paper addresses the lack of a practical, computationally efficient, and performance-independent metric to measure how "rich" a network's training dynamics actually are.
Methods
The authors propose the Dynamical Low-Rank Measure ($\mathcal{D}_{LR}$), which exploits the inherent low-rank bias of rich training dynamics. In an ideal rich regime, a network compresses its internal representations so that only a minimal number of features are learned to span the output space.
To formalize this, they introduce the Minimum Projection (MP) operator ($\mathcal{T}_{MP}$). This operator projects the feature space onto the space spanned by the learned function itself. The metric is defined using Centered Kernel Alignment (CKA):
$$\mathcal{D}_{LR} := 1 - \text{CKA}(\mathcal{T}, \mathcal{T}_{MP})$$
where $\mathcal{T}$ represents the actual feature kernel operator of the penultimate layer.
- Interpretation: $\mathcal{D}_{LR} \in [0, 1]$. A value of $0$ means perfectly rich dynamics (the features perfectly align with the minimal dimensions needed to express the learned function), while higher values indicate lazier dynamics.
- Complexity: Because it only looks at the activations before and after the final layer, computing $\mathcal{D}_{LR}$ scales as $\mathcal{O}(p^2 C)$ (where $p$ is the last-layer width and $C$ is the number of classes). This is vastly cheaper than NTK-based methods that scale with the total number of network parameters.
The authors also introduce an eigendecomposition-based visualization method to break down feature learning into three components: cumulative task alignment ($\Pi^*$), feature utilization ($\hat{\Pi}$), and relative eigenvalue intensity ($\rho_k/\rho_1$).
Datasets
The metric was evaluated across several standard image classification benchmarks and algorithmic tasks:
- MNIST (including a custom "label-encoded" variant to explicitly separate richness from generalization)
- CIFAR-10 and CIFAR-100
- Modular $p$ division (a classic synthetic dataset used to study the "grokking" phenomenon)
Key Insights and Ideas
- Rich Dynamics $\neq$ Better Generalization: Using a clever "label-encoded" MNIST setup, the authors demonstrate a scenario where full backpropagation (rich regime) overfits to a pixel-encoded shortcut and generalizes poorly (10% test accuracy), whereas training only the last layer (lazy regime) forces the network to use the actual image features, yielding 74.4% accuracy. $\mathcal{D}_{LR}$ correctly identifies the full backprop model as rich ($\mathcal{D}_{LR} = 0.0087$) and the last-layer-only model as lazy ($\mathcal{D}_{LR} = 0.63$).
- Generalizing Neural Collapse: The authors mathematically prove that when a network achieves perfect classification, $\mathcal{D}_{LR} = 0$ recovers the well-known phenomenon of Neural Collapse (specifically the NC1 and NC2 conditions) as a special case. Crucially, $\mathcal{D}_{LR}$ extends this concept to regression tasks and intermediate training phases where classification isn't perfect.
- Batch Normalization Drives Richness: A surprising empirical discovery is that Batch Normalization (BN) actively promotes rich dynamics. VGG-16 trained on CIFAR-100 without BN remains stuck in a lazy regime ($\mathcal{D}_{LR} = 0.66$), but adding BN shifts it dramatically into the rich regime ($\mathcal{D}_{LR} = 0.073$).
- Quality Follows Intensity: In contrast to some theoretical models of linear networks where feature quality aligns before feature intensity, the authors find that in deep networks (like ResNet18), larger-intensity features improve in quality faster during training.
Key Results
- Tracking Grokking: On the modular division task, $\mathcal{D}_{LR}$ clearly captures the sudden transition from lazy to rich training. Before grokking (step 200), $\mathcal{D}_{LR}$ is $0.51$; after grokking (step 3000), it drops to $0.11$, signaling the emergence of structured, low-rank features.
- Robustness to Hyperparameters: The metric successfully tracks the "laziness" induced by target downscaling (scaling labels by $1/\alpha$). As $\alpha$ increases, the training becomes theoretically lazier, and $\mathcal{D}_{LR}$ scales monotonically from $0.049$ to $0.56$, outperforming baseline metrics like parameter norms or initial kernel distance which fail to capture this shift accurately.
Limitations and Future Work
- Isotropicity Assumption: The current mathematical formulation of the Minimum Projection operator ($\mathcal{T}_{MP}$) assumes orthogonal and isotropic target functions. While this holds true for balanced classification and basic regressions, it limits the metric's immediate application to highly imbalanced or long-tailed datasets (e.g., natural language processing).
- Last-Layer Focus: To maintain computational efficiency, $\mathcal{D}_{LR}$ focuses exclusively on the penultimate layer's activations. While the authors provide preliminary evidence that intermediate layers show weaker low-rank biases, a holistic framework that tracks richness deep within the network remains an open challenge.
Summary updated