Skip to main content
QUICK REVIEW

[Paper Review] What can linearized neural networks actually say about generalization?

Guillermo Ortiz-Jiménez, Seyed-Mohsen Moosavi-Dezfooli|arXiv (Cornell University)|Jun 12, 2021
Neural Networks and ApplicationsComputer Science44 references14 citations
TL;DR

This paper investigates the practical validity of the neural tangent kernel (NTK) approximation for generalization in deep learning by comparing neural networks with their linearized counterparts across diverse tasks. It reveals that while NTK alignment predicts learning complexity, non-linear dynamics can cause networks to underperform their linear approximations—due to kernel rotation that induces overfitting—challenging the assumption that non-linear models always outperform kernels.

ABSTRACT

For certain infinitely-wide neural networks, the neural tangent kernel (NTK) theory fully characterizes generalization, but for the networks used in practice, the empirical NTK only provides a rough first-order approximation. Still, a growing body of work keeps leveraging this approximation to successfully analyze important deep learning phenomena and design algorithms for new applications. In our work, we provide strong empirical evidence to determine the practical validity of such approximation by conducting a systematic comparison of the behavior of different neural networks and their linear approximations on different tasks. We show that the linear approximations can indeed rank the learning complexity of certain tasks for neural networks, even when they achieve very different performances. However, in contrast to what was previously reported, we discover that neural networks do not always perform better than their kernel approximations, and reveal that the performance gap heavily depends on architecture, dataset size and training task. We discover that networks overfit to these tasks mostly due to the evolution of their kernel during training, thus, revealing a new type of implicit bias.

Motivation & Objective

  • To assess the practical validity of the NTK approximation in predicting generalization for real-world neural networks.
  • To investigate why neural networks sometimes underperform their linearized approximations despite being non-linear.
  • To identify the role of kernel evolution during training in shaping generalization behavior.
  • To determine whether NTK alignment at initialization can rank the learning complexity of different tasks.
  • To uncover the inductive bias introduced by non-linear dynamics, particularly kernel rotation.

Proposed method

  • Systematically compare the performance of deep neural networks and their linearized approximations (via first-order Taylor expansion) on multiple tasks with identical data but different label functions.
  • Measure the alignment between the target function and the empirical NTK at initialization to predict learning complexity.
  • Track the evolution of the NTK during training to analyze its rotation dynamics using eigenfunction decomposition.
  • Extract kernel matrices at different training epochs (e.g., 0, 100) and evaluate linearized models on the same tasks to assess performance decay or improvement.
  • Use controlled tasks such as sign functions of learned features (e.g., $\operatorname{sign}(\phi_{400}(\mathbf{x}))$) to isolate generalization behavior.
  • Analyze the principal direction of kernel rotation and correlate it with overfitting and test accuracy.

Experimental results

Research questions

  • RQ1Can the NTK alignment at initialization predict the relative learning complexity of different tasks for deep networks?
  • RQ2Under what conditions do neural networks underperform their linearized approximations despite non-linear capacity?
  • RQ3How does the evolution of the empirical NTK during training influence generalization and overfitting?
  • RQ4What role does kernel rotation play in the non-linear advantage or disadvantage of deep networks?
  • RQ5Is the performance gap between networks and their linear approximations determined by architecture, dataset size, or task structure?

Key findings

  • The alignment between the target function and the empirical NTK at initialization provides a reliable predictor of relative learning complexity across diverse tasks.
  • Neural networks can underperform their linearized approximations on certain tasks, particularly when the training task does not align with the network's inductive bias.
  • The performance of linearized models degrades rapidly when kernels are extracted after non-linear pretraining on misaligned tasks, indicating that non-linear dynamics harm generalization.
  • The empirical NTK rotates predominantly along a single principal axis during training, which correlates strongly with overfitting and test accuracy decay.
  • The kernel rotation mechanism explains why networks may converge quickly to training labels but generalize poorly, depending on the target function's structure.
  • The study reveals a new type of inductive bias: the tendency of the NTK to rotate in a single direction during training, which can either enhance or hurt generalization depending on the task.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.