Elamur Research

Exploring the Limits of Language Modeling

Paper · 2016 · Rafal Jozefowicz, Oriol Vinyals, Mike Schuster et al.

Summary

A next-word predictor has two jobs. It has to work out what the preceding words make likely, and it has to spread its probability across all the words that could come next. Exploring the Limits of Language Modeling asks how well a recurrent neural network can do both when the vocabulary is large enough to make the second job expensive and the text is extensive enough to challenge the network’s ability to learn the first. The authors test their approach on the One Billion Word Benchmark, whose detailed description gives about 0.8B words and 793,471 vocabulary entries. Their main predictor uses a Long Short-Term Memory network, or LSTM. It maintains a large internal memory while passing a smaller vector through the parts of the network where width would make calculations costly.

The best individual predictor reaches 30.0 test perplexity on the benchmark, compared with the earlier best individual result of 51.3. Perplexity falls when a language model assigns more probability, on average in logarithmic terms, to the words that actually occur. The authors report a factor of 20 reduction in learned parameters relative to the earlier individual comparison system. Combining predictions brings test perplexity to 23.7, compared with the earlier ensemble result of 41.0. A strong count-based predictor still helps when included in a combination, but the individual result shows how far a recurrent network can go on its own. The best LSTM also assigns better log probabilities than the count-based baseline across the frequency groups examined, with a particularly pronounced advantage on rare words.

The strongest individual configuration builds input word vectors from spelling with a convolutional neural network. Many words can thus draw on the same learned features, which saves parameters while preserving predictive quality. Moving this idea to the output yields a different tradeoff. The proposed CNN Softmax uses spelling to build representations for the words the system might predict. It makes the predictor smaller, but the version with no word-specific adjustment trails the conventional output in the reported experiments. Adding a compact learned correction for each word recovers some of the lost quality. Another output, which spells a target word by predicting successive characters, falls further behind on the benchmark.

The gains depend on how the network is trained as well as on its architecture. Importance sampling makes output training feasible by comparing a true continuation with sampled alternatives. At evaluation, a whole-word softmax still normalizes over the benchmark vocabulary. The largest LSTMs the authors could fit in GPU memory performed best, and even substantially smaller ones could overfit in spite of the amount of training text. Citing its findings on rare words, the paper calls for research on languages with more low-frequency forms and announces that trained weights and training recipes are being made available for further study.

Deep dive: Exploring the Limits of Language Modeling

Exploring the Limits of Language Modeling explains how large LSTMs, character-based word representations, and sampled training improve next-word prediction. · about 39 minutes to read

The problem and its context

Why predict a distribution over words?

A sentence can be well formed and still be an unlikely thing for someone to say. To distinguish likely sentences from merely possible ones, a predictor needs evidence about how words fit together, what people commonly discuss, and how an earlier part of a sentence changes the interpretation of a later part. Language modeling turns this into a problem with an observable answer at each position. The preceding words are available as context. The next word in the text is the event whose probability the system must estimate.

The actual continuation rarely exhausts the plausible choices. Several words could fit grammatically, and several might make sense in the situation. A probability distribution lets the predictor give each of them some weight. When evaluating on text held out from training, the observed word provides one piece of evidence about where the system put that weight. Across many positions, the quality of these assignments can be assessed without requiring a person to list every reasonable continuation.

This objective matters to the authors in part because language probabilities can guide other systems. A speech recognizer may need to choose among word sequences that sound similar. A translation system may face several plausible ways to express the same input. The paper describes earlier uses of language prediction in these settings, including work on large-scale neural language prediction in translation decoding. It also points to sentence summarization with neural attention and sentence compression by deletion. Improvements in prediction can improve the application’s own measure, although the authors describe that relationship as something commonly observed with exceptions.

Sequence-to-sequence work gave the authors another reason to take the prediction problem seriously. A system can predict an output sequence while also conditioning on a separate input. The choice of the next output word then reflects both what has already been produced and what the system was asked to process. The paper identifies this use of conditional prediction in Sequence to Sequence Learning and in work on phrase representations with an RNN encoder–decoder. Its examples from dialogue make a related point. Text can carry associations about people, objects, and events that a predictor may learn in the course of fitting the corpus. Both observations motivate training stronger predictors. The experiment considered here is prediction of held-out words.

A strong local baseline and a flexible history

An n-gram predictor estimates how likely a word is after a short sequence of preceding words. When those local sequences recur often, the corpus supplies direct observations about how they end. Some sequences will be absent or too poorly represented to estimate their probabilities from their own counts. Smoothing addresses this by assigning probability even to sequences that were possible but went unobserved. The paper treats a Kneser–Ney-smoothed 5-gram predictor as an especially strong example of this family. Large amounts of training text had made such predictors competitive with neural approaches.

The fixed history makes the counting problem manageable. It also defines what the predictor can distinguish. When two positions have the same local history, evidence earlier in their sentences cannot change the n-gram prediction. A recurrent neural network summarizes the history in an internal state and updates it as each word arrives. Two positions with identical recent words can therefore have different states. The value of this flexibility depends on what the network has learned to keep. Much of the previous text may be irrelevant, while a detail from several positions back can be useful again when the sentence reaches a particular continuation.

LSTMs address this problem with gates, learned controls over how information enters, persists in, and leaves the internal memory. The authors choose them for their ability to convey information through successive updates. Earlier work had explored recurrent language prediction on corpora of different sizes. As the authors describe the large-scale literature, recurrent networks often made their strongest contribution as part of a combination with a count-based system. Some earlier recurrent outputs covered only a restricted set of frequent words, making the count-based component important for the rest of the vocabulary. Other approaches supplied count-based features to the recurrent network itself. These arrangements left open how much could be achieved when the recurrent network carried the prediction task across the benchmark vocabulary.

What changes on a larger benchmark?

The paper contrasts its setting with research on the Penn Treebank. On a smaller corpus, it is easy for a flexible network to learn details that help on the training text and carry over poorly to new examples. This makes overfitting a central experimental concern. The authors argue that research also needs a regime in which a substantial network can have difficulty fitting the amount and variety of text available for learning. A technique’s performance on a small task then becomes one piece of evidence about its value under different demands.

The One Billion Word Benchmark occupies a useful middle ground in the authors’ account. They regard its volume as moderate for count-based estimation and very large for neural prediction. The amount of text puts pressure on the recurrent part of the system to learn a useful history representation. The number of distinct words poses another challenge. With an embedding table, each vocabulary entry brings its own learned values. With ordinary softmax training, each target position calls for comparisons against the vocabulary. Capacity, storage, and computation all grow important, but each is affected by a different architectural choice.

The authors draw a methodological parallel with large-scale computer vision. They point to ImageNet classification with deep convolutional networks to illustrate the research opportunities created by a shared dataset at sufficient scale. Their language benchmark plays a similar role in the argument. It gives new neural approaches an established comparison point and provides enough data to investigate whether architectural and training decisions still help when each experiment is expensive.

Why spelling and sampling were natural starting points

The paper inherits two lines of work that address different costs. Character-based word embeddings replace a learned table entry with a function that reads a word’s written form. In Finding Function in Form, recurrent networks read characters in both directions and combine their resulting states. The paper describes this approach in connection with part-of-speech tagging. Work on character-based transition parsing is another example of character information entering a word-level task. The most direct precursor here, Character-Aware Neural Language Models, scans spellings with convolutions and pools the resulting features before transforming them into a word vector. That earlier work reported matching the best Penn Treebank results with 60% fewer parameters.

