Learning to Stop in Structured Prediction for Neural Machine Translation
Learning to Stop in Structured Prediction for Neural Machine Translation
复制标题
DOI:
10.18653/v1/n19-1187
复制
发表时间:
2019-04
期刊:
影响因子:
--
通讯作者:
Mingbo Ma;Renjie Zheng;Liang Huang
中科院分区:
文献类型:
--
作者:
Mingbo Ma;Renjie Zheng;Liang Huang
Beam search optimization (Wiseman and Rush, 2016) resolves many issues in neural machine translation. However, this method lacks principled stopping criteria and does not learn how to stop during training, and the model naturally prefers longer hypotheses during the testing time in practice since they use the raw score instead of the probability-based score. We propose a novel ranking method which enables an optimal beam search stop- ping criteria. We further introduce a structured prediction loss function which penalizes suboptimal finished candidates produced by beam search during training. Experiments of neural machine translation on both synthetic data and real languages (German→English and Chinese→English) demonstrate our pro- posed methods lead to better length and BLEU score.