arXiv:2509.04884cs.CLcs.PF2025-09被引 5

动态分配低秩适配器秩,提升大模型微调效率与可解释性。

L1RA: Dynamic Rank Assignment in LoRA Fine-Tuning

  • 用L1正则动态重分配低秩适配器的秩,优化资源使用。
  • 在相同或更低计算开销下,性能优于或等同于其他LoRA方法。
  • 揭示前馈层和注意力输出投影最需适配,适合资源受限场景。

大型语言模型(LLMs)在解决复杂任务中的能力使其成为基于AI应用开发的关键。然而,在下游任务上微调这些模型所需的高计算成本带来了显著挑战,尤其是在资源有限的情况下。为此,我们提出L1RA,一种新颖技术,通过在微调过程中利用L1正则化动态分配低秩适配器的秩,实现对总秩预算的有效管理。该方法能自动剪除冗余秩,并将资源重新分配至更需要的适配器,从而提升资源利用率。一系列全面实验表明,相比其他LoRA变体(包括原始方法),L1RA在保持相当甚至更低计算开销的同时,实现了相同或更优的性能表现。此外,微调后的秩分布分析揭示了前馈层和注意力输出投影是与任务目标对齐所需适应的主要组件。这些结果不仅验证了L1RA在提升微调效率方面的有效性,还为模型优化与定制提供了有价值的诊断信息。综上所述,L1RA是一项有前景的技术,有助于推进大模型适配的性能与可解释性,尤其适用于计算资源受限的场景。

原文摘要 · Abstract (English)

The ability of Large Language Models (LLMs) to solve complex tasks has made them crucial in the development of AI-based applications. However, the high computational requirements to fine-tune these LLMs on downstream tasks pose significant challenges, particularly when resources are limited. In response to this challenge, we introduce L1RA, a novel technique aimed at dynamically distributing the rank of low-rank adapters during fine-tuning using LoRA. Given a rank budget (i.e., total sum of adapters rank), L1RA leverages L1 regularisation to prune redundant ranks and redistribute them across adapters, thereby optimising resource utilisation. Through a series of comprehensive experiments, we empirically demonstrate that L1RA maintains comparable or even reduced computational overhead compared to other LoRA variants, including the vanilla approach, while achieving same or better performances. Moreover, the post-training analysis of rank distribution unveiled insights into the specific model components requiring the most adaptation to align with the task objective: the feed-forward layers and the attention output projection. These results highlight the efficacy of L1RA in not only enhancing the efficiency of LLM fine-tuning, but also in providing valuable diagnostic information for model refinement and customisation. In conclusion, L1RA stands as a promising technique for advancing the performance and interpretability of LLM adaptation, particularly in scenarios where computational resources are constrained.

大模型微调LoRA动态秩分配资源优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。