Research on large output vocabularies offered a separate starting point. A hierarchical softmax organizes words in a tree so that scoring a target can proceed along a path. The authors note that the quality of the hierarchy matters and choose to pursue sampling instead. Sampling methods had already been proposed as ways to obtain a cheaper training signal by using selected alternatives to the target. The paper examines two such objectives and relates them through the discrimination problem each asks the network to solve. This is independent of the question of where candidate word vectors come from. A sampled objective can train an output whose vectors come from a lookup table or one whose vectors are generated from spelling.

The method, step by step

From a word in the text to the next prediction

Imagine the network at a position where it has just read a word. It needs a numerical representation of that word to update its memory. It can look up a vector specific to the word, or it can compute a vector from the word’s characters. In either case, the main recurrent network advances by a word. It combines the current input with information accumulated from the preceding inputs and creates a context vector suitable for predicting what comes next.

The context vector then has to interact with possible continuations. In a conventional word output, each candidate has a learned vector, and its score depends on how that vector aligns with the context. CNN Softmax supplies candidate vectors through a character network while preserving the same kind of scoring operation. The paper also tests a separate output that uses the context to generate a spelling a character at a time. This changes what the output predicts at each step, whereas changing the input representation leaves the main sequence of word predictions intact.

The main training and evaluation path below applies to the whole-word outputs. Sampling changes the work done during training. Evaluation uses normalized word probabilities so that the benchmark result refers to predictions over the benchmark vocabulary.

Training and evaluation with a word-level softmax

The steps in order.

Training and evaluation with a word-level softmaxStep 1: Feed sentence streams into the network1. Feed sentence streams into the networkStep 2: Encode each incoming word as a vector2. Encode each incoming word as a vectorStep 3: Update the LSTM and project its state3. Update the LSTM and project its stateStep 4: Score the observed continuation and sampled alternatives4. Score the observed continuation and sampled alternativesStep 5: Update parameters using the sampled objective5. Update parameters using the sampled objectiveStep 6: Normalize over the vocabulary for evaluation6. Normalize over the vocabulary for evaluation

Define a sequence probability through its continuations

The starting point is the chain rule for probability. It expresses the probability of the sequence as a product of predictions, each made with the history available at that point.

p(w₁, …, wₙ) = ∏ᵢ₌₁ⁿ p(wᵢ | w₁, …, wᵢ₋₁)

Here, p denotes probability, n is the length of the sequence, and wᵢ is the word at position i. The ellipses stand for intervening words in their original order. The product sign ∏ indicates multiplication over positions from 1 to n. The bar | means “given,” and the history in the first term is empty. The words on the left form the joint event whose probability the right-hand side computes.

The conditioning history grows as the sequence progresses. An LSTM represents that history by carrying forward and updating a learned state. Reaching the same word by different histories can therefore give the network different information to work with. The gates affect which parts of that information remain available at subsequent positions. The chain rule specifies the prediction problem. The recurrent architecture supplies a way to carry it out without maintaining a separate collection of statistics for every possible prefix.

Training rewards probability on the observed continuation. In the standard whole-word objective, that is equivalent to minimizing cross-entropy against a target distribution concentrated on the observed word. Putting greater probability on the observed word makes the loss smaller. The predictions also share a probability budget. Giving weight to an implausible alternative can therefore hurt the observed word’s probability even when the score of the observed word itself stays the same.

Keep the memory wide and the projection narrower

The authors adopt a projected LSTM design from previous work. A recurrent layer can keep a large internal state and transform its exposed representation into a smaller vector through a learned linear projection. The smaller width helps keep the associated matrices tractable. It also sets the width of the context supplied to the word scorer. This last connection matters because every candidate vector at the output must be compatible with that context.

The largest configuration the authors fit has a 2-layer LSTM. They give the recurrent-state dimensions in each layer as 8192+1024, pairing the wider state with the narrower projection. Increasing the projection dimension expands the information that can pass through it, while also expanding parameter collections that use that dimension. The architectural question is therefore partly about where to place the extra capacity. More internal memory and wider representations at vocabulary-facing interfaces have different consequences for the total size.

The authors train the recurrent networks with truncated back-propagation through time. The forward computation runs for 20 steps in an unrolled segment, and gradients are propagated through that segment to update the parameters. The LSTM states are carried forward across segments. The unroll length governs the span used for an update, while the carried state is the information available when the next segment starts. A carried state can contain information from earlier steps even though a particular gradient calculation is bounded. This distinction matters when interpreting the design as a way to handle long histories.

Build the input vector from a spelling

The character input uses the same basic architecture as the earlier work by Kim and colleagues, with greater convolutional capacity. The network receives encoded characters for the current word. A convolution applies the same learned feature detector at different positions. Max-pooling then picks the largest response for each feature across the spelling. A detector can consequently contribute to the word representation wherever its strongest pattern occurs. Markers at the word boundaries give the network information it can use to distinguish a pattern at an edge from a pattern within a word.

The inherited design also uses a 2-layer highway network to transform the pooled features. A highway layer can learn how much of a representation to pass through and how much to transform. The authors use 4096 convolutional features in their version and linearly map the resulting representation to a dimension compatible with the LSTM projections. Once the input vector has been computed, the main network can process it through the usual word-level recurrent steps. Learning the spelling function changes the parameters that generate the vector, while the sentence network still gets a single representation for the word at that position.

The implementation uses a fixed-length sequence of character identifiers for each word. The paper illustrates the treatment with the word cat, which receives word boundary markers and padding to fill the expected input length. Non-ASCII symbols are represented as sequences of bytes, and the character inventory used by the system has 256 entries. The authors report that a maximum training word length of 50 worked well on this task and that 32 was insufficient. Padding here belongs inside the representation of a word. Training streams, by contrast, move directly from the end of one sentence to the beginning of another to keep positions in the batch occupied.

The sharing is in the transformation rather than in a decision to treat two words as the same word. Different spellings can produce different vectors under the same set of learned features. If several words contain a recurring written pattern, evidence from their occurrences can help train the features that respond to it. This is a way to make information about written form available to the predictor without explicitly supplying a morphological analysis. The representation can also be computed for a spelling with no individual vector in a learned word table.

Score a candidate and normalize its probability

The ordinary output layer gives the candidate word a score through an inner product.

z_w = hᵀ e_w

The symbol w denotes the candidate, z_w is its score or logit, h is the context vector from the recurrent network, and e_w is the candidate’s output vector. The superscript ᵀ means transpose. The resulting inner product pairs the corresponding coordinates of the vectors, multiplies them, and adds the products. A candidate’s output vector has a different role from its input vector. The output vector is used to score the word as a continuation. The input vector is used when the word has already been read.

The softmax transforms these scores into a distribution.

p(w) = exp(z_w) / ∑_{v ∈ V} exp(z_v)

Here, p(w) is the conditional probability of candidate w in the current context, and exp is the exponential function. V is the output vocabulary, v ranges over its entries, and z_v is the logit for entry v. The sum ∑ covers every v that belongs to V, as indicated by ∈. This denominator is the partition function. Dividing by it sets the total probability of the candidates to one.

The normalizing term exposes the training bottleneck. Once the observation is known, it would be easy to compute its inner product alone. To compute its exact probability, the system also needs scores for the alternatives, because those affect how much probability is available to the observed word. A dense implementation can handle many contexts together through matrix multiplication, but the number of scores remains large. Increasing the vocabulary also increases the learned parameter count when each candidate has its own output vector. The authors use sampling to address the cost of computing scores during training and investigate character composition separately to address the cost of specifying the vectors.

