Finding the Optimal Vocabulary Size for Neural Machine Translation

Thamme Gowda,Jonathan May
DOI: https://doi.org/10.48550/arXiv.2004.02334
2020-04-05
Computation and Language
Abstract:We cast neural machine translation (NMT) as a classification task in an autoregressive setting and analyze the limitations of both classification and autoregression components. Classifiers are known to perform better with balanced class distributions during training. Since the Zipfian nature of languages causes imbalanced classes, we explore its effect on NMT. We analyze the effect of various vocabulary sizes on NMT performance on multiple languages with many data sizes, and reveal an explanation for why certain vocabulary sizes are better than others.
What problem does this paper attempt to address?