arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.16975cs.LGcs.AI
收藏

ExpTest:深度神经网络中基于损失曲线的假设检验实现自主学习率选择

ExpTest: Loss-Curve Hypothesis Testing for Autonomous Learning-Rate Selection in Deep Neural Networks

National Institutes of Health(美国国立卫生研究院)

Zan Chaudhry, Naoko Mizuno

AI总结:

ExpTest通过在线统计检验损失曲线,自动调整学习率,无需手动设置,在多种任务上达到与手动调优相当的性能。

摘要:

超参数调优仍然是深度神经网络(DNNs)训练中的一个重大挑战,需要手动搜索或耗时的网格搜索,这增加了资源成本并限制了机器学习的可及性。全局初始学习率是这些超参数中影响最大的之一。自适应和基于调度的方法在训练期间管理学习率,但仍需要手动选择初始全局值;无学习率的方法去除了这一选择,但以在非凸问题上的性能或稳定性为代价。我们提出了ExpTest,一种自主的学习率控制器,它将训练损失曲线视为在线信号,并在理论上合理的窗口上执行顺序统计检验,以检测收敛行为并触发学习率降低。该框架结合了基于协方差的初始学习率估计、曲率驱动的窗口大小设置和两阶段测试驱动的衰减,利用了线性化网络动力学下预测的近似指数衰减行为。我们为ExpTest提供了数学动机,并在全连接、卷积、基于Transformer和预训练架构上,对回归、分类、预测和自然语言任务进行了评估。在这些任务中,ExpTest相对于手动调优的基于SGD的基线和最近的无学习率方法,在无需手动初始学习率选择或预定义调度的情况下,取得了具有竞争力的性能。

英文摘要:

Hyperparameter tuning remains a significant challenge in the training of deep neural networks (DNNs), requiring manual search or time-intensive grid searches that increase resource costs and limit the accessibility of machine learning. The global initial learning rate is among the most consequential of these hyperparameters. Adaptive and scheduling-based methods manage the learning rate during training but still require manual selection of an initial global value; learning-rate-free alternatives remove this selection at the cost of performance or stability on non-convex problems. We present ExpTest, an autonomous learning-rate controller that treats the training loss curve as an online signal and performs sequential statistical tests on theoretically motivated windows to detect convergent behavior and trigger learning-rate reductions. The framework combines a covariance-based initial learning-rate estimate, curvature-motivated window sizing, and two-phase test-driven decay, drawing on the approximately exponential decay behavior predicted under linearized network dynamics. We provide a mathematical motivation for ExpTest and evaluate it on regression, classification, forecasting, and natural-language tasks across fully-connected, convolutional, transformer-based, and pretrained architectures. Across these tasks, ExpTest achieves competitive performance relative to hand-tuned SGD-based baselines and recent learning-rate-free methods, without manual initial learning-rate selection or predefined scheduling.

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

↑