arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.02600cs.CL
收藏

序贯爬虫:多语言学习的任务间梯度对齐

Sequential Reptile: Inter-Task Gradient Alignment for Multilingual Learning

KAIST(韩国科学技术院);AITRICS

Seanie Lee, Hae Beom Lee, Juho Lee, Sung Ju Hwang

摘要:

在多种语言上联合预训练的多语言模型在各种多语言下游任务上取得了卓越的性能。此外,在单个单语下游任务上进行微调的模型已被证明可以推广到看不见的语言。在本文中,我们首先表明,这是至关重要的,这些任务之间的梯度对齐,以最大限度地提高知识转移,同时最大限度地减少负转移。尽管其重要性,现有的梯度对齐方法要么有一个完全不同的目的,忽略任务间的对齐,或旨在解决持续学习的问题,而效率低下的方式。由于任务之间的梯度不一致,模型遭受严重的负迁移,其形式是对从预训练中获得的知识的灾难性遗忘。为了克服这些限制,我们提出了一种简单而有效的方法,可以有效地调整任务之间的梯度。具体来说,我们通过从所有任务中顺序采样批次来执行每个内部优化,然后是Reptile外部更新。由于我们的方法在任务之间对齐了梯度,模型变得不那么容易受到负迁移和灾难性遗忘的影响。我们在各种多任务学习和zero-shot跨语言迁移任务上广泛验证了我们的方法,其中我们的方法在很大程度上优于我们考虑的所有相关基线。

英文摘要:

Multilingual models jointly pretrained on multiple languages have achieved remarkable performance on various multilingual downstream tasks. Moreover, models finetuned on a single monolingual downstream task have shown to generalize to unseen languages. In this paper, we first show that it is crucial for those tasks to align gradients between them in order to maximize knowledge transfer while minimizing negative transfer. Despite its importance, the existing methods for gradient alignment either have a completely different purpose, ignore inter-task alignment, or aim to solve continual learning problems in rather inefficient ways. As a result of the misaligned gradients between tasks, the model suffers from severe negative transfer in the form of catastrophic forgetting of the knowledge acquired from the pretraining. To overcome the limitations, we propose a simple yet effective method that can efficiently align gradients between tasks. Specifically, we perform each inner-optimization by sequentially sampling batches from all the tasks, followed by a Reptile outer update. Thanks to the gradients aligned between tasks by our method, the model becomes less vulnerable to negative transfer and catastrophic forgetting. We extensively validate our method on various multi-task learning and zero-shot cross-lingual transfer tasks, where our method largely outperforms all the relevant baselines we consider.

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

↑