arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18490cs.LG
收藏

SANE:通过锐度调整的有效参数数量揭示梯度下降的阶段性变化

SANE: The phases of gradient descent through Sharpness Adjusted Number of Effective parameters

Oxford University(牛津大学)

Lawrence Wang, Stephen J. Roberts

AI总结:

本文提出基于局部曲率的有效维度度量 SANE,用于衡量解的质量并比较模型,证明其对大学习率具有鲁棒性,并通过 Hessian 近似在深层网络中验证其有效性。

摘要:

现代神经网络无疑取得了巨大成功。大量研究已经考察了损失景观的曲率如何影响解的质量。在本工作中,我们研究网络训练过程中的 Hessian 矩阵。我们重申“良好确定”或“有效”参数数量与神经网络泛化性能之间的联系,并展示其作为模型比较工具的作用。通过考虑局部曲率,我们提出了锐度调整的有效参数数量(Sharpness Adjusted Number of Effective parameters,SANE),这是一种用于衡量解的质量的有效维度度量。我们表明,SANE 对大学习率具有鲁棒性,而大学习率代表的是具有吸引力但(臭名昭著地)不稳定的学习机制。我们提供了证据并刻画了在大学习率下 Hessian 在“损失盆地”之间的偏移特征。最后,将我们的分析扩展到更深的神经网络,我们利用神经网络权重的自然排序,给出了全网络 Hessian 的近似,并利用该近似为我们的主张提供了广泛的经验证据。

英文摘要:

Modern neural networks are undeniably successful. Numerous studies have investigated how the curvature of loss landscapes can affect the quality of solutions. In this work we consider the Hessian matrix during network training. We reiterate the connection between the number of "well-determined" or "effective" parameters and the generalisation performance of neural nets, and we demonstrate its use as a tool for model comparison. By considering the local curvature, we propose Sharpness Adjusted Number of Effective parameters (SANE), a measure of effective dimensionality for the quality of solutions. We show that SANE is robust to large learning rates, which represent learning regimes that are attractive but (in)famously unstable. We provide evidence and characterise the Hessian shifts across "loss basins" at large learning rates. Finally, extending our analysis to deeper neural networks, we provide an approximation to the full-network Hessian, exploiting the natural ordering of neural weights, and use this approximation to provide extensive empirical evidence for our claims.

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

↑