arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.22107cs.LGcs.AI
收藏

不要停止我 now:重新思考模型参数选择的验证标准

Don't stop me now: How Validation Criteria Affect Checkpoint Selection and Early Stopping

University of Naples Federico II(那不勒斯费德里科二世大学);University of Salerno(萨莱诺大学)

Andrea Apicella, Francesco Isgrò, Andrea Pollastro, Roberto Prevete

AI总结:

本文研究了模型参数选择中验证标准的影响,发现基于损失的验证比基于准确率的更稳定,建议避免使用早停策略选择参数。

摘要:

尽管有大量的文献讨论训练损失函数,但对验证集上泛化能力的评估仍然研究不足。在本工作中,我们系统地进行了实证和统计研究,探讨了用于模型选择的验证标准如何影响神经分类器的测试性能,特别关注早停策略。使用全连接网络在标准基准上进行k折评估,我们比较了:(i)基于耐心的早停策略和(ii)事后选择所有周期(即没有早停)。模型使用交叉熵、C-Loss或PolyLoss进行训练;在验证集上模型参数选择使用准确率或三种损失函数之一,每个都单独考虑。三个主要发现出现。(1)基于验证准确率的早停表现最差,一致选择的检查点测试准确率低于基于损失的早停和事后选择。 (2)基于损失的验证标准产生相当且更稳定的测试准确率。 (3)在不同数据集和折数上,任何单一的验证规则通常在测试最优检查点下表现不佳。总体而言,所选模型通常在测试集上表现统计学上低于所有周期中的最佳性能,无论验证标准如何。我们的结果表明,应避免使用验证准确率(特别是早停)进行参数选择,而应倾向于基于损失的验证标准。

英文摘要:

Checkpoint selection is a standard component of neural network training, yet the validation criterion used to select a checkpoint is often chosen heuristically. Moreover, the same criterion may be used either only to rank checkpoints after completion of a predefined training run or also to determine when training should stop, thereby affecting both the selected checkpoint and the set of checkpoints available for selection. In this work, we systematically investigate the role of validation criteria under these two settings. We separately vary the training loss, the validation criterion, and the target evaluation metric, and compare post-hoc checkpoint selection, in which training proceeds for all predefined epochs, with patience-based early stopping, in which the validation criterion also controls training termination. We consider three Cross-Entropy, C-Loss, and PolyLoss as training losses, and accuracy, macro-F1, and Matthews correlation coefficient as target metrics. Selection quality is assessed through the relative gap between the test performance of the validation-selected checkpoint and the best-observed test performance for the same target metric over the complete predefined training run.

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

↑