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

神经机器翻译的多任务学习柔性深度模型

Training Flexible Depth Model by Multi-Task Learning for Neural Machine Translation

Northeastern University(东北大学);Machine Intelligence Technology Lab, Alibaba DAMO Academy(阿里巴巴达摩院机器智能技术实验室);NiuTrans Co., Ltd.(小牛翻译股份有限公司)

Qiang Wang, Tong Xiao, Jingbo Zhu

摘要:

标准神经机器翻译模型只能使用与训练相同的深度配置进行解码。受此特性的限制,我们不得不部署各种大小的模型来维持相同的翻译延迟,因为不同终端设备上的硬件条件(例如,移动电话)可能变化很大。这种单独的训练会导致模型维护成本增加和模型迭代速度减慢,特别是对于行业而言。在这项工作中,我们建议使用多任务学习训练一个灵活的深度模型,可以适应不同的深度配置在推理。实验结果表明,该方法可以同时支持24种深度配置的解码,优于单独训练和另一种灵活的深度模型训练方法- LayerDrop。

英文摘要:

The standard neural machine translation model can only decode with the same depth configuration as training. Restricted by this feature, we have to deploy models of various sizes to maintain the same translation latency, because the hardware conditions on different terminal devices (e.g., mobile phones) may vary greatly. Such individual training leads to increased model maintenance costs and slower model iterations, especially for the industry. In this work, we propose to use multi-task learning to train a flexible depth model that can adapt to different depth configurations during inference. Experimental results show that our approach can simultaneously support decoding in 24 depth configurations and is superior to the individual training and another flexible depth model training method -- LayerDrop.

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

↑