Limitation of Characterizing Implicit Regularization by Data-independent Functions

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

TL;DR

This paper challenges the common assumption that implicit regularization in neural networks can be fully captured by data-independent functions (such as standard norms). By introducing two novel geometric mechanisms—the Two-point and One-point Overlapping mechanisms—the authors mathematically prove that the training dynamics of even simple neural networks exhibit a profound data dependency that defies characterization by standard explicit regularizers.

What Problem Does This Paper Address?

One of the central mysteries of deep learning is why overparameterized neural networks generalize so well without explicit regularization (like $L_1$ or $L_2$ weight penalties). It is widely accepted that the optimization algorithm itself (usually gradient descent) introduces an implicit regularization that biases the network toward "simple" or well-generalizing solutions.

To study this, theorists often try to find a data-independent function $G(\theta, \theta_0)$ over the parameter space that perfectly mirrors this bias—meaning the final solution of the training process minimizes $G$ over the set of all possible global minima. While this approach works for linear models and networks in the Neural Tangent Kernel (NTK) regime, this paper asks a fundamental question: Can the implicit regularization of general nonlinear neural networks always be characterized by such data-independent functions? The authors show that the answer is a resounding no.

Methods

The authors tackle this problem by formally defining implicit and explicit regularization mathematically and then constructing rigorous counterexamples using two novel dynamical mechanisms:

  1. Two-point Overlapping Mechanism: Consider a fixed initialization point $\theta_0$. The authors show that for two different datasets ($S_1$ and $S_2$), the gradient descent trajectories can lead to two distinct endpoints ($\theta_1^*$ and $\theta_2^*$). Crucially, both of these endpoints lie within the intersection of the global minima for both datasets. If a single data-independent function $G$ characterized the optimization preference, it would have to satisfy a logical impossibility: $G(\theta_1^*) > G(\theta_2^*)$ and $G(\theta_2^*) > G(\theta_1^*)$ simultaneously.
  2. One-point Overlapping Mechanism: Here, multiple training trajectories originating from the same initialization point under different datasets converge to the exact same endpoint, but from linearly independent directions. This geometric configuration forces the gradient of any potential data-independent characterization function to vanish, severely restricting its form.

The authors provide constructive "recipes" to generate specific activation functions (such as variants of Sigmoid and Softplus) and training setups that trigger these mechanisms, proving their claims for one-hidden-neuron and shallow two-layer networks.

Datasets

Because this is a purely theoretical paper focused on proving fundamental limitations via counterexamples, no standard real-world datasets (like MNIST or ImageNet) were used. Instead, the authors utilize carefully constructed, synthetic one-sample (singleton) datasets ($S = \{(x, y)\}$) to analytically trace gradient flow trajectories and validate their mathematical proofs.

Key Insights and Ideas

  • Profound Data Dependency: Implicit regularization is not merely a static property of the network architecture, activation function, and initialization. It is fundamentally and dynamically intertwined with the training data itself.
  • Trajectory-Based Preference: The failure of data-independent functions occurs because gradient descent cares about the path taken through the parameter space. As shown in the Two-point mechanism, two datasets can share the exact same landscape of global minima, yet the specific data samples dictate which minimum the trajectory selects.
  • Global Activation Properties Matter: For common activations like Sigmoid, the inability to decouple implicit regularization from data depends heavily on the global properties of the activation function, meaning local approximations (like Taylor expansions) are insufficient to capture these limitations.

Key Results

  • Theorem 6.1 (Two-point Recipe): Proves that for any smoothness level $k$, one can construct a valid activation function $\sigma \in C^k$ where the implicit regularization of the network cannot be characterized by any data-independent function.
  • Theorem 6.2 & Corollary 6.2 (One-point Recipe): Demonstrates that for differentiable, strictly increasing activations (like Softplus), the training loss cannot be characterized by any strongly convex data-independent function. This result is successfully extended from a single neuron to two-layer networks with multiple neurons.

The geometric intuition behind the Two-point mechanism is elegantly captured by the paper's numerical simulation using a Sigmoid activation:

Figure 1: Two-point Overlapping Mechanism realized by a one-neuron-hidden NN with Sigmoid activation. Tracing back of gradient trajectories γ1, γ2 finds θ0. This procedure inspires our Two-point Overlapping Recipe. We choose the initial point θ0 = (0.922, 2.868). The sample for (i) the blue lines is (x1, y1) = (1, 1); (ii) the orange lines is (x2, y2) = (12.307, 1.400).

As illustrated above, two different training trajectories ($\gamma_1$ and $\gamma_2$) starting from the exact same initialization ($\theta_0$) split and converge to different endpoints ($\theta_1^*$ and $\theta_2^*$), despite both endpoints being valid global minima for both datasets ($M_{S_1}$ and $M_{S_2}$).

Limitations and Future Work

  • Extension to Deep Networks: While the Two-point recipe is highly generalizable, the authors acknowledge that they currently do not know how to extend the One-point Overlapping recipe to deep, multi-layer networks or multi-sample loss functions.
  • Predicting Generalization: Proving that implicit regularization is data-dependent explains why previous theoretical frameworks fail, but it leaves an open question: How can we construct meaningful data-dependent functions to accurately predict and explain generalization in practical deep learning scenarios? The authors point to this as a crucial direction for future research.

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