Feature learning is decoupled from generalization in high capacity neural networks

Niclas Alexander Göring, Charles London, Abdurrahman Hadi Erturk, Chris Mingard, Yoonsoo Nam, Ard A. Louis

TL;DR

Neural networks excel at generalization, a feat attributed to "feature learning." However, existing theories of feature learning measure how much a network's internal representations change during training (strength), not how useful those learned features are for generalization (quality). This paper introduces a new metric, the "feature learning gap" ($\Delta_{NT}$), to quantify feature quality and shows it's largely decoupled from feature strength, suggesting current theories are insufficient for understanding why NNs generalize so well.

What Problem Does This Paper Address?

Deep neural networks (NNs) are remarkably good at generalizing to unseen data across various domains. A leading hypothesis for this success is "feature learning" (FL) – the ability of NNs to adapt their internal representations to discover meaningful patterns in data. This is in contrast to kernel methods, which rely on fixed, pre-defined feature spaces. While NNs demonstrably learn better features than what's present at initialization, understanding why this leads to superior generalization remains a fundamental challenge. Current FL theories often measure the magnitude of change in a network's representations during training. However, the authors argue this "feature learning strength" doesn't necessarily equate to "feature quality," which is what truly drives generalization. They aim to bridge this gap by proposing a way to measure feature quality and demonstrating its decoupling from strength.

Methods

The core contribution is the introduction of the feature learning gap ($\Delta_{NT}$). This metric quantifies the difference in generalization error between a trained neural network and its linearized approximation (the Neural Tangent Kernel or NTK) at initialization. A larger $\Delta_{NT}$ signifies that the NN has learned features that significantly improve generalization beyond what the initial kernel could achieve.

To investigate the relationship between feature learning strength and quality, the authors:

  • Categorize existing FL definitions: They group current FL definitions into three families: NTK-based, Conjugate Kernel (CK)-based, and superposition-based.
  • Empirically test these definitions: They train NNs on various datasets and architectures, comparing performance on true vs. shuffled labels. If an FL metric measures quality, it should show a clear distinction between these two scenarios.
  • Analyze the $\Delta_{NT}$ gap: They demonstrate that $\Delta_{NT}$ effectively captures the performance improvement of NNs over NTKs, especially on complex functions where NNs show significant advantages.

Datasets

The paper uses the following datasets/functions for training and evaluation:

  • Merged Staircase (MSP) functions: A class of functions designed to highlight differences between NNs and kernel methods.
  • Multi-index functions: Polynomial functions dependent on a small number of latent directions.
  • CIFAR-10: A standard image classification dataset.

Key Insights and Ideas

  • Feature Strength vs. Feature Quality: The paper makes a crucial distinction between how much a network's representations change (strength) and how useful those changes are for generalization (quality). Current FL theories primarily measure strength.
  • The $\Delta_{NT}$ Gap as a Quality Metric: The proposed $\Delta_{NT}$ gap effectively measures how much a trained NN generalizes better than its initial linear approximation, serving as a proxy for feature quality.
  • Decoupling of Strength and Quality: Empirically, the authors show that measures of feature learning strength (like changes in NTK or CK) do not reliably predict generalization performance. A network can exhibit strong feature learning (large representation changes) but still generalize poorly, or vice-versa.
  • Limitations of Current Theories: Existing FL theories, by focusing on strength, fail to provide a solid foundation for understanding NN generalization. This is particularly evident when comparing NNs to kernels on tasks where NNs excel.
  • Importance of Data: The effectiveness of feature learning and generalization is highly dependent on the dataset and the target function.

Key Results

  • On tasks like the MSP and multi-index functions, NNs outperform their NTK counterparts by orders of magnitude, especially after a critical training set size ($m^* \sim 10^3$). This performance gap is captured by the $\Delta_{NT}$ metric.
  • Existing FL strength metrics (NTK-based, CK-based, superposition-based) fail to consistently distinguish between networks trained on true vs. shuffled labels, indicating they don't reliably measure feature quality.
  • For CNNs on CIFAR-10, NTK performance is comparable to NNs until very large dataset sizes ($m^* \sim 10^4$), suggesting that for some tasks, the initial kernel is already quite effective.
  • The paper demonstrates that feature dimensionality, a measure of superposition, is not a conclusive metric for feature quality and can be influenced by training parameters.

Limitations and Future Work

  • Sufficiency of $\Delta_{NT}$: While $\Delta_{NT}$ is a good indicator of feature quality, the authors suggest the need for a more comprehensive FL theory that can fully explain NN generalization.
  • Complexity of Real-World Data: The experiments primarily use synthetic datasets and CIFAR-10. Extending the findings to more complex, real-world datasets would be valuable.
  • Hyperparameter Sensitivity: While the paper explores various hyperparameters, the sensitivity of FL metrics to specific choices (e.g., $\gamma$ scaling) is noted as a limitation for some metrics.
  • Future Directions: The authors advocate for developing theories that can account for the observed decoupling and provide a more robust foundation for understanding why NNs generalize so effectively. This includes exploring how feature quality, as measured by $\Delta_{NT}$, relates to other aspects of NN behavior.

Summary updated

BibTeX
@inproceedings{goring2025feature,
  author = {Niclas Alexander Göring and Charles London and Abdurrahman Hadi Erturk and Chris Mingard and Yoonsoo Nam and Ard A. Louis},
  title = {{Feature learning is decoupled from generalization in high capacity neural networks}},
  booktitle = {HiLD @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=pVJpk4tuVu},
}
Figure