The NiuTrans System for WNGT 2020 Efficiency Task

Chi Hu,Bei Li,Ye Lin,Yinqiao Li,Yanyang Li,Chenglong Wang,Tong Xiao,Jingbo Zhu
DOI: https://doi.org/10.48550/arXiv.2109.08008
2021-09-16
Abstract:This paper describes the submissions of the NiuTrans Team to the WNGT 2020 Efficiency Shared Task. We focus on the efficient implementation of deep Transformer models \cite{wang-etal-2019-learning, li-etal-2019-niutrans} using NiuTensor (<a class="link-external link-https" href="https://github.com/NiuTrans/NiuTensor" rel="external noopener nofollow">this https URL</a>), a flexible toolkit for NLP tasks. We explored the combination of deep encoder and shallow decoder in Transformer models via model compression and knowledge distillation. The neural machine translation decoding also benefits from FP16 inference, attention caching, dynamic batching, and batch pruning. Our systems achieve promising results in both translation quality and efficiency, e.g., our fastest system can translate more than 40,000 tokens per second with an RTX 2080 Ti while maintaining 42.9 BLEU on \textit{newstest2018}. The code, models, and docker images are available at <a class="link-external link-http" href="http://NiuTrans.NMT" rel="external noopener nofollow">this http URL</a> (<a class="link-external link-https" href="https://github.com/NiuTrans/NiuTrans.NMT" rel="external noopener nofollow">this https URL</a>).
Computation and Language
What problem does this paper attempt to address?