Learn from sampled alternatives

Noise Contrastive Estimation, or NCE, begins with a binary discrimination task. Some examples are genuine target words, and others are drawn from a noise distribution. Given a word, the classifier tries to infer its source. The authors first describe the ideal decision when both source distributions are known, suppressing the history in the notation.

p(Y = true | w) = p_d(w) / (p_d(w) + k p_n(w))

The binary random variable Y takes the value true when w comes from the data. The function p_d is the data distribution, and p_n is the distribution used to draw noise words. The number of noise draws per genuine target is k. The denominator combines the data contribution with the noise contribution weighted by that sampling ratio. Thus a word that appears frequently under the noise distribution supplies weaker evidence of a genuine draw than its data frequency alone would suggest.

The learned version uses a score produced by the network and a correction for the rate at which the sampling process supplies that word.

p_θ(Y = true | w) = σ(s_θ(w, h) − log(k p_n(w)))

Here, θ denotes the learned parameters and p_θ is the classifier they determine. The function s_θ produces a logit for word w and context h. The logistic function σ converts a real-valued score to a binary probability. log is the logarithm, and the subtracted quantity accounts for the noise distribution p_n and the number k of negative draws per positive word. The left side follows the paper’s abbreviated conditioning notation. The context used by the scoring function is still present on the right.

The authors present importance sampling through a related task. A group contains an observed target and noise draws, and the classifier must identify the position occupied by the target.

W = {w₁, …, w_{k+1}}

Here, W is the group of candidates, w₁ through w_{k+1} are its entries, and k is the number drawn from noise. The +1 accounts for the data draw. Position is part of the classification problem, even though the candidates are written with braces. The authors can conventionally put the training target first. The task still compares the possible locations of a data draw when deriving the classifier.

p(Y = j | W) ∝ⱼ p_d(wⱼ) / p_n(wⱼ)

In this expression, Y identifies the position of the genuine sample, j is a candidate position, and wⱼ is the word found there. The symbol ∝ⱼ means proportional as j varies over the candidates. The numerator uses the data probability p_d of the candidate, and the denominator uses its noise probability p_n. To see the origin of the ratio, suppose a particular position holds the genuine word. All the other positions then contribute noise probabilities. When comparing this hypothesis with the other possible positions, factors common to all hypotheses can be canceled. The evidence left for each position is the relative likelihood of its word under the data and noise sources.

p(Y = j | W) = softmaxⱼ(s_θ(wⱼ, h) − log p_n(wⱼ))

Here, softmaxⱼ exponentiates the corrected scores and normalizes across positions j in W. The notation s_θ(wⱼ, h) gives the learned score of the candidate at position j in context h. The logarithm of its noise probability is subtracted before this normalization. Y again denotes the genuine position. Training increases the log probability the classifier assigns to the known position of the target. Every sampled score affects the denominator of that probability, so changing the score of one candidate affects the calculated chances of the others.

The intended prediction distribution after either of these training procedures uses the learned scores across the vocabulary.

p′(w) = softmax(s_θ(w, h))

The symbol p′ denotes the estimated next-word distribution for context h. The softmax here is over the output vocabulary, and s_θ(w, h) is the network’s score for candidate w. The training correction for the chance of drawing a noise word served the discrimination task. It is the vocabulary-wide normalization of the underlying scores that the paper uses as its approximation to the data distribution.

This derivation shows why the choice of sampled objective can matter even when both methods process a true target alongside noise. NCE applies a binary loss to each genuine-or-noise decision. The importance-sampling formulation uses a common competition, with a multiclass loss that ties the updates to the candidate logits. The authors suggest that this coupling helps explain why importance sampling works better in their comparison. The scale benefit comes from doing the training work on a much smaller candidate group than the vocabulary.

Share the sampled work across training positions

The training batch has 128 word streams and uses an unroll of 20 steps. The authors report 2560 targets in the batch. They draw 8192 noise words per step and share the draw across those targets. Each position still has its own context and its own true word. Reusing the noise candidates gives the implementation a common collection of vectors to score against the different contexts, making it possible to use large matrix operations efficiently.

In the paper’s calculation for context width 1024, the dimension representing the sampled candidates and the positive term is written as 8192+1. The corresponding dimension for exhaustive output scoring is 793,471. The authors estimate about 100-fold less computation in that comparison. This estimate concerns the scoring operation described by those dimensions. Training still has to compute recurrent states, form the input representations, and carry out parameter updates. The full vocabulary also remains relevant when evaluating normalized predictions.

Experiments use TensorFlow except for some older predictors included in the ensemble. AdaGrad is the optimizer, with a learning rate of 0.2 in nearly all runs. AdaGrad adapts updates using the history of gradients. The authors initialize the forget-gate bias to 1.0 and clip gradients for the LSTM weights so that their norm is bounded by 1.0. Clipping limits the size of a gradient when it would otherwise exceed the stated threshold. Dropout randomly masks activations during training on the connections before and after the LSTM layers, following earlier work on recurrent network regularization. The usual distributed setup uses 32 GPU workers and asynchronous updates, so workers can send updates without waiting for every other worker to finish its current computation.

Generate candidate vectors with CNN Softmax

The conventional output matrix stores a full vector for each word. CNN Softmax replaces those independent vectors with the outputs of a character network.

e_w = CNN(chars_w)

Here, e_w is the output vector for candidate word w, chars_w is the encoded spelling of that word, and CNN denotes the learned convolutional transformation. The output character network uses the same architecture as the input character network with its own parameters. The input transformation learns representations suitable for processing an observed word. The output transformation learns representations suitable for matching candidates with a context.

A sampled loss directly supplies gradients for the observed and sampled logits. With separate output vectors, an update to one word’s vector leaves the other rows of the output matrix alone. With CNN Softmax, the same character function produces vectors for many words. Updating it using the sampled words can also move vectors for candidates that did not enter that training calculation. The authors found this interaction strong enough to require a much lower learning rate.

A second difficulty concerns the predictions themselves. A shared spelling function may give similar outputs for words whose forms resemble one another even when different contexts call for them. The authors add a learned adjustment for each word to give the scorer more room to distinguish such cases.

z_w = hᵀ CNN(chars_w) + hᵀ M corr_w

The logit z_w belongs to word w in context h. The first inner product scores the vector produced by CNN from chars_w. The vector corr_w is a low-dimensional correction specific to that word. The learned matrix M maps the correction to the width of h before the second inner product. The transpose symbol ᵀ has its usual meaning, and the plus sign combines the contributions into the word’s final score. A 128-dimensional correction is one of the settings evaluated.

For inference on a known vocabulary, the generated vectors can be computed once and stored. This avoids running the convolution over every candidate whenever the context changes. The computation that remains is the comparison between the new context and the candidate vectors, followed by the normalization needed for a word probability. The compact set of parameters that specifies the shared function and the storage for a prepared table of its output vectors are separate resource costs.

Generate the next word as a sequence of characters

The paper’s other output design connects a small character LSTM to the context from the word-level LSTM. It makes successive predictions over the character inventory. Each such decision participates in assigning probability to the target spelling. The sentence network has already processed the history in word steps, so the character component can concentrate on the next word.

