arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.00192cs.LGcs.AI
收藏

大模型训练,紧凑部署:用于紧凑低秩适配的结构化压缩

Train Large, Deploy Compact: Structured Compression for Compact Low-Rank Adaptation

The Pennsylvania State University(宾夕法尼亚州立大学)

Xin Yu, Cong Xie, Xunmei Liu, Tiantian Fan, Lingzhou Xue, Zhi Zhang

AI总结:

该研究针对LoRA表征能力不足的问题,提出PrunedLoRA框架,通过动态结构化剪枝实现自适应秩分配,在多项微调任务中性能优于LoRA及其变体和现有结构化剪枝方法。

摘要:

低秩适配(LoRA)已成为大语言模型参数高效微调的广泛使用范式,但其表征能力常落后于全量微调。在LoRA语境下,一个关键开放问题是如何从过参数化空间中获取具有表达力的低秩适配器。我们提出PrunedLoRA,这是一种利用结构化剪枝从过参数化初始化中获取高代表性低秩适配器的新框架。与施加固定低秩预算的现有方法不同,PrunedLoRA在微调过程中动态剪枝较不重要的组件并阻止其重新激活,实现灵活自适应的秩分配。对于结构化剪枝,通过最小化整体损失的剪枝误差,我们在具有可靠解释的梯度基剪枝策略中提供细粒度的剪枝与恢复更新。我们对结构化剪枝的鲁棒性进行了首次理论分析,可证明在权重扰动影响下,梯度基剪枝在整体损失方面比激活基剪枝更鲁棒。实验表明,在数学推理、代码生成和自然语言理解的监督微调任务中,PrunedLoRA始终优于LoRA及其变体,且在不同稀疏度水平下也优于现有结构化剪枝方法。

英文摘要:

Low-rank adaptation (LoRA) has become a widely used paradigm for parameter-efficient fine-tuning of large language models, yet its representational capacity often lags behind full fine-tuning. Within the context of LoRA, a key open question is how to obtain expressive low-rank adapters from over-parameterized spaces. We propose \textit{PrunedLoRA}, a new framework that leverages structured pruning to obtain highly representative low-rank adapters from an over-parameterized initialization. Unlike prior approaches that impose a fixed low-rank budget, PrunedLoRA dynamically prunes less important components during fine-tuning and prevents their reactivation, enabling flexible and adaptive rank allocation. For structured pruning, by minimizing the pruning error for overall loss, we provide fine-grained pruning and recovery updates in a gradient-based pruning strategy with grounded interpretation. We provide the first theoretical analysis of the robustness of structured pruning and provably show that under the impact of weight perturbation, gradient-based pruning is more robust than activation-based pruning with respect to overall loss. Empirically, PrunedLoRA consistently outperforms LoRA and its variants across supervised fine-tuning tasks in mathematical reasoning, code generation, and natural language understanding, and it also demonstrates advantages over existing structured pruning methods across diverse sparsity levels.

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

↑