Learning deep neural networks by iterative linearisation

Adrian Goldwaser, Hong Ge

TL;DR

Neural Tangent Kernel (NTK) theory explains infinitely wide neural networks via fixed-feature linear models, but real-world finite networks rely heavily on evolving their features during training. This paper introduces iterative linearisation, an optimization framework that bridges the gap by freezing feature representations and updating them only every $K$ steps. The authors show that with a sufficiently small learning rate, neural networks need surprisingly few feature updates to match standard gradient descent performance.

What Problem Does This Paper Address?

In the infinite-width limit, deep neural networks evolve like linear models governed by a static kernel known as the Neural Tangent Kernel (NTK). While mathematically convenient, pure NTK models fail to capture how real, finite-width deep networks work—most notably because infinite-width NTK networks do not perform feature learning (their empirical kernel remains frozen at initialization).

In practice, training a finite network using purely linearized weights ($K = \infty$) yields poor accuracy on complex tasks. But how much feature learning do finite networks actually need? The authors explore the space between standard gradient descent (where features adapt at every parameter update) and fixed-kernel learning (where features never adapt).

Methods

The authors propose iterative linearisation (Algorithm 1):

  1. Deconstruct parameter updates: Standard gradient descent updates both the parameter weights $\theta_t$ and the feature representations $\phi_t = \nabla_\theta f_{\theta_t}(X)^\top$ at every single iteration.
  2. Decouple weight updates from feature updates: Instead of recomputing Jacobians at every step, the network's first-order Taylor expansion (the linearized model) is held fixed for a block of $K$ steps: $$f_{s,t}^{\text{lin}}(x) = f_{\theta_s}(x) + \nabla_\theta f_{\theta_s}(x)^\top (\theta_t - \theta_s)$$ Parameters $\theta$ are updated iteratively using gradients of this linear approximation.

  3. Periodic re-linearisation: Every $K$ steps, the reference weights $\theta_s$ are refreshed to the current weights $\theta_t$, refreshing the feature Jacobian $\phi_s^{\text{lin}}$.

Setting $K = 1$ recovers standard gradient descent (continuous feature learning), while $K = \infty$ corresponds to training a completely linearised network from initialization (no feature learning).

General loss extension: Unlike standard NTK theory that heavily relies on Mean Squared Error (MSE), the authors extend iterative linearisation to general differentiable losses (such as cross-entropy) by leaving the final softmax outside the linearisation operator to maintain numerical stability.

Datasets

The authors evaluate their method on two classic vision benchmarks:

  • MNIST: Digit classification benchmark.
  • CIFAR-10: 10-class natural image classification.

Note: No new datasets were introduced. All experiments were conducted using an expanded LeNet variant (50 channels per convolutional layer).

Key Insights and Ideas

  • Features need remarkably few updates: On MNIST, training curves for all $K \le 100$ are virtually identical to standard gradient descent ($K=1$). Even with $K = 1000$, updating feature representations just twice across training brings the network within 0.4% accuracy of full gradient descent. This suggests the initial random weights already provide features very close to what is needed to solve MNIST.
  • Step size governs stability across intervals: For CIFAR-10, linearisation stability is extremely sensitive to the learning rate $\eta$:
  • At $\eta = 1\times 10^{-4}$, training quickly diverges if features are updated less often than every 5 epochs ($K > 5$).
  • Dropping the step size to $\eta = 1\times 10^{-5}$ stabilizes training completely, maintaining steady convergence even with $K = 20,000$ (a 4,000× reduction in feature update frequency for only a 10× decrease in learning rate).
  • A continuous dial on feature learning: Iterative linearisation provides an explicit, tunable parameter ($K$) to control and study the exact transition between "lazy" kernel regimes and active representation learning in finite models.

Key Results

  • MNIST: All runs with finite $K$ ($K=1$ through $K=1000$) converged to near 100% test accuracy, all lying within a tight 0.4% performance spread of one another, whereas the frozen-feature baseline ($K = \infty$) lagged noticeably behind.
  • CIFAR-10: With $\eta = 1\times 10^{-5}$, models with $K = 1,000$, $5,000$, $10,000$, and $20,000$ all remained stable and converged toward test accuracies comparable to full gradient descent (~50% test accuracy for this model class).

Limitations and Future Work

  • Model scale: The paper only tests a small LeNet-style CNN that tops out around 50% accuracy on CIFAR-10. It remains open whether these dynamics hold for modern architectures (ResNets, Transformers) on large-scale datasets (e.g., ImageNet).
  • Rigid update frequency: The paper only studies fixed-period linearisation. Prior work indicates the empirical NTK shifts much faster at the beginning of training, suggesting that an adaptive schedule (small $K$ early, large $K$ late) would be more natural and computationally efficient.
  • Nature of the inductive bias: It remains an open theoretical question whether the transition from $K < \infty$ to $K = \infty$ represents a continuous degradation of solutions or a sharp phase transition.

Summary updated

BibTeX
@inproceedings{goldwaser2022learning,
  author = {Adrian Goldwaser and Hong Ge},
  title = {{Learning deep neural networks by iterative linearisation}},
  booktitle = {OPT @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=wpxn_MdPg-M},
}
Figure