Elamur Research

A Theoretically Grounded Application of Dropout in Recurrent Neural Networks

Paper · 2015 · Yarin Gal and Zoubin Ghahramani

Summary

A recurrent neural network reads a sequence by using its previous state to interpret the next input. This gives the network a way to carry information forward, but it also makes a familiar remedy for overfitting difficult to apply. Dropout temporarily switches off parts of a network during training. Earlier work generally kept dropout away from the recurrent connections, where introducing fresh noise at each step appeared to disrupt the signal that had to survive across the sequence. Gal and Ghahramani ask whether the trouble lies in applying dropout to those connections or in changing the dropout pattern as the network reads.

Their answer starts by treating the network’s weights as uncertain. The distribution they use to represent that uncertainty gives each row of a weight matrix a choice between a value close to zero and one close to a learned setting. A training pass draws a set of weights for an entire sequence. Consequently, the same parts of each weight matrix are masked throughout that pass, including the weights that act on the previous hidden state. Inputs and outputs can be regularised in the same way. For text, the authors also apply dropout to word embeddings, the vectors used to represent vocabulary entries. If an entry is masked, every occurrence of that word in the sequence receives a zero embedding.

On Penn Treebank, the best single LSTM reaches 73.4 test perplexity, a result the authors describe as the best they knew of for a single network on that benchmark. It uses separate gate masks and averages predictions from repeated passes with dropout active. The paper also asks networks to predict film review scores. The variational LSTM has the lowest test error in its comparison and avoids the overfitting seen with the alternatives. The variational GRU has the lowest test error at convergence in its comparison, although an unregularised GRU reaches a lower error if stopped early. Further experiments show that the effect of recurrent dropout depends on how the embedding layer is regularised.

The Bayesian derivation explains why a dropout mask should stay fixed while a network reads a sequence and why the recurrent weights can be included. It also gives a reason to keep weight decay alongside dropout and a way to average predictions over plausible weights. The authors demonstrate the prediction procedure in both tasks and leave evaluation of its uncertainty estimates for future work.

Deep dive: A Theoretically Grounded Application of Dropout in Recurrent Neural Networks

Why recurrent dropout reuses a mask across a sequence, how that rule follows from Bayesian inference, and what the paper’s experiments found. · about 39 minutes to read

The problem and its context

A network that has to remember what it just read

A recurrent neural network, or RNN, processes its input in order. When it reaches an item, such as a word, it combines information about that item with a hidden state produced at the preceding step. The hidden state is a vector built by the network. It can change as more input arrives and can convey information from earlier positions to later ones. The same update rule operates at successive positions. What changes is the input to the rule and the state the network has accumulated so far.

A network can use those states in different ways. A language model uses the preceding context to help assign probabilities to possible continuations. A network that predicts a film score can read a passage and make a single prediction from its final state. In either case, the influence of an early word can depend on a chain of updates. The paper situates recurrence in a wider set of uses, including language generation and sequence-to-sequence work in machine translation.

The ability to fit complicated sequence patterns creates a problem when the training set is small. A network may learn patterns that are specific to the examples it sees and then perform worse on new examples. The paper describes two ways researchers had dealt with this. Early stopping limits how far training can proceed once performance on held-out data ceases to improve. Using a smaller network reduces the capacity available in the first place. Neither determines which parts of a larger recurrent network can be regularised while leaving it enough capacity to do the task.

Dropout offers another way to limit how much a network can rely on any given feature. During training, masks suppress selected activations or connections in a forward pass. The retained parts must still produce a prediction that fits the target. Different masks expose the network to different restrictions over the course of training. Its use in ordinary deep networks supplied the context for trying the same idea with recurrence. Dropout

Where earlier approaches put the noise

A recurrent cell has connections that accept the current input, connections that accept the previous state, and connections that pass its result onward. Suppressing some information sent to an output layer has a local effect on that route. Suppressing part of the previous state as the next state is being computed can affect every later update. If the mask changes at every position, the contributions that the state can make to the next update keep changing with it. This was the basis for concern that recurrent noise could overwhelm the signal along a long sequence.

The studies the authors discuss reached related conclusions in different settings. Pachitariu and Sahani put noise in the decoding part of their language system after reasoning that recurrent noise would lead to instability. Bayer and colleagues studied a deterministic approximation to dropout and argued for limiting it to connections that did not themselves govern the state dynamics. In handwriting recognition, Pham and colleagues also favoured feed-forward connections after observing problems when dropout was used in the recurrent part. An exploratory study by Bluche and colleagues tried several placements around and within the recurrent unit and produced mixed results.

The main precedent for the experiments in this paper is Zaremba and colleagues’ work. It showed that dropout on non-recurrent connections could improve performance and make a larger LSTM practical. The state passed forward in time was left intact on its recurrent route, even when the state sent to another layer was subject to dropout. The distinction between those routes matters. A network can use dropout at the boundary of a recurrent layer while leaving the connections that govern its internal state transitions outside the dropout procedure. Recurrent Neural Network Regularization

The paper also describes a roughly parallel proposal by Moon and colleagues that did keep a mask fixed over time. Their scheme applied the mask to the LSTM’s internal memory cell. A long short-term memory unit, or LSTM, has both an internal cell and a hidden state that it exposes to other computations. Altering the cell directly changes what is carried along its memory path. Gal and Ghahramani instead derive a mask for the weights that govern how the network reads its current input and previous hidden state. A fixed mask can therefore describe distinct interventions even in the same architecture.

Why uncertainty about weights changes the question

In a conventional description of an RNN, training returns one setting of the weights. Each weight is then treated as known when the network makes predictions. In the Bayesian description used here, training data provide evidence about which settings are plausible. The aim is to represent that evidence as a distribution over weights. This separates uncertainty about the network’s parameters from the changes in its state as it moves through the input.

Previous work discussed by the authors had already shown how dropout in a neural network could be understood as an approximation to inference about its weights. In that account, dropping part of a layer can arise from drawing weights whose values are close to zero. The RNN adds a constraint to that description. A transition used repeatedly along a sequence is parametrised by the same weights on each use. When those weights are treated as uncertain, a draw still defines one transition rule for the whole sequence. The rule produces a different state at each position because it receives different arguments, while the weights used to produce those states stay fixed.

This gives the paper a specific question to put to experiment. A mask drawn on the weights can change between examples and include the recurrent connections. Within an example, applying it consistently preserves a shared rule for moving from one state to the next. The question is whether that form of noise can regularise recurrence successfully, and how it interacts with the other places where a network can overfit.

The method, step by step

From a sequence to a prediction

