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

BoRA:通过块多样性实现更具表达能力的低秩适配

BoRA: Towards More Expressive Low-Rank Adaptation with Block Diversity

Huazhong University of Science and Technology(华中科技大学);Shenzhen Technology University(深圳技术大学);City University of Hong Kong(香港城市大学);Shenzhen University(深圳大学)

Shiwei Li, Xiandi Luo, Haozhao Wang, Xing Tang, Ziqiang Cui, Dugang Liu, Yuhua Li, Xiuqiang He, Ruixuan Li

AI总结:

本文提出块多样化低秩适配方法BoRA,通过引入块级对角矩阵将LoRA权重的秩提升$b$倍,仅需少量额外参数,在多个数据集和模型上展现出优越性能与可扩展性。

摘要:

低秩适配(Low-rank adaptation, LoRA)是一种广泛应用于大语言模型(LLMs)的参数高效微调(PEFT)方法。它通过两个低秩矩阵的乘积 $BA$ 来近似预训练权重矩阵 $W\in\mathbb{R}^{m\times n}$ 的更新,其中 $A \in\mathbb{R}^{r\times n}$ 且 $B\in\mathbb{R}^{m\times r} (r\ll\min\{m,n\})$。增大维度 $r$ 可以提升 LoRA 权重(即 $BA$)的秩,这通常能改善微调性能,但也会显著增加可训练参数的数量。在本文中,我们提出了块多样化低秩适配(Block Diversified Low-Rank Adaptation, BoRA),它以少量额外参数提升了 LoRA 权重的秩。具体而言,BoRA 将乘积 $BA$ 视为块矩阵乘法,其中 $A$ 和 $B$ 分别沿列和行划分为 $b$ 个块(即 $A=[A_1,\dots,A_b]$ 且 $B=[B_1,\dots,B_b]^\top$)。因此,乘积 $BA$ 变成了块乘积 $B_iA_j$(其中 $i,j\in[b]$)的拼接。为了增强不同块乘积的多样性,BoRA 为每个块乘法引入一个独特的对角矩阵 $Σ_{i,j} \in \mathbb{R}^{r\times r}$,得到 $B_i Σ_{i,j} A_j$。通过利用这些块级对角矩阵,BoRA 将 LoRA 权重的秩提升了 $b$ 倍,同时仅需 $b^2r$ 个额外参数。在多个数据集和模型上的大量实验证明了 BoRA 的优越性,消融研究进一步验证了其可扩展性。

英文摘要:

Low-rank adaptation (LoRA) is a parameter-efficient fine-tuning (PEFT) method widely used in large language models (LLMs). It approximates the update of a pretrained weight matrix $W\in\mathbb{R}^{m\times n}$ by the product of two low-rank matrices, $BA$, where $A \in\mathbb{R}^{r\times n}$ and $B\in\mathbb{R}^{m\times r} (r\ll\min\{m,n\})$. Increasing the dimension $r$ can raise the rank of LoRA weights (i.e., $BA$), which typically improves fine-tuning performance but also significantly increases the number of trainable parameters. In this paper, we propose Block Diversified Low-Rank Adaptation (BoRA), which improves the rank of LoRA weights with a small number of additional parameters. Specifically, BoRA treats the product $BA$ as a block matrix multiplication, where $A$ and $B$ are partitioned into $b$ blocks along the columns and rows, respectively (i.e., $A=[A_1,\dots,A_b]$ and $B=[B_1,\dots,B_b]^\top$). Consequently, the product $BA$ becomes the concatenation of the block products $B_iA_j$ for $i,j\in[b]$. To enhance the diversity of different block products, BoRA introduces a unique diagonal matrix $Σ_{i,j} \in \mathbb{R}^{r\times r}$ for each block multiplication, resulting in $B_i Σ_{i,j} A_j$. By leveraging these block-wise diagonal matrices, BoRA increases the rank of LoRA weights by a factor of $b$ while only requiring $b^2r$ additional parameters. Extensive experiments across multiple datasets and models demonstrate the superiority of BoRA, and ablation studies further validate its scalability.

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

↑