The authors first train the ordinary word-level predictor until convergence. They freeze its weights and fit the character output in place of the original word softmax. The new component consequently receives a context learned through the conventional prediction task. Its parameters have to learn how to translate that context into a spelling without altering the context network. Earlier work on sequence generation with recurrent networks supplies part of the background for this alternative.

Character generation avoids scoring a list of word candidates for each normal prediction step. The size of the inventory for each local choice depends on the characters, while the number of choices needed to produce a word depends on its spelling. This factorization also allows probability to go to strings outside the benchmark dictionary. The authors therefore evaluate both the original character-based probabilities and an adjustment that looks across the benchmark words. The latter requires expensive vocabulary-wide work for the comparison, even though the underlying character predictor can generate words without that procedure.

Convert held-out probabilities into perplexity

The experiments summarize predictive performance through perplexity.

PPL = exp(−(1/N) ∑ᵢ ln p(wᵢ | historyᵢ))

PPL is perplexity and N is the number of evaluated word positions. The sum ∑ extends over those positions, indexed by i. The term p(wᵢ | historyᵢ) is the probability assigned to the observed word wᵢ given its history at that position. The function ln is the natural logarithm, and exp is the exponential function. The minus sign makes the average a negative log probability, and the factor 1/N gives each scored position equal weight in that average. The paper includes the end-of-sentence symbol among the scored positions.

Taking logs allows low probabilities on actual words to affect the average directly. The exponential expresses the result on the usual perplexity scale, where lower is better. The metric uses the probability of the observed continuation, so a change can matter even when it leaves the system’s most probable candidate unchanged. This makes perplexity suitable for comparing the quality of probability assignments from both individual predictors and combined distributions.

Experiments and results

What the benchmark presents to the predictor

The detailed dataset description gives about 0.8B words and a vocabulary of 793,471 entries, including sentence boundary markers. Sentences are shuffled and duplicates removed. The benchmark maps words outside its vocabulary to a special UNK symbol, and the paper puts their share at roughly 0.3%. The authors use the benchmark as supplied for word prediction. Character inputs and targets receive the boundary and padding treatment needed by their respective components.

The sentences enter training as independent streams of words batched together. When a sentence ends in one stream, the stream immediately takes up another. This keeps the batch busy without inserting padding positions between sentences. The sentence-ending symbol remains a real target for evaluation. Predicting it contributes to the same benchmark perplexity as predicting any other observed token. The shuffled order makes the task a test on a large collection of sentences whose original document relationships have been removed.

The earlier best individual and ensemble scores give the authors their main historical comparisons on the same benchmark. They also compare directly with a Kneser–Ney count-based predictor, called KN-5, both on overall perplexity and in an analysis by frequency. These reference points answer different questions. The previous best individual score measures progress against earlier systems of any kind in that category. The KN-5 comparison addresses what the recurrent approach gains over a strong estimate based on local counts.

The strongest individual predictor

The highest-performing individual configuration is a large projected LSTM with dropout, importance-sampled training, a convolutional character input, and a conventional whole-word output. It reaches 30.0 test perplexity on the One Billion Word Benchmark. The earlier best reported individual result on that benchmark is 51.3. The authors report that the new system requires a factor of 20 fewer parameters than that earlier comparison system.

Individual predictors on the One Billion Word Benchmark, test perplexity

The projected LSTM with a character input surpasses the previous individual benchmark result.

Individual predictors on the One Billion Word Benchmark, test perplexityPrevious best individual predictor: 51.3Previous best individual predictor51.3Projected LSTM with character input (this paper): 30.0Projected LSTM with character input(this paper)30.0
The numbers
System or settingperplexity
Previous best individual predictor51.3
Projected LSTM with character input (this paper)30.0

The size breakdown explains how the predictor can be substantially smaller than the earlier comparison system and still require substantial storage. The authors report 1.04B learned parameters for their best individual system. Its character input uses 72M weights, against 820M for the corresponding ordinary word-embedding input. They describe that input-layer saving as a factor of 11. The linear layer preceding the conventional softmax, on the output side, still uses 820M weights. The identical figures in the two comparisons refer to different tables. One describes the ordinary input that character composition replaces, and the other describes the conventional output that the best configuration retains.

The character input introduces extra computation during training. Its vector changes as the shared function learns, so using the function entails work beyond reading an entry in a table. The authors report a slight slowdown and point out that precomputing the vectors for inference avoids repeatedly paying that cost. Their input results are thus evidence about sharing learned parameters while maintaining prediction quality, with a separate consequence for the time spent building vectors during training.

The smaller output alternatives

In one experiment, the authors freeze a converged word-level LSTM and fit a CNN Softmax output to it. Without fine-tuning the frozen network, the replacement reaches 39.8 test perplexity on the benchmark with 293M weights in the resulting predictor. The correction adds a way to adjust candidates individually. Adding 100M weights through the 128-dimensional bottleneck brings benchmark test perplexity to 35.8. These scores show the cost of reducing the output parameter count in the reported settings and how much some explicit lexical capacity can help.

The character-generating alternative uses a single output LSTM layer with 1024 units. Its benchmark test perplexity is 49.0. Because it can place probability on spellings outside the dictionary, the authors also compute a vocabulary-restricted comparison through an expensive marginalization. Test perplexity with that adjustment is 47.9. A conventional word softmax automatically assigns its full probability mass within the vocabulary, so the restricted calculation helps clarify how much of the character predictor’s disadvantage is attributable to its broader set of possible outputs.

Output alternatives on the One Billion Word Benchmark, test perplexity

The word-specific correction improves CNN Softmax, which scores better than either evaluation of character generation.

Output alternatives on the One Billion Word Benchmark, test perplexityCharacter LSTM output: 49.0Character LSTM output49.0Character LSTM with vocabulary restriction: 47.9Character LSTM with vocabularyrestriction47.9CNN Softmax: 39.8CNN Softmax39.8CNN Softmax with word-specific correction (this paper): 35.8CNN Softmax with word-specificcorrection (this paper)35.8
The numbers
System or settingperplexity
Character LSTM output49.0
Character LSTM with vocabulary restriction47.9
CNN Softmax39.8
CNN Softmax with word-specific correction (this paper)35.8

The corrected output is the strongest of the compact output alternatives shown in the chart. Across the full set of individual experiments, the best perplexity belongs to the system with a conventional output. This distinction is important when reading the paper’s architectural claims. Character composition is part of the best configuration at the input. At the output it produces a smaller configuration whose merits depend on how much accuracy a given parameter budget needs to retain.

Combining distributions

The ensemble averages predictions from several of the authors’ stronger networks. Probability averaging allows a member that strongly supports the observed word to contribute even when another member is less certain. The resulting test perplexity reaches 23.7 on the One Billion Word Benchmark, compared with 41.0 for the previous ensemble result. The authors describe this as an improvement of more than 40%.

Combined predictors on the One Billion Word Benchmark, test perplexity

The paper’s ensemble improves on the earlier result for combined predictions.

Combined predictors on the One Billion Word Benchmark, test perplexityPrevious best ensemble: 41.0Previous best ensemble41.0Ensemble reported by the authors (this paper): 23.7Ensemble reported by the authors (thispaper)23.7
The numbers
System or settingperplexity
Previous best ensemble41.0
Ensemble reported by the authors (this paper)23.7