Start with an ordinary recurrent network. At a given position it projects the current input through one matrix and the preceding hidden state through another. It adds those contributions and a bias, then applies a nonlinear transformation. The result becomes the state used at the next position. A simple recurrence in the paper writes that calculation as follows.

hₜ = fₕ(xₜ, hₜ₋₁) = σ(xₜ Wₕ + hₜ₋₁ Uₕ + bₕ)

Here t marks the position, xₜ is the input vector at that position, and hₜ is the new hidden-state vector. The vector hₜ₋₁ is the state from the previous position. Wₕ weights the current input, Uₕ weights the recurrent input, and bₕ is the bias vector. Placing a vector beside a matrix denotes multiplication. The plus signs combine the resulting vectors, and σ is a nonlinear function. The symbol fₕ denotes the complete state update.

The paper uses a final-state readout to make the derivation easy to follow. The readout converts the last state into the quantities needed to score the observed output.

fᵧ(h_T) = h_T Wᵧ + bᵧ

T is the sequence length, and h_T is the state after the last input. fᵧ is the output function, Wᵧ is its weight matrix, and bᵧ is its bias. The subscript y distinguishes the readout from the state update. This final-state example also fits the review-score experiment. For language modelling, intermediate positions matter because the task is to predict words from the context available at those positions.

With fixed parameter values, a forward pass produces the corresponding predictions for the whole input. If the weights are random variables, each draw produces its own forward pass. The important step is to draw the weights before running the recurrence. Drawing different weights at every position would describe a different probability calculation, in which the uncertain transition changed during the processing of a single example.

Training a variational recurrent network on a sequence

The steps in order.

Training a variational recurrent network on a sequenceStep 1: Represent each input in the sequence1. Represent each input in the sequenceStep 2: Draw masks for the sequence’s weight matrices2. Draw masks for the sequence’s weight matricesStep 3: Reuse each mask throughout the recurrent pass3. Reuse each mask throughout the recurrent passStep 4: Compute predictions and score the observed targets4. Compute predictions and score the observed targetsStep 5: Add the weight penalty and update parameters5. Add the weight penalty and update parameters

This flow describes the training approximation. For text, the first two operations can share work. An implementation can look up the embedding vectors and zero the ones selected by word type, which has the same effect as masking the relevant rows in the embedding table. The final operation updates the learned parameters shared across training examples. The masks are sampled for the forward pass and need not become persistent parts of those parameters.

Giving the weights a probability distribution

The Bayesian setup specifies a prior over parameters and a likelihood for the observed outputs. The prior describes plausible weights before the training inputs and targets are taken into account. The likelihood describes how probable a target is under a particular set of weights and a particular input. Together they determine a posterior, which describes the weights after accounting for the training data.

p(Wᵢ) = 𝒩(0, I)

Here p(Wᵢ) is the prior distribution for the weight matrix Wᵢ in layer i. 𝒩 denotes a Gaussian distribution, 0 denotes its zero mean, and I is an identity covariance for the weight entries. This is the paper’s standard Gaussian prior example. In its general discussion, the paper notes that biases are frequently treated as point estimates for simplicity. Its simple probabilistic recurrence lists the bias vectors with the weights, while the row-masking construction is given for weight matrices.

The likelihood depends on the kind of output. A readout can produce a vector of scores for a categorical prediction. The softmax converts those scores to probabilities by comparing the exponentiated score for the selected category with the total across possible categories.

p(y = d ∣ x, ω) = exp(fᵈ_ω(x)) / ∑_{d′} exp(fᵈ′_ω(x))

p(y = d ∣ x, ω) is the probability that output y belongs to category d, given input x and weights and biases collectively denoted by ω. fᵈ_ω(x) is the network’s score for category d, and fᵈ′_ω(x) is the score for a category indexed by d′. The exponential function is exp, and ∑ adds the exponentials across all eligible categories. Dividing by their sum normalises the probabilities. For regression, where the response is a number, the paper gives a Gaussian likelihood as the corresponding example.

A Bayesian prediction averages the predictions under plausible parameters, weighting them by their posterior probability. This matters because different plausible weights can produce different outputs for the same new input.

p(y* ∣ x*, X, Y) = ∫ p(y* ∣ x*, ω) p(ω ∣ X, Y) dω

x* is a new input and y* is its prospective output. X and Y denote the training inputs and corresponding outputs. The factor p(y* ∣ x*, ω) is the likelihood for the new output with parameters ω, and p(ω ∣ X, Y) is the posterior over those parameters. The integral sign ∫ and differential dω indicate averaging over the parameter space. The left-hand side is the predictive distribution that this average defines.

Computing the exact posterior is generally impractical in the network under study. Variational inference replaces it with a distribution from a family that the authors can work with. They choose the member of that family by minimising Kullback–Leibler divergence, a measure of how one probability distribution departs from another. The resulting objective has a data-fit term and a term measuring departure from the prior.

ℒ(q) = −∑_{i=1}^N ∫ q(ω) log p(yᵢ ∣ f_ω(xᵢ)) dω + KL(q(ω) ∥ p(ω))

ℒ(q) denotes the objective as a function of the approximating distribution q. The index i runs over the N training examples, with input xᵢ and observed output yᵢ. The function f_ω is the predictor using parameters ω. The natural logarithm log is applied to the likelihood of the observed output. The integral averages that log likelihood under q(ω), and the minus sign makes better fit lower the objective. KL(q(ω) ∥ p(ω)) is the divergence from the approximation to the prior p(ω), with ∥ separating the distributions in that order. Minimising this expression is equivalent to minimising divergence to the posterior because the omitted term is constant with respect to q.

The two terms express different demands on the same distribution. The likelihood favours weights that can explain the targets. The divergence penalises moving the distribution away from the prior. Which distributions are available to meet both demands depends on the chosen family for q. The dropout rule comes from that choice together with the fact that the likelihood for a sequence involves repeated uses of the same weights.

Drawing a single recurrent transition for each sequence

Suppose a sequence is scored using its final state. The value of that state depends on the preceding one, which in turn depends on the state before it. Expanding the likelihood means substituting the state update into itself until it reaches the initial state. The paper uses a zero vector for that starting state. At every level of the expansion, the update refers to the same parameter variable. The readout also uses the appropriate weights from that variable.

∫ q(ω) log p(y ∣ fᵧ^ω(fₕ^ω(x_T, … fₕ^ω(x₁, h₀) …))) dω

y is the observed target. x₁ is the first input and x_T is the last input at position T. h₀ is the initial hidden state set to the zero vector. fₕ^ω is the update using the recurrent parameters in ω, and fᵧ^ω is the corresponding readout. The ellipses stand for the intervening updates, each applied to its own input and the preceding state. p gives the target likelihood, log takes its logarithm, and integration with q(ω) dω averages over the possible weights.

