计算机科学 > 计算与语言
[提交于 2020年10月8日]
标题:Efficient Inference For Neural Machine Translation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Large Transformer models have achieved state-of-the-art results in neural machine translation and have become standard in the field. In this work, we look for the optimal combination of known techniques to optimize inference speed without sacrificing translation quality. We conduct an empirical study that stacks various approaches and demonstrates that combination of replacing decoder self-attention with simplified recurrent units, adopting a deep encoder and a shallow decoder architecture and multi-head attention pruning can achieve up to 109% and 84% speedup on CPU and GPU respectively and reduce the number of parameters by 25% while maintaining the same translation quality in terms of BLEU.
提交历史
来自:Yi-Te Hsu[v1] 2020年10月8日 星期四 00:00:00 UTC