Adaptive kernel predictors from feature-learning infinite limits of neural networks

Clarissa Lauditi, Blake Bordelon, Cengiz Pehlevan

Introduction

The theoretical understanding of neural networks often relies on the "infinite-width" limit, where the number of neurons in each layer grows to infinity. Historically, this limit led to the discovery of the "lazy training" regime, characterized by the Neural Tangent Kernel (NTK) and the Neural Network Gaussian Process (NNGP). In this regime, the network behaves like a linear model with a fixed kernel, meaning the internal features do not evolve during training. However, this fails to capture the "rich" feature-learning behavior observed in practical deep learning.

A recent study from Harvard University, "Adaptive kernel predictors from feature-learning infinite limits of neural networks," addresses this discrepancy. The researchers demonstrate that even in the feature-learning regime—where representations adapt to data—infinitely wide networks can still be described as kernel machines. These "adaptive" kernels provide a precise mathematical bridge between the simplicity of kernel methods and the power of deep feature learning.

The Rich Regime and Adaptive Kernels

The study focuses on networks trained under the Maximal Update Parameterization ($\mu P$). Unlike standard parameterizations that collapse into lazy learning at infinite width, $\mu P$ ensures that weight updates remain significant, allowing the network to learn features.

The authors derive two primary adaptive predictors:

  1. Adaptive Neural Bayesian Kernel (aNBK): This predictor arises from a Bayesian treatment of the network. Using statistical mechanics and saddle-point equations, the authors show that feature learning corresponds to a min-max optimization problem. This process determines how the kernel and the distribution of pre-activations adapt to the specific task.
  2. Adaptive Neural Tangent Kernel (aNTK): This is derived through Dynamical Mean Field Theory (DMFT), which tracks the evolution of the network's internal representations during gradient flow with weight decay.

Unlike traditional kernels, which are static and data-independent, the aNBK and aNTK are task-adaptive. They align themselves with the labels of the training data, effectively "learning" which features are most relevant for the classification or regression task at hand.

Key Theoretical Insights

The Departure from Gaussianity

In the lazy regime, the internal pre-activations of a network are Gaussian. The authors prove that in the rich regime, these distributions become non-Gaussian. Their theory accurately predicts the emergence of complex, non-Gaussian shapes (such as "Mexican-hat" distributions) as the network adapts to the data.

The "Spike" Effect in Deep Linear Networks

By analyzing deep linear networks, the researchers identified a "low-rank spike" effect. As the network depth increases, the kernels develop spikes that grow exponentially. These spikes act as filters, amplifying signal components relevant to the labels while suppressing noise. The study provides scaling laws for this alignment, showing a logarithmic relationship between depth and data-label alignment.

Empirical Results and Performance

The theoretical predictors were tested against finite-width neural networks on standard benchmarks, including MNIST and CIFAR-10.

  • Performance Gains: The adaptive kernels (aNBK and aNTK) consistently outperformed their lazy counterparts (NNGP and NTK). By adapting to the data, these predictors achieved significantly lower test loss.
  • Theoretical Fidelity: The behavior of finite-width networks (e.g., width $N=1024$) trained with gradient descent closely matched the predictions made by the infinite-width adaptive kernel theory.
  • Architectural Versatility: The framework extends beyond Multi-Layer Perceptrons (MLPs) to Convolutional Neural Networks (CNNs). The DMFT-based predictors for CNNs showed superior performance on image tasks, mirroring the practical advantages of convolutional architectures.

Limitations and Future Directions

While this work provides a rigorous foundation for feature learning, practical implementation remains computationally intensive. Solving the min-max problems and DMFT equations requires Monte Carlo sampling of non-Gaussian densities, which is more demanding than standard kernel regression. Additionally, solving these equations for very deep networks ($L > 1$) presents numerical challenges due to recursive dependencies.

Future research may focus on optimizing these solvers. If the computational overhead can be reduced, these adaptive kernel predictors could serve as a viable alternative to traditional backpropagation, offering a more direct way to achieve the benefits of feature learning in large-scale models.

Summary updated

BibTeX
@inproceedings{lauditi2025adaptive,
  author = {Clarissa Lauditi and Blake Bordelon and Cengiz Pehlevan},
  title = {{Adaptive kernel predictors from feature-learning infinite limits of neural networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=NLiwENWuaJ},
}
Figure