For training, the authors approximate each expected log likelihood with a single draw from q. This is Monte Carlo integration, meaning that the value of an average is estimated by sampling. In expectation over the draw, the sampled log likelihood equals the term it estimates. One draw can be noisy. Its validity as an estimator relies on evaluating the whole term under that draw, from the first update through the computation of the output.

ℒ ≈ −∑_{i=1}^N log p(yᵢ ∣ fᵧ^ω̂ᵢ(fₕ^ω̂ᵢ(xᵢ,T, … fₕ^ω̂ᵢ(xᵢ,1, h₀) …))) + KL(q(ω) ∥ p(ω))

Here ℒ is the training objective, and ≈ marks its Monte Carlo approximation. ω̂ᵢ is a draw from q(ω) for example i. The subscripted inputs xᵢ,1 and xᵢ,T belong to the first and last positions of that example, and h₀ is its starting state. The repeated fₕ operations and the readout fᵧ all use the relevant parts of ω̂ᵢ. The negative sum scores the N examples against their targets yᵢ. The divergence term retains the same meaning as in the integrated objective.

This explains the different roles of the example index and the time index. The example index says which weight draw applies. The time index says which input and previous state to pass into the update under that draw. Fresh draws allow training to see sequences processed under different restrictions. Within a sequence the fixed draw allows every state to be understood as the result of repeatedly applying one sampled transition to successive inputs.

How a Gaussian mixture becomes a dropout mask

The authors make the distribution tractable by having it factor over weight matrices and then over the rows of each matrix. Each row’s distribution has two components. One is concentrated near zero, and the other is concentrated near a row vector that training can move. Which component supplies a row is decided by a dropout probability given in advance.

q(wₖ) = p 𝒩(wₖ; 0, σ² I) + (1 − p) 𝒩(wₖ; mₖ, σ² I)

wₖ is row k of a weight matrix and q(wₖ) is its approximate distribution. The notation 𝒩(wₖ; 0, σ² I) gives the Gaussian density at that row when its mean is the zero vector. 𝒩(wₖ; mₖ, σ² I) gives the density with learnable mean vector mₖ. Both use the small variance σ², with identity matrix I indicating the covariance structure. The σ in σ² here is a Gaussian scale, distinct from the nonlinearity in the simple recurrence. The number p in this equation is the probability of the zero-centred component. The complementary probability 1 − p is the chance of drawing from the component centred at mₖ.

With small component variances, the dropout implementation represents these alternatives by setting the row to zero or keeping its learned value. The row parameters mₖ are what training learns as its weight matrices. Under the approximation the authors use, the divergence to the prior becomes an L₂ penalty on those parameters, meaning a penalty on their squared size. This is the connection to weight decay. The data-fit part of the training objective is evaluated with dropout, and the weight penalty supplies the contribution associated with the prior.

To see why weight masking can be implemented with activation masks, consider how a row vector multiplies a weight matrix. Each input coordinate multiplies a whole row, and the resulting terms are added to obtain the output. Setting a row to zero removes the contribution of its coordinate to every output of that multiplication. Zeroing that coordinate before multiplying has the same effect. For the recurrent matrix, the coordinate being masked is in the previous hidden state. For the input matrix, it is in the current input. The ordinary output route can be regularised by the same reasoning about its weights.

A fixed recurrent mask consequently limits how the previous state can contribute through a given weight matrix. It does not imply that all hidden states contain the same values or that every masked coordinate stays zero wherever the state is used. The state changes as the sequence progresses. Its route through a masked matrix simply has a fixed set of active coordinates during that forward pass.

Where the masks go in an LSTM

The LSTM makes a distinction between its internal memory and its exposed hidden state. It computes signals that determine how much previous memory to preserve, how much candidate content to write, and how much of its updated memory to expose. The candidate content is computed from the current input and previous hidden state as well. The paper’s gate equations omit explicit biases in this presentation.

iₜ = sigm(hₜ₋₁ Uᵢ + xₜ Wᵢ)

iₜ is the input gate at position t. It controls how much candidate content to write. hₜ₋₁ and xₜ are the previous hidden state and current input. Uᵢ and Wᵢ are the corresponding recurrent and input weight matrices for this gate. The subscript i on those matrices names the gate. sigm applies the sigmoid function to each coordinate of the sum.

fₜ = sigm(hₜ₋₁ U_f + xₜ W_f)

fₜ is the forget gate, whose coordinates control how much of the previous internal memory to carry forward. U_f acts on hₜ₋₁, and W_f acts on xₜ. The projections are added and passed through the coordinatewise sigmoid sigm.

oₜ = sigm(hₜ₋₁ Uₒ + xₜ Wₒ)

oₜ is the output gate at position t. Uₒ weights the preceding hidden state and Wₒ weights the current input for this gate. Applying sigm to their combined projection produces the factors used to expose the new internal memory.

gₜ = tanh(hₜ₋₁ U_g + xₜ W_g)

gₜ is the candidate content, called input modulation in the paper. U_g and W_g are its recurrent and input matrices. As before, hₜ₋₁ and xₜ provide the arguments. tanh is the hyperbolic tangent applied coordinate by coordinate, so this candidate can carry signed values.

cₜ = fₜ ∘ cₜ₋₁ + iₜ ∘ gₜ

cₜ is the updated internal cell and cₜ₋₁ is the previous cell. The symbol ∘ means elementwise multiplication. The forget gate fₜ scales the previous cell, and the input gate iₜ scales the candidate gₜ. The two contributions are added to form the new cell.

hₜ = oₜ ∘ tanh(cₜ)

hₜ is the hidden state exposed after position t. The updated cell cₜ is transformed by tanh, and the output gate oₜ scales the result by elementwise multiplication ∘. The hidden state can supply information to the next update and to a readout, while the stored cell has its own additive update path.

The paper presents two ways to arrange the gate matrices. In the first, each gate has its own input and recurrent matrices. Since the row distribution is applied separately to each matrix, a coordinate of the previous hidden state may be masked for one gate and retained for another. Each gate’s draw remains fixed over the sequence. The same arrangement applies to the current input, with its own masks. The paper calls this the untied-weights LSTM.

The second arrangement concatenates the input and previous hidden state and projects them through a single matrix that supplies all gate computations. This is the tied-weights LSTM. To express it compactly, let A split the projection into gate blocks and apply each block’s corresponding activation.

(iₜ, fₜ, oₜ, gₜ) = A([xₜ, hₜ₋₁] W)

The left-hand side collects the input, forget, and output gates and the candidate content. Brackets on the right denote concatenation of the current input xₜ and previous hidden state hₜ₋₁. W is the joint projection matrix. A applies sigmoid to the blocks for iₜ, fₜ, and oₜ, and hyperbolic tangent to the block for gₜ. In the paper’s dimension example, where the input and hidden widths are K, W has 2K rows and 4K columns. The joint matrix contains the same kinds of projections as the separate matrices.

