Deep Neural Network Language Models

Ebru Arisoy, Tara N. Sainath, Brian Kingsbury, Bhuvana RamabhadranWLM @ NAACL 2012

Abstract

In recent years, neural network language models (NNLMs) have shown success in both perplexity and word error rate (WER) compared to conventional n-gram language models. Most NNLMs are trained with one hidden layer. Deep neural networks (DNNs) with more hidden layers have been shown to capture higher-level discriminative information about input features, and thus produce better networks. Motivated by the success of DNNs in acoustic modeling, we explore deep neural network language models (DNN LMs) in this paper. Results on a Wall Street Journal (WSJ) task demonstrate that DNN LMs offer improvements over a single hidden layer NNLM. Furthermore, our preliminary results are competitive with a model M language model, considered to be one of the current state-of-the-art techniques for language modeling.

Introduction

Traditional language modeling has long relied on n-grams, which estimate word probabilities based on a fixed history of $n-1$ words. Despite their simplicity, n-grams suffer from data sparseness, where unseen word sequences are assigned zero or near-zero probability. Neural Network Language Models (NNLMs) address this by embedding words into a continuous vector space, allowing for generalization between semantically similar words (e.g., "dog" and "cat").

While NNLMs have proven effective, they typically utilized only a single hidden layer. This research explores the transition to Deep Neural Network Language Models (DNN LMs), inspired by the significant gains achieved by deep architectures in acoustic modeling. By increasing the depth of these models, the authors aim to capture more complex hierarchical structures within language.

Methodology

The proposed architecture is a feed-forward DNN LM. The model processes input through several distinct stages:

  1. Input Layer: Receives indices for the $n-1$ preceding words.
  2. Projection Layer: Maps these indices into continuous feature vectors (word embeddings).
  3. Hidden Layers: Multiple layers (up to 4) using hyperbolic tangent (tanh) nonlinearities are stacked to learn abstract representations.
  4. Output Layer: A softmax layer predicts the probability of the next word. To maintain efficiency, a "shortlist" of the 10,000 most frequent words is used.
Architecture of the Deep Neural Network Language Model (DNN LM).

Training was conducted using standard back-propagation with mini-batch stochastic gradient descent. Notably, the authors found that random initialization outperformed the complex pre-training techniques common in deep learning at the time.

Experimental Setup

The models were evaluated using the Wall Street Journal (WSJ) corpus:

  • Training Set: Approximately 23.5 million words (900,000 sentences) from the 1993 WSJ text corpus.
  • Evaluation Set: 2,439 unique utterances (~47,000 words) from the WSJ CSR corpus.
  • Development Set: 977 utterances used for hyperparameter tuning.

Results and Discussion

The experiments revealed several key insights regarding model depth and capacity. Increasing the number of hidden layers (depth) consistently improved performance, even when the total parameter count was held constant. This suggests that hierarchical representations are inherently more efficient for modeling language than shallow ones. Furthermore, increasing the dimensionality ($d$) of the word embeddings in the projection layer had a significant positive impact on reducing the Word Error Rate (WER).

Comparison of Perplexity and WER across different language models.

As shown in the table above, the DNN LM significantly outperforms the 4-gram baseline. A 3-layer DNN LM achieved a WER of 20.8% and a perplexity of 102.8, compared to the 4-gram baseline of 22.3% WER and 114.4 perplexity. These results are competitive with Model M, a sophisticated state-of-the-art model of that era. While Recurrent Neural Networks (RNNLMs) showed lower perplexity (83.5), DNN LMs were easier to integrate into existing lattice rescoring frameworks while providing comparable WER results.

Conclusion

This work demonstrates that deep architectures provide a "universal" benefit across different components of speech recognition systems, mirroring their success in acoustic modeling. However, limitations remain, such as the use of a fixed-size shortlist for the output vocabulary and a limited context window (4-gram). Future research will focus on expanding the output vocabulary through class-based methods and exploring architectures that can handle longer-range dependencies.

Summary updated

BibTeX
@inproceedings{arisoy2012deep,
  author = {Ebru Arisoy and Tara N. Sainath and Brian Kingsbury and Bhuvana Ramabhadran},
  title = {{Deep Neural Network Language Models}},
  booktitle = {WLM @ NAACL},
  year = {2012},
  url = {https://openreview.net/forum?id=Sy-k4mWObr},
}
Figure