arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.06606cs.CLcs.LG

Dynamic Programming Encoding for Subword Segmentation in Neural Machine Translation

Monash University(莫纳什大学);Google Research(谷歌研究院)

Xuanli He, Gholamreza Haffari, Mohammad Norouzi

英文摘要:

This paper introduces Dynamic Programming Encoding (DPE), a new segmentation algorithm for tokenizing sentences into subword units. We view the subword segmentation of output sentences as a latent variable that should be marginalized out for learning and inference. A mixed character-subword transformer is proposed, which enables exact log marginal likelihood estimation and exact MAP inference to find target segmentations with maximum posterior probability. DPE uses a lightweight mixed character-subword transformer as a means of pre-processing parallel data to segment output sentences using dynamic programming. Empirical results on machine translation suggest that DPE is effective for segmenting output sentences and can be combined with BPE dropout for stochastic segmentation of source sentences. DPE achieves an average improvement of 0.9 BLEU over BPE (Sennrich et al., 2016) and an average improvement of 0.55 BLEU over BPE dropout (Provilkov et al., 2019) on several WMT datasets including English <=> (German, Romanian, Estonian, Finnish, Hungarian).

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

↑