The deterministic LSTM calculations can be represented either way. The difference emerges when rows of the weight matrices become the units of dropout. One row in the joint matrix contains the weights from a coordinate to all the gate blocks. Masking that row takes the coordinate away from every gate at once. Thus the tied form shares mask choices across gates, whereas the untied form can make those choices separately.

(iₜ, fₜ, oₜ, gₜ) = A([xₜ ∘ dₓ, hₜ₋₁ ∘ dₕ] W)

dₓ is the mask for the current input coordinates and dₕ is the mask for the previous hidden state coordinates. The symbol ∘ applies each mask elementwise before concatenation and multiplication by W. A transforms the projection into the gates and candidate as before. Neither mask carries a time index because its sampled values are reused at each position t. The input mask and recurrent mask govern different parts of the projection. Keeping each fixed in time does not require them to share their values with each other.

The paper writes the non-recurrent dropout baseline in the same notation to show the change. Here the input mask belongs to the current timestep and the previous state enters the gate computations in full.

(iₜ, fₜ, oₜ, gₜ) = A([xₜ ∘ dₓᵗ, hₜ₋₁] W)

dₓᵗ is a fresh input mask at step t, and xₜ ∘ dₓᵗ is the current input after elementwise masking. hₜ₋₁ is the previous hidden state. Concatenation, projection by W, and gate transformation by A have the same meanings as in the tied formulation. The expression describes the transition into the LSTM. Dropout can still be used on the outputs sent onward to other layers under the baseline recipe.

Moon and colleagues’ cell-dropout method makes its intervention after computing the internal cell update. The formula can be written as an assignment to make the order explicit.

cₜ ← cₜ ∘ d_c

cₜ on the right is the updated internal cell before masking. d_c is the cell mask, reused at every timestep, and ∘ multiplies matching coordinates. The arrow assigns the masked value back to cₜ on the left. This operation directly affects what remains in the memory cell. The variational rule acts instead on the weights that consume the input and hidden state, so there is no need to identify an LSTM-style cell to apply it to a gated recurrent unit, or GRU. The paper traces that architecture to the work on RNN encoder–decoders for translation.

Masking a word wherever it occurs

A word entering a recurrent network can be viewed as a one-hot vector. That vector identifies one entry in the vocabulary by putting 1 in the entry’s coordinate and zero elsewhere. Multiplying by an embedding matrix retrieves the row associated with that entry. This separates regularising the embedding table from regularising the LSTM’s input projection. The first can suppress a whole vocabulary row, while the second can suppress selected coordinates in vectors presented to the gates.

eₜ = aₜ W_E

aₜ is the one-hot vector for the word at position t, W_E is the embedding matrix, and eₜ is the retrieved embedding. The matrix has shape V × D, where V is the vocabulary size, D is the embedding width, and × separates the row and column dimensions. The multiplication selects one row because precisely one coordinate of aₜ is active.

One draw of the embedding mask can therefore determine which vocabulary entries are available for a whole sequence. Consider a review segment that mentions “excellent” in its opening and repeats it near the end. If that entry is masked, both occurrences have zero embeddings. If it is retained, both can supply their learned vectors, subject to any other dropout applied after the lookup. The positions still exist and the recurrent computation still takes a step at each one. The mask changes the vector supplied at a position, rather than shortening the input.

The authors point out that sampling a decision for the full vocabulary would be wasteful when a sequence uses only a small fraction of it. The implementation can look up the required embeddings and sample decisions for the word types present. Every occurrence of a given type gets its type’s decision. This reproduces the effect of masking rows of the embedding matrix because the unvisited rows cannot contribute to a prediction for that input.

The paper illustrates the recurrent implementation in Theano and Keras. Its example draws masks for gate inputs and recurrent inputs, with separate draws for sequences in a batch. It computes the input projections across the sequence and then runs the state updates while passing the recurrent masks as fixed arguments. The Penn Treebank experiments use a Torch implementation adapted from the earlier benchmark. These descriptions make the lifetime of the mask concrete. It is sampled outside the state-update loop and used inside it.

Turning weight draws into a test prediction

The paper evaluates two ways to make predictions after training. The standard dropout approximation makes a deterministic pass using mean weights, passing the resulting layer outputs forward. The mean of each row is a simple operation on its mixture. Through nonlinear gates and repeated state updates, however, predictions made with those mean weights need not equal the average prediction made with varying weights.

The other procedure, Monte Carlo dropout, keeps dropout active for prediction. Each pass draws fresh masks for the input sequence and keeps them consistent from beginning to end. The predictions are then averaged across passes. This replaces the unavailable exact posterior with the variational distribution and approximates the resulting average by sampling.

p(y* ∣ x*, X, Y) ≈ ∫ p(y* ∣ x*, ω) q(ω) dω ≈ (1/K) ∑_{k=1}^K p(y* ∣ x*, ω̂ₖ)

x* and y* denote the new input and prospective output, and X and Y are the training inputs and outputs. Replacing the posterior over ω with q(ω) gives the first approximation. K here is the number of prediction draws. Each ω̂ₖ is the set of weights drawn from q for pass k, and p(y* ∣ x*, ω̂ₖ) is the predictive likelihood using those weights. The summation adds the predictions across draws and 1/K gives them equal weight. For categorical outputs, the formula averages output probabilities.

The appendix notes that an ensemble interpretation of dropout can also motivate averaging many stochastic predictions. Several sub-networks contribute, each defined by a dropout draw. The Bayesian account additionally specifies what ought to be shared across their appearances in time. A draw is a choice of parameters for a recurrent function, so all uses of that function in the sequence use the same draw. This explains the training prescription independently of whether predictions are later averaged by sampling or approximated with a deterministic pass.

Experiments and results

Predicting words in Penn Treebank

The language experiment follows the Penn Treebank setup of Zaremba and colleagues. The paper gives the corpus size as 887,521 tokens and treats its size as a reason to pay attention to overfitting. It compares medium LSTMs with 2 layers of 650 units each and large LSTMs with 2 layers of 1500 units each. Keeping these sizes allows a comparison between dropout procedures within a familiar architecture and a comparison of how each procedure behaves as capacity increases.

The variant the authors call naive dropout applies a fresh mask at each position on the non-recurrent connections. A standard LSTM uses no dropout, with early stopping used for comparison. The variational LSTM applies dropout to the recurrent connections and embeddings as well as the usual non-recurrent routes. The experiment also includes the cell-dropout method, first with its own treatment of recurrent memory and then with the authors’ embedding dropout added.

