On Sampling-Based Training Criteria for Neural Language Modeling
Not on the map. Why?
Abstract (arXiv)
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 equally well, as long as we correct for the intended class posterior probabilities. Experimental results in language modeling and automatic speech recognition on Switchboard and LibriSpeech support our claim, with all sampling-based methods showing similar perplexities and word error rates while giving the expected speedups.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 34 references that are in the map. First posted on arXiv 21 Apr 2021.
Builds on
22 of 34 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2019On Variational Bounds of Mutual Informationcited by 550
- 2019On Mutual Information Maximization for Representation Learningcited by 315
- 2016Exploring the Limits of Language Modelingcited by 172
- 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 137
- 2019Language Modeling with Deep Transformerscited by 96
10 more
- 2019Transformer-based Acoustic Modeling for Hybrid Speech Recognitioncited by 86
- 2019A Mutual Information Maximization Perspective of Language Representation Learningcited by 85
- 2019RWTH ASR Systems for LibriSpeech: Hybrid vs Attention -- w/o Data Augmentationcited by 63
- 2018RETURNN as a Generic Flexible Neural Toolkit with Application to Translation and Speech Recognitioncited by 30
- 2014Notes on Noise Contrastive Estimation and Negative Samplingcited by 26
- 2019Cumulative Adaptation for BLSTM Acoustic Modelscited by 11
- 2019LSTM Language Models for LVCSR in First-Pass Decoding and Lattice-Rescoringcited by 11
- 2021A Parallelizable Lattice Rescoring Strategy with Neural Language Modelscited by 10
- 2017Lattice Rescoring Strategies for Long Short Term Memory Language Models in Speech Recognitioncited by 9
- 2018Self-Normalization Properties of Language Modelingcited by 3
Built on by
Citing papers per year: 2021: 1.
1 paper.