Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometry

Naoki Yoshida, Isao Ishikawa, Masaaki Imaizumi · DOI

Introduction

In modern deep learning, models are frequently "overparameterized," meaning they possess far more parameters than there are available training data points. A central mystery in the field is why these models, which can perfectly fit (interpolate) training data, still perform exceptionally well on unseen data.

The prevailing explanation has centered on implicit bias: the notion that optimization algorithms like Stochastic Gradient Descent (SGD) naturally steer models toward "simple" solutions that generalize well. However, recent empirical evidence suggests that even a randomly chosen parameter set that fits the data—bypassing the specific path of SGD—can generalize. This paper provides a rigorous mathematical foundation for this phenomenon, demonstrating that generalization is fundamentally baked into the geometric structure of the models themselves.

The Geometric Framework of Interpolation

To analyze this, the authors employ a Teacher-Student framework. A "teacher" model represents the ground-truth function, and a "student" model attempts to learn it from $n$ samples. The researchers treat the set of all parameters that perfectly fit the training data (the Interpolating Parameter Set, or IPS) and the set of parameters that are functionally equivalent to the teacher (the Teacher-Equivalent Set, or TES) as geometric objects called real analytic sets.

Using tools from algebraic geometry, specifically a version of Krull’s Principal Ideal Theorem, the authors show that each new, independent training sample acts as a geometric constraint. These constraints systematically reduce the dimension of the IPS. As the number of samples increases, the set of "wrong" interpolators—those that fit the training data but fail to match the teacher—shrinks until it eventually vanishes.

Visualization of the Interpolating Parameter Set (IPS) shrinking toward the Teacher-Equivalent Set (TES) as the number of samples $n$ increases.

The Zero Generalization Error Theorem

The core contribution of the paper is Theorem 2, which defines the "strong sample complexity." This is the minimum number of samples required for the generalization error of any random interpolator to become exactly zero with probability 1.

The theorem states that this threshold is upper-bounded by $(d_\Theta - d_{\bar{\Theta}} + 1)$, where $d_\Theta$ is the total dimension of the parameter space and $d_{\bar{\Theta}}$ is the dimension of the set of true parameters. Essentially, generalization is a race between dimensions: once enough constraints (data points) are added, the model is geometrically forced to overlap with the truth.

For Deep Linear Neural Networks (DLNNs), the authors prove a particularly striking result: the sample complexity is bounded by a constant related to the teacher's size, regardless of how massive or overparameterized the student network is. This explains why increasing model size does not necessarily harm generalization.

Experimental Validation

The authors validated their theory using both synthetic DLNNs and real-world benchmarks. For the MNIST dataset, they used the cleanlab package to remove ambiguous labels, creating a noiseless environment consistent with their theoretical assumptions.

Test loss of a 6-layer DLNN dropping to zero as the number of training samples reaches the theoretical threshold.

As shown in the experiments with DLNNs, the test loss consistently drops toward zero as the number of training samples approaches the predicted theoretical thresholds. These results hold for any distribution of interpolators that is "reasonably spread out" over the solution set, confirming that the specific bias of an optimizer is not always strictly necessary for high performance.

Limitations and Future Directions

While the theorem provides a powerful new lens for understanding generalization, it currently relies on two key assumptions:

  1. Noiseless Data: The theory assumes a perfect teacher-student match. In real-world scenarios with stochastic noise, generalization error may approach a floor but never reach absolute zero.
  2. Analytic Functions: The proof requires "real analytic" activation functions (e.g., Sigmoid or Softplus). Extending these results to the non-analytic ReLU function, which is piecewise-linear, remains a primary goal for future research.

By shifting the focus from the optimizer to the model's geometry, this work offers a new path toward a complete theory of why deep learning works.

Summary updated

BibTeX
@misc{yoshida2025zero,
  author = {Naoki Yoshida and Isao Ishikawa and Masaaki Imaizumi},
  title = {{Zero Generalization Error Theorem for Random Interpolators via Algebraic Geometry}},
  year = {2025},
  eprint = {2512.06347},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.06347},
}
Figure