Relative to the reference setup, the authors replace the dropout rule and tune weight decay. They keep the reference learning-rate decay schedule in the main comparison. The training penalty matters for interpreting the results. The reference setup used zero weight decay, so a difference between it and a variational LSTM reflects the complete regularisation setup used for each. A separate experiment with reduced learning-rate decay examines the training trajectories under a change to that schedule.

The authors choose dropout rates by grid search on validation perplexity. Perplexity measures how much probability the trained network assigns to the observed words, with lower values indicating better predictions. Validation perplexity guides the choice of settings. Test perplexity measures performance on a separate split. The authors use one common rate for embedding and recurrent dropout, and another common rate for input and output dropout. The selected rates for the large variational LSTM are 0.3 for embeddings and recurrent connections and 0.5 for inputs and outputs. For the medium variational LSTM, the corresponding rates are 0.2 and 0.35. The reference dropout probabilities are 0.6 for the large LSTM and 0.5 for the medium one.

The authors also tune the cell-dropout variant at each size, selecting probabilities of 0.3 for the medium LSTM and 0.5 for the large LSTM. Its large configuration starts to overfit after 16 epochs, requiring early stopping in the comparison. The authors report that without early stopping, its validation perplexity reaches 131 within 30 epochs. They add embedding dropout in a separate run because the cell-dropout procedure originated in speech recognition, where an embedding table for discrete text inputs had not been the concern. Adding it substantially improves the language results for that procedure, which still trails the baseline that applies dropout only to the non-recurrent connections.

The validation comparison for large LSTMs shows the benefit of the variational setup under the standard dropout approximation. With this prediction procedure, the tied gate projection gives the stronger validation result of the two variational versions. The improvement over the reference is present with either gate arrangement.

Large single LSTMs on Penn Treebank validation perplexity

The tied variational LSTM has the lowest validation perplexity in this comparison.

Large single LSTMs on Penn Treebank validation perplexityZaremba et al. baseline: 82.2Zaremba et al. baseline82.2Variational LSTM, untied gates: 77.9Variational LSTM, untied gates77.9Variational LSTM, tied gates (this paper): 77.3Variational LSTM, tied gates (thispaper)77.3
The numbers
System or settingperplexity
Zaremba et al. baseline82.2
Variational LSTM, untied gates77.9
Variational LSTM, tied gates (this paper)77.3

For the test set, the authors report both the deterministic approximation and Monte Carlo dropout for the variational LSTMs. They average output predictions from 1000 dropout passes for the latter. With the deterministic approximation, tying the gate projections gives lower validation and test perplexity than leaving them untied. The order changes when predictions are averaged over sampled masks. The strongest single-network test result comes from the untied version, which achieves 73.4 test perplexity against the reference result of 78.4. The authors qualify their claim of a new best single-network result by the published results they knew about at the time.

Large single LSTMs on Penn Treebank test perplexity

Averaging dropout predictions from the untied variational LSTM improves on the reference test result.

Large single LSTMs on Penn Treebank test perplexityZaremba et al. baseline: 78.4Zaremba et al. baseline78.4Variational LSTM, untied gates with Monte Carlo dropout (this paper): 73.4Variational LSTM, untied gates withMonte Carlo dropout (this paper)73.4
The numbers
System or settingperplexity
Zaremba et al. baseline78.4
Variational LSTM, untied gates with Monte Carlo dropout (this paper)73.4

The paper reports perplexity means and standard deviations across 3 runs with different random seeds and reports training throughput in words per second. The runtime comparison was made on a Titan X. The tied implementation computes the gate projections in one matrix product, which runs in a single GPU kernel. The untied implementation invokes smaller products in separate kernels that the authors describe as running sequentially. The paper regards the measured advantage for the tied version as implementation-dependent and notes that a lower-level implementation could give similar runtimes for the two arrangements.

Scaling up the network has different consequences depending on how it is trained. With variational dropout, the large LSTM achieves lower perplexity than the medium one. Without dropout, the larger LSTM gives worse results in the comparison even when early stopping is available. The two sizes thus show why the small-network remedy can carry a cost. A larger network offers useful capacity when it can be trained without letting that capacity translate into poorer predictions on unseen data.

In the ensemble experiment, several large networks are trained independently. Monte Carlo dropout is used for predictions within the variational LSTMs, and predictions are also averaged across the independently trained networks. The ensemble number therefore concerns a different procedure from either single-network number above. The authors report 68.7 test perplexity for an ensemble of 10 variational LSTMs. The earlier ensemble result cited for comparison is 69.5. They also report that Zaremba and colleagues reached 68.7 with an ensemble of 38 networks.

LSTM ensembles on Penn Treebank test perplexity

The variational ensemble matches the best earlier ensemble result shown here.

LSTM ensembles on Penn Treebank test perplexityEarlier Zaremba et al. ensemble result: 69.5Earlier Zaremba et al. ensemble result69.5Zaremba et al. ensemble of 38 LSTMs: 68.7Zaremba et al. ensemble of 38 LSTMs68.7Ensemble of 10 variational LSTMs (this paper): 68.7Ensemble of 10 variational LSTMs (thispaper)68.7
The numbers
System or settingperplexity
Earlier Zaremba et al. ensemble result69.5
Zaremba et al. ensemble of 38 LSTMs68.7
Ensemble of 10 variational LSTMs (this paper)68.7

Predicting film review scores

The second task concerns sentiment in the raw Cornell film review corpus. Each review is associated with a film score. The authors use consecutive segments of text and give them the corresponding review score as the target. The corpus contains 5000 reviews, and the main comparison uses segments of 200 words. Because the target is a scalar rating, the task is to predict a numeric score. The reported error curves concern this regression task. Seeing Stars

The networks first convert words into embeddings of dimensionality 128. The LSTM has a single recurrent layer with 128 units per gate. The GRU setup is constructed on the same general pattern. A fully connected readout receives the final recurrent output and predicts the score. The variational configurations use untied gate parametrisations. The experiments use batch size 128, and their main test predictions average 10 Monte Carlo dropout samples. Training uses Adam.

The authors compare variational, naive-dropout, and no-dropout versions within each recurrent architecture. Their figures track error as training proceeds, so the timing of a result matters. A network can produce a low test error briefly and then lose that advantage, even if continued training keeps improving its fit to the training examples. An endpoint comparison answers a different question from the lowest error attained anywhere along a run.

Among the LSTMs, the authors identify the variational version as the one that avoids overfitting in this experiment. It also has the lowest test error. With the GRUs, the variational version converges to the lowest test error and avoids the repeated decreases and increases in test error seen with the standard techniques. Yet the unregularised GRU reaches the lowest test error observed in that comparison at the second epoch. The GRU result supports improved behaviour over continued training, while also showing how strong an early checkpoint can be in this particular setting.

