arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.19878cs.SDeess.AS
收藏

HDMoLE:面向基于LLM的ASR模型微调的具有层次路由与动态阈值的LoRA专家混合方法

HDMoLE: Mixture of LoRA Experts with Hierarchical Routing and Dynamic Thresholds for Fine-Tuning LLM-based ASR Models

Tencent AI Lab(腾讯AI实验室);Northwestern Polytechnical University(西北工业大学)

Bingshen Mu, Kun Wei, Qijie Shao, Yong Xu, Lei Xie

AI总结:

本文提出HDMoLE方法,通过层次路由与动态阈值结合LoRA和MoE,实现基于LLM的ASR模型在多口音领域的高效微调,仅用9.6%可训练参数即可达到与全量微调相当的性能并避免灾难性遗忘。

摘要:

近年来,将大语言模型(LLM)与自动语音识别(ASR)相结合在通用领域取得了显著进展。虽然通常采用对所有模型参数进行监督微调(SFT)来使预训练的基于LLM的ASR模型适应特定领域,但这种方法计算成本高,并且会明显降低其在通用领域的性能。在本文中,我们提出了一种新颖的参数高效多领域微调方法,用于使预训练的基于LLM的ASR模型适应多口音领域而不发生灾难性遗忘,该方法名为HDMoLE。HDMoLE在低秩适应(LoRA)与专家混合(MoE)相结合的基础上,利用层次路由和动态阈值,并可推广到任意线性层。层次路由在LoRA专家与口音领域之间建立了明确的对应关系,改善了LoRA专家之间的跨领域协作。与用于激活LoRA专家的静态Top-K策略不同,动态阈值能够在每个MoE层自适应地激活数量不等的LoRA专家。在多口音和标准普通话数据集上的实验证明了HDMoLE的有效性。将HDMoLE应用于基于LLM的ASR模型的投影模块,在目标多口音领域取得了与全量微调相当的性能,同时仅使用了全量微调所需可训练参数的9.6%,并且在源通用领域仅有极小的性能下降。

英文摘要:

Recent advancements in integrating Large Language Models (LLM) with automatic speech recognition (ASR) have performed remarkably in general domains. While supervised fine-tuning (SFT) of all model parameters is often employed to adapt pre-trained LLM-based ASR models to specific domains, it imposes high computational costs and notably reduces their performance in general domains. In this paper, we propose a novel parameter-efficient multi-domain fine-tuning method for adapting pre-trained LLM-based ASR models to multi-accent domains without catastrophic forgetting named \textit{HDMoLE}, which leverages hierarchical routing and dynamic thresholds based on combining low-rank adaptation (LoRA) with the mixer of experts (MoE) and can be generalized to any linear layer. Hierarchical routing establishes a clear correspondence between LoRA experts and accent domains, improving cross-domain collaboration among the LoRA experts. Unlike the static Top-K strategy for activating LoRA experts, dynamic thresholds can adaptively activate varying numbers of LoRA experts at each MoE layer. Experiments on the multi-accent and standard Mandarin datasets demonstrate the efficacy of HDMoLE. Applying HDMoLE to an LLM-based ASR model projector module achieves similar performance to full fine-tuning in the target multi-accent domains while using only 9.6% of the trainable parameters required for full fine-tuning and minimal degradation in the source general domain.

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

↑