FOCUS:一阶集中更新方案
FOCUS: First Order Concentrated Updating Scheme
AI总结:
针对大语言模型预训练中梯度噪声限制性能的问题,提出FOCUS优化器,通过吸引移动平均参数增强Signum,在GPT-2训练中比Signum更稳定且比Adam更快。
摘要:
大型语言模型(LLM)展现出卓越的性能,而改进其预训练过程似乎是进一步增强其能力的关键。基于Adam、学习率衰减和权重衰减已记录的成功,我们假设预训练损失景观具有狭窄谷结构。通过合成损失函数的实验,我们发现当梯度查询噪声相对于谷的尖锐度较高时,Adam的性能落后于Signum,因为Adam过于剧烈地减小了有效步长。这一观察促使我们开发了FOCUS,一种优化器,通过纳入对移动平均参数的吸引力来增强Signum,使其能够在保持较大步长的同时更好地处理噪声。在训练GPT-2时,FOCUS被证明比Signum更稳定,比Adam更快。这些结果表明,梯度噪声可能是LLM训练中被低估的限制因素,而FOCUS提供了有前景的解决方案。
英文摘要:
Large language models (LLMs) demonstrate remarkable performance, and improving their pre-training process appears to be key to enhancing their capabilities further. Based on the documented success of Adam, learning rate decay, and weight decay, we hypothesize that the pre-training loss landscape features a narrowing valley structure. Through experiments with synthetic loss functions, we discover that when gradient query noise is high relative to the valley's sharpness, Adam's performance falls behind that of Signum because Adam reduces the effective step size too drastically. This observation led us to develop FOCUS, an optimizer that enhances Signum by incorporating attraction toward moving averaged parameters, allowing it to handle noise better while maintaining larger step sizes. In training GPT-2, FOCUS proves to be more stable than Signum and faster than Adam. These results suggest that gradient noise may be an underappreciated limiting factor in LLM training, and FOCUS offers promising solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。