On Sampling-Based Training Criteria for Neural Language Modeling
Yingbo Gao, David Thulke, Alexander Gerstenberger, Khoa Viet Tran,, Ralf Schl\"uter, Hermann Ney

TL;DR
This paper systematically compares various sampling-based training criteria for neural language models, demonstrating that with proper correction, they perform similarly, offering speedups without sacrificing accuracy.
Contribution
It provides a comprehensive comparison of sampling methods and introduces a novel compensated partial summation technique for language modeling.
Findings
All sampling methods perform similarly when corrected for class posterior probabilities.
Sampling methods achieve comparable perplexities and word error rates.
Speedups are achieved without loss of model performance.
Abstract
As the vocabulary size of modern word-based language models becomes ever larger, many sampling-based training criteria are proposed and investigated. The essence of these sampling methods is that the softmax-related traversal over the entire vocabulary can be simplified, giving speedups compared to the baseline. A problem we notice about the current landscape of such sampling methods is the lack of a systematic comparison and some myths about preferring one over another. In this work, we consider Monte Carlo sampling, importance sampling, a novel method we call compensated partial summation, and noise contrastive estimation. Linking back to the three traditional criteria, namely mean squared error, binary cross-entropy, and cross-entropy, we derive the theoretical solutions to the training problems. Contrary to some common belief, we show that all these sampling methods can perform…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Speech Recognition and Synthesis · Natural Language Processing Techniques