KN-5 scores 67.6 perplexity on its own in the benchmark comparison. The authors report an ensemble comparison in which including the best n-gram predictor reduces perplexity by 1.2 point. A weaker individual distribution can still be helpful in combination if some of its strengths occur at positions where the other predictors are less accurate. The size of the reported benefit suggests that the count-based component has some complementary information. The individual LSTM result already establishes that success on this benchmark can rest primarily on recurrent prediction.

What the training schedule costs

The hardware reported for the training-speed experiments is 32 Tesla K40 GPUs. A smaller LSTM with 2048 units and a projection of 512 beats the previous benchmark result after 2 hours of training. It gets below 45 perplexity in less than 10 hours. For that smaller architecture, the paper describes an epoch in the comparison of sampled objectives as taking about 40 minutes, with the first epoch slower while workers are brought in gradually.

The strongest configuration follows a considerably longer schedule. The authors report about 5 days to reach 35 perplexity and 10 days to reach 32.5. The best result is obtained after 3 weeks. These figures are training milestones for the specified distributed setup. A system can therefore be competitive with earlier results relatively early in training while taking much longer to reach the quality that justifies its final benchmark ranking. The smaller configuration gives a sense of the attainable quality under a shorter search or training run, and the largest one shows the result of pursuing the lowest held-out perplexity the authors achieve.

Where the gains are visible

The authors group held-out words by frequency into 25 buckets of equal size. They plot the difference in assigned log probability between the best individual LSTM and KN-5. The difference favors the LSTM in every bucket, and the advantage is especially strong among rare words. This analysis gives a more specific answer than the overall perplexity: the improvement extends to groups for which individual word occurrences are comparatively scarce. The plot compares completed systems, including all the differences between their representations and estimation procedures.

A qualitative check examines continuations sampled from an ensemble described as having about 26 perplexity. The authors remove short sentences and sentences they deem politically inappropriate before presenting the examples. The examples include a plausible brief news update, some forms of reporting that sound conventional, and an awkward immediate repetition of a modifier. The sample puts a visible form on the kinds of predictions a low perplexity can produce. It also shows that a sequence can sound locally convincing while containing a repetition or a dubious assertion.

What the ablations show

Larger internal states help within the explored range

The architecture comparisons vary recurrent-state size, projection width, input representation width, and the number of layers. The broad observation is that the largest networks the authors could fit in GPU memory performed best. They also report improvements when embedding and projection dimensions increase. Those increases consume additional parameters, and a larger projection is particularly consequential when the vocabulary-facing components use that same width. The projected design allows the study to allocate much of its growth to recurrent memory while still controlling the cost of the connections through which the memory is used.

A comparison between a plain recurrent network and an LSTM at comparable size puts the plain network about 5 perplexity points behind on the benchmark. This supports the authors’ decision to use gated memory. There is a difference between enlarging a network and changing the way its memory persists through successive inputs. The comparable-size result addresses the latter more directly than a comparison between the largest LSTM and a much smaller plain recurrent configuration would.

The paper describes an exploration of many settings and says that a full search would have been too time-consuming. The comparison establishes an empirical preference within the architectures they trained. Because several dimensions can interact, a result near the memory limit should be read as a guide to where the study found gains. It cannot allocate a fixed share of the headline improvement to depth, state size, or projection width by itself.

Dropout changes what happens late in training

The authors expected a large amount of data to make overfitting less central than on a small benchmark. They nevertheless observe it even with a single LSTM layer of 2048 units and a projection of 512. Given enough training, held-out performance deteriorates in that setting. A network can therefore have difficulty learning all the useful variation that the corpus contains and still gain training-set fit in ways that transfer poorly to held-out text. Those two pressures can be present in the same experiment.

Applying dropout around the recurrent layers mostly mitigates this deterioration. The authors say that with dropout they no longer need early stopping, although a discrepancy between train and test remains. They use 10% dropout for LSTM layers with 4096 units or fewer and find 25% more effective for larger layers. Perplexity on the training set may still be up to six points lower than on the test set. Their comparison makes regularization part of the explanation for why greater capacity helps. The larger networks can be trained long enough to benefit from their extra capacity while controlling some of the deterioration the unregularized runs exhibit.

The authors also try restricting the vocabulary to the 100,000 most frequent words. They observe a narrower discrepancy between training and test in that experiment and suggest that separately learned representations may grant rare words too much capacity for the evidence available about them. Vocabulary reduction also changes the prediction distinctions that the task asks the system to make. The experiment is consistent with the authors’ explanation about capacity allocation, while leaving several effects of the changed vocabulary intertwined.

The sampling objective affects progress through the corpus

To compare importance sampling with NCE, the authors use an LSTM with 2048 units and a 512-dimensional projection and track test perplexity after epochs of training. They report a faster improvement and a better eventual result with importance sampling. Holding the recurrent configuration fixed makes this comparison more informative about the loss than the overall benchmark ranking, where the strongest systems also differ in size and representation.

The analytical distinction gives a possible account of the observed behavior. When a set of alternatives competes under a common normalization, evidence in favor of the true candidate reshapes the probabilities computed for the other candidates. Separate binary judgments leave their objectives uncoupled at the logit level. The reported experiment shows that choosing between these formulations affects learning in the tested regime. Isolating the effect of coupling itself would require evidence beyond the comparison of the two complete objectives. The measured result concerns this architecture, the data it sees, and the sampling and training arrangement that accompanies the objectives.

Input sharing works at a different interface from output sharing

Replacing a table of input embeddings with the character CNN preserves the predictive quality sought by the authors and greatly reduces the learned input weights. The best individual result includes this replacement, which shows that the character representation can support a recurrent network at the strongest end of the explored range. The character function is trained on a wide range of words and can produce a vector even for an unfamiliar spelling. In their nearest-neighbor inspection, the authors report that out-of-vocabulary forms frequently receive reasonable neighbors in the learned space. This is a qualitative check of the input representation’s behavior on examples beyond its learned word inventory.

At the output, the representation faces a more immediate test. It participates directly in the score that distinguishes candidate continuations, and under strong parameter sharing, a single update can affect many candidates. The pure CNN Softmax shows that useful word probabilities can be obtained with a much smaller learned representation. Its gap to the conventional output, together with the gain from a compact correction, shows the value of individually adjustable information in the candidate vectors. The correction makes structural sense in light of the authors’ observation about words whose spellings are close and meanings differ.

The correction experiment establishes a tradeoff at a specific bottleneck width. A broader set of widths might trace that tradeoff more fully, and the best choice can depend on the desired size. The reported evidence already separates two questions. Sharing alone provides a workable compact scorer. Some lexical degrees of freedom materially improve the predictions produced by that scorer. The experimental answer for the input remains compatible with this output result because the input passes through a contextual network before the final comparison with candidates.

Vocabulary restriction accounts for only part of the character output gap

The unrestricted character output has to distribute probability among strings that include words outside the benchmark inventory. Its test score improves when the authors account for this in the vocabulary-restricted comparison. That improvement shows that the evaluation treatment of probability outside the dictionary matters. The substantial remaining gap indicates that the particular character generator is also weaker on the prediction distinctions that remain after restricting the vocabulary.

The frozen word LSTM is important to this result. The character output trains on a context representation originally learned to select whole words. Freezing it makes the replacement practicable and holds the existing context network steady during the comparison. It also means that the context cannot adapt to help the character generator with its own set of decisions. The experiment tells the reader how this output replacement performs under the reported procedure. It leaves open how a jointly optimized word and character system would behave.

The frequency comparison tests the whole system