The sentiment results also establish a setting for examining the regulariser itself. Changing how the network processes the previous state can have a different effect depending on what it has been allowed to learn in the embedding table. The authors use the same review task for experiments on that interaction, on weight decay, and on the relationship between input length and the effect of embedding dropout.

What the ablations show

Recurrent dropout depends on embedding dropout

The main review experiment compares complete training recipes. To see how one part of the variational recipe depends on another, the authors vary the dropout applied to the embedding table and the dropout applied to the recurrent weights. They call these probabilities p_E and p_U, respectively. For each they compare 0 and 0.5, which allows them to examine settings that regularise neither layer through dropout, either layer on its own, or both.

The trajectories give a more specific picture than a comparison of end-of-training errors alone. With recurrent dropout at 0.5 and embedding dropout at 0, the test error falls, rises, and later falls again. With embedding dropout at 0.5 and recurrent dropout at 0, the authors describe the trajectory as erratic. The more stable behaviour in this comparison comes with strong dropout on both layers. The shape of the test curves matters because a setting that looks promising at one stage can generalise poorly as training continues.

The authors then vary recurrent dropout while holding embedding dropout fixed. In the runs with the embedding probability at 0, raising recurrent dropout increases overfitting. When the embedding dropout probability is fixed at 0.5, raising recurrent dropout makes the network more robust to overfitting in the tested settings. The appendix and main discussion give these comparisons as curves, and the authors report that training loss in the recurrent-probability experiment went near zero. The difference is consequently visible in how the trained networks generalise despite their ability to fit the training data.

The authors suggest the size of the embedding table as a possible explanation. Even if a recurrent network cannot depend on the same subset of hidden coordinates in every training pass, it can still fit highly specific information in its embeddings when they are always available. Masking vocabulary rows changes which lexical signals are reliable during training. The experiments establish that the effect of recurrent dropout changes with the embedding setting. The proposed account of where the network stores task-specific information is an interpretation of that interaction.

An additional language experiment offers a related comparison from another direction. Adding embedding dropout to the cell-dropout LSTM improves that variant markedly, even though its recurrent intervention differs from the one derived by Gal and Ghahramani. Its improvement shows that the usefulness of embedding regularisation is visible beyond the authors’ complete LSTM recipe on the tasks they study. Its remaining gap to the non-recurrent dropout baseline also shows that better embedding regularisation does not make the tested recurrent interventions interchangeable.

Mask reuse on the non-recurrent routes

The paper compares two review-score LSTMs whose dropout is restricted to inputs and outputs. Neither uses recurrent or embedding dropout. One follows the naive procedure with masks sampled at different positions. The other keeps its masks fixed over the sequence. Both overfit, and the authors report identical performance in that experiment.

This comparison narrows the claim about the importance of mask reuse. In the tested setting, changing the lifetime of a non-recurrent mask by itself does not reproduce the behaviour of the full variational LSTM. The recurrence and embedding experiments show why it matters where the mask is applied. Evidence for the full procedure combines a derivation about the lifetime of a weight draw with results from giving that draw access to weights the baseline leaves outside dropout.

The cell-dropout comparison makes a different distinction. There, the mask already lasts for a full sequence, but it acts on the internal cell. The variational LSTM acts on the transformation from the previous hidden state to the gates and candidate. The results on Penn Treebank make clear that a sequence-long mask identifies a useful property of an intervention, while its placement determines which part of the computation is regularised.

Reducing the effect of the learning-rate schedule

The main Penn Treebank setup uses learning-rate decay. Reducing the learning rate makes parameter updates smaller later in training and can improve performance as fitting proceeds. Because the reference schedule operates alongside dropout, the authors repeat a medium-network comparison with reduced learning-rate decay to make the differences between dropout regimes easier to see.

In the validation perplexity trajectories, the variational LSTM performs better than the naive-dropout LSTM and the no-dropout LSTM, even when early stopping is allowed. This supports a role for the dropout recipe apart from the reference schedule. The paper also reports that using scheduled learning-rate decay yields lower validation perplexity across the compared networks. The reduced-decay trial helps account for the ordering of the methods in a changed training regime. The reference schedule remains part of the context for the strongest language results.

Holding the size at the medium setting also clarifies what this comparison can say. As the training procedure changes, the effect appears without increasing the number of units. The separate comparison of medium and large LSTMs addresses capacity. Together, those experiments distinguish a reduction in overfitting at fixed size from the opportunity to get better predictions by increasing size under stronger regularisation.

The weight penalty still matters

The sentiment appendix varies weight decay in the variational LSTM and applies it to every layer, including the embedding table. Higher weight decay in the tested comparisons gives lower test error. That goes against the practice described in the paper of turning off weight decay when using naive dropout. In the variational derivation the weight penalty has a particular role, since the cost of moving the approximate distribution away from its prior contributes to the objective.

The sentiment hyper-parameter description lists dropout probabilities of 0.25 and 0.5. It describes a weight-decay search from 10⁻⁶ to 10⁻⁴, yet lists 10⁻³ as the optimal weight decay for the variational LSTM, along with dropout probabilities of 0.25. For the naive-dropout LSTM, it gives dropout probabilities of 0.5 and notes the zero-weight-decay convention in the reference implementation. The stated optimum for the variational network falls outside the stated search range. The weight-decay curves nevertheless support the qualitative conclusion that its value matters in this experiment.

The paper also notes that the variational formulation would allow dropout parameters and the weight penalty to be considered as part of a larger optimisation problem. Its reported comparisons use hyper-parameter selection instead. The numerical setting that works well in the review task therefore belongs to that empirical setup. The theoretical contribution is the connection between the prior and the penalty, which explains why weight decay has a role even when the forward passes already include dropout.

Input length and the prediction approximation

The authors re-run the review experiment with input lengths of 20, 50, 200, and 400 words. Longer sequences perform better in their comparison and take longer to converge. One possible explanation they examine is that embedding dropout removes too much of the available evidence in a short segment. This would suggest that easing the dropout might particularly help when the network receives little text.

The follow-up varies embedding dropout at sequence lengths of 50 and 200 words. Lower dropout probabilities lead to worse performance in the reported comparison. That result weighs against the proposed explanation that excessive masking accounts for the poorer performance of short sequences. The paper observes an effect of length and tests one plausible reason for it. The length experiment also varies how much review text the predictor can use, so the curves concern the amount of input available as well as the recurrent computation needed to process it.

