Beyond Linearization: On Quadratic and Higher-Order Approximation of Wide Neural Networks

Yu Bai, Jason D. Lee

Abstract

Neural Tangent Kernel (NTK) theory has provided a foundational framework for understanding neural network training by approximating wide networks as linear models. However, this "lazy training" regime often fails to explain why deep networks outperform linear methods in practice, particularly regarding sample complexity. This paper introduces a novel randomization technique to push neural networks beyond the linear regime, coupling their dynamics with quadratic and higher-order Taylor approximations. We demonstrate that these higher-order models maintain benign optimization landscapes while achieving significantly better sample complexity—improving by factors as large as the data dimension $O(d)$—on tasks such as learning polynomials, noisy 2-XOR, and low-rank matrix sensing.

Introduction

In recent years, the Neural Tangent Kernel (NTK) has dominated the theoretical landscape of deep learning. The NTK framework posits that in the limit of infinite width, a neural network trained by gradient descent behaves like a linear model. While this "linearization" allows for rigorous mathematical guarantees regarding convergence, it creates a significant gap between theory and practice. Real-world neural networks are known to learn complex features and empirically outperform their linearized counterparts, which often suffer from poor sample complexity bounds even for simple functions.

This paper addresses a fundamental question: Can we develop a rigorous mathematical framework for training neural networks that captures non-linear dynamics beyond the NTK regime while remaining theoretically tractable?

Methodology: The Randomization Trick

The authors analyze the Taylor expansion of a two-layer neural network's weights. In standard wide networks, the first-order (linear) term dominates the training dynamics. To escape this "gravity well" of linearization, the authors introduce a structured randomization technique:

  1. Sign Randomization: Network weights are multiplied by random signs ($+1$ or $-1$).
  2. Suppressing the Linear Term: Because the linear term in the Taylor expansion depends directly on the weights, the introduction of random signs causes this term to average out to zero in expectation.
  3. Isolating the Quadratic Term: The quadratic (second-order) term involves the square of the weights. Since $(\pm 1)^2 = 1$, the random signs do not cancel this term, leaving the quadratic dynamics intact.

By suppressing the linear term, the network's training dynamics are forced to couple with the quadratic model. The authors then employ Hessian analysis to map the optimization landscape and use Rademacher complexity to establish generalization bounds based on tensor operator norms.

Optimization and Generalization

A critical concern when moving beyond linear models is the loss of convexity. However, the authors prove that the quadratic models' optimization landscapes are surprisingly "friendly." Specifically, they demonstrate that every second-order stationary point is essentially a global minimum. This implies that optimization algorithms capable of escaping saddle points, such as noisy Stochastic Gradient Descent (SGD), can efficiently find global optima.

Furthermore, the generalization ability of these quadratic models is governed by the operator norm of the feature covariance matrix, rather than the Frobenius norm typically associated with linear NTK. In high-dimensional, isotropic data settings, this mathematical shift allows the quadratic model to generalize using significantly fewer training examples.

Key Theoretical Results

The paper provides several concrete examples where the quadratic regime provides a provable advantage over the linear NTK regime:

  • Polynomial Functions: To learn a single polynomial function, the quadratic network requires $O(1/d)$ fewer samples than the linear NTK, where $d$ is the input dimension.
  • Noisy 2-XOR Problem: The authors prove that the quadratic model can learn a noisy 2-XOR problem with $O(d)$ samples. This is a substantial improvement over the linear NTK, which has been proven to require at least $\Omega(d^2)$ samples for the same task.
  • Low-Rank Matrix Sensing: The quadratic model achieves a sample complexity of $O(dr^2)$, outperforming the linear NTK's requirement of $O(d^2r^2)$.

These results suggest that the randomization trick allows the network to climb a "ladder of complexity," where higher-order Taylor terms enable the learning of more sophisticated functions with fewer data points.

Discussion and Future Work

While this work provides a rigorous path beyond the NTK, it currently relies on explicit randomization to force the network into the quadratic regime. A primary goal for future research is to investigate "implicit" or deterministic coupling—determining whether standard SGD naturally transitions into these higher-order regimes without manual intervention.

Additionally, while Taylor expansions provide a useful approximation, they are only one way to model neural network behavior. Future exploration into alternative approximation schemes may yield a more complete theory of neural network training that holds over even larger regions of the parameter space.

Summary updated

BibTeX
@inproceedings{bai2020beyond,
  author = {Yu Bai and Jason D. Lee},
  title = {{Beyond Linearization: On Quadratic and Higher-Order Approximation of Wide Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=bnliaFIoGA},
}
Figure