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

可学习低秩子空间中大型语言模型的零阶微调

Zeroth-Order Fine-Tuning of LLMs in Learnable Low-Rank Subspaces

Zhejiang University(浙江大学);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)

Chuang Tong, Ling Chen

AI总结:

针对零阶优化微调LLM时高维参数空间梯度方差大的问题,提出AdaSub-ZO框架,通过学习分层投影矩阵与子空间动量机制,在自然语言理解任务上优于现有基线,降低方差并加速收敛。

摘要:

零阶(ZO)优化可实现大型语言模型(LLM)的内存高效微调,但在高维参数空间中存在高方差问题。现有方法虽将扰动限制在随机低秩子空间,但这些子空间常与特定任务的下降方向不匹配。本文提出AdaSub-ZO,一种在可学习低秩子空间中仅前向传播的新型微调框架:不依赖固定随机矩阵,而是从有限差分反馈中迭代学习分层投影矩阵,以追踪任务感知的下降方向;还引入子空间动量加速机制,在演化的子空间基上平滑有噪梯度估计。在自然语言理解任务上的大量实验表明,AdaSub-ZO优于现有ZO基线,可大幅降低梯度估计方差并加速收敛。

英文摘要:

Zeroth-order (ZO) optimization enables memory-efficient fine-tuning of large language models (LLMs). However, ZO optimization suffers from high variance in high-dimensional parameter spaces. While recent methods restrict perturbations to random low-rank subspaces, these subspaces often misalign with task-specific descent directions. We propose AdaSub-ZO, a novel forward-only fine-tuning framework in learnable low-rank subspaces. Instead of relying on fixed random matrices, AdaSub-ZO iteratively learns layer-wise projection matrices directly from finite-difference feedback to track task-aware descent directions. Furthermore, AdaSub-ZO incorporates a subspace momentum acceleration mechanism to smooth noisy gradient estimates across evolving subspace bases. Extensive experiments on natural language understanding tasks demonstrate that AdaSub-ZO outperforms existing ZO baselines, substantially reducing gradient estimation variance and accelerating convergence.

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

↑