arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1707.01830cs.CL
收藏

神经机器翻译的单队列解码

Single-Queue Decoding for Neural Machine Translation

The University of Tokyo(东京大学)

Raphael Shu, Hideki Nakayama

摘要:

神经机器翻译模型依赖于用于解码的束搜索算法。在实践中,我们发现,由于固定的波束尺寸,搜索空间中的假设的质量受到负面影响。为了缓解这个问题,我们将所有假设存储在单个优先级队列中,并使用通用的评分函数进行假设选择。所提出的算法更灵活,因为丢弃的假设可以在稍后的步骤中重新访问。我们进一步设计了一个惩罚函数来惩罚那些倾向于产生比预期更长或更短的最终翻译的假设。尽管它的简单性,我们表明,建议的解码算法是能够选择具有更好的质量和提高翻译性能的假设。

英文摘要:

Neural machine translation models rely on the beam search algorithm for decoding. In practice, we found that the quality of hypotheses in the search space is negatively affected owing to the fixed beam size. To mitigate this problem, we store all hypotheses in a single priority queue and use a universal score function for hypothesis selection. The proposed algorithm is more flexible as the discarded hypotheses can be revisited in a later step. We further design a penalty function to punish the hypotheses that tend to produce a final translation that is much longer or shorter than expected. Despite its simplicity, we show that the proposed decoding algorithm is able to select hypotheses with better qualities and improve the translation performance.

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

↑