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

Uni-LoRA:一个向量就足够了

Uni-LoRA: One Vector is All You Need

School of Computing University of Connecticut(计算机学院 美国康涅狄格大学);NEC Labs America(NEC美国实验室);Dept. of Computer Science Georgia State University(计算机科学系 美国佐治亚州立大学)

Kaiyang Li, Shaobo Han, Qing Su, Wei Li, Zhipeng Cai, Shihao Ji

AI总结:

本研究提出统一框架Uni-LoRA,将现有LoRA变体的参数空间缩减策略统一为子空间投影形式,设计等距投影矩阵实现全局参数共享,仅用单个可训练向量即可完成大语言模型的LoRA适配,在多个基准上达成最优参数效率与可比性能。

摘要:

低秩适配(Low-Rank Adaptation, LoRA)通过将权重更新约束在低秩矩阵上,已成为大语言模型(large language models, LLMs)事实上的参数高效微调(parameter-efficient fine-tuning, PEFT)方法。近期的工作如Tied-LoRA、VeRA和VB-LoRA通过引入额外约束来减少可训练参数空间,进一步提升了效率。本文表明,这些LoRA变体采用的参数空间缩减策略可以在统一框架Uni-LoRA中进行表述:将LoRA参数空间展平为高维向量空间$R^D$,可通过子空间$R^d$(其中$d \ll D$)的投影来重构。我们证明,各类LoRA方法的根本差异在于投影矩阵$P \in R^{D \times d}$的选择。大多数现有LoRA变体依赖逐层或特定结构的投影,这限制了跨层参数共享,从而损害了参数效率。鉴于此,我们提出了一种高效且具备理论依据的等距投影矩阵,可实现全局参数共享并降低计算开销。此外,在Uni-LoRA的统一视角下,该设计仅需单个可训练向量就能重构整个大语言模型的LoRA参数——使Uni-LoRA既是一个统一框架,也是一种“仅需单个向量”的解决方案。在GLUE、数学推理和指令微调基准上的大量实验表明,Uni-LoRA实现了最先进的参数效率,同时在预测性能上优于或持平于现有方法。我们的代码可在https://github.com/KaiyangLi1992/Uni-LoRA获取。

英文摘要:

Low-Rank Adaptation (LoRA) has become the de facto parameter-efficient fine-tuning (PEFT) method for large language models (LLMs) by constraining weight updates to low-rank matrices. Recent works such as Tied-LoRA, VeRA, and VB-LoRA push efficiency further by introducing additional constraints to reduce the trainable parameter space. In this paper, we show that the parameter space reduction strategies employed by these LoRA variants can be formulated within a unified framework, Uni-LoRA, where the LoRA parameter space, flattened as a high-dimensional vector space $R^D$, can be reconstructed through a projection from a subspace R^d, with $d \ll D$. We demonstrate that the fundamental difference among various LoRA methods lies in the choice of the projection matrix, $P \in R^{D \times d}$.Most existing LoRA variants rely on layer-wise or structure-specific projections that limit cross-layer parameter sharing, thereby compromising parameter efficiency. In light of this, we introduce an efficient and theoretically grounded projection matrix that is isometric, enabling global parameter sharing and reducing computation overhead. Furthermore, under the unified view of Uni-LoRA, this design requires only a single trainable vector to reconstruct LoRA parameters for the entire LLM - making Uni-LoRA both a unified framework and a "one-vector-only" solution. Extensive experiments on GLUE, mathematical reasoning, and instruction tuning benchmarks demonstrate that Uni-LoRA achieves state-of-the-art parameter efficiency while outperforming or matching prior approaches in predictive performance. Our code is available at https://github.com/KaiyangLi1992/Uni-LoRA.

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

↑