Performance by frequency provides a check on an interpretation of the aggregate gain. A predictor could improve average perplexity chiefly by improving on words that occur often. Here the recurrent predictor also beats KN-5 in every frequency group examined, with especially strong performance on the rare groups. That result complements the vocabulary-size experiment. The latter suggests that freely learned parameters for rare words can contribute to a train–test discrepancy. The frequency comparison shows that the best architecture as a whole handles those words well relative to the count-based reference.

The comparison involves changes in how history is used, how distributions are fit, and how words entering the network are represented. The frequency plot can locate where the advantage occurs, but it cannot assign the advantage to one of those changes. In particular, the character input and the recurrent context both provide plausible forms of useful information for less frequent words. The plot measures their combined system against KN-5.

Limitations

Limits the authors identify

The search over architectures is constrained by time and memory. The authors report that a complete trial of the combinations they considered would have been extremely time-consuming, and their maximum recurrent size was set by what they could fit on a GPU. The trend towards better results at larger sizes is a finding over that search range. It leaves unanswered how long the trend would hold, which configuration would be best at other sizes, and how far different allocations of the same parameter budget could go.

Importance sampling changes the affordability of training a word softmax. For the probability calculation used at inference, the paper still requires normalization across the vocabulary. Precomputing output representations helps with the cost of building vectors from characters, while leaving that normalization in place. A large reduction in the sampled training calculation should therefore be interpreted in terms of that calculation. It does not give the overall speed of evaluation or generation.

The authors identify two practical constraints of CNN Softmax. Its shared parameters make updates interact across words strongly enough to call for a smaller learning rate. Its spelling-based vectors also have limited flexibility when similar written forms need different predictions. The word correction helps, at the cost of introducing individual parameters again. The general description of CNN Softmax as a compact replacement should be read alongside the measured configurations. Even the corrected version has higher benchmark perplexity than the strongest conventional output. The character generator is likewise presented as a promising computational alternative whose reported predictions remain weaker.

The qualitative generation exercise comes with visible errors and explicit filtering. The authors disclose that some outputs were removed before examples were shown. The selection can illustrate forms of success and failure among the sentences readers see. The paper gives no error rate for an unrestricted sample, and the example ensemble’s approximate perplexity describes a different stated setting from the headline ensemble score.

Limits visible in the design

The experiments concern one benchmark with a particular vocabulary and sentence arrangement. The sentences are shuffled, so the context available to the experiment does not reproduce their original document order. This is consequential for a paper motivated partly by long dependencies. A gated recurrent state may preserve earlier information, and the network has access to context within a sentence. Evaluating perplexity on shuffled sentences offers little direct evidence about using information across an intact document. Even within sentences, a single aggregate score does not identify which predictions required distant context. A comparison aimed at specific dependencies would ask a different question.

The distinction between forming a representation and assigning a probability also limits the open-vocabulary claims. A character input can form a vector for a previously unseen spelling. The benchmark still maps words outside its inventory to UNK. A CNN output can compute a score for another spelling, but a normalized word probability depends on the candidates included in the denominator. A character generator can place mass on strings beyond that inventory, which is precisely why the comparison with fixed-vocabulary outputs requires care. These are different ways of handling unfamiliar words, and the reported benchmark scores evaluate them under specific conventions.

The frequency analysis gives grounds for the authors’ interest in languages or datasets with more rare forms. All of its comparisons come from the benchmark used in the paper. There is no separate multilingual test establishing where character sharing would help most or whether the same settings would suit other writing systems. Representing non-ASCII symbols as bytes is an implementation choice in these experiments. The ability to encode such symbols supplies neither a separate language evaluation nor a measured result for that language.

Perplexity establishes how well a distribution predicts held-out words. The introduction discusses downstream uses, but the experiments here do not measure translation quality, recognition errors, or summarization performance. Likewise, a plausible sampled sentence can contain an unsupported claim. A prediction task can benefit from learning grammatical and factual regularities, yet the metric on its own cannot identify which regularities were learned or assess the truth of an individual generated statement. The paper’s motivation about language understanding is broader than the claim supported by its main experiment.

The resource comparisons also need their stated conditions. The strongest individual score comes from prolonged training in the described GPU setup, and combining predictors requires obtaining their distributions before averaging them. Parameter count describes how many learned values specify a network. It does not capture the cost of running character computations during training, storing precomputed representations at inference, or evaluating several networks for an ensemble. The work documents substantial gains in perplexity and in specific parameter comparisons, while leaving deployment costs dependent on the configuration and its use.

Finally, the compact-output replacement procedures provide evidence for a particular way to reuse a trained recurrent core. The context vectors were learned under the original training setup and were held fixed during the indicated replacement experiments. This is a meaningful practical comparison because it measures how much the alternative output can do with an existing network. Its result leaves joint adaptation and alternative training procedures open. The authors’ announced release of weights and recipes is intended to make further investigation possible.

What came after

Architecture and sequence prediction

The later papers that cite this study put several of its questions in new settings. Their titles identify the research directions, and the citation establishes the connection to the earlier work. The specific line of continuity is clearest when the later subject is placed alongside the question the LSTM experiments answered.

Language Modeling with Gated Convolutional Networks places gating in a convolutional language predictor. In Exploring the Limits of Language Modeling, the convolution at the input runs over a word’s spelling, and the gated LSTM carries the sentence history. The later work’s subject brings convolution to the sequence prediction problem itself. That gives a different setting for thinking about which computation should combine the evidence from preceding words. Attention Is All You Need puts attention at the center of the architectural question. The recurrent experiments provide an earlier reference for the quality achievable when a learned state carries information forward from word to word.

Generating Long Sequences with Sparse Transformers takes long-sequence generation as its subject and names sparsity as part of the architectural approach. The earlier paper tackles the resource demands of processing context by projecting the recurrent state and makes a separate approximation in output training. The later subject makes the length of generated sequences explicit. This is a useful connection because the costs of handling a sequence and of scoring a vocabulary can arise in different places, even when both are encountered in the same prediction system.

From predicting words to representing them

Deep Contextualized Word Representations puts the representation of a word in context in the foreground. The benchmark study clarifies two ingredients relevant to that subject. A spelling can have an input representation computed by a shared function, and its occurrence in a sentence can contribute to a context-dependent recurrent state. The earlier experiments assess those ingredients by the word probabilities they help produce. The later topic asks about the contextual representation itself.

Semi-supervised Sequence Tagging with Bidirectional Language Models puts language prediction in the service of sequence tagging and explicitly treats both directions of context. This connects with the earlier paper’s motivation that prediction can support other language tasks. It also changes the role of sequence information. The word predictor evaluated in the earlier paper conditions on the preceding history, whereas the later title identifies bidirectionality in a tagging setting. Contextual String Embeddings for Sequence Labeling identifies a related direction through its combination of string representations, context, and labels. The earlier result established that spelling can supply compact inputs for prediction at scale. The later subject brings representations of written sequences to a task with a label as the desired output.

New questions about scale and evaluation

Deep Learning Scaling is Predictable, Empirically makes the predictability of scaling an empirical subject. The earlier work reports what happens when recurrent capacity increases and provides training milestones for configurations of different sizes. Its architectural search was constrained by time and available memory. The later research question is broader: it concerns whether empirical outcomes across scales can themselves be predicted. The distinction matters because finding better results with the largest configuration tried and characterizing a predictable relationship across configurations require different evidence.

