arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.09684cs.LGcs.AIcs.CL
收藏

通过正交梯度投影解耦多任务LoRA中的任务冲突

Disentangling Task Conflicts in Multi-Task LoRA via Orthogonal Gradient Projection

Shanghai University(上海大学);East China Normal University(东华大学)

Ziyu Yang, Guibin Chen, Yuxin Yang, Aoxiong Zeng, Xiangquan Yang

AI总结:

Ortho-LoRA通过正交梯度投影方法有效缓解多任务LoRA中的任务冲突问题,提升模型性能并减少计算开销。

摘要:

多任务学习(MTL)结合低秩适应(LoRA)已成为一种有前景的方向,用于高效部署大语言模型(LLMs)。通过在多个任务之间共享一个适配器,可以显著减少存储开销。然而,这种做法会受到负迁移的影响,即来自不同任务的冲突梯度更新会降低单个任务的性能,相较于单任务微调。这个问题在LoRA中尤为严重,因为低秩约束限制了优化景观容纳多样化任务需求的能力。在本文中,我们提出Ortho-LoRA,一种专门针对LoRA双重视图的梯度投影方法。Ortho-LoRA动态地将冲突任务梯度投影到内在LoRA子空间中的正交补集上。在GLUE基准测试中进行的广泛实验表明,Ortho-LoRA有效缓解了任务干扰,优于标准联合训练,并在计算开销极小的情况下恢复了多任务与单任务基线之间的95%性能差距。

英文摘要:

Multi-Task Learning (MTL) combined with Low-Rank Adaptation (LoRA) has emerged as a promising direction for parameter-efficient deployment of Large Language Models (LLMs). By sharing a single adapter across multiple tasks, one can significantly reduce storage overhead. However, this approach suffers from negative transfer, where conflicting gradient updates from distinct tasks degrade the performance of individual tasks compared to single-task fine-tuning. This problem is exacerbated in LoRA due to the low-rank constraint, which limits the optimization landscape's capacity to accommodate diverse task requirements. In this paper, we propose Ortho-LoRA, a gradient projection method specifically tailored for the bipartite structure of LoRA. Ortho-LoRA dynamically projects conflicting task gradients onto the orthogonal complement of each other within the intrinsic LoRA subspace. Extensive experiments on the GLUE benchmark demonstrate that Ortho-LoRA effectively mitigates task interference, outperforming standard joint training and recovering 95\% of the performance gap between multi-task and single-task baselines with negligible computational overhead.

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

↑