Limitation of Characterizing Implicit Regularization by Data-independent Functions

Leyang Zhang, Zhi-Qin John Xu, Tao Luo, Yaoyu Zhang

TL;DR

Can the implicit bias of gradient descent in neural networks be captured by minimizing an explicit, data-independent penalty function (like an $\ell_2$ norm or convex regularizer)? This paper proves that for wide classes of nonlinear neural networks, the answer is fundamentally no. By demonstrating two dynamical mechanisms where gradient flows overlap at solution sets, the authors show that implicit regularization is deeply and intrinsically data-dependent.

What Problem Does This Paper Address?

Overparameterized neural networks can fit training data perfectly while still generalizing well, even without explicit regularization techniques like weight decay. A popular hypothesis in deep learning theory is that gradient descent induces an implicit regularization—biasing the optimization trajectory toward a specific "simpler" global minimum.

In linear models and certain kernel regimes (like the Neural Tangent Kernel), this bias can be neatly expressed as minimizing an explicit, data-independent penalty function $G(\theta)$ over the zero-loss manifold: $$\min_{\theta \in \mathcal{M}_S} G(\theta, \theta_0)$$ This paper addresses whether such a data-independent characterization can hold for general, nonlinear neural networks, or whether gradient descent's preference is fundamentally tied to the training data.

Methods

The authors provide a formal mathematical framework comparing implicit and explicit regularization and analyze gradient flow (continuous-time gradient descent) on squared loss:

  1. Two-Point Overlapping Mechanism: Suppose two different datasets $S_1$ and $S_2$ lead to two distinct zero-loss limits $\theta_1^* \neq \theta_2^*$ from the exact same initialization $\theta_0$, yet both points lie in the intersection of the two global minima manifolds ($\{\theta_1^*, \theta_2^*\} \subseteq \mathcal{M}_{S_1} \cap \mathcal{M}_{S_2}$). Because any data-independent criterion $G(\cdot, \theta_0)$ must pick the same minimum on both manifolds, it cannot simultaneously prefer $\theta_1^*$ on $S_1$ and $\theta_2^*$ on $S_2$. Thus, $G$ must either fail to characterize the bias or collapse to a trivial constant function.

  2. One-Point Overlapping Mechanism: Multiple gradient flow trajectories starting from the same initialization $\theta_0$ (under different datasets) converge to the same target point $\theta_0^*$ along linearly independent directions. If a smooth, data-independent function $G$ characterizes the bias, its gradient with respect to parameters must vanish at $\theta_0^*$ ($\nabla G(\cdot, \theta_0)|_{\theta_0^*} = 0$).

  3. Constructive Recipes: Using these mechanisms, the authors formulate explicit recipes to construct one-hidden-neuron networks $f(\theta, x) = a\sigma(w^\top x)$ (with common activations like Sigmoid and Softplus, or smooth $C^k$ activations) and extend them to two-layer multi-neuron networks.

Datasets

This is a theoretical study using synthetic single-sample and few-sample mathematical datasets (pairs of $(x, y) \in \mathbb{R}^d \times \mathbb{R}$) constructed analytically to trace gradient flow trajectories. No standard empirical benchmarks (e.g., CIFAR, ImageNet) were used.

Key Insights and Ideas

  • The Global Geometry of Activations Matters: For a single-neuron network with 1D input, the two-point overlap cannot occur locally in parameter space unless the activation is essentially a power function ($C x^d$). Instead, two-point overlaps rely on the global behavior of the activation function (e.g., Sigmoid).
  • Strong Convexity is Ruled Out: Applying the one-point overlapping recipe to strictly increasing activations (e.g., Softplus) shows that the gradient of candidate regularizers must vanish at multiple distinct points. Hence, implicit bias cannot be characterized by any strongly convex data-independent function.
  • Translation-Invariant Regularizers Collapse: For functions of parameter displacement $G(p, q) = G(p - q, 0)$ (such as standard Euclidean parameter norms $\|p - q\|$), the overlapping recipes force $G$ to become constant across entire affine subspaces or the whole parameter space.

Key Results

  • Impossibility of Exact Data-Independent Characterization: For any $k \in \mathbb{N}$, there exist $C^k$ activation functions for which implicit regularization cannot be characterized by any data-independent function $G: \mathbb{R}^M \times \mathbb{R}^M \to \mathbb{R}$ (Theorem 6.1a).
  • Degeneracy of Weak Characterizations: Even when relaxed to "weak characterizations" (where the limit only needs to minimize $G$, not uniquely), any shift-invariant smooth function $G \in \mathcal{G}_M$ must be a constant function across the entire parameter space (Theorem 6.1c).
  • Multi-Neuron Extension: For two-layer networks $g(\theta, x) = \sum_{k=1}^m a_k \sigma(w_k \cdot x)$ with strictly increasing $\sigma$, implicit bias cannot be characterized by any strongly convex function in $C^1$, and any shift-invariant $G$ must be constant along all output-weight coordinates (Corollary 6.2).

Limitations and Future Work

  • Extension to Deeper Architectures: The One-point Overlapping Recipe was extended to two-layer multi-neuron networks, but general recipes for deep, multi-layer architectures or multi-sample datasets remain an open question.
  • Open Practical Implications: The authors do not establish whether data-dependent implicit bias directly benefits generalization in practical, large-scale deep neural networks.
  • Constructing Meaningful Data-Dependent Metrics: While showing that data-independent functions fail, the paper leaves open the discovery of non-trivial, practically useful data-dependent regularizers that can accurately describe neural network optimization trajectories.

Summary updated

BibTeX
@article{zhang2023limitation,
  author = {Leyang Zhang and Zhi-Qin John Xu and Tao Luo and Yaoyu Zhang},
  title = {{Limitation of Characterizing Implicit Regularization by Data-independent Functions}},
  journal = {Accepted by TMLR},
  year = {2023},
  url = {https://openreview.net/forum?id=140kSqm0uy},
}
Figure