Implicit Sparse Regularization: The Impact of Depth and Early Stopping

Jiangyuan Li, Thanh V Nguyen, Chinmay Hegde, Raymond K. W. Wong

Introduction

In modern machine learning, models with far more parameters than data points often generalize remarkably well. This success is largely attributed to the implicit bias of optimization algorithms like Gradient Descent (GD), which naturally steer models toward "simple" solutions.

This paper investigates this phenomenon in the context of sparse regression. The authors demonstrate that GD on deep diagonal linear networks possesses an "implicit sparse regularization" effect, favoring sparse solutions without explicit penalties like Lasso. Crucially, they prove that increasing the network's depth ($N$) significantly widens the "early-stopping window" and allows for larger initializations, making sparse recovery much more robust and accessible in noisy, real-world settings.

The Problem: Bridging Theory and Reality

While previous research has explored how GD favors sparse models, most theoretical work has been limited to shallow (depth-2) networks, noiseless data, or highly restrictive mathematical conditions like the Restricted Isometry Property (RIP).

This paper addresses the gap between these idealized theories and practical reality by asking:

  1. How does depth ($N > 2$) affect this implicit bias?
  2. How does GD behave in the presence of noise and correlated data?
  3. Why is early stopping so critical for maintaining sparsity in practice?
Comparison of this paper's setting with closely related recent work.

Methodology

The authors study sparse regression using a depth-$N$ diagonal linear network reparametrization. Instead of learning a weight vector $w$ directly, they represent it as $w = u^N - v^N$, where $u$ and $v$ are the parameters being optimized. This transforms a simple linear problem into a non-convex one.

Key methodological choices include:

  • Algorithm: Standard finite-step Gradient Descent (GD) on the mean squared error loss, providing more practical bounds than idealized "Gradient Flow" analyses.
  • Design Matrix Condition: The use of $\mu$-coherence, a more computationally tractable and verifiable measure than the commonly used RIP.
  • Datasets: Primary evaluations use synthetic datasets (Rademacher design matrices, Gaussian noise, and sparse ground truth vectors) to rigorously control noise levels and sparsity.

Key Insights and Results

Depth as a Buffer and the Widening Window

The most striking insight is that increasing depth $N$ makes the optimization process significantly more "forgiving." As shown below, increasing depth from $N=2$ to $N=4$ drastically increases the early-stopping window size from roughly 500 iterations to nearly 1.5 million iterations. This makes the algorithm far less sensitive to the exact timing of the stop.

The impact of depth on the early-stopping window. As N increases, the window (black dashed lines) grows significantly.

Initialization Robustness

Shallow networks require exponentially small initializations to find sparse solutions. Deep networks ($N \ge 3$), however, only require polynomially small initializations. This larger scale of working initialization means deeper models can successfully recover the signal even when starting from larger initial weights.

The Necessity of Early Stopping

GD exhibits "incremental learning," learning the signal (large weights) much faster than the noise (small weights). In deep networks, this separation is highly pronounced. However, in noisy settings, GD will eventually overfit and try to represent the noise, destroying the model's sparsity. Early stopping is not merely a trick for computational speed; it is the fundamental mechanism that captures the "sparse" phase of the trajectory before the "overfitting" phase begins.

Ultimately, the authors prove that GD with early stopping achieves minimax optimal sparse recovery rates, even with noise and correlated designs.

Limitations and Future Work

  • Sample Complexity: The current theoretical sample complexity ($n \gtrsim k^2 r^2$) is higher than the information-theoretic optimum ($k \log p/k$). Relaxing the incoherence requirements could potentially improve this bound.
  • Kernel vs. Rich Regimes: While the paper focuses on the "rich" regime (small initialization leading to sparsity), a full theoretical bridge connecting this to the "kernel" regime (large initialization leading to ridge-like behavior) for general $N$ remains an open question.
  • Architecture Complexity: The results are specific to diagonal linear networks. Extending these proofs to standard deep neural networks with non-linear activations (like ReLU) is a major next step for the field.

Summary updated

BibTeX
@inproceedings{li2021implicit,
  author = {Jiangyuan Li and Thanh V Nguyen and Chinmay Hegde and Raymond K. W. Wong},
  title = {{Implicit Sparse Regularization: The Impact of Depth and Early Stopping}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=QM8oG0bz1o},
}
Figure