Abstract
A vast amount of literature has recently focused on the “Neural Collapse” (NC) phenomenon, which emerges when training neural network (NN) classifiers beyond the zero training error point. The core component of NC is the decrease in the within-class variability of the network’s deepest features, dubbed as NC1. The theoretical works that study NC are typically based on simplified unconstrained features models (UFMs) that mask any effect of the data on the extent of collapse. To address this limitation of UFMs, this paper explores the possibility of analyzing NC1 using kernels associated with shallow NNs. We begin by formulating an NC1 metric as a function of the kernel. Then, we specialize it to the NN Gaussian Process kernel (NNGP) and the Neural Tangent Kernel (NTK), associated with wide networks at initialization and during gradient-based training with a small learning rate, respectively. As a key result, we show that the NTK does not represent more collapsed features than the NNGP for Gaussian data of arbitrary dimensions. This showcases the limitations of data-independent kernels such as NTK in approximating the NC behavior of NNs. As an alternative to NTK, we then empirically explore a recently proposed data-aware Gaussian Process kernel, which generalizes NNGP to model feature learning. We show that this kernel yields lower NC1 than NNGP but may not follow the trends of the shallow NN. Our study demonstrates that adaptivity to data may allow kernel-based analysis of NC, though further advancements in this area are still needed. A nice byproduct of our study is showing both theoretically and empirically that the choice of nonlinear activation function affects NC1 (with ERF yielding lower values than ReLU).
Introduction
When training deep neural networks (NNs) significantly beyond the point of zero training error, internal representations of samples from the same class tend to converge toward their class mean. This phenomenon, known as Neural Collapse (NC), is characterized primarily by NC1: the dramatic reduction of within-class variability.
While NC is widely observed across architectures, existing theoretical frameworks like "Unconstrained Features Models" (UFMs) often treat features as free variables. By ignoring the input data, UFMs fail to explain how data properties—such as dimensionality, sample size, or class imbalance—influence the degree of collapse. This paper investigates whether kernel methods, which relate NNs to Gaussian Processes, can provide a more nuanced, data-dependent analysis of NC1.
Methodology
The authors propose a three-pronged approach to bridge the gap between kernel theory and NC:
- Universal NC1 Metric: A new formulation for the NC1 metric is derived that depends solely on the kernel function $Q$. This allows for measuring collapse without training an actual network.
- Standard Kernel Analysis: The metric is applied to the NNGP (representing initialization) and the NTK (representing "lazy" training).
- Data-Aware Kernels: To capture feature learning beyond the lazy regime, the study explores a data-aware Gaussian Process kernel governed by "Equations of State" (EoS), which adapts to training data.
Key Insights and Results
The NTK Paradox
A significant finding is that the NTK does not represent more collapsed features than the NNGP for Gaussian data. Theorem 5.1 proves that for 1D Gaussian data, the expected NC1 values for NNGP and NTK are identical. This suggests that the "lazy training" regime described by the NTK cannot capture the feature-learning dynamics essential to Neural Collapse.
Dimensionality and Activation Functions
The study reveals that both architectural choices and data properties affect NC1. High-dimensional data ($d_0$) tends to resist collapse in standard kernels. Furthermore, the choice of activation function is critical; both theory and experiments indicate that the ERF (Error Function) leads to lower NC1 values (more collapse) compared to ReLU.
The Role of Data-Awareness
The data-aware EoS kernel demonstrates a clear departure from the initialization state toward a more collapsed state, aligning more closely with the behavior of trained shallow NNs. This highlights that "adaptivity to data" is a necessary component for any kernel-based theory aiming to explain NC.
Conclusion
This research demonstrates that while standard data-independent kernels like NTK are insufficient for modeling Neural Collapse, data-aware kernels offer a promising alternative. While challenges remain—such as the numerical complexity of EoS kernels and scaling to deeper architectures—this work establishes that kernel-based analysis can indeed capture how data properties influence feature learning.
Summary updated