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

Lego-MT:面向大规模多语言机器翻译的可分离模型学习

Lego-MT: Learning Detachable Models for Massively Multilingual Machine Translation

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Nanjing University(南京大学);The University of Hong Kong(香港大学);University of California, Santa Barbara(加州大学圣巴巴拉分校)

Fei Yuan, Yinquan Lu, WenHao Zhu, Lingpeng Kong, Lei Li, Yu Qiao, Jingjing Xu

AI总结:

针对多语言机器翻译单块模型的参数干扰与推理低效问题,提出带独立语言分支的可分离模型Lego-MT及高效训练方案,在433语言基准上以12亿参数超越120亿参数的M2M-100,训练速度提升28.2倍。

摘要:

多语言神经机器翻译(MNMT)旨在为众多语言方向构建统一模型。现有的MNMT单块模型面临两大挑战:语言间的参数干扰,以及大模型推理效率低下。本文重新审视经典的多路结构,通过为每种语言(或语言组)分配支持即插即用训练与推理的独立分支,构建出可分离模型。为满足在统一空间中学习所有语言表示的需求,我们提出了一种新颖的高效训练方案,并基于此搭建了性能优异的可分离模型Lego-MT。为实现公平对比,我们从OPUS收集数据,构建了涵盖433种语言、含13亿平行语料的翻译基准。实验表明,参数量为12亿的Lego-MT平均提升3.2 spBLEU,性能甚至优于参数量为120亿的M2M-100。所提训练方案相比传统多路训练方法实现了28.2倍的速度提升。

英文摘要:

Multilingual neural machine translation (MNMT) aims to build a unified model for many language directions. Existing monolithic models for MNMT encounter two challenges: parameter interference among languages and inefficient inference for large models. In this paper, we revisit the classic multi-way structures and develop a detachable model by assigning each language (or group of languages) to an individual branch that supports plug-and-play training and inference. To address the needs of learning representations for all languages in a unified space, we propose a novel efficient training recipe, upon which we build an effective detachable model, Lego-MT. For a fair comparison, we collect data from OPUS and build a translation benchmark covering 433 languages and 1.3B parallel data. Experiments show that Lego-MT with 1.2B parameters brings an average gain of 3.2 spBLEU. It even outperforms M2M-100 with 12B parameters. The proposed training recipe brings a 28.2$\times$ speedup over the conventional multi-way training method.\footnote{ \url{https://github.com/CONE-MT/Lego-MT}.}

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

↑