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

MoDULA:面向多任务学习的领域特定与通用LoRA混合模型

MoDULA: Mixture of Domain-Specific and Universal LoRA for Multi-Task Learning

Northwestern Polytechnical University(西北工业大学);Alibaba Group(阿里巴巴集团);Binjiang Institute of Artificial Intelligence, ZJUT(浙江工业大学滨江人工智能学院)

Yufei Ma, Zihan Liang, Huangyu Dai, Ben Chen, Dehong Gao, Zhuoran Ran, Wang Zihan, Linbo Jin, Wen Jiang, Guannan Zhang, Xiaoyan Cai, Libin Yang

AI总结:

针对大语言模型多任务微调资源消耗高、稳定性差的问题,提出融合通用与领域特定LoRA专家的MoDULA范式,残差连接的MoDULA-Res可降本80%以上且提升多任务性能,支持新任务即插即用。

摘要:

大语言模型(Large Language Models,LLMs)发展过程中对更大规模模型的需求日益增长,给有限计算资源下的高效训练带来了挑战。传统微调方法在多任务学习中往往表现出不稳定性,且严重依赖大量训练资源。为此,我们提出MoDULA(Mixture of Domain-Specific and Universal LoRA,领域特定与通用低秩适配混合模型),这是一种新型的参数高效微调(Parameter Efficient Fine-Tuning,PEFT)混合专家(Mixture-of-Expert,MoE)范式,旨在提升多任务学习中的微调效果与参数效率。该范式通过分别训练通用专家、领域特定专家和路由器,有效提升模型的多任务能力。MoDULA-Res是MoDULA范式下的一种新方法,它通过残差连接将通用专家与任务特定专家相连,从而保持模型的通用能力。实验结果表明,MoDULA-Flan和MoDULA-Res方法在多种LLMs上的整体性能优于现有微调方法。值得注意的是,MoDULA-Res在多个任务中实现了更显著的性能提升,同时将训练成本降低了80%以上,且不会损失通用能力。此外,MoDULA具备灵活的可插拔性,无需从头重新训练现有专家即可高效添加新任务。这种渐进式训练范式规避了数据平衡问题,提升了训练效率和模型稳定性。总体而言,MoDULA为LLMs的微调提供了一种可扩展、高性价比的解决方案,兼具更高的参数效率和泛化能力。

英文摘要:

The growing demand for larger-scale models in the development of \textbf{L}arge \textbf{L}anguage \textbf{M}odels (LLMs) poses challenges for efficient training within limited computational resources. Traditional fine-tuning methods often exhibit instability in multi-task learning and rely heavily on extensive training resources. Here, we propose MoDULA (\textbf{M}ixture \textbf{o}f \textbf{D}omain-Specific and \textbf{U}niversal \textbf{L}oR\textbf{A}), a novel \textbf{P}arameter \textbf{E}fficient \textbf{F}ine-\textbf{T}uning (PEFT) \textbf{M}ixture-\textbf{o}f-\textbf{E}xpert (MoE) paradigm for improved fine-tuning and parameter efficiency in multi-task learning. The paradigm effectively improves the multi-task capability of the model by training universal experts, domain-specific experts, and routers separately. MoDULA-Res is a new method within the MoDULA paradigm, which maintains the model's general capability by connecting universal and task-specific experts through residual connections. The experimental results demonstrate that the overall performance of the MoDULA-Flan and MoDULA-Res methods surpasses that of existing fine-tuning methods on various LLMs. Notably, MoDULA-Res achieves more significant performance improvements in multiple tasks while reducing training costs by over 80\% without losing general capability. Moreover, MoDULA displays flexible pluggability, allowing for the efficient addition of new tasks without retraining existing experts from scratch. This progressive training paradigm circumvents data balancing issues, enhancing training efficiency and model stability. Overall, MoDULA provides a scalable, cost-effective solution for fine-tuning LLMs with enhanced parameter efficiency and generalization capability.

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

↑