arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.00802cs.LGcs.CLstat.ML
收藏

神经机器翻译中编码器/解码器模型的校准

Calibration of Encoder Decoder Models for Neural Machine Translation

University of California Berkeley(加州大学伯克利分校);Indian Institute of Technology Bombay(印度理工学院孟买分校)

Aviral Kumar, Sunita Sarawagi

摘要:

我们研究了几个国家的最先进的神经机器翻译(NMT)系统的基于注意力的编码器-解码器模型的校准。对于像NMT中的结构化输出,校准不仅对于预测的可靠置信度很重要,而且对于波束搜索推理的正确功能也很重要。我们发现,大多数现代NMT模型是令人惊讶的错误校准,即使在真正的以前的令牌的条件。我们的调查导致两个主要原因-EOS(序列结束标记)的严重误校准和抑制的注意不确定性。我们根据这些信号设计了重新校准方法,并证明了更高的准确性,更好的序列级校准,以及更直观的波束搜索结果。

英文摘要:

We study the calibration of several state of the art neural machine translation(NMT) systems built on attention-based encoder-decoder models. For structured outputs like in NMT, calibration is important not just for reliable confidence with predictions, but also for proper functioning of beam-search inference. We show that most modern NMT models are surprisingly miscalibrated even when conditioned on the true previous tokens. Our investigation leads to two main reasons -- severe miscalibration of EOS (end of sequence marker) and suppression of attention uncertainty. We design recalibration methods based on these signals and demonstrate improved accuracy, better sequence-level calibration, and more intuitive results from beam-search.

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

↑