arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.11867cs.LGmath.OC
收藏

NTK机制下的LoRA训练无虚假局部极小值

LoRA Training in the NTK Regime has No Spurious Local Minima

Seoul National University(首尔国立大学);Princeton University(普林斯顿大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Uijeong Jang, Jason D. Lee, Ernest K. Ryu

AI总结:

本文在NTK机制下理论分析LoRA微调,证明秩$r\backsimeq \nqurt{N}$的LoRA可消除虚假局部极小值,使梯度下降找到低秩解且泛化良好。

摘要:

低秩适应(LoRA)已成为大型语言模型(LLM)参数高效微调的标准方法,但我们对LoRA的理论理解一直有限。在本工作中,我们在神经正切核(NTK)机制下对包含$N$个数据点的LoRA微调进行了理论分析,表明:(i)全量微调(不使用LoRA)承认一个秩为$r\backsimeq \nqurt{N}$的低秩解;(ii)使用秩为$r\backsimeq \nqurt{N}$的LoRA消除了虚假局部极小值,使得梯度下降能够找到低秩解;(iii)使用LoRA找到的低秩解具有良好的泛化性能。

英文摘要:

Low-rank adaptation (LoRA) has become the standard approach for parameter-efficient fine-tuning of large language models (LLM), but our theoretical understanding of LoRA has been limited. In this work, we theoretically analyze LoRA fine-tuning in the neural tangent kernel (NTK) regime with $N$ data points, showing: (i) full fine-tuning (without LoRA) admits a low-rank solution of rank $r\lesssim \sqrt{N}$; (ii) using LoRA with rank $r\gtrsim \sqrt{N}$ eliminates spurious local minima, allowing gradient descent to find the low-rank solutions; (iii) the low-rank solution found using LoRA generalizes well.

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

↑