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

AdaMergeX:通过自适应适配器合并实现大语言模型的跨语言迁移

AdaMergeX: Cross-Lingual Transfer with Large Language Models via Adaptive Adapter Merging

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);National University of Singapore(新加坡国立大学);Hupan Lab(湖畔实验室);Singapore University of Technology and Design(新加坡科技设计大学)

Yiran Zhao, Wenxuan Zhang, Huiming Wang, Kenji Kawaguchi, Lidong Bing

AI总结:

针对跨语言迁移中任务能力与语言能力难以完全解耦的问题,本文提出 AdaMergeX,利用参考任务和自适应适配器合并由三个适配器构造目标适配器,在所有设置下优于现有方法。

摘要:

作为在特定语言中对目标任务进行直接微调的一种有效替代方案,跨语言迁移通过分别在源语言的目标任务上以及目标语言的另一选定任务上进行微调,将“任务能力”与“语言能力”解耦,从而应对训练数据有限的挑战。然而,这类方法无法将任务能力与源语言完全分离,也无法将语言能力与所选任务完全分离。在本文中,我们承认任务能力与语言能力之间存在相互依赖,并将注意力转向目标语言与源语言在各项任务上的差距。由于该差距消除了任务的影响,我们假设它在不同任务之间保持一致。基于这一假设,我们提出了一种名为 AdaMergeX 的新型跨语言迁移方法,该方法利用自适应适配器合并。通过引入一个参考任务,我们可以确定:在两种语言中于参考任务上微调得到的适配器之间的差异,与在两种语言中于目标任务上微调得到的适配器之间的差异遵循相同分布。因此,我们可以通过组合另外三个适配器来获得目标适配器。此外,我们还提出了一种结构自适应的适配器合并方法。实验结果表明,我们的方法带来了新颖且有效的跨语言迁移,并在所有设置下均优于现有方法。

英文摘要:

As an effective alternative to the direct fine-tuning on target tasks in specific languages, cross-lingual transfer addresses the challenges of limited training data by decoupling ''task ability'' and ''language ability'' by fine-tuning on the target task in the source language and another selected task in the target language, respectively. However, they fail to fully separate the task ability from the source language or the language ability from the chosen task. In this paper, we acknowledge the mutual reliance between task ability and language ability and direct our attention toward the gap between the target language and the source language on tasks. As the gap removes the impact of tasks, we assume that it remains consistent across tasks. Based on this assumption, we propose a new cross-lingual transfer method called $\texttt{AdaMergeX}$ that utilizes adaptive adapter merging. By introducing a reference task, we can determine that the divergence of adapters fine-tuned on the reference task in both languages follows the same distribution as the divergence of adapters fine-tuned on the target task in both languages. Hence, we can obtain target adapters by combining the other three adapters. Furthermore, we propose a structure-adaptive adapter merging method. Our empirical results demonstrate that our approach yields new and effective cross-lingual transfer, outperforming existing methods across all settings.

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

↑