arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.01621cs.LG
收藏

深度模型零阶优化的随机两点方法

Stochastic Two Points Method for Deep Model Zeroth-order Optimization

Michigan State University(密歇根州立大学)

Yijiang Pang, Jiayu Zhou

AI总结:

针对大型深度模型难以反向传播的挑战,提出随机两点零阶优化方法,并基于理论分析改进为变体VS2P,实验证明其高效且性能优于或媲美标准方法。

摘要:

大型基础模型,例如大型语言模型,在各种应用场景中表现异常出色。然而,由于硬件预算限制或缺乏反向传播的访问权限,构建或完全微调此类大型模型通常是不可行的。零阶方法为应对这一挑战提供了一个有前景的方向,该方法仅需前向传播即可更新模型。本文在无梯度框架内引入了一种高效的随机两点(S2P)方法。我们在一般和松弛平滑假设下展示了S2P的理论收敛性质,所得结果有助于理解并内在联系两种流行的零阶方法:基本随机搜索和随机三点方法。这些理论性质还通过利用我们新的收敛性质(这些性质能更好地表征深度模型在训练中的动态)为S2P的变体(VS2P)提供了启示。我们全面的实证结果表明,VS2P在优化深度模型目标方面非常有效。在各种模型类型和规模上,它优于或达到与标准方法相当的性能。

英文摘要:

Large foundation models, such as large language models, have performed exceptionally well in various application scenarios. Building or fully fine-tuning such large models is usually prohibitive due to either hardware budget or lack of access to backpropagation. The zeroth-order methods offer a promising direction for tackling this challenge, where only forward passes are needed to update the model. This paper introduces an efficient Stochastic Two-Point (S2P) approach within the gradient-free regime. We present the theoretical convergence properties of S2P under the general and relaxed smoothness assumptions, and the derived results help understand and inherently connect the two popular types of zeroth-order methods, basic random search and stochastic three-point method. The theoretical properties also shed light on a Variant of S2P (VS2P), through exploiting our new convergence properties that better represent the dynamics of deep models in training. Our comprehensive empirical results show that VS2P is highly effective in optimizing objectives for deep models. It outperforms or achieves competitive performance compared to standard methods across various model types and scales.

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

↑