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-ofvocabulary 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 (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 characterlevel NMT models from a novel angle.
REF find that, given flexibility in choosing segmentation level, the model prefers to operate on (almost) character level.
Learning to Segment Inputs for NMT Favors Character-Level Processing
ArXiv
ArXiv
Computer Science Mathematics