arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.19048cs.CLcs.AI
收藏

SAMoRA:基于语义的LoRA专家混合方法用于任务自适应学习

SAMoRA: Semantic-Aware Mixture of LoRA Experts for Task-Adaptive Learning

School of Computer Science and Technology, Beijing Jiaotong University, China(北京交通大学计算机科学与技术学院);Guangxi Key Lab of Trusted Software, Guilin University of Electronic Technology, China(广西trusted软件重点实验室,桂林电子科技大学);Beijing Key Lab of Traffic Data Mining and Embodied Intelligence, China(北京交通数据挖掘与具身智能重点实验室);Institute of AI for Industries, Chinese Academy of Sciences, China(工业人工智能研究院,中国科学院);Nanjing Institute of Software Technology, China(南京软件技术研究院)

Boyan Shi, Wei Chen, Shuyuan Zhao, Junfeng Shen, Shengnan Guo, Shaojiang Wang, Huaiyu Wan

AI总结:

SAMoRA通过语义感知路由和任务自适应缩放机制,提升多任务学习中的专家专业化与任务适应性,实验显示其性能优于现有方法。

摘要:

Mixture-of-Experts (MoE) 和 Low-Rank Adaptation (LoRA) 的结合在增强大语言模型的多任务学习能力方面展现出显著潜力。然而,现有方法面临两大挑战:(1) 当前的MoE-LoRA方法的不精确路由未能明确匹配输入语义与专家能力,导致专家专业化不足。(2) 均匀权重融合策略难以提供适应性更新强度,忽略了不同任务的复杂性差异。为了解决这些限制,我们提出了SAMoRA(Semantic-Aware Mixture of LoRA Experts),一种针对任务自适应学习的新型参数高效微调框架。具体而言,提出了一种语义感知路由器,以显式对齐文本语义与最合适的专家以实现精确路由。设计了一种任务自适应缩放机制,根据特定任务需求动态调节专家贡献。此外,提出了一种新的正则化目标,以联合促进专家专业化和有效缩放。在多个多任务基准上的广泛实验表明,SAMoRA显著优于现有最先进方法,并具有出色的任务泛化能力。代码可在https://github.com/boyan-code/SAMoRA获取。

英文摘要:

The combination of Mixture-of-Experts (MoE) and Low-Rank Adaptation (LoRA) has shown significant potential for enhancing the multi-task learning capabilities of Large Language Models. However, existing methods face two primary challenges: (1)Imprecise Routing in the current MoE-LoRA method fails to explicitly match input semantics with expert capabilities, leading to weak expert specialization. (2)Uniform weight fusion strategies struggle to provide adaptive update strengths, overlooking the varying complexity of different tasks. To address these limitations, we propose SAMoRA (Semantic-Aware Mixture of LoRA Experts), a novel parameter-efficient fine-tuning framework tailored for task-adaptive learning. Specifically, A Semantic-Aware Router is proposed to explicitly align textual semantics with the most suitable experts for precise routing. A Task-Adaptive Scaling mechanism is designed to regulate expert contributions based on specific task requirements dynamically. In addition, a novel regularization objective is proposed to jointly promote expert specialization and effective scaling. Extensive experiments on multiple multi-task benchmarks demonstrate that SAMoRA significantly outperforms the state-of-the-art methods and holds excellent task generalization capabilities. Code is available at https://github.com/boyan-code/SAMoRA

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

↑