并非所有秩都相等:跨任务的预算感知LoRA合并

·

研究论文 · 2026/09/29

合并低秩适配器(LoRA)有望消除推理时切换任务特定权重的开销。然而,现有合并方法假设每一层都需要相同的秩预算。此外,一些方法还假设秩预算需要在任务之间平均分配。我们表明,这种均匀预算假设是合并后LoRA与各任务单独LoRA之间性能差距的主要来源。然而,秩选择是一个NP难问题。为此,我们引入了Net Utility,一种无数据度量,首先通过奇异值分解(SVD)分解每个任务的LoRA,并根据每个奇异方向的任务效用及其与其他任务方向的干扰对其进行评分。然后,我们在全局范围内汇总这些分数,以在所选方向总数约束下选择具有最高值的奇异方向。所提出的Net Utility度量应用于三种不同合并空间上的五种不同合并方法。合并是在两组任务上进行的:视觉和语言任务。基于Net Utility的秩分配优于没有该分配的对应方法。平均而言,在视觉任务上性能提升+2.1%,在语言任务上提升+2.2%。

该研究挑战了LoRA合并中的均匀秩预算假设,提出了一种无数据度量来优化秩分配,显著提升了多任务合并性能,对高效模型部署有实际意义。

Merging low-rank adapters (LoRAs) promises to eliminate the overhead of swapping task-specific weights at inference time. However, existing merging methods assume every layer needs the same rank budget. Further, some methods assume that rank budget needs to be split equally among the tasks too. We show this uniform-budget assumption is a major source of the performance gap between merged and per-task LoRAs. However, rank selection is an NP hard problem. To this end, we introduce Net Utility, a data free metric that first decomposes every task LoRA by its Singular Value Decomposition (SVD) and scores each of those singular directions by its task utility and its interference with other tasks directions. Next, we globally pool these scores to select singular directions with the highest values with a constraint on the total number of directions selected. The proposed Net Utility metric is applied on top of five different merging methods across three different merging spaces. The merging is done over two sets of tasks, vision and language tasks. Net utility based rank allocation outperforms its counterparts without that allocation. On average, over vision tasks it achieves +2.1% improvement in performance, and +2.2% improvement over the language tasks.

阅读原文

参与讨论