Deep Neural Language Models for Machine Translation

Thang Luong, Michael Kayser, Christopher D. Manning

Introduction

While deep learning has long been a cornerstone of computer vision and speech recognition, machine translation (MT) historically relied on "shallow" neural language models (NLMs). Standard practice often involved architectures with only one or two hidden layers. This research investigates whether increasing model depth—specifically moving to three or four layers—can yield significant improvements in both model perplexity and final translation quality.

Overcoming Training Complexity

A primary hurdle in adopting deeper NLMs for MT was the lack of evidence regarding their benefit versus the increased training difficulty. The authors address this by identifying a specific suite of architectural choices:

  • Activation Functions: Rectified Linear Units (ReLU) were found to significantly outperform the traditional tanh function in deeper networks, facilitating better gradient flow.
  • Self-Normalization: To mitigate the computational bottleneck of the softmax layer during inference, a penalty term was added to the objective function. This encourages the model to produce pre-normalized probabilities, where the sum of outputs is approximately one.
  • Joint Conditioning: The model utilizes a rich feature set by jointly conditioning on an 11-gram source context and a 5-gram target history.
  • Optimization: A robust learning rate schedule—halving the rate every half-epoch after an initial phase—proved essential for the stability of 4-layer models.

Experimental Results

The models were evaluated on the DARPA BOLT Chinese-English dataset, comprising approximately 11.1 million parallel sentences.

Intrinsic Metrics: Perplexity and Normalization

One of the study's key findings is that deeper networks are inherently better at learning to self-normalize. As shown in the table below, the normalization error ($| \log Z |$) decreases as layers are added, alongside a substantial drop in test perplexity.

Perplexity and self-normalization error (|log Z|) across different model depths.

Moving from a 1-layer to a 4-layer architecture resulted in a perplexity reduction from 8.99 to 7.71 on the test set, indicating a much stronger predictive capability.

Extrinsic Metrics: Translation Quality

Crucially, these intrinsic gains in perplexity translated directly into improved translation performance. In a reranking pipeline, the 4-layer model consistently outperformed the shallow baselines across multiple test sets.

Translation performance (TER and BLEU) for various model depths on dev and test sets.

On the Web-forum evaluation data, the 4-layer model provided an average boost of 0.5 BLEU and a corresponding 0.5 reduction in TER compared to the 1-layer model. These improvements were found to be statistically significant.

Domain Adaptation

The benefits of depth also extend to domain adaptation. By fine-tuning a deep model trained on general data with a small SMS-chat corpus (146K sentences), the researchers achieved gains of 1.0 TER and 0.5 BLEU over a shallow NLM baseline. This suggests that deep architectures can effectively leverage small amounts of in-domain data.

Conclusion

This work demonstrates that "going deeper" is a viable and effective strategy for neural language modeling in MT. By combining increased depth with ReLU activations and self-normalization, researchers can achieve state-of-the-art results that significantly surpass traditional shallow architectures. Future work may involve integrating these deep models directly into the first-pass decoding process to further streamline the translation pipeline.

Summary updated

BibTeX
@inproceedings{luong2015deep,
  author = {Thang Luong and Michael Kayser and Christopher D. Manning},
  title = {{Deep Neural Language Models for Machine Translation}},
  booktitle = {CoNLL},
  year = {2015},
  doi = {10.18653/v1/k15-1031},
}
Figure