Skip to main content
QUICK REVIEW

[Paper Review] Scaling Recurrent Neural Network Language Models

Will Williams, Niranjani Prasad|arXiv (Cornell University)|Feb 2, 2015
Topic ModelingComputer Science10 references13 citations
TL;DR

This paper demonstrates that large-scale Recurrent Neural Network Language Models (RNNLMs) trained on GPUs achieve significantly lower perplexity than n-gram models, with the largest RNNLM (nstate 4096) achieving a new state-of-the-art perplexity of 42.4 on the Billion Word Benchmark. The model reduces word error rate by 18% in ASR, improves BLEU by 1 point in machine translation, and achieves a 17% relative hit-rate gain in word prediction, proving RNNLMs scale effectively and outperform n-grams despite higher computational costs.

ABSTRACT

This paper investigates the scaling properties of Recurrent Neural Network Language Models (RNNLMs). We discuss how to train very large RNNs on GPUs and address the questions of how RNNLMs scale with respect to model size, training-set size, computational costs and memory. Our analysis shows that despite being more costly to train, RNNLMs obtain much lower perplexities on standard benchmarks than n-gram models. We train the largest known RNNs and present relative word error rates gains of 18% on an ASR task. We also present the new lowest perplexities on the recently released billion word language modelling benchmark, 1 BLEU point gain on machine translation and a 17% relative hit rate gain in word prediction.

Motivation & Objective

  • To investigate how RNNLMs scale with respect to model size, training data size, computational cost, and memory usage.
  • To overcome the historical limitations of training large RNNs due to high computational and memory demands.
  • To demonstrate that RNNLMs can achieve significantly lower perplexity than n-gram models on standard benchmarks.
  • To evaluate the performance of large RNNLMs in practical applications such as automatic speech recognition (ASR), machine translation (MT), and mobile word prediction.
  • To show that RNNLMs can be efficiently trained on GPUs using data parallelism and memory-optimized techniques, enabling state-of-the-art performance with fewer parameters than previous models.

Proposed method

  • Trained RNNLMs on a 8 billion-word composite corpus consisting of news transcripts, Wikipedia, and web-crawled news, using GPU-based training with data parallelism.
  • Applied entropy filtering using rolling buffers of 16 sentences to preserve inter-sentence context while removing low-quality text, maintaining corpus quality without sentence-level filtering.
  • Used a 64k-vocabulary RNNLM with interpolation to a full 770K-vocabulary 5-gram model to handle rare words in the Billion Word Benchmark.
  • Employed model compression techniques including weight tying (input-to-hidden and hidden-to-output as transpose), 8-bit quantization, and residual layers to reduce model size to 10 MB for mobile word prediction.
  • Rescored ASR lattices using a highly efficient internal tool, enabling real-time inference with large RNNLMs on Kaldi-based systems.
  • Trained RNNLMs with increasing hidden state sizes (from 256 to 4096) and measured perplexity, WER, BLEU, and hit-rate across multiple benchmarks.

Experimental results

Research questions

  • RQ1How do RNNLMs scale with respect to model size and training data size in terms of perplexity reduction?
  • RQ2Can large RNNLMs be efficiently trained on GPUs despite high memory and computational demands?
  • RQ3Do RNNLMs outperform n-gram models in terms of perplexity, WER, BLEU, and hit-rate across diverse NLP tasks?
  • RQ4Can RNNLMs be compressed sufficiently to run in memory-constrained environments like mobile devices while retaining performance gains?
  • RQ5What is the performance ceiling of n-gram models, and can RNNLMs surpass it across all data scales?

Key findings

  • The nstate 4096 RNNLM achieved a perplexity of 42.4 on the Billion Word Benchmark, the lowest reported at the time, outperforming interpolated models in prior work despite using only 3% of the total parameters.
  • RNNLMs reduced word error rate by 18% relative to n-gram rescoring in ASR, demonstrating strong practical impact on the IWSLT14 and en-US tasks.
  • In machine translation, the nstate 3520 RNNLM improved BLEU score from 32.34 to 33.45, a 1-point gain, showing utility beyond ASR.
  • For mobile word prediction, a 10 MB quantized RNNLM with nstate 1024 achieved a 17% relative hit-rate gain over Katz-5-gram models, proving effectiveness in low-memory settings.
  • The largest RNNLMs achieved over 40% lower perplexity than 5-gram models, and the authors conclude that RNNLMs now offer lower perplexity than n-grams for any amount of training data.
  • Despite being compute- and memory-intensive, RNNLMs trained on GPUs with data parallelism and optimization techniques are feasible and outperform n-grams in all evaluated tasks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.