Implicit Bias in Deep Linear Classification: Initialization Scale vs Training Accuracy

Edward Moroshko, Blake E. Woodworth, Suriya Gunasekar, Jason D. Lee, Nati Srebro, Daniel Soudry

In deep learning, models often have significantly more parameters than data points, meaning there are infinitely many ways to achieve zero training error. Yet, gradient descent consistently finds solutions that generalize well. This phenomenon is known as implicit bias.

Historically, researchers have categorized neural network behavior into two distinct regimes:

  1. The Kernel (or "Lazy") Regime: The model stays near its initialization, behaving like a simple linear model. It is mathematically well-behaved but fails to learn complex, adaptive features.
  2. The Rich (or "Active") Regime: The model undergoes significant changes during training, learning sparse, adaptive features that often lead to superior generalization.

Previous work suggested that the scale of a model's initialization ($\alpha$) primarily determines which regime you land in. However, this paper identifies a critical missing piece of the puzzle: training accuracy ($\epsilon$). The authors reveal that the implicit bias of deep learning is not just a result of initialization, but a delicate tug-of-war between initialization scale and how accurately the training loss is minimized.

Conceptual diagram illustrating the transition between the Kernel and Rich regimes based on initialization scale and training accuracy.

A Mathematical Sandbox: Diagonal Linear Networks

To rigorously quantify how initialization and accuracy interact, the authors conduct a detailed asymptotic study of gradient flow (gradient descent with an infinitesimal step size). To make the mathematics tractable while preserving the core dynamics of deep learning, they utilize diagonal linear networks.

These are simplified models where the output is a linear combination of inputs, but the weights are represented as a product of multiple layers (e.g., $w = u_+^D - u_-^D$). This structure allows the model to exhibit the same "kernel vs. rich" transition seen in complex neural networks. The study specifically analyzes the minimization of the exponential loss (commonly used in classification tasks) on linearly separable data.

Key Insights: The "Ridiculous Accuracy" Requirement

The paper's most striking finding is the precise boundary that separates the two regimes. The transition is controlled by the scaling relationship $\log(1/\epsilon) \approx \Theta(\alpha^D)$.

This leads to a surprising practical implication: if you start with a large initialization scale, the model might remain trapped in the "lazy" kernel regime for an exceptionally long time. To actually force the model into the high-performance "rich" regime, you might need to minimize the loss to astronomical levels of accuracy—sometimes as extreme as $10^{-100}$ or even $10^{-1000}$.

This suggests that in many practical scenarios with large initial weights, we might never actually reach the asymptotic "rich" limit because standard training stops long before such ridiculous accuracies are achieved.

Other notable insights include:

  • Depth as a Catalyst: Increasing the depth ($D$) of the network makes it easier to exit the kernel regime. Depth effectively "amplifies" the optimization, allowing the model to reach the rich regime at more reasonable accuracy levels compared to shallower networks.
  • The Intermediate Path: The authors identify an intermediate regime where the implicit bias is characterized by a specific regularizer (denoted as $Q_\mu^D$) that interpolates smoothly between the $\ell_2$ norm (characteristic of the kernel regime) and the $\ell_1$ norm (characteristic of the rich regime).

Theoretical Results and Simulations

The authors formalize these insights into rigorous mathematical theorems:

  • The Kernel Limit (Theorem 4): If the training accuracy is "low" relative to initialization (specifically, if $\log 1/\epsilon$ is sub-linear in $\alpha^D$), the model converges to the maximum $\ell_2$-margin solution.
  • The Rich Limit (Theorem 7): If the training accuracy is "extremely high" ($\log 1/\epsilon$ is super-linear in $\alpha^D$), the model converges to the maximum $\ell_1$-margin solution (proven for depth 2).

To validate these theorems, the authors provide quantitative bounds and run numerical simulations on synthetic, separable datasets (e.g., 3 points in 3D space) designed to visualize optimization trajectories.

Optimization trajectories on synthetic datasets showing paths from the L2 (kernel) bias to the L1 (rich) bias.

As seen in the simulations, trajectories for different initialization scales ($\alpha$) eventually converge to the same "rich" point. However, the paths with large $\alpha$ take a massive detour, hovering near the "kernel" point first before eventually transitioning—provided the training accuracy is pushed far enough.

Limitations and Future Directions

While this paper provides a profound theoretical understanding of implicit bias, it is limited to diagonal linear networks. These models capture the dynamics of deep learning but lack the expressivity of non-linear activations like ReLU. Additionally, the analysis assumes perfectly separable data and relies on certain stability conditions regarding support vectors.

Future work will need to extend this analysis to non-linear networks and explore how these initialization-accuracy dynamics apply to non-separable data or alternative loss functions. Nonetheless, this research fundamentally shifts how we understand the journey a neural network takes during training, proving that how far you train is just as important as where you start.

Summary updated

BibTeX
@inproceedings{moroshko2020implicit,
  author = {Edward Moroshko and Blake E. Woodworth and Suriya Gunasekar and Jason D. Lee and Nati Srebro and Daniel Soudry},
  title = {{Implicit Bias in Deep Linear Classification: Initialization Scale vs Training Accuracy}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=2ZvkzJRp0EC},
}
Figure