arXiv(opens in a new tab)cs.CLDec 2013Cited by 20 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:1312.3005

One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling

Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, Tony Robinson

Abstract

We propose a new benchmark corpus to be used for measuring progress in statistical language modeling. With almost one billion words of training data, we hope this benchmark will be useful to quickly evaluate novel language modeling techniques, and to compare their contribution when combined with other advanced techniques. We show performance of several well-known types of language models, with the best results achieved with a recurrent neural network based language model. The baseline unpruned Kneser-Ney 5-gram model achieves perplexity 67.6. A combination of techniques leads to 35% reduction in perplexity, or 10% reduction in cross-entropy (bits), over that baseline.

The benchmark is available as a code.google.com project; besides the scripts needed to rebuild the training/held-out data, it also makes available log-probability values for each word in each of ten held-out data sets, for each of the baseline n-gram models.

1 Introduction

Statistical language modeling has been applied to a wide range of applications and domains with great success. To name a few, automatic speech recognition, machine translation, spelling correction, touch-screen “soft” keyboards and many natural language processing applications depend on the quality of language models (LMs).

The performance of LMs is determined mostly by several factors: the amount of training data, quality and match of the training data to the test data, and choice of modeling technique for estimation from the data. It is widely accepted that the amount of data, and the ability of a given estimation algorithm to accomodate large amounts of training are very important in providing a solution that competes successfully with the entrenched n-gram LMs. At the same time, scaling up a novel algorithm to a large amount of data involves a large amount of work, and provides a significant barrier to entry for new modeling techniques. By choosing one billion words as the amount of training data we hope to strike a balance between the relevance of the benchmark in the world of abundant data, and the ease with which any researcher can evaluate a given modeling approach. This follows the work of Goodman [2001a], who explored performance of various language modeling techniques when applied to large data sets. One of the key contributions of our work is that the experiments presented in this paper can be reproduced by virtually anybody with an interest in LM, as we use a data set that is freely available on the web.

Another contribution is that we provide strong baseline results with the currently very popular neural network LM [2003]. This should allow researchers who work on competitive techniques to quickly compare their results to the current state of the art.

The paper is organized as follows: Section 2 describes how the training data was obtained; Section 3 provides a short overview of the language modeling techniques evaluated; finally, Section 4 presents results obtained and Section 5 concludes the paper.

ModelNum. ParamsTraining TimePerplexity
[billions][hours][CPUs]
Interpolated KN 5-gram, 1.1B n-grams (KN)1.76310067.6
Katz 5-gram, 1.1B n-grams1.74210079.9
Stupid Backoff 5-gram (SBO)1.130.420087.9
Interpolated KN 5-gram, 15M n-grams0.033100243.2
Katz 5-gram, 15M n-grams0.032100127.5
Binary MaxEnt 5-gram (n-gram features)1.1315000115.4
Binary MaxEnt 5-gram (n-gram + skip-1 features)1.81.255000107.1
Hierarchical Softmax MaxEnt 4-gram (HME)631101.3
Recurrent NN-256 + MaxEnt 9-gram20602458.3
Recurrent NN-512 + MaxEnt 9-gram201202454.5
Recurrent NN-1024 + MaxEnt 9-gram202402451.3

Table 1: Results on the 1B Word Benchmark test set with various types of language models.