arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27991stat.MLcs.LG
收藏

深度神经网络训练作为随机效应:优化-推断对偶性

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

Centre for Biomedical Data Science, Duke-NUS Medical School, National University of Singapore(生物医学数据科学中心,国立新加坡大学杜克-新加坡医学学校);Department of Biostatistics, Harvard T.H. Chan School of Public Health, Boston, MA, USA(生物统计学系,哈佛T.H. Chan公共卫生学院,马萨诸塞州波士顿,美国);Institute of Natural Sciences, MOE-LSC, School of Mathematical Sciences, CMA-Shanghai, SJTU-Yale Joint Center of Biostatistics and Data Science, Shanghai Jiao Tong University(自然科学院,MOE-LSC,数学科学学院,CMA-上海,SJTU-耶鲁联合生物统计学与数据科学中心,上海交通大学);Department of Biostatistics, Columbia University, New York, NY, USA(生物统计学系,哥伦比亚大学,纽约州纽约市,美国)

Minhao Yao, Ruoyu Wang, Xihong Lin, Lin Liu, Zhonghua Liu

AI总结:

本文提出深度神经网络训练与经典随机效应模型等价,揭示了优化-推断对偶性,并利用限制最大似然估计实现基于似然的早停规则。

摘要:

深度神经网络(DNN)取得了显著的实证成功,但其训练动态主要从优化而非统计原理的角度被理解。本文通过证明连续时间神经正切核(NTK)梯度流产生的预测与经典随机效应模型的预测完全等价,为过参数化机制下的DNN训练建立了一个统计框架。在该框架中,训练时间充当方差分量,或等价地作为经验贝叶斯协方差超参数,控制噪声到结构化信号的变异分配。这种等价性揭示了一种优化-推断对偶性:梯度流路径既是优化轨迹,也是经验贝叶斯随机效应推断路径。以训练时间为条件,网络输出是潜在信号的后验均值,通过限制最大似然估计(REML)估计训练时间,将早停转化为基于似然的经验贝叶斯推断,而非外部调参。这一视角产生了一个两阶段推断程序。首先,方差分量检验确定DNN训练是否捕捉到初始化之外的统计显著结构。其次,以训练合理为条件,REML提供基于似然的早停规则。由此产生的停止时间在NTK特征基下具有谱解释,其中训练持续到谱损失去相关实现。我们进一步证明,对于固定设计下的样本内预测,REML引导的早停实现了渐近最优预测误差,并且在额外的随机设计正则条件下,对于样本外预测也成立。这项工作将DNN训练重新定义为统计推断,并为决定是否以及训练深度神经网络多长时间提供了原则性基础。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