The appendix additionally compares predictions made by the standard dropout approximation with those made by Monte Carlo dropout. For the variational LSTM on sentiment, the deterministic approximation produces test-error behaviour similar to the sampling procedure in the comparison. The GRU shows similar behaviour under the two prediction procedures as well. On Penn Treebank, prediction averaging matters more to the relative performance of tied and untied variants. The language experiment thus supplies an example where a choice at inference can change which training parametrisation appears preferable, even when the deterministic comparisons are close.

The appendix also presents training-loss curves for several sentiment runs. Those runs have stable training loss at convergence, while their test-error trajectories can still differ. That observation helps interpret the irregularities in the test curves. Getting the network to fit its training examples and keeping its predictions reliable on held-out examples are separate questions, and the study follows both over training rather than drawing its conclusion from the training loss.

Limitations

What the authors leave open

The paper presents uncertainty estimation for variational LSTMs as a direction for later study. Its Bayesian construction gives a predictive distribution, and the experiments demonstrate estimating average predictions by repeated passes with dropout. The reported outcomes are perplexity and review-score error. An assessment of uncertainty would need to examine whether the variation across passes corresponds to how uncertain the system ought to be on particular inputs. The authors do not report that evaluation here.

Some empirical claims are explicitly qualified. The Penn Treebank result is the strongest single-network result the authors knew of at the time, in the setup they study. In the sentiment experiment, they point out that early stopping can obtain a lower observed error for the GRU than the converged variational network. They also qualify the speed advantage of the tied implementation by noting that it depends on how the matrix products are executed. The different consequences of gate parametrisation for prediction and execution are each tied to the procedure that was measured.

The derivation uses approximate inference at several levels. The row distributions restrict the set of possible posterior approximations. The small-variance mixtures motivate replacing sampled rows with exact zeros or learned values. The training objective uses a sampled likelihood term, and the weight penalty approximates the divergence to the prior. At test time a finite sample average approximates the predictive distribution under the chosen family. These steps make the method tractable, while the paper’s predictive experiments evaluate the resulting procedure without directly comparing it with an exact Bayesian posterior.

What the experimental design can establish

The strongest language comparison changes the dropout procedure and the treatment of weight decay together. It also uses validation-selected dropout settings. This is good evidence about how the full recipe performs on Penn Treebank. It leaves the headline test improvement without a numerical decomposition into contributions from recurrent masking, embedding masking, gate parametrisation, the penalty, and Monte Carlo prediction. The sentiment experiments vary some of these separately, but the layer interactions they demonstrate belong to the review-score setup. Their magnitudes cannot be inferred for language modelling from those curves.

There is likewise a difference between showing that recurrent dropout can work and testing every plausible way of applying it. The fixed-versus-fresh comparison in the sentiment appendix keeps dropout off recurrent weights and embeddings. In the main comparison, extending dropout to those layers goes together with time-consistent draws. The paper derives the shared masks for its own probabilistic construction and demonstrates that the resulting recurrent intervention succeeds. Its experiments do not map out how recurrent masks with other sampling schedules would fare under the same tuning.

The sentiment task associates a segment with a rating given to the entire review. Some segments may present much more evidence about that rating than others. This built-in difference makes the length experiment informative about how much text is available for the task, but it complicates any inference about memory over time. Better performance on longer inputs could reflect access to more evaluative content as well as the capacity to carry evidence through more recurrent updates. The setup does not hold the available sentiment evidence fixed while changing how long it must be remembered.

The paper compares two recurrent architectures on one sentiment corpus and tests the language recipe on one benchmark. This establishes that the method can be used beyond a single kind of gated unit and that it can improve next-word prediction under the reported conditions. Exactly how the preferable dropout placement or rate changes with a different dataset size, sequence distribution, or task remains open. Even within the experiments, embedding and recurrent dropout interact, so a rate with a good result in one configuration cannot be read as a general default.

Two details in the paper also limit how literally some settings can be reconstructed. The sentiment appendix reports a weight-decay optimum outside its stated search range. Its description of deterministic prediction also uses the symbol for dropout probability as the multiplier on the weights, although the mixture equation weights the learned row by the complementary, retention probability. The method section’s account of prediction with the mean, and the training code’s distinction between dropout and retention, clarify the intended role of retention. The appendix wording alone leaves the notation inconsistent. Neither detail changes which test and validation results the paper reports.

What came after

The later citations connect the paper to work on recurrent language prediction, learned representations, training procedures, and Bayesian methods. The subjects named by those works show where the paper entered the discussion. The citation relationship alone leaves open whether a particular work used the exact sequence-wide masks, used a different regulariser, or cited the Bayesian argument as background.

Language prediction and word representations

Regularizing and Optimizing LSTM Language Models addresses the combination of architecture, regularisation, and training in the same kind of language network tested on Penn Treebank. Gal and Ghahramani’s experiments already show why those aspects belong together. A change to the dropout rule can make increased recurrent capacity useful, and a change to the learning-rate schedule can improve the result across regularisation procedures. The later work’s stated subject continues that line of investigation. Its citation does not, by itself, specify the mask policy or optimiser choices it uses.

Pointer Sentinel Mixture Models concerns a different design choice in language prediction. Its title identifies a mixture involving a pointer and a sentinel, whereas the earlier paper’s Gaussian mixture describes uncertainty about weight rows. The connection is that a change to how a system produces its word predictions can coexist with a change to how it regularises the recurrent computation supplying those predictions. The citation places the two contributions in the same literature without establishing that their mixtures have the same purpose.

Using the Output Embedding to Improve Language Models brings attention to the embedding used on the output side of prediction. Gal and Ghahramani concentrate their embedding argument on the input lookup table, where their method removes a word type’s vector throughout a sequence. The later title identifies another place where the representation of words is part of the design of the prediction system. The relationship is specific enough to connect the works without attributing input word-type dropout to a study whose stated emphasis is the output embedding.

Deep Contextualized Word Representations takes word representation in the direction indicated by its title, towards representations that depend on context. That differs from the role of the lookup row in the earlier paper, where the row is selected by vocabulary identity and the recurrent computation supplies the ongoing context. A regulariser may act at either stage, and the earlier derivation gives a precise account of the consequences when it acts on the input table or on shared recurrent weights. The citation identifies the connection to contextual representation research without specifying how the later work implements dropout.

Architecture and evaluation

Neural Architecture Search with Reinforcement Learning extends the design problem from tuning a fixed recurrence to searching for architectures with reinforcement learning. Gal and Ghahramani’s tied and untied LSTMs illustrate why training choices matter to such comparisons. Two arrangements that express the same deterministic gate computation can support different distributions over gates once dropout is introduced. The earlier result makes the regularisation procedure part of what has to be understood when interpreting an architecture comparison. The citation does not specify which of the earlier paper’s two arrangements the search work uses.

