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

神经机器翻译中通信高效的联邦学习

Communication-Efficient Federated Learning for Neural Machine Translation

Amazon(亚马逊)

Tanya Roosta, Peyman Passban, Ankit Chadha

摘要:

在联邦学习(FL)设置中训练神经机器翻译(NMT)模型可能在计算和通信方面都是低效的,这是由于翻译引擎的大小以及训练客户端和中央服务器所需的多轮更新。在本文中,我们探讨了如何有效地建立NMT模型,在FL设置提出了一种新的解决方案。为了减少通信开销,在所有神经层中,我们只交换我们称之为“控制器”的层。控制器是连接到我们预先训练的架构的少量额外神经组件。这些新组件放置在原始层之间。它们充当与中央服务器通信的联络人,并学习足以更新客户端的最低限度信息。我们评估了我们的模型在来自不同领域的五个数据集上从德语翻译成英语的性能。我们注意到,配备控制器的模型与在中央和非FL设置中训练的模型具有相同的性能。此外,我们观察到FL管道的通信流量大幅减少,这是使用控制器的直接结果。根据我们的实验,基于控制器的模型比其他同类模型便宜6倍。当我们考虑大型模型中的参数数量时,这种减少非常重要,当这些参数需要在FL设置中交换多轮时,它变得更加关键。

英文摘要:

Training neural machine translation (NMT) models in federated learning (FL) settings could be inefficient both computationally and communication-wise, due to the large size of translation engines as well as the multiple rounds of updates required to train clients and a central server. In this paper, we explore how to efficiently build NMT models in an FL setup by proposing a novel solution. In order to reduce the communication overhead, out of all neural layers we only exchange what we term "Controller" layers. Controllers are a small number of additional neural components connected to our pre-trained architectures. These new components are placed in between original layers. They act as liaisons to communicate with the central server and learn minimal information that is sufficient enough to update clients. We evaluated the performance of our models on five datasets from different domains to translate from German into English. We noted that the models equipped with Controllers preform on par with those trained in a central and non-FL setting. In addition, we observed a substantial reduction in the communication traffic of the FL pipeline, which is a direct consequence of using Controllers. Based on our experiments, Controller-based models are ~6 times less expensive than their other peers. This reduction is significantly important when we consider the number of parameters in large models and it becomes even more critical when such parameters need to be exchanged for multiple rounds in FL settings.

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

↑