arXiv:2608.24210cs.LGAug 2026

Manuscript Offprint

arXiv:2608.24210

A Data-dependent Early Stopping Rule using Rademacher Complexity with L1-norm

Duy Hoang, Bastien Berret, Olivier Bruneau, Laurent Fribourg

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Duy Hoang

Université Paris-Saclay, CNRS, ENS Paris-Saclay, LMF

Gif-sur-Yvette, 91190, France

HOANGDUY@LMF.CNRS.FR

Bastien Berret

Université Paris-Saclay, Inria, CIAMS

Gif-sur-Yvette, 91190, France

BASTIEN.BERRET@UNIVERSITE-PARIS-SACLAY.FR

Olivier Bruneau

Université Paris-Saclay, ENS Paris-Saclay, LURPA

Gif-sur-Yvette, 91190, France

OLIVIER.BRUNEAU@ENS-PARIS-SACLAY.FR

Laurent Fribourg

Université Paris-Saclay, CNRS, ENS Paris-Saclay, LMF

Gif-sur-Yvette, 91190, France

FRIBOURG@LMF.CNRS.FR

Abstract

Training neural networks requires balancing the trade-off between fitting the training data and achieving robust performance on unseen inputs. This ability, commonly referred to as generalizability, is determined by the gap between the empirical risk on the training set (“empirical loss”) and the expected risk over the data distribution (“generalization error”). Existing approaches typically estimate the generalization error numerically, requiring gradient descent training and an “early stopping” strategy. In this work, we introduce an analytic framework that estimates the optimal time of early stopping without the need for training. Several works in the literature also give such analytical estimations, but they are generally based on random matrix theory and often make assumptions on the distribution of the data or the eigenvalue distribution of the covariance matrix. In contrast, our work is based on Rademacher complexity (RC) without needing such probabilistic assumptions. For both theoretical and numerical reasons, it is more relevant to express RC with the L1L_{1}-norm rather than with the L2L_{2}-norm. We focus on the case of linear models and the problem of linear regression. Thanks to the “linear probing” method, our results can, however, be successfully applied to nonlinear neural networks, as illustrated in the classification MNIST example.

Keywords: generalization, bias-variance trade-off, linear regression.

1 Introduction

Given a distribution D of input/output pairs, the expected loss across D is referred to as a “population loss”, and denoted LDL_{D}. Using a neural network (NN) and a process of gradient descent (GD), one can estimate LDL_{D} on a set S of n samples randomly selected from D. This is called the “empirical loss”, and denoted LSL_{S}. The generalization loss, denoted LGL_{G}, is the difference between LDL_{D} and LSL_{S}, and accounts for the data located outside S. At the beginning of the GD process, LSL_{S} tends to decrease while LGL_{G} tends to increase (“bias-variance” tradeoff), so the early stopping strategy seeks to halt GD at a time t∗t^{*} minimizing LS+LGL_{S} + L_{G}.

©2026 Duy Hoang, Bastien Berret, Olivier Bruneau, and Laurent Fribourg.

License: CC-BY 4.0, see https://creativecommons.org/licenses/by/4.0/.

Classically, t∗t^* is estimated numerically as the time ttestt_{test} that minimizes the empirical loss on a separate dataset StestS_{test} (see, e.g., Prechelt (2002)). Using random matrix theory (RMT), several works estimate t∗t^* analytically, without needing to perform GD (e.g., Raskutti et al. (2014); Liao and Couillet (2018); Ali et al. (2019); Advani et al. (2020)). However these works often assume the distribution D\mathcal{D} to be Gaussian, or the eigenvalue distribution of the data covariance matrix to be Marchenko–Pastur (Le Cun et al. (1991)). In contrast here, we estimate t∗t^* analytically using Rademacher complexity (RC) theory (Bartlett and Mendelson (2002)), and do not make any assumption about the data distribution. Our method is based on a data-dependent criterion of the form C(s)\mathcal{C}(s) that ensures LS(t)+LG(t)L_S(t) + L_G(t) to decrease for all t≤st \leq s. We show that the highest ss satisfying C(s)\mathcal{C}(s) is a low estimate t+t^+ of t∗t^* (see Proposition 7). We also give sufficient conditions that ensure t+=t∗t^+ = t^*. In order to eliminate a factor MM dependent on D\mathcal{D}, we estimate RC using the L1L_1-norm rather than the L2L_2-norm (see Remark 2). On the examples (see Section 4), we check that the L1L_1-norm yields a value of t+t^+ much closer to the numerical stopping time ttestt_{test} than the L2L_2-norm.

We also give an analytic form for the value of LS+LGL_S + L_G at t=∞t = \infty (see Section 3.3). By comparing it with LS+LGL_S + L_G at t=t+t = t^+, we determine whether the early stopping strategy should be applied or not (see, e.g., Sonthalia et al. (2024); Bartlett et al. (2020); Belkin et al. (2018)). Our work focuses on linear models. However, our results can be applied to nonlinear NNs thanks to the linear probing strategy (see Alain and Bengio (2016)). This is illustrated on MNIST classification examples (Examples 2 and 3, Section 4). The proofs of our results are given in Appendix.

References (25)