MultiLoRA:通过民主化LoRA实现更好的多任务学习
MultiLoRA: Democratizing LoRA for Better Multi-Task Learning
AI总结:
本文提出MultiLoRA方法,通过水平扩展LoRA模块并改变参数初始化来减少顶部奇异向量的主导地位,仅需2.5%额外参数便在多任务基准上优于单一LoRA和微调。
摘要:
LoRA在为特定任务适配LLMs时,实现了显著的资源效率和可比的性能。自ChatGPT在各种任务上展现出卓越性能以来,人们越来越希望用一个模型适配所有任务。然而,LoRA显式的低秩限制了其在复杂多任务场景中的适配性能。LoRA由少数顶部奇异向量主导,而微调则分解为一组不太重要的酉变换。在本文中,我们提出MultiLoRA,通过减少LoRA中观察到的顶部奇异向量的主导地位,来实现更好的多任务适配。MultiLoRA水平扩展LoRA模块,并改变适配矩阵的参数初始化以减少参数依赖,从而产生更平衡的酉子空间。我们史无前例地通过混合指令跟随、自然语言理解、世界知识的数据集来构建专门的训练数据,以覆盖语义和句法不同的样本。仅需2.5%的额外参数,MultiLoRA在多个基准和模型规模上就优于单一LoRA对应物和微调。对MultiLoRA权重更新矩阵的进一步研究显示,其对顶部奇异向量的依赖性降低,且酉变换的贡献更加民主化。
英文摘要:
LoRA achieves remarkable resource efficiency and comparable performance when adapting LLMs for specific tasks. Since ChatGPT demonstrated superior performance on various tasks, there has been a growing desire to adapt one model for all tasks. However, the explicit low-rank of LoRA limits the adaptation performance in complex multi-task scenarios. LoRA is dominated by a small number of top singular vectors while fine-tuning decomposes into a set of less important unitary transforms. In this paper, we propose MultiLoRA for better multi-task adaptation by reducing the dominance of top singular vectors observed in LoRA. MultiLoRA scales LoRA modules horizontally and change parameter initialization of adaptation matrices to reduce parameter dependency, thus yields more balanced unitary subspaces. We unprecedentedly construct specialized training data by mixing datasets of instruction follow, natural language understanding, world knowledge, to cover semantically and syntactically different samples. With only 2.5% of additional parameters, MultiLoRA outperforms single LoRA counterparts and fine-tuning on multiple benchmarks and model scales. Further investigation into weight update matrices of MultiLoRA exhibits reduced dependency on top singular vectors and more democratic unitary transform contributions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。