Reporting Score Distributions Makes a Difference makes the reporting of LSTM sequence-tagging performance its subject. The Penn Treebank experiment likewise acknowledges that randomness in training affects the observed result by reporting means and standard deviations across random seeds. That source of variation differs from the variation among Monte Carlo passes of one trained network. One concerns the repeatability of fitting a network, and the other concerns averaging predictions given its learned weight distribution. The two papers are related through evaluation of recurrent networks, while the later work’s title places the emphasis on distributions of achieved scores.

Variational inference and uncertainty

An Introduction to Variational Autoencoders connects the article to a broader use of approximate inference. The shared vocabulary includes a prior, a learned approximation to a posterior, and an objective balancing fit with a divergence term. In the recurrent dropout paper, the approximate distribution of interest is over weights, and its form determines which rows can be switched off in a pass. The citation situates that derivation in the wider subject of variational methods. It does not establish that the autoencoder introduction uses the recurrent masking recipe.

Deep Bayesian Active Learning for Natural Language Processing names a setting where uncertainty can serve a decision beyond the prediction itself. The earlier paper already describes how to obtain multiple predictions by drawing from an approximate weight distribution. It uses their average for prediction and leaves direct evaluation of recurrent uncertainty for future research. The later work’s subject shows why that remaining question matters. For active learning, uncertainty can matter to which examples are selected for labelling. The citation connects the research questions without supplying evidence that the later experiments used the same recurrent, embedding, or gate-specific masks.

 Institutions

 Fields, topics and concepts

Cite

Cite as Yarin Gal and Zoubin Ghahramani. 2015. A Theoretically Grounded Application of Dropout in Recurrent Neural Networks. arXiv:1512.05287.

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

@misc{gal2015theoretically,
  title = {{A Theoretically Grounded Application of Dropout in Recurrent Neural Networks}},
  author = {Yarin Gal and Zoubin Ghahramani},
  year = {2015},
  doi = {10.48550/arxiv.1512.05287},
  eprint = {1512.05287},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1512.05287}
}

References

30 references, from the paper's own bibliography.

  1. Martin Sundermeyer, Ralf Schlüter, and Hermann Ney. LSTM neural networks for language modeling. In INTERSPEECH, 2012. OpenAlex ↗ · Scholar ↗
  2. Nal Kalchbrenner and Phil Blunsom. Recurrent continuous translation models. In EMNLP, 2013. our card
  3. Ilya Sutskever, Oriol Vinyals, and Quoc VV Le. Sequence to sequence learning with neural networks. In NIPS, 2014. our card
  4. Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. Recurrent neural network regularization. arXiv preprint arXiv:1409.2329, 2014. our card
  5. Geoffrey E others Hinton. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012. our card
  6. Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: A simple way to prevent neural networks from overfitting. JMLR, 2014. our card
  7. Marius Pachitariu and Maneesh Sahani. Regularization and nonlinearities for neural language models: when are they needed? arXiv preprint arXiv:1301.5650, 2013. OpenAlex ↗ · Scholar ↗
  8. Justin Bayer, Christian Osendorfer, Daniela Korhammer, Nutan Chen, Sebastian Urban, and Patrick van der Smagt. On fast dropout and its applicability to recurrent networks. arXiv preprint arXiv:1311.0701, 2013. OpenAlex ↗ · Scholar ↗
  9. Vu Pham, Theodore Bluche, Christopher Kermorvant, and Jerome Louradour. Dropout improves recurrent neural networks for handwriting recognition. In ICFHR. IEEE, 2014. OpenAlex ↗ · Scholar ↗
  10. Théodore Bluche, Christopher Kermorvant, and Jérôme Louradour. Where to apply dropout in recurrent neural networks for handwriting recognition? In ICDAR. IEEE, 2015. OpenAlex ↗ · Scholar ↗
  11. Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In ICML, 2014. our card
  12. Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural network. In ICML, 2015. OpenAlex ↗ · Scholar ↗
  13. Jose Miguel Hernandez-Lobato and Ryan Adams. Probabilistic backpropagation for scalable learning of Bayesian neural networks. In ICML, 2015. OpenAlex ↗ · Scholar ↗
  14. Yarin Gal and Zoubin Ghahramani. Bayesian convolutional neural networks with Bernoulli approximate variational inference. arXiv:1506.02158, 2015a. OpenAlex ↗ · Scholar ↗
  15. Diederik Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparameterization trick. In NIPS. Curran Associates, Inc., 2015. our card
  16. Anoop Korattikara Balan, Vivek Rathod, Kevin P Murphy, and Max Welling. Bayesian dark knowledge. In NIPS. Curran Associates, Inc., 2015. OpenAlex ↗ · Scholar ↗
  17. Yarin Gal and Zoubin Ghahramani. Dropout as a Bayesian approximation: Representing model uncertainty in deep learning. arXiv:1506.02142, 2015b. OpenAlex ↗ · Scholar ↗
  18. Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 90 (8), 1997. OpenAlex ↗ · Scholar ↗
  19. Kyunghyun Cho et al. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In EMNLP, Doha, Qatar, October 2014. ACL. our card
  20. Taesup Moon, Heeyoul Choi, Hoshik Lee, and Inchul Song. RnnDrop: A Novel Dropout for RNNs in ASR. In ASRU Workshop, December 2015. OpenAlex ↗ · Scholar ↗
  21. David JC MacKay. A practical Bayesian framework for backpropagation networks. Neural computation, 40 (3):0 448–472, 1992. OpenAlex ↗ · Scholar ↗
  22. Radford M Neal. Bayesian learning for neural networks. PhD thesis, University of Toronto, 1995. OpenAlex ↗ · Scholar ↗
  23. Geoffrey E Hinton and Drew Van Camp. Keeping the neural networks simple by minimizing the description length of the weights. In COLT, pages 5–13. ACM, 1993. OpenAlex ↗ · Scholar ↗
  24. David Barber and Christopher M Bishop. Ensemble learning in Bayesian neural networks. NATO ASI SERIES F COMPUTER AND SYSTEMS SCIENCES, 168:0 215–238, 1998. OpenAlex ↗ · Scholar ↗
  25. Alex Graves. Practical variational inference for neural networks. In NIPS, 2011. OpenAlex ↗ · Scholar ↗
  26. Alan Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In ICASSP. IEEE, 2013. our card
  27. Bo Pang and Lillian Lee. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In ACL. ACL, 2005. our card
  28. Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
  29. James Bergstra et al. Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for Scientific Computing Conference (SciPy), June 2010. Oral Presentation. OpenAlex ↗ · Scholar ↗
  30. fchollet. Keras. https://github.com/fchollet/keras, 2015. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/gal-2015-theoretically-grounded-application-dropout-recurrent/