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

基于LMO方法的零阶无参数优化:高效微调的新方法

Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning

University of California, Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学)

Dmitriy Bystrov, Daniil Medyakov, Dmitry Bylinkin, Aleksandr Beznosikov

AI总结:

针对大模型微调中反向传播内存开销大、零阶优化对步长和平滑参数敏感的问题,提出统一无梯度训练、自适应调参和非欧几里得更新几何的AdaNAGED方法,并在OPT-1.3B模型上验证有效性。

摘要:

微调大型语言模型(LLM)已成为现代优化的核心应用,使预训练模型能够适应多样化的下游任务和特定领域数据。大规模微调的主要障碍是反向传播的内存开销,这需要存储激活值、梯度和优化器状态。零阶(ZO)优化提供了一种内存高效的替代方案,但其性能对步长和平滑参数高度敏感,通常需要昂贵的任务特定调参。无参数(PF)优化通过在没有问题相关常数先验知识的情况下调整算法参数来解决这一问题。此外,大规模微调可以受益于几何感知更新,该更新考虑了参数块的异质结构,这可以通过利用线性最小化预言(LMO)的方法来建模。在这项工作中,我们研究了基于LMO的ZO优化的PF自适应,并引入了$\texttt{AdaNAGED}$,一种统一无梯度训练、自适应调参和非欧几里得更新几何的方法。我们建立了收敛保证,并在使用$\texttt{OPT}-1.3\mathrm{B}$模型的大规模LLM微调任务上验证了该方法。

英文摘要:

Fine-tuning large language models (LLMs) has become a central application of modern optimization, enabling pretrained models to adapt to diverse downstream tasks and domain-specific data. A major obstacle in large-scale fine-tuning is the memory overhead of backpropagation, which requires storing activations, gradients, and optimizer states. Zeroth-order (ZO) optimization offers a memory-efficient alternative, but its performance is highly sensitive to the stepsize and smoothing parameter, often requiring costly task-specific tuning. Parameter-free (PF) optimization addresses this issue by adapting algorithmic parameters without prior knowledge of problem-dependent constants. Moreover, large-scale fine-tuning can benefit from geometry-aware updates that account for the heterogeneous structure of parameter blocks, which can be modeled through methods that exploit linear minimization oracle (LMO). In this work, we study PF adaptation for LMO-based ZO optimization and introduce $\texttt{AdaNAGED}$, a method that unifies gradient-free training, adaptive tuning, and non-Euclidean update geometry. We establish convergence guarantees and validate the method on large-scale LLM fine-tuning task with $\texttt{OPT}-1.3\mathrm{B}$ model.

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

↑