Assessing LSTMs on Syntax-Sensitive Dependencies connects with the paper’s claims about the value of learned history through a more specific evaluation question. The benchmark study asks how much probability a recurrent predictor gives to observed words across a large body of text. A syntax-sensitive assessment asks where the ability to use earlier words shows up in particular grammatical dependencies. That direction addresses a question the benchmark score leaves open: which aspects of sentence structure a successful predictor has learned to use when making individual decisions.

Cite

Cite as Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer and Yonghui Wu. 2016. Exploring the Limits of Language Modeling. arXiv:1602.02410.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1602.02410 · arXiv 1602.02410

@misc{jozefowicz2016exploring,
  title = {{Exploring the Limits of Language Modeling}},
  author = {Rafal Jozefowicz, Oriol Vinyals, Mike Schuster, Noam Shazeer and Yonghui Wu},
  year = {2016},
  doi = {10.48550/arxiv.1602.02410},
  eprint = {1602.02410},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1602.02410}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/jozefowicz-2016-exploring-limits-language-modeling/

References

53 references, from the paper's own bibliography.

  1. Abadi, Martín, Agarwal, Ashish, Barham, Paul, Brevdo, Eugene, Chen, Zhifeng, Citro, Craig, Corrado, Greg S., Davis, Andy, Dean, Jeffrey, Devin, Matthieu, Ghemawat, Sanjay, Goodfellow, Ian, Harp, Andrew, Irving, Geoffrey, Isard, Michael, Jia, Yangqing, Jozefowicz, Rafal, Kaiser, Lukasz, Kudlur, Manjunath, Levenberg, Josh, Mané, Dan, Monga, Rajat, Moore, Sherry, Murray, Derek, Olah, Chris, Schuster, Mike, Shlens, Jonathon, Steiner, Benoit, Sutskever, Ilya, Talwar, Kunal, Tucker, Paul, Vanhoucke, Vincent, Vasudevan, Vijay, Viégas, Fernanda, Vinyals, Oriol, Warden, Pete, Wattenberg, Martin, Wicke, Martin, Yu, Yuan, and Zheng, Xiaoqiang. TensorFlow: Large-scale machine learning on heterogeneous systems, 2015. URL http://tensorflow.org/. Software available from tensorflow.org. OpenAlex ↗ · Scholar ↗
  2. Arisoy, Ebru, Sainath, Tara N, Kingsbury, Brian, and Ramabhadran, Bhuvana. Deep neural network language models. In Proceedings of the NAACL-HLT 2012 Workshop: Will We Ever Really Replace the N-gram Model? On the Future of Language Modeling for HLT, pp. 20–28. Association for Computational Linguistics, 2012. OpenAlex ↗ · Scholar ↗
  3. Ballesteros, Miguel, Dyer, Chris, and Smith, Noah A. Improved transition-based parsing by modeling characters instead of words with lstms. arXiv preprint arXiv:1508.00657, 2015. our card
  4. Bengio, Yoshua and Senécal, Jean-Sébastien. Adaptive importance sampling to accelerate training of a neural probabilistic language model. Neural Networks, IEEE Transactions on, 190 (4):0 713–722, 2008. our card
  5. Bengio, Yoshua, Senécal, Jean-Sébastien, et al. Quick training of probabilistic neural nets by importance sampling. In AISTATS, 2003. OpenAlex ↗ · Scholar ↗
  6. Bengio, Yoshua, Schwenk, Holger, Senécal, Jean-Sébastien, Morin, Fréderic, and Gauvain, Jean-Luc. Neural probabilistic language models. In Innovations in Machine Learning, pp. 137–186. Springer, 2006. OpenAlex ↗ · Scholar ↗
  7. Chelba, Ciprian, Mikolov, Tomas, Schuster, Mike, Ge, Qi, Brants, Thorsten, Koehn, Phillipp, and Robinson, Tony. One billion word benchmark for measuring progress in statistical language modeling. arXiv preprint arXiv:1312.3005, 2013. our card
  8. Cho, Kyunghyun, Van Merriënboer, Bart, Gulcehre, Caglar, Bahdanau, Dzmitry, Bougares, Fethi, Schwenk, Holger, and Bengio, Yoshua. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. our card
  9. Deng, Jia, Dong, Wei, Socher, Richard, Li, Li-Jia, Li, Kai, and Fei-Fei, Li. Imagenet: A large-scale hierarchical image database. In Computer Vision and Pattern Recognition, 2009. CVPR 2009. IEEE Conference on, pp. 248–255. IEEE, 2009. OpenAlex ↗ · Scholar ↗
  10. Filippova, Katja, Alfonseca, Enrique, Colmenares, Carlos A, Kaiser, Lukasz, and Vinyals, Oriol. Sentence compression by deletion with lstms. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 360–368, 2015. our card
  11. Gers, Felix A, Schmidhuber, Jürgen, and Cummins, Fred. Learning to forget: Continual prediction with lstm. Neural computation, 120 (10):0 2451–2471, 2000. OpenAlex ↗ · Scholar ↗
  12. Gillick, Dan, Brunk, Cliff, Vinyals, Oriol, and Subramanya, Amarnag. Multilingual language processing from bytes. arXiv preprint arXiv:1512.00103, 2015. our card
  13. Graves, Alex. Generating sequences with recurrent neural networks. arXiv preprint arXiv:1308.0850, 2013. our card
  14. Graves, Alex and Schmidhuber, Jürgen. Framewise phoneme classification with bidirectional lstm and other neural network architectures. Neural Networks, 180 (5):0 602–610, 2005. OpenAlex ↗ · Scholar ↗
  15. Gutmann, Michael and Hyvärinen, Aapo. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In International Conference on Artificial Intelligence and Statistics, pp. 297–304, 2010. OpenAlex ↗ · Scholar ↗
  16. Hochreiter, Sepp and Schmidhuber, Jürgen. Long short-term memory. Neural computation, 90 (8):0 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
  17. Ji, Shihao, Vishwanathan, S. V. N., Satish, Nadathur, Anderson, Michael J., and Dubey, Pradeep. Blackout: Speeding up recurrent neural network language models with very large vocabularies. CoRR, abs/1511.06909, 2015a. URL http://arxiv.org/abs/1511.06909. OpenAlex ↗ · Scholar ↗
  18. Ji, Yangfeng, Cohn, Trevor, Kong, Lingpeng, Dyer, Chris, and Eisenstein, Jacob. Document context language models. arXiv preprint arXiv:1511.03962, 2015b. OpenAlex ↗ · Scholar ↗
  19. Jozefowicz, Rafal, Zaremba, Wojciech, and Sutskever, Ilya. An empirical exploration of recurrent network architectures. In Proceedings of the 32nd International Conference on Machine Learning (ICML-15), pp. 2342–2350, 2015. OpenAlex ↗ · Scholar ↗
  20. Kalchbrenner, Nal, Grefenstette, Edward, and Blunsom, Phil. A convolutional neural network for modelling sentences. arXiv preprint arXiv:1404.2188, 2014. our card
  21. Kim, Yoon, Jernite, Yacine, Sontag, David, and Rush, Alexander M. Character-aware neural language models. arXiv preprint arXiv:1508.06615, 2015. our card
  22. Kneser, Reinhard and Ney, Hermann. Improved backing-off for m-gram language modeling. In Acoustics, Speech, and Signal Processing, 1995. ICASSP-95., 1995 International Conference on, volume 1, pp. 181–184. IEEE, 1995. OpenAlex ↗ · Scholar ↗
  23. Krizhevsky, Alex, Sutskever, Ilya, and Hinton, Geoffrey E. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pp. 1097–1105, 2012. our card
  24. Le Cun, B Boser, Denker, John S, Henderson, D, Howard, Richard E, Hubbard, W, and Jackel, Lawrence D. Handwritten digit recognition with a back-propagation network. In Advances in neural information processing systems. Citeseer, 1990. OpenAlex ↗ · Scholar ↗
  25. Ling, Wang, Luís, Tiago, Marujo, Luís, Astudillo, Ramón Fernandez, Amir, Silvio, Dyer, Chris, Black, Alan W, and Trancoso, Isabel. Finding function in form: Compositional character models for open vocabulary word representation. arXiv preprint arXiv:1508.02096, 2015. our card
  26. Luong, Minh-Thang, Sutskever, Ilya, Le, Quoc V, Vinyals, Oriol, and Zaremba, Wojciech. Addressing the rare word problem in neural machine translation. arXiv preprint arXiv:1410.8206, 2014. our card
  27. Marcus, Mitchell P, Marcinkiewicz, Mary Ann, and Santorini, Beatrice. Building a large annotated corpus of english: The penn treebank. Computational linguistics, 190 (2):0 313–330, 1993. our card
  28. Mikolov, Tomáš. Statistical language models based on neural networks. Presentation at Google, Mountain View, 2nd April, 2012. OpenAlex ↗ · Scholar ↗
  29. Mikolov, Tomas and Zweig, Geoffrey. Context dependent recurrent neural network language model. In SLT, pp. 234–239, 2012. OpenAlex ↗ · Scholar ↗
  30. Mikolov, Tomas, Karafiát, Martin, Burget, Lukas, Cernockỳ, Jan, and Khudanpur, Sanjeev. Recurrent neural network based language model. In INTERSPEECH, volume 2, pp. 3, 2010. OpenAlex ↗ · Scholar ↗
  31. Mikolov, Tomas, Deoras, Anoop, Kombrink, Stefan, Burget, Lukas, and Cernockỳ, Jan. Empirical evaluation and combination of advanced language modeling techniques. In INTERSPEECH, number s 1, pp. 605–608, 2011. OpenAlex ↗ · Scholar ↗
  32. Mnih, Andriy and Hinton, Geoffrey E. A scalable hierarchical distributed language model. In Advances in neural information processing systems, pp. 1081–1088, 2009. OpenAlex ↗ · Scholar ↗
  33. Mnih, Andriy and Kavukcuoglu, Koray. Learning word embeddings efficiently with noise-contrastive estimation. In Advances in Neural Information Processing Systems, pp. 2265–2273, 2013. OpenAlex ↗ · Scholar ↗
  34. Morin, Frederic and Bengio, Yoshua. Hierarchical probabilistic neural network language model. In Aistats, volume 5, pp. 246–252. Citeseer, 2005. OpenAlex ↗ · Scholar ↗
  35. Pascanu, Razvan, Mikolov, Tomas, and Bengio, Yoshua. On the difficulty of training recurrent neural networks. arXiv preprint arXiv:1211.5063, 2012. OpenAlex ↗ · Scholar ↗
  36. Rush, Alexander M, Chopra, Sumit, and Weston, Jason. A neural attention model for abstractive sentence summarization. arXiv preprint arXiv:1509.00685, 2015. our card
  37. Sak, Hasim, Senior, Andrew W, and Beaufays, Françoise. Long short-term memory recurrent neural network architectures for large scale acoustic modeling. In INTERSPEECH, pp. 338–342, 2014. OpenAlex ↗ · Scholar ↗
  38. Schuster, Mike and Paliwal, Kuldip K. Bidirectional recurrent neural networks. Signal Processing, IEEE Transactions on, 450 (11):0 2673–2681, 1997. OpenAlex ↗ · Scholar ↗
  39. Schwenk, Holger, Rousseau, Anthony, and Attik, Mohammed. Large, pruned or continuous space language models on a gpu for statistical machine translation. In Proceedings of the NAACL-HLT 2012 Workshop: Will We Ever Really Replace the N-gram Model? On the Future of Language Modeling for HLT, pp. 11–19. Association for Computational Linguistics, 2012. OpenAlex ↗ · Scholar ↗
  40. Serban, Iulian Vlad, Sordoni, Alessandro, Bengio, Yoshua, Courville, Aaron C., and Pineau, Joelle. Hierarchical neural network generative models for movie dialogues. CoRR, abs/1507.04808, 2015. URL http://arxiv.org/abs/1507.04808. OpenAlex ↗ · Scholar ↗
  41. Shazeer, Noam, Pelemans, Joris, and Chelba, Ciprian. Sparse non-negative matrix language modeling for skip-grams. Proceedings of Interspeech, pp. 1428–1432, 2015. OpenAlex ↗ · Scholar ↗
  42. Srivastava, Nitish. Improving neural networks with dropout. PhD thesis, University of Toronto, 2013. OpenAlex ↗ · Scholar ↗
  43. Srivastava, Nitish, Mansimov, Elman, and Salakhutdinov, Ruslan. Unsupervised learning of video representations using lstms. arXiv preprint arXiv:1502.04681, 2015a. OpenAlex ↗ · Scholar ↗
  44. Srivastava, Rupesh K, Greff, Klaus, and Schmidhuber, Jürgen. Training very deep networks. In Advances in Neural Information Processing Systems, pp. 2368–2376, 2015b. OpenAlex ↗ · Scholar ↗
  45. Sutskever, Ilya, Martens, James, and Hinton, Geoffrey E. Generating text with recurrent neural networks. In Proceedings of the 28th International Conference on Machine Learning (ICML-11), pp. 1017–1024, 2011. OpenAlex ↗ · Scholar ↗
  46. Sutskever, Ilya, Vinyals, Oriol, and Le, Quoc V. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pp. 3104–3112, 2014. our card
  47. Vaswani, Ashish, Zhao, Yinggong, Fossum, Victoria, and Chiang, David. Decoding with large-scale neural language models improves translation. Citeseer. our card
  48. Vincent, Pascal, de Brébisson, Alexandre, and Bouthillier, Xavier. Efficient exact gradient update for training deep networks with very large sparse targets. In Advances in Neural Information Processing Systems, pp. 1108–1116, 2015. OpenAlex ↗ · Scholar ↗
  49. Vinyals, Oriol and Le, Quoc. A neural conversational model. arXiv preprint arXiv:1506.05869, 2015. our card
  50. Wang, Tian and Cho, Kyunghyun. Larger-context language modelling. arXiv preprint arXiv:1511.03729, 2015. OpenAlex ↗ · Scholar ↗
  51. Williams, Ronald J and Peng, Jing. An efficient gradient-based algorithm for on-line training of recurrent network trajectories. Neural computation, 20 (4):0 490–501, 1990. OpenAlex ↗ · Scholar ↗
  52. Williams, Will, Prasad, Niranjani, Mrva, David, Ash, Tom, and Robinson, Tony. Scaling recurrent neural network language models. In Acoustics, Speech and Signal Processing (ICASSP), 2015 IEEE International Conference on, pp. 5391–5395. IEEE, 2015. OpenAlex ↗ · Scholar ↗
  53. Zaremba, Wojciech, Sutskever, Ilya, and Vinyals, Oriol. Recurrent neural network regularization. arXiv preprint arXiv:1409.2329, 2014. our card