Introduction
In 2013, Statistical Machine Translation (SMT) relied heavily on $n$-gram language models to ensure fluent output. However, traditional $n$-gram models suffer from data sparsity: if a sequence of words hasn't been seen exactly in the training data, the model struggles to estimate its probability. Neural language models (NLMs) solve this by using continuous word embeddings, allowing the model to generalize based on semantic similarity. However, NLMs were historically slow to train and use due to the "softmax" bottleneck, which requires summing over the entire vocabulary at every step. This computational cost restricted neural LMs to "reranking" small candidate lists rather than being used during the primary decoding search.
Scaling Neural Language Models
The authors propose a feed-forward Neural Probabilistic Language Model (NPLM) architecture designed to overcome these scaling hurdles through several key innovations:
- Rectified Linear Units (ReLU): Replacing standard sigmoid or tanh functions with ReLUs ($\phi(x) = \max(0, x)$) reduced computational costs and improved training efficiency in deep networks.
- Noise-Contrastive Estimation (NCE): By framing language modeling as a binary classification task (distinguishing real words from noise), NCE makes training time nearly independent of vocabulary size.
- Self-Normalization for Decoding: To speed up inference, the model was trained to learn approximately normalized probabilities ($Z(u) \approx 1$). This allows the decoder to bypass the expensive normalization step during search.
- The
<null>Token Trick: To estimate probabilities for shorter contexts within the decoder, a special<null>token was introduced, with its embedding calculated as the weighted average of all other words.
As shown in the figure above, NCE-trained models maintain a relatively constant training time even as vocabulary grows to 70,000 words, whereas traditional MLE approaches (like CSLM) scale linearly and become prohibitively slow.
Experimental Results
The models were evaluated on the NIST Chinese-English benchmark and the Europarl v7 corpus (French, German, and Spanish to English).
Translation Quality
Integrating the neural LM directly into the decoder yielded substantial improvements over baseline SMT systems and reranking-only approaches. On the Chinese-English task, direct integration improved scores by up to 1.1 BLEU points.
For the Europarl tasks, improvements were consistent, ranging from 0.1 to 0.6 BLEU. The results demonstrate that "direct integration"—using the neural LM to guide the search from the start—is significantly more effective than simple reranking, as it allows the model to prune poor translation paths early.
Computational Efficiency
Beyond quality gains, the NCE-trained model was dramatically faster than existing toolkits. For a 70k vocabulary, the proposed method was roughly 10x faster to train per epoch than standard MLE approaches. Self-normalization further enabled fast lookups (approx. 40μs), making real-time integration feasible.
Conclusion and Future Work
This work proved that large-scale neural LMs can be efficiently trained and integrated into translation decoders. While the feed-forward architecture has limitations in capturing long-distance dependencies compared to Recurrent Neural Networks (RNNs), the techniques of NCE and ReLU provide a scalable foundation for future NLP tasks. Subsequent research could apply these methods to RNNs or even larger datasets to further push the boundaries of machine translation quality.
Summary updated