TensorX
返回文献探索

Paper · arXiv 2311.11501

MultiLoRA: Democratizing LoRA for Better Multi-Task Learning

Yiming Wang, Yu Lin, Xiaodong Zeng, Guannan Zhang

37 upvotesNovember 20, 2023arXiv 预印本
AI 摘要

MultiLoRA improves multi-task adaptation for large language models by reducing the dominance of top singular vectors in LoRA parameter updates through horizontal scaling and modified initialization.

LoRAlow-rank adaptationmulti-task adaptationsingular vectorsparameter-efficient fine-tuningunitary transformsweight update matricesinstruction follownatural language understandingworld knowledge

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号