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

学习对NMT的输入进行分段有利于更高级别的处理

Learning to Segment Inputs for NMT Favors Character-Level Processing

Heidelberg University(海德堡大学);Amazon Research(亚马逊研究院)

Julia Kreutzer, Artem Sokolov

摘要:

大多数现代神经机器翻译(NMT)系统依赖于预先分割的输入。分割粒度重要地决定了输入和输出序列长度,从而决定了建模深度,以及源和目标词汇表,这反过来又决定了模型大小,softmax归一化的计算成本以及词汇表外单词的处理。然而,目前的做法是使用在NMT训练之前固定的静态的、基于几何学的分割。这就引出了一个问题,即所选择的分割是否是翻译任务的最佳选择。为了克服次优分割选择,我们提出了一种基于自适应计算时间算法(Graves 2016)的动态分割算法,该算法是可训练的端到端,并由NMT目标驱动。在对四个翻译任务的评估中,我们发现,考虑到在不同分割级别之间导航的自由度,该模型更喜欢在(几乎)字符级别上操作,从一个新的角度为纯字符级别的NMT模型提供支持。

英文摘要:

Most modern neural machine translation (NMT) systems rely on presegmented inputs. Segmentation granularity importantly determines the input and output sequence lengths, hence the modeling depth, and source and target vocabularies, which in turn determine model size, computational costs of softmax normalization, and handling of out-of-vocabulary words. However, the current practice is to use static, heuristic-based segmentations that are fixed before NMT training. This begs the question whether the chosen segmentation is optimal for the translation task. To overcome suboptimal segmentation choices, we present an algorithm for dynamic segmentation based on the Adaptative Computation Time algorithm (Graves 2016), that is trainable end-to-end and driven by the NMT objective. In an evaluation on four translation tasks we found that, given the freedom to navigate between different segmentation levels, the model prefers to operate on (almost) character level, providing support for purely character-level NMT models from a novel angle.

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

↑