Stability vs Implicit Bias of Gradient Methods on Separable Data and Beyond

Matan Schliserman, Tomer Koren

Abstract

An influential line of recent work has focused on the generalization properties of unregularized gradient-based learning procedures applied to separable linear classification with exponentially-tailed losses. This paper provides a new theoretical framework to explain why these methods generalize well by shifting the focus from implicit bias to algorithmic stability. By deriving sharp generalization bounds for a wide variety of loss functions, the authors prove that early stopping can sometimes be mathematically superior to asymptotic convergence.

Introduction: The Gap in Implicit Bias Theory

In modern machine learning, massive models are often trained without explicit regularization (e.g., weight decay), yet they generalize remarkably well. A popular explanation is implicit bias: the notion that optimization algorithms like Gradient Descent naturally steer models toward "simple" solutions, such as those with a large margin.

However, existing implicit bias theories face a significant challenge: convergence to these large-margin solutions is often logarithmic with the number of steps $T$. This creates a gap: if the margin only becomes "good" after an astronomical number of steps, why do models perform so well much earlier? Furthermore, while accuracy improves, test loss often increases late in training. This paper bridges this gap using algorithmic stability—the principle that if changing one data point doesn't significantly alter the output, the model will generalize.

A Unified Framework: Stability and Self-Boundedness

The authors move beyond specific margin geometries to introduce a general setting for unconstrained stochastic convex optimization based on two key properties:

  1. Realizability: A quantitative version of the "separability" assumption, assuming there exists a reference point $w^*$ where loss can be made arbitrarily small.
  2. Self-boundedness: A condition relating the gradient norm to the loss value ($\|\nabla f(w, z)\| \le c(f(w, z))^{1-\delta}$). This property ensures the algorithm remains stable even as weights grow toward infinity.

By analyzing on-average leave-one-out stability, the authors show that bounds scale with optimization error rather than degrading linearly with $T$. As training loss decreases, stability—and thus generalization—can improve or remain controlled.

Generalization Bounds for Diverse Loss Functions

The framework yields a "menu" of generalization bounds across various loss functions, providing the first non-asymptotic results for several classes, including super-exponential and probit losses.

Table 1: Generalization bounds for various loss functions under the proposed stability framework.

As shown in the table above, the bounds apply to the unnormalized test loss, offering a more complete picture than zero-one accuracy alone. For instance, the Logistic Loss achieves a generalization loss of $\tilde{O}\left(\frac{1}{\gamma^2 T} + \frac{1}{\gamma^2 n}\right)$, matching best-known margin-based bounds through a stability-centric argument.

Discussion: Tail Behavior and the Case for Early Stopping

A core insight of this work is the "Goldilocks" nature of exponential tails. These losses (like logistic loss) strike a balance: they are fast enough to optimize quickly but "flat" enough at infinity to maintain algorithmic stability.

Conversely, for polynomially-tailed losses, the authors prove a surprising result: performance at $T=n$ steps is strictly better than performance as $T \to \infty$. This provides a rigorous mathematical justification for early stopping, demonstrating that the "implicit bias" at infinity can actually be worse than the stability-maintained solution found earlier in training.

Conclusion and Future Directions

This work demonstrates that stability and implicit bias are two sides of the same coin. While currently restricted to linear classification and convex loss functions, this stability-based approach offers a promising path toward understanding generalization in non-convex deep neural networks. Future work may explore high-probability bounds and the interaction between these stability properties and adaptive optimizers like Adam.

Summary updated

BibTeX
@inproceedings{schliserman2022stability,
  author = {Matan Schliserman and Tomer Koren},
  title = {{Stability vs Implicit Bias of Gradient Methods on Separable Data and Beyond}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=W7XP9JmuPI},
}
Figure