双尾平均:用于更好泛化的任意时刻、自适应、偶尔最优的权重平均方法
Two-Tailed Averaging: Anytime, Adaptive, Once-in-a-While Optimal Weight Averaging for Better Generalization
AI总结:
本文提出无超参数的双尾平均算法,通过两个自适应长度的运行平均在任意优化时刻近似最优尾部平均,以较低存储和周期性损失评估代价改善泛化性能。
摘要:
尾部平均(Tail Averaging)通过在其计算中排除随机优化前若干个迭代点,改善了Polyak平均的非渐近行为。在实践中,当优化步数有限且学习率无法退火至零时,尾部平均比单个迭代点或Polyak平均都更接近训练损失的局部极小点。然而,需要忽略的前导迭代点数量是一个重要的超参数,过早或过晚开始平均会导致资源利用效率低下或得到次优解。我们的工作聚焦于改善泛化性能,这使得设定该超参数更加困难,尤其是在存在其他超参数和过拟合的情况下。此外,在平均开始之前,损失值对最终性能的信息量很弱,这使得早停法不可靠。为了缓解这些问题,我们提出了一种尾部平均的任意时刻(anytime)变体,旨在改善泛化而非纯粹的优化,该变体没有超参数,并且在所有优化步骤上都能近似最优尾部。我们的算法基于两个自适应长度的运行平均,其长度以最优尾部长度为界,其中之一的平均在一定的正则性条件下可达到近似最优性。所提出的双尾平均(Two-Tailed Averaging)算法仅需要额外存储两组权重并周期性评估损失,是一种实用且广泛适用的改善泛化性能的方法。
英文摘要:
Tail Averaging improves on Polyak averaging's non-asymptotic behaviour by excluding a number of leading iterates of stochastic optimization from its calculations. In practice, with a finite number of optimization steps and a learning rate that cannot be annealed to zero, Tail Averaging can get much closer to a local minimum point of the training loss than either the individual iterates or the Polyak average. However, the number of leading iterates to ignore is an important hyperparameter, and starting averaging too early or too late leads to inefficient use of resources or suboptimal solutions. Our work focusses on improving generalization, which makes setting this hyperparameter even more difficult, especially in the presence of other hyperparameters and overfitting. Furthermore, before averaging starts, the loss is only weakly informative of the final performance, which makes early stopping unreliable. To alleviate these problems, we propose an anytime variant of Tail Averaging intended for improving generalization not pure optimization, that has no hyperparameters and approximates the optimal tail at all optimization steps. Our algorithm is based on two running averages with adaptive lengths bounded in terms of the optimal tail length, one of which achieves approximate optimality with some regularity. Requiring only the additional storage for two sets of weights and periodic evaluation of the loss, the proposed Two-Tailed Averaging algorithm is a practical and widely applicable method for improving generalization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。