Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 7 min ago
PreprintCC BY 4.0arXiv

Gradient-Flow Optimization as Dynamic Random-Effects Inference: Testing and Early Stopping with Applications to Deep Learning

Abstract

Gradient-flow optimization is usually viewed as an algorithmic procedure for minimizing empirical loss, with training duration selected by validation or heuristic early stopping rules. We develop a statistical inference framework for gradient-flow training. We show that whenever fitted values evolve through a time-invariant positive semidefinite training operator, the output at each time is equivalent to the best linear unbiased predictor under a corresponding random-effects model. Training time then becomes a variance-component parameter governing variance reallocation from residual noise to structured signal. This turns two training decisions into inferential problems: whether training is needed becomes a variance-component test for signal beyond initialization, and how long to train becomes restricted maximum likelihood (REML) estimation of the training-time variance component. We show that the REML-guided early stopping rule selects the time at which optimized spectral losses become decorrelated from the training-operator eigenvalues. The asymptotic prediction optimality of the REML-guided early stopping time is established for fixed-design in-sample risk and random-design out-of-sample risk. Deep learning models in fixed-kernel gradient regimes provide canonical instantiations for our results. Numerical experiments and a UK Biobank proteomics application show competitive accuracy of the REML-guided early stopping time with reduced reliance on validation splits and repeated checkpoint evaluation.

Related

  1. An Inexact Proximal Gradient Method for Composite Multiobjective Optimization with Absolute and Relative Stopping Criteria
    Zhuoxin Fan, Liping Tang, Xinmin Yang
    arXivPreprintarXiv licenceFull textOptimisation & controlarXiv
  2. A Proximal Gradient Method for Nonconvex Nonsmooth Optimization with Applications
    Jose M. M. Brito, Felipe Lara, Yinjun Yuan
    arXivPreprintCC0Full textOptimisation & controlarXiv
  3. Early stopping of stochastic variance reduced gradient for linear inverse problems by the discrepancy principle
    Bangti Jin, Zehui Zhou
    arXivPreprintCC BY-NC-ND 4.0Full textNumerical analysis & scientific computingOptimisation & controlarXiv
  4. Autonomous quantum machine learning via Riemannian gradient-based optimization
    Kasidit Srimahajariyapong, Thiparat Chotibut, Suwannachad Suwannajitt +6
    arXivPreprintarXiv licenceFull textStatisticsQuantum physics & quantum informationarXiv
  5. EnerGNN: Learning Optimization-Compatible Energy Functions for Exact Constrained Combinatorial Inference
    Niki Triantafyllou, Maria M. Papathanasiou
    arXivPreprintCC BY 4.0Full textOptimisation & controlarXiv
BibTeX
@misc{yao2026gradientflow,
  title = {{Gradient-Flow Optimization as Dynamic Random-Effects Inference: Testing and Early Stopping with Applications to Deep Learning}},
  author = {Minhao Yao and Ruoyu Wang and Xihong Lin and Lin Liu and Zhonghua Liu},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2605.27991},
  eprint = {2605.27991},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.27991},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Gradient-Flow Optimization as Dynamic Random-Effects Inference: Testing and Early Stopping with Applications to Deep Learning
AU  - Minhao Yao
AU  - Ruoyu Wang
AU  - Xihong Lin
AU  - Lin Liu
AU  - Zhonghua Liu
PY  - 2026
DA  - 2026/11/09
PB  - arXiv
DO  - 10.48550/arxiv.2605.27991
UR  - https://arxiv.org/abs/2605.27991
AB  - Gradient-flow optimization is usually viewed as an algorithmic procedure for minimizing empirical loss, with training duration selected by validation or heuristic early stopping rules. We develop a statistical inference framework for gradient-flow training. We show that whenever fitted values evolve through a time-invariant positive semidefinite training operator, the output at each time is equivalent to the best linear unbiased predictor under a corresponding random-effects model. Training time then becomes a variance-component parameter governing variance reallocation from residual noise to structured signal. This turns two training decisions into inferential problems: whether training is needed becomes a variance-component test for signal beyond initialization, and how long to train becomes restricted maximum likelihood (REML) estimation of the training-time variance component. We show that the REML-guided early stopping rule selects the time at which optimized spectral losses become decorrelated from the training-operator eigenvalues. The asymptotic prediction optimality of the REML-guided early stopping time is established for fixed-design in-sample risk and random-design out-of-sample risk. Deep learning models in fixed-kernel gradient regimes provide canonical instantiations for our results. Numerical experiments and a UK Biobank proteomics application show competitive accuracy of the REML-guided early stopping time with reduced reliance on validation splits and repeated checkpoint evaluation.
ER  -