Elamur Research

An Actor-Critic Algorithm for Sequence Prediction

Paper · 2016 · Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu et al.

Summary

A translation system can learn to finish a sentence when every word so far comes from a correct translation. Generating a sentence from scratch calls for a different skill. The system has to continue from words it chose itself, including choices that a reference translator would have made differently. And a good continuation is ultimately judged by its contribution to the whole translation. “An Actor-Critic Algorithm for Sequence Prediction” addresses both problems by training a generator on its own output histories and using a task score to guide decisions along the way. In machine translation, the authors derive that score from BLEU.

The actor is an attention-based recurrent encoder and decoder. Given an input, it produces a probability distribution for the next token, draws a token from that distribution, and continues. A separate recurrent network, the critic, looks at the resulting prefix. It estimates what each possible next token is worth, averaging over what the actor might produce after choosing it. For the critic, the supervised training pair offers an important advantage. It can read the reference output, which is also used to calculate the reward. The generator learns from the critic during training and answers from the input alone at test time.

The authors first train the generator by maximizing reference likelihood, then hold it fixed while the critic learns from its samples. During joint training, the critic learns by temporal differences. It combines an immediate reward with a prediction about rewards still to come. The procedure uses slowly updated copies of the actor and critic to keep the feedback between them manageable, assigns rewards as a prefix grows, and penalizes extreme differences among the critic’s token values. The last measure addresses a specific failure the authors observed. The critic could give an unusually high value to a word the actor seldom tried. Some runs also retain a likelihood objective to help keep the actor responsive to training.

Actor-critic improves on likelihood training in synthetic character correction and in both translation datasets. On IWSLT 2014 German–English, the convolutional version gains 2.3 BLEU points over likelihood with greedy decoding. A variant of REINFORCE that uses the same critic as a baseline scores higher in that experiment, and the two methods perform similarly in the recurrent-encoder experiment. On WMT14 English–French, actor-critic leads the critic-assisted REINFORCE alternative and improves on likelihood by 1.5 BLEU with greedy decoding and 0.4 BLEU with beam search. The results show that reference-informed estimates can help train a generator for whole-output quality. They also show that those estimates can be put to good use in more than one update rule.

Deep dive: An Actor-Critic Algorithm for Sequence Prediction

Actor-critic training uses reference answers to estimate the value of each next token and improve sequence prediction in correction and translation. · about 41 minutes to read

The problem and its context

Every decision changes the next decision

In text generation, the object to be predicted is an ordered sequence. A token can be a word in a translation or a character in a string. The generator receives an input, begins an output, and repeatedly decides what to append. Those decisions are connected. If a translation begins with a different construction from the reference, the words that complete that construction can differ too. A system can also make a mistake that makes an otherwise straightforward continuation difficult. The history is part of the input to each new decision, and the generator is responsible for making that history.

A recurrent neural network represents the history in a state vector that it updates as it reads or emits tokens. The paper describes recurrent sequence prediction as an established approach, with examples in translation, image captioning, and speech recognition. In the encoder–decoder arrangement, an encoder represents the input and a decoder generates the answer. The paper locates its starting point in Sequence to Sequence Learning and the RNN Encoder–Decoder, and takes its attention mechanism from work on learning to align and translate jointly. Neural Machine Translation by Jointly Learning to Align and Translate

Ordinary likelihood training makes a convenient supervised example out of every position in a reference. The decoder sees the source and the reference prefix, and learning raises the probability of the reference token that follows. Supplying the prefix this way is called teacher forcing. Even late in a sentence, training can give the decoder a complete, correctly formed history to condition on. The likelihood of the whole reference can be handled through its successive conditional probabilities, so there is useful supervision throughout the output.

At prediction time, a search procedure constructs the history. Greedy search extends the current prefix with the most probable choice. Beam search keeps a collection of competing prefixes and extends and prunes them as it goes. In either case, even a plausible choice can take a candidate away from the reference history the decoder saw in training. The authors point to a risk of errors compounding, particularly as sequences get longer. A system trained to make its next decision on clean histories can encounter quite different decisions by the time it reaches the end of a generated sentence.

A reference pair still contains useful information after such a departure. It tells the system what answer the training example calls for. What becomes unclear is how to turn that answer into a label for the current decision. Suppose a translation has already expressed an idea that the reference puts later. Copying the reference’s next local choice can lead to repetition or leave a different part of the sentence unfinished. The relevance of a token depends on what the generated prefix has already accomplished.

A sequence score leaves the contribution of each token open

Likelihood and task quality ask different questions. Likelihood asks how much probability the generator assigns to the observed answer. A task score can assess an answer the generator actually produces, including one that differs from the reference. For translation, BLEU assesses overlap with reference text using groups of successive tokens. Earlier sequence-level training discussed by the authors also considers ROUGE, a family of measures used for summarization. These scores supply a way to evaluate a completed prediction, whereas reference likelihood supplies a direct training signal for the observed tokens. BLEU evaluation paper · Automatic Evaluation of Summaries Using N-gram Co-occurrence Statistics

Scoring a finished sequence addresses the question of what counts as success. It leaves a question about credit. A high score can follow an excellent early choice, or it can follow a later recovery from a poor one. A low score after a sensible word can be due to the continuation that happened to be sampled. From a single finished sequence, it is hard to infer how the score would change if the generator chose differently at a particular position. This is the question the critic is designed to answer in expectation.

In the paper’s reinforcement-learning formulation, the generator’s probability distribution is its policy, a next token is an action, and the generated prefix identifies the state for a given input. The reward measures progress toward the task score, and the return is the accumulated reward. The actor chooses actions while the critic predicts the return that would follow a choice. Because the setting is supervised, the critic can use the training answer as evidence. Knowing that answer helps it assess what a prefix has done and what remains, while the actual value still depends on what the actor is likely to generate next.

How earlier methods supplied a learning signal

Scheduled sampling had already changed the histories on which a recurrent decoder trains. During training it sometimes supplies a generated token where teacher forcing would supply a reference token. The next target still comes from the same position in the reference. The authors see a gap between the change to the history and the rule for the target. When a shift in the prefix changes the sensible continuation, a target fixed by position can become a poor guide.

The paper also relates the problem to imitation learning for structured prediction. It discusses Searn and DAgger, which use an expert policy to supply decisions for the learner to imitate. An expert capable of recovering from arbitrary intermediate histories can be difficult to construct for a particular score. The critic occupies a related role because it gives guidance on histories the learner visits. It acquires that guidance by learning from rewards and predictions about the actor, with access to the observed answer as additional information.

Another line of work used REINFORCE to learn from the task scores of sampled sequences. In Sequence Level Training with Recurrent Neural Networks, training moves gradually from the likelihood objective to sequence-level feedback. A sample is evaluated and the resulting return guides updates to the probabilities of chosen tokens. The paper’s concern is that the outcome can vary substantially with the draw of the continuation. It also discusses earlier applications of reinforcement learning to structured prediction using SARSA and OLPOMDP, pointing out that they did not use the training answer to estimate values.

There were ways to bring a sequence score into training through a restricted set of output candidates. The paper describes direct loss minimization as changing inference to account for both likelihood and the task score. In the minimum-risk approach it discusses, the expectation is approximated over a small part of the output space, such as a set of high-ranking sequences or a collection of samples. These approaches assess whole candidates. The critic in this paper supplies assessments at the intermediate positions visited during generation. Minimum Risk Training for Neural Machine Translation

Search itself can also be the object of training. The beam-search approach discussed by the authors uses a global cost to guide which candidates the beam keeps or prunes. Its supervision is tied to the inference procedure it optimizes. The actor-critic approach instead starts from the generator’s stochastic policy, so the mathematical objective is an expectation under sampled generation. Greedy and beam inference can then be used to see what the learned probabilities yield under different rules for choosing a final answer. Sequence-to-Sequence Learning as Beam-Search Optimization

The method, step by step

What happens to a training pair

Consider a source sentence and its reference translation. The actor reads the source, then samples a translation word by word. The critic reads the reference and follows the actor’s progress. Once the actor has produced a prefix, the critic can score a candidate next word by estimating the reward it would yield now and the reward the same actor would usually obtain afterward. The critic makes such an estimate for each word in the output vocabulary from that prefix.

The actor might have selected a particular word on the sampled path even though another word looks more promising to the critic. The update can use that comparison. It has a vector of values for the same prefix and can shift the distribution toward the choices with higher predicted returns. The critic gets a different kind of training signal. From the path that was actually taken, it observes the immediate reward for a chosen token and estimates the remaining reward at the resulting prefix. That gives it a target for its earlier estimate of the chosen token.

The two components learn in stages. Supervised likelihood training first gives the actor a useful distribution from which to draw outputs. With that distribution held fixed, the critic can learn what its values mean for a relatively steady policy. Joint training changes both networks and uses delayed copies to slow changes in the targets and sampled histories.

Actor-critic training from supervised sequence pairs

The steps in order.

Actor-critic training from supervised sequence pairsStep 1: Pretrain the actor on reference likelihood1. Pretrain the actor on reference likelihoodStep 2: Fit the critic with the actor frozen2. Fit the critic with the actor frozenStep 3: Sample sequences from the delayed actor3. Sample sequences from the delayed actorStep 4: Score successive prefixes against the reference4. Score successive prefixes against the referenceStep 5: Form targets using the delayed critic5. Form targets using the delayed criticStep 6: Update the critic and actor6. Update the critic and actorStep 7: Move both delayed copies toward the learners7. Move both delayed copies toward the learners

From a source to a distribution over outputs

The paper treats a supervised example as an input and a reference sequence. It uses a common length symbol in the derivation to keep the notation compact even though outputs can have different lengths.

Y = (y₁, …, y_T)

Here Y is the reference sequence, y₁ is its opening token, y_T is the token at position T, and the ellipsis stands for the intervening tokens. T represents output length in the equations. The paper writes X for the source input and 𝒜 for the alphabet of allowable output tokens. A generated sequence is Ŷ, with token ŷ_t at position t. A range such as Ŷ_[1…t] refers to the generated prefix through that position. Square brackets around a range serve only to group the indices.

The recurrent computation continually updates a vector that summarizes the history available to the decoder.

s_t = f(s_(t−1), e_t)

The state s_t is the vector after processing the input at position t. The previous state is s_(t−1), and e_t is the vector supplied at that position. The transition function f maps the previous state and the new vector to an updated state. The initial state is s₀. The paper uses gated recurrent units, or GRUs, for the recurrence. In generation, the new input vector can be the embedding of the token the decoder just chose. An embedding represents a discrete token as a vector that the recurrent computation can use. Word embeddings

y_t ∼ g(s_(t−1))

In this generation equation, y_t denotes a draw at position t. The symbol ∼ means that the token is sampled from the distribution on the right. The output function g turns the preceding state into a distribution over tokens. The paper describes a softmax output layer, which assigns positive probabilities normalized across the choices. Once a token has been drawn, its embedding supplies the next recurrent input. The duration of generation can itself be learned through a designated end token.

p(Y) = p(y₁) p(y₂ | y₁) … p(y_T | y₁, …, y_(T−1)) p(∅ | y₁, …, y_T)

The function p assigns probabilities. The vertical bar means “given” and separates a possible next token from its history. The opening factor is the probability of y₁ at the start. The factors through y_T are the probabilities of the successive tokens under their respective prefixes. The final factor is the probability of ∅, the end token, given the whole preceding sequence. Multiplication gives the probability of that sequence and of stopping at that point. In supervised prediction each of these decisions can also depend on X, so the corresponding sequence probability is p(Y | X). Likelihood training increases its logarithm for the observed pair.

Conditioning the decoder on X can begin with an initial state computed from the input. The systems in the paper also give the decoder a way to consult encoded input positions throughout generation. An encoder produces a sequence of vectors, and attention forms a weighted average of them. The generator can therefore draw on different parts of the input during different decisions. The experiments use bidirectional recurrent or convolutional encoders, depending on the setup.

y_t ∼ g(s_(t−1), c_(t−1))

The added vector c_(t−1) describes the input context available before position t. In this attention-based decoder, g uses both that context and the preceding recurrent state to form the next-token distribution. The symbol y_t again denotes the token sampled from it.

s_t = f(s_(t−1), c_(t−1), e(y_t))

Here e(y_t) is the embedding of the token emitted at t. The transition f updates the state using the preceding state, the preceding input context, and that token vector. The new state can then determine where to look in the input for the next decision.

α_t = β(s_t, (h₁, …, h_L))

The vector α_t contains the attention weights at position t. The mechanism β computes them from the decoder state s_t and the list of encoder vectors h₁ through h_L. The index L gives the length of that list. A multilayer perceptron scores an encoder vector in relation to the state, and softmax normalizes the weights so that they are positive and sum to 1.

c_t = ∑_(j=1)^L α_(t,j) h_j

The context c_t is the resulting weighted sum. The symbol ∑ means to add the terms indexed by j, which runs through the L encoder positions. The weight α_(t,j) is the entry for position j in α_t, and h_j is the encoder vector at that position. The context and updated state are available when the decoder makes its next choice. The attention mechanism supplies input information, while the training rule determines which next choices the decoder learns to favor.

From a task score to the value of a decision

At the end of generation, a prediction and its reference determine a task return. The paper allows that return to be delivered in portions at different positions.

R(Ŷ, Y) = ∑_(t=1)^T r_t(ŷ_t; Ŷ_[1…t−1], Y)

The function R scores the complete prediction Ŷ against Y. The function r_t gives the reward attributed to token ŷ_t at step t, taking account of the prefix before that step and of the reference. The semicolon in the notation separates the action from the information used to evaluate it. The sum goes through the full prediction. Giving the entire score at completion is covered by this expression when earlier rewards are zero.

The distinction between reward and value matters. A reward can be calculated from the actual step and its history. A value asks what reward to expect from events that have yet to occur. From a prefix that has already been generated, the remaining rewards depend on which continuation the policy samples.

V(Ŷ_[1…t]; X, Y) = E_[Ŷ_[t+1…T] ∼ p(· | Ŷ_[1…t], X)] [∑_(τ=t+1)^T r_τ(ŷ_τ; Ŷ_[1…τ−1], Y)]

The function V here gives the expected return remaining after position t. The operator E is an expectation, an average weighted by the probabilities of the possible continuations. The subscript specifies that the suffix Ŷ_[t+1…T] is drawn under the actor’s distribution p given the prefix and X. The dot marks the variable outcome of that distribution. The index τ runs over future positions and r_τ scores the token at each of those positions with its preceding history and reference. Rewards already received through t are outside this sum.

An action value starts one decision earlier. It asks what follows if a particular token is chosen next and subsequent choices are made by the actor. To write this compactly, let P stand for the generated prefix before position t and let Pa mean that candidate a has been appended to P.

Q(a; P, X, Y) = r_t(a; P, Y) + E_[Ŷ_[t+1…T] ∼ p(· | Pa, X)] [∑_(τ=t+1)^T r_τ(ŷ_τ; PaŶ_[t+1…τ−1], Y)]

The function Q evaluates action a at P, given input X and reference Y. The first term is the immediate reward for that action. The expected sum includes later rewards under the continuation distribution after Pa. The concatenated history PaŶ_[t+1…τ−1] consists of P, the chosen a, and the later sampled tokens preceding step τ. At the first step of that continuation the sampled part of this history is empty. The forecast thus includes the consequences of the candidate itself and the consequences of what the actor is likely to do in the history it creates.

This dependence on the actor gives the critic a moving prediction problem. When a generator becomes better at completing a construction, beginning that construction may become more valuable. A plausible word can also have a modest value if the generator often ends badly after choosing it. Reading the reference can help the critic recognize what a good answer would contain. The expectation it is learning still belongs to the actor that produces the continuations.

How the action values give the actor a gradient

The quantity to improve is the expected return of a sampled prediction. In the following equations, X and Y are fixed for the training pair and are omitted where the paper suppresses them. With no prefix argument, V refers to the full expected return. The policy-gradient identity expresses its derivative as an average over the histories visited by the actor.

dV/dθ = E_[Ŷ ∼ p(Ŷ | X)] [∑_(t=1)^T ∑_(a∈𝒜) (dp(a | Ŷ_[1…t−1])/dθ) Q(a; Ŷ_[1…t−1])]

The vector θ holds the actor’s parameters, and dV/dθ is the rate of change of the expected return with respect to those parameters. The outer expectation draws whole outputs Ŷ from the policy for X. At each position t, the inner sum ranges over every action a in the alphabet 𝒜. The derivative of p measures how the conditional probability of a changes with θ at the visited prefix. The corresponding Q is the weight on that derivative.

The identity follows by differentiating the product of successive token probabilities. When the derivative lands on the probability for a given position, the preceding factors describe the chance of visiting its prefix. The factors that follow describe the distribution of continuations. Grouping contributions this way exposes a sum over possible actions at the position and an average of their remaining returns. Rewards already earned before the choice can be taken out of the action sum. Their contribution vanishes because the next-token probabilities at a fixed prefix always add up to the same constant, regardless of the parameters.

That derivation also explains the form of the action weighting. A critic score shared equally by every token at a prefix would contribute nothing to the actor’s update there. What matters is how values differ across the choices whose probabilities must sum together. Taking a gradient step in the direction of greater expected return favors the higher-valued possibilities through this joint distribution.

The outer average can be estimated with sampled output histories. The paper writes the resulting contributions as a sum over samples, which also makes explicit where the learned critic enters.

ĝ_AC = ∑_(k=1)^M ∑_(t=1)^T ∑_(a∈𝒜) (dp(a | Ŷ^k_[1…t−1])/dθ) Q̂(a; Ŷ^k_[1…t−1])

The symbol ĝ_AC denotes the actor-critic update contribution. The sample index k ranges over M generated sequences, and Ŷ^k is the sequence in draw k. Its prefix through the preceding position is Ŷ^k_[1…t−1]. The hat on Q̂ means that the critic supplies an estimate. The inner sums again range over positions and candidate actions, and the differentiated quantity is the actor’s conditional token probability. With exact values, the average of on-policy sample contributions is unbiased. The experiments use M = 1, so the sampled sum and average coincide. With estimated values, the update can be systematically wrong. It can also be less variable because it uses estimates of expected outcomes across actions.

There are two distinct places where full enumeration would be impractical or unnecessary. The procedure samples the histories to visit rather than considering every possible sequence. At each sampled history, the critic returns a value vector over the vocabulary, allowing the update to sum across next actions there. Several candidate words can influence the update at a given position even though the actor sampled only a single continuation on that training visit.

What changes in REINFORCE

REINFORCE uses the sampled token and the rewards that actually follow it. Its update can include a baseline, a prediction subtracted from the realized return to reduce variation.

ĝ_RF = ∑_(k=1)^M ∑_(t=1)^T (d log p(ŷ^k_t | Ŷ^k_[1…t−1])/dθ) [∑_(τ=t)^T r_τ(ŷ^k_τ; Ŷ^k_[1…τ−1]) − b_t(X)]

The symbol ĝ_RF is the REINFORCE gradient contribution. The draw index k and sample count M have the same meaning as before. The token chosen at step t in draw k is ŷ^k_t, and its history is Ŷ^k_[1…t−1]. The derivative now applies to log p, the logarithm of the probability of that chosen token. The bracket contains the realized sum of rewards from t through T, indexed by τ, minus the scalar baseline b_t(X). The baseline is written as a function of X at time t in the paper’s general expression.

The log in this update accounts for the fact that the chosen action was sampled according to its probability. Differentiating a log probability divides the probability derivative by that same probability. Averaging the update over possible sampled actions then recovers the weighting associated with the action sum. The rest of the sequence is also sampled. Its accumulated reward provides an observation of what the chosen action led to, and that observation can be far from the average of possible continuations. Even when the value of a choice is stable, the outcomes used to estimate it can vary greatly.

The baseline makes an ordinary sample more informative by giving it a point of comparison. The paper’s ordinary REINFORCE implementation uses a linear baseline that reads the actor state. Its REINFORCE-critic variant instead derives the baseline from the critic’s action-value estimates. That variant still learns from the sampled token and realized return. The actor-critic rule uses the predicted action values directly as weights across the vocabulary. The two uses of the same network provide a way to ask how much of a gain comes from access to a better comparison value and how much comes from the form of the update.

How the critic learns from a sample

The critic has its own recurrent decoder and parameter vector, written φ. It encodes the reference much as the actor encodes the source. Its decoder reads the generated tokens and uses attention to obtain information from the encoded reference. After consuming a prefix it produces an estimated value for each possible extension. In spelling correction and WMT14, the critic also receives the actor’s hidden state. That state supplies additional information about the process whose continuation the critic is trying to predict. The other reported results omit this extra input.

The reference is useful because the task return depends directly on it. If two identical prefixes are to be judged against different answers, they can have different values. Encoding the reference lets the critic represent that difference without trying to infer the answer solely from the generated tokens. This is a training arrangement. The actor makes test predictions from the source with its learned parameters, and the critic’s computations are unnecessary for greedy or beam decoding.

One way to fit the critic would be to take the sampled sequence, add up the remaining rewards after each selected token, and regress its estimate for that token onto that sum. This is a Monte Carlo target, meaning that the observed continuation is used as a draw from the outcome distribution. The authors expect it to be noisy, particularly when a long suffix remains. The method they use instead takes a shorter step. It observes the chosen token’s reward and uses its predictions at the very next prefix to estimate the rest.

q_t = r_t(ŷ_t; Ŷ_[1…t−1]) + ∑_(a∈𝒜) p(a | Ŷ_[1…t]) Q̂(a; Ŷ_[1…t])

The scalar q_t is the temporal-difference target for the sampled action at time t. The immediate reward is r_t and is evaluated at the prefix before ŷ_t. The sum applies at the longer prefix Ŷ_[1…t], which already includes that token. Each possible next action a contributes its estimated value Q̂ at that longer prefix, weighted by the actor’s probability p of selecting it there. This is an application of the Bellman relation, which connects the return from a decision to its immediate reward and the expected value at the resulting state. When generation ends, there is no further reward to forecast.

The critic’s fitting problem is to reduce squared disagreement between q_t and its own earlier estimate for the token that was chosen. The two quantities refer to the same decision from different vantage points. The earlier estimate is what the critic predicted for the action at the old prefix. The target uses the reward revealed by actually taking the action and what can now be inferred at the new prefix. Learning through this relation is called temporal-difference learning. It bootstraps by using a value estimate to help train another value estimate.

Keeping the fitting target steady

Bootstrapping creates an optimization problem. If the same rapidly changing network supplies the prediction and its target, a critic update can immediately change what the next target says. The paper notes that temporal-difference policy evaluation with a nonlinear approximator can diverge. Its stabilized procedure uses a separate copy of the critic, Q̂′, to supply the continuation values in q_t. The parameters φ′ of the target copy move towards the trained parameters φ by linear interpolation. The approach follows the use of slowly following copies in Continuous Control with Deep Reinforcement Learning.

The delayed actor handles change on the sampling side. The two learning networks affect each other even if the critic’s target is held comparatively steady. As the actor changes, previously rare prefixes may become common, and the likely continuations from an existing prefix can shift. The paper draws samples from a delayed version of the actor, whose parameters are likewise moved toward those of the learner. In the mathematical identity, histories come from the policy whose gradient is being taken. In the implemented training loop, the delay makes the behavior that supplies histories follow that policy with a lag.

The appendix calls the actor and critic copy update coefficients γ_θ and γ_φ, respectively. For the main translation setup both are 10⁻⁴. Spelling correction uses the same delay settings. In the REINFORCE-critic experiments γ_θ is 1, so sampling uses the actor without delay. These coefficients govern how quickly the copies follow their learners. The reward formulas accumulate future rewards directly.

Controlling the largest predicted values

The samples train the critic directly on the selected action at each prefix, while its output layer produces values for the entire vocabulary. This gives many alternatives a voice in the actor update in spite of relatively sparse evidence about what happens when some of them are chosen. The authors report a particular danger from rare words with inflated values. If an estimate is extreme, the actor may be steered toward a token that received little direct supervision.

The critic objective includes a penalty for the spread of its values at a single prefix.

C_t = ∑_(a∈𝒜) [Q̂(a; Ŷ_[1…t−1]) − (1/|𝒜|) ∑_(b∈𝒜) Q̂(b; Ŷ_[1…t−1])]²

The quantity C_t is the penalty for step t. Both a and b range over the action alphabet 𝒜, and |𝒜| denotes its size. The sum over b, divided by that size, is the mean estimate across the vocabulary at the current prefix. The outer sum adds the squared deviations from that mean. The coefficient λ weights this penalty in the critic objective. The appendix specifies 10⁻⁴ for machine translation and 10⁻³ for spelling correction.

The rule acts at the level of output values. It discourages extreme departures from the common level at a prefix, regardless of which token produced them. A well-supported difference can survive because the fitting objective still rewards accurate value predictions. The penalty is useful where the squared-error target has little opportunity to correct individual rare actions. It provides restraint across the same group of actions that the actor considers together.

Giving the critic reward before the end

If the only reward arrived at completion, earlier critic targets would have to depend heavily on forecasts of later events. The authors score intermediate prefixes and use the changes between scores as immediate rewards.

r_t(ŷ_t; Ŷ_[1…t−1]) = R(Ŷ_[1…t]) − R(Ŷ_[1…t−1])

The prefix through t is Ŷ_[1…t], and Ŷ_[1…t−1] is that prefix before appending ŷ_t. Here R evaluates each prefix against the reference, which is implicit in this formula. The step reward r_t is the change in score caused by the extension. It can reflect a loss as well as a gain. When the changes are added across the sequence, interior prefix scores cancel, leaving the completed score relative to the starting prefix score.

The paper describes this as potential-based reward shaping. The potential Φ is the prefix score for an unfinished sequence and is 0 for a completed sequence. In the underlying terminal-reward formulation, the score of the whole output is paid at completion. Adding the change in potential turns that last payment into the final score minus the previous prefix score. This accounts for the same completion reward while making earlier changes visible to the critic. For a fixed example, the starting prefix is shared by the possible predictions. The shaping preserves the optimal policy for the specified return while changing when information about the return becomes available.

Preparing and updating both learners

The authors initialize the actor through supervised likelihood training because a randomly initialized generator would tend to supply poor outputs with very little informative reward. A critic trained from those outputs would initially have little to teach the actor in turn. Once the actor has learned a useful starting distribution, the authors freeze its parameters and train the critic on its sampled predictions. The critic can then learn with the reference, shaped rewards, and its temporal-difference targets before its estimates start moving the policy.

The spelling-correction procedure uses development performance to decide when to stop actor pretraining. The critic’s stopping criterion follows the behavior of its temporal-difference error. The authors describe an initial period when that error can grow, followed by a slow decrease. They found that ending critic pretraining soon after the growth stopped worked well. The point of this stage is to supply usable initial estimates for joint training, during which the critic will have a changing policy to track.

During joint training the critic fits the targets and dispersion penalty, and the actor uses the critic-weighted estimate. Some runs add the gradient of the reference log-likelihood to the actor update.

g_actor = ĝ_AC + λ_LL d log p(Y | X)/dθ

The vector g_actor is the combined actor update, and ĝ_AC is its actor-critic contribution. The weight λ_LL multiplies the derivative of reference log-likelihood with respect to the actor parameters θ. The function p(Y | X) assigns probability to reference Y for source X. In combined training the weight is 0.1. The likelihood term gives the actor a supervised signal even when the probabilities of alternative actions on generated prefixes have become very small.

The authors use ADAM to adjust the network parameters. For spelling correction, the optimizer scale α starts at 10⁻³ and is annealed to 10⁻⁴ during likelihood training. The actor-critic preparation uses 10⁻³, and the joint phase uses 10⁻⁴. In this context α is an optimizer scale, distinct from the attention weight vector in the recurrence. The initial network weights are sampled from a centered uniform distribution of width 0.1. The authors make the implementation available as actor-critic-public.

Experiments and results

What the comparisons test

The experiments move from recovery of corrupted text to sentence translation. The correction setup offers abundant training examples that are used once. Translation tests the approach on paired sentences, with large word vocabularies and a choice of decoding procedures. Maximum likelihood supplies the main comparison in both settings. The actor-critic and REINFORCE runs start from a likelihood-trained actor, so the comparisons ask what sequence-level training adds to an already learned generator.

For REINFORCE, the authors use both the linear baseline and the version that obtains its baseline from the critic. The latter follows the same critic training procedure, including its pretraining. The experiments also use reward shaping with REINFORCE, since the authors found that it helped a little. They omit the curriculum used by the earlier MIXER work. These details matter because ordinary REINFORCE with a simple baseline and REINFORCE-critic are distinct tests. Only the latter shares the actor-critic method’s reference-conditioned value network.

Restoring text after random replacement

The correction task starts from natural text in the One Billion Word Benchmark. To create an input, the procedure gives each character a chance of being replaced by a randomly chosen character. The original string supplies the corresponding reference. The public dataset already distinguishes training and test material. For evaluation the authors take a test portion containing 6075 sentences. To keep experiments fast, they clip strings to the first 10 or 30 characters. They use no training example twice.

The actor has a bidirectional GRU encoder and an attention-based decoder with 100 GRU units. The critic uses the same architectural pattern, applied to the reference and generated history, and receives actor states as additional input. Predictions for scoring come from greedy search. Conditions in the correction experiment vary the string length and the probability of character replacement. This setup makes the corruption process known and gives the system a precise string to recover.

The evaluation measure is character error rate, or CER. For each prediction, the Levenshtein distance counts the minimum number of character insertions, deletions, and substitutions required to transform it into the reference. The corpus measure divides the total of those distances by the total reference length. A lower CER means fewer edits relative to the amount of reference text. For learning, the paper uses the negative of a sentence-level error ratio so that increasing reward corresponds to reducing error. The distinction between sentence reward and corpus reporting is important because the latter aggregates edit counts and lengths before taking a ratio.

The authors report lower CER than likelihood training in all four conditions. When the runs omit the likelihood term, actor-critic achieves a lower CER in three of the four settings, with both methods yielding similar CERs in the fourth. Adding the likelihood contribution improves both and preserves the actor-critic advantage described by the authors. The direction of these results supports the use of the learned action values even when training can continue on fresh examples. Random corruption and short character strings give that test a clearly bounded interpretation.

Translation data and scoring

The first translation dataset comes from the German–English track of IWSLT 2014. The training split has about 153,000 sentence pairs. The validation split has 6,969 sentences and the test split 6,750. The English vocabulary keeps 22,822 frequent words and the German vocabulary 32,009. Words outside the selected vocabularies map to a special token. The longest sentences in the setup have length 50. The authors closely follow the preprocessing of the earlier sequence-level training comparison.

The larger WMT14 English–French dataset contains more than 12 million examples. Both vocabularies contain 30,000 words, and the maximum sentence length is 50. This experiment provides another language pair and a much larger supply of sentence pairs. It also supplies a comparison in which the concern about repeatedly fitting a small translation dataset plays a different role.

The return for learning is calculated from a smoothed sentence BLEU score. An n-gram is a sequence of adjacent tokens, and its count contributes to assessing overlap. The authors begin the counts at 1 instead of 0, then multiply the smoothed score by the length of the reference translation. This yields a sentence-level reward that can be used on samples and prefixes. The reported BLEU gains concern decoded outputs. Interpreting them requires keeping in view both the construction of the training reward and the decoding procedure that produced those outputs.

IWSLT with a convolutional encoder

For the first IWSLT comparison, the actor uses a convolutional encoder to resemble the setup of the earlier sequence-level study. The networks use 256 hidden units. The critic’s encoder is a bidirectional GRU, since the critic has to read the reference and support its own recurrent value predictions. The authors decode with greedy search and with beam search of size 10. For beam search they find a correction for excessively short candidates important to obtaining their best results.

With greedy decoding on the IWSLT 2014 test set, actor-critic gains 2.3 BLEU points over the log-likelihood baseline. The strongest method in that comparison is REINFORCE-critic, which adds a further 0.6 BLEU point over actor-critic. The ordering is the same under beam decoding, with smaller margins between the sequence-trained systems and likelihood. The greedy result supplies evidence in favor of the critic in both roles. Applying it as a baseline to a sampled-return update gives the highest score in this setup.

The authors also compare their greedy translations with scores reported for MIXER in the earlier work. Their actor-critic result is 0.7 BLEU points higher and their REINFORCE-critic result 1.3 BLEU points higher. Their ordinary REINFORCE result matches the reported MIXER score. The paper gives a reason for caution in reading those test-set comparisons. Its likelihood baseline already scores 1.6 BLEU points higher than the earlier likelihood baseline. The comparison with the authors’ own likelihood run is the clearer measure of the improvement from continuing training under the new objective.

IWSLT with a recurrent encoder

The second IWSLT experiment gives the actor a bidirectional recurrent encoder with 256 GRU units. This brings the setup closer to the one used in beam-search optimization. It also gives the authors a translation setting in which to compare combined objectives, as they had done in spelling correction. In this round they particularly highlight the actor-critic version that keeps the likelihood term.

On the IWSLT 2014 test set with the recurrent encoder, the reported actor-critic gains over likelihood are 1.7 BLEU with greedy decoding and 1.0 BLEU with beam search. The authors judge the improvements comparable to those of beam-search optimization while noting their stronger likelihood starting point. Actor-critic and REINFORCE-critic are again close, with the paper describing them as performing on par in this round. The change of encoder preserves the improvement over likelihood and changes the relative picture for the two critic-assisted update rules.

WMT14 English–French

For WMT14 the architecture follows the attention-based translation system cited by the authors. They improve the likelihood baseline by annealing the optimizer scale and using a length adjustment with the beam. The WMT14 critic receives the actor’s hidden state as well as the reference and generated prefix. Continuing training with actor-critic improves English–French test BLEU over the likelihood baseline in both decoding settings.

WMT14 English–French test BLEU gains over likelihood by decoder

The reported actor-critic gain is larger with greedy decoding.

WMT14 English–French test BLEU gains over likelihood by decoderActor-critic with beam search: 0.4Actor-critic with beam search0.4Actor-critic with greedy search (this paper): 1.5Actor-critic with greedy search (thispaper)1.5
The numbers
System or settingBLEU points gained over likelihood
Actor-critic with beam search0.4
Actor-critic with greedy search (this paper)1.5

The gains in the chart are measured against the corresponding likelihood comparison for each decoder. The authors also report a clear advantage for actor-critic over REINFORCE-critic in this experiment. WMT14 thus supplies a case where moving from sampled-return updates to the critic-weighted action sum improves the outcome, as well as a case where the beam gain over likelihood is smaller than the greedy gain.

For context, the paper cites a WMT14 beam-search improvement of 1.4 BLEU from minimum-risk training. The earlier work used 100 samples for each training example, whereas actor-critic uses one sampled sequence. This comparison shows what the systems achieve under different sample budgets. The critic allows the actor to get estimates across the next-word vocabulary from the sampled history, while minimum-risk training uses its sampled or otherwise selected output sequences to approximate the risk.

Why the decoding rule matters

The beam compares completed candidates using negative log-likelihood with a length adjustment. The authors take the candidate’s length T, multiply it by a coefficient ρ, and subtract that amount from its cost. Adding a token increases the length bonus, which helps offset the preference for outputs that end too soon. The value of ρ is selected on validation data. The appendix gives 0.8 for likelihood and ordinary REINFORCE and 1.0 for actor-critic and REINFORCE-critic.

A BLEU result consequently describes a generator used with a particular search rule. A training change can improve the choice made at individual positions and give a substantial greedy gain. A beam can already recover some good continuations by keeping alternatives, and it can respond differently to changes in the learned distribution or the length cost. The authors’ recurring observation is that the relative gain from actor-critic is greater with greedy decoding. Their beam results show that some improvement survives when the final answer is chosen through a wider search.

What the ablations show

The strongest effects concern value learning

The IWSLT ablation varies the update speeds of the delayed actor and critic, the critic’s value-dispersion penalty, reward shaping, and temporal-difference learning. It uses greedy decoding and records the best training and validation BLEU reached during the first 10 epochs. The authors note that some validation scores could still rise after that window. The design is particularly informative about whether a configuration starts learning and whether a change disrupts early progress.

The main discussion describes the target network as crucial and reports a run that could still make progress at γ_θ = 0.1 and a failed run at γ_θ = 1.0. The coefficient notation is important here. The appendix defines γ_θ as the actor’s copy update coefficient and γ_φ as the critic’s. The numerical contrast in the discussion names γ_θ, so it describes failure under the stated actor update setting. The separate account of critic training explains why the authors also use a delayed target critic. Together the observations identify sensitivity to the pace at which the two learning signals change.

The authors tried allowing gradients through the target calculation as another way of fitting the critic. This lowered its squared error, yet the resulting values gave unreliable guidance to the actor. The target itself contains a continuation prediction, so a change that improves agreement in that calculation can make the regression look better without improving assessments of future reward. The actor’s behavior supplies an external check on whether the critic’s predictions help. The trial shows the importance of looking beyond the critic’s fitting loss when the values will be used to change the generator.

The variance penalty addresses a different source of failure. The reported useful range for λ is [10⁻³, 10⁻⁶]. The authors link the benefit to the overestimation of rarely sampled actions. Such actions still appear in the sum that trains the actor. The penalty limits the effect of an implausibly large prediction even when the critic has not often seen the token selected. This explains why a change to the critic’s output spread can have a large effect on whether the generator learns.

The authors report more moderate gains from a delayed sampling actor and from shaping the reward. A delayed actor changes which histories arrive and how rapidly their distribution shifts. Shaping changes the information attached to each step along those histories. The ablation also varies temporal-difference learning for the critic. That tests whether fitting from immediate reward and a forecast at the next state is preferable in this procedure to learning from full observed continuations. The authors identify the target network and the value penalty most strongly in their discussion of the comparison.

Training curves help explain the competing results

The IWSLT training curves track BLEU on both the training and validation sets as the methods continue from likelihood pretraining. The plot also follows the annealed phase of likelihood training. The authors observe that methods which consume sampled predictions can make better progress on validation while improving more slowly, or even losing ground, on the training set. They interpret this pattern as regularization. A sentence pair can give the learner a variety of generated histories instead of repeatedly leading it through the same reference prefix.

The effect is strongest for REINFORCE, especially with the simple baseline. Actor-critic fits the training set markedly better than REINFORCE in this comparison. It also shows a clearer tendency to overfit, as does likelihood training. This makes the test comparison more interesting than a ranking of optimization speed. On a small dataset, the method that fits the training examples more effectively can lose some of that advantage on new examples. A noisier update can produce the stronger validation or test outcome.

The authors use the correction and WMT14 results to assess that interpretation. The synthetic training procedure avoids repeated examples, while WMT14 gives the translation study far more paired data. The actor-critic gains in those settings support the claim that the method can improve sequence learning when repeated fitting of a small training collection is less central. The curves and cross-dataset comparisons give complementary evidence. One shows how differently the methods fit the IWSLT data, while the others show that the actor-critic gains occur in settings with different access to training examples.

Looking at the critic’s word choices

The appendix presents the critic’s highest-ranked alternatives at intermediate points in a German–English translation. The underlying sentence concerns something the speaker wants to talk about. The example puts the critic’s word preferences in context by showing them while the translation is still being formed. That is the level at which the network contributes to learning. It makes a judgment about an extension and its possible continuation before the complete output is available.

The authors find that the critic frequently gives appropriate candidates higher values. They also see cases where an irrelevant rare word receives a high predicted return, and report that the value penalty substantially reduces that behavior. A plausible local ranking is the pattern the actor needs to get useful guidance from the action sum. The example is an inspection of such rankings, with the reported errors showing how the same mechanism can mislead. It complements the BLEU comparisons by showing the kind of intermediate signal whose quality those comparisons depend on.

Limitations

Limits the authors identify

The policy-gradient result comes with a condition. The values in the expectation must be the actual returns averaged under the policy for the derivation to provide the exact gradient. The experimental critic supplies approximations, and its predictions change during training. The authors describe the practical estimator as trading variance for potentially substantial bias. A critic can give consistent scores and still systematically favor the wrong choices. The training recipe controls sources of that error through reference information, delayed targets, and value regularization. Its empirical success depends on whether those measures make the estimates good enough for the actor.

Saturation is another problem the authors observe directly. When the action distribution becomes nearly deterministic, the relevant probability gradients can become small. A high critic value for a different token may then do little to change the actor’s behavior. Adding likelihood helps in the reported experiments and leaves a broader optimization question open. The authors suggest investigating criteria whose gradients remain useful when the policy has very little stochasticity.

The authors also recognize that REINFORCE can become competitive when its variance is reduced. In their convolutional IWSLT setting the reference-aware baseline yields the best result, and in the recurrent setting it keeps pace with actor-critic. The paper discusses concurrent translation work using multiple samples to compute a REINFORCE baseline as further evidence that the method’s variance can be made manageable. The authors propose work on reducing actor-critic bias, including training the critic with multiple samples. The comparisons support continued investigation of both approaches.

The diagnosis of regularization has its own uncertainty. The authors attribute the effect of sample-based training to the additional variety of histories. Because the effects on fitting and held-out performance can point in different directions, they caution against reading the small translation experiment as a straightforward measure of estimator quality. Spelling correction and WMT14 expand the empirical case, while leaving room for further tests at larger scale and for closer study of how the actor and critic interact.

Limits visible in the experimental setup

The tasks define the scope of the conclusions. Random character replacement is a controlled way to create a reconstruction problem with an unambiguous original string. Its errors are generated artificially and the strings are clipped. The experiment leaves open how the same procedure would handle naturally occurring correction needs, where edits may be patterned, spread across longer passages, or lack a unique intended repair. Likewise, the translation experiments restrict sentence length to 50 and use fixed vocabularies. They provide no direct evidence about recovery from mistakes over much longer outputs.

The reward specifies which success the critic learns to predict. The translation reward uses smoothed and length-rescaled sentence BLEU. The tests report BLEU, and the paper presents no independent human judgment of translation quality. Questions about adequacy or fluency beyond what the score captures therefore remain open. The correction experiment has a related measurement distinction. The learner receives a per-sentence error ratio with reversed sign, while CER at evaluation pools distances and lengths across the corpus. Both measures support comparing performance, with different weighting across sentences.

Greedy and beam decoding also answer different questions from the mathematical training objective. The expectation in the derivation averages the return from stochastic samples. The reported translation scores come from chosen predictions, and the beam results include validation-tuned length preferences. A gain under one decoding procedure therefore gives limited grounds for predicting the gain under another. The use of a stronger starting baseline in several cross-paper comparisons, and the differing critic inputs in the correction and translation experiments, further limit what can be attributed to the bare gradient formula.

The ablations capture the first 10 epochs and allow conclusions about early training behavior, including severe failures in that window. They give less information about later convergence for configurations that were still improving. The qualitative word-value analysis also has a limited scope. It shows useful rankings and recognizable mistakes, while leaving calibration across the vocabulary and across different histories unmeasured.

Finally, the number of sampled sequences is a measure of one part of training work. Actor-critic also runs a separate recurrent critic, scores actions across the vocabulary, and keeps delayed parameter copies. The comparison with minimum-risk training documents a difference in samples per example. A conclusion about total time, memory, or compute would require a comparison that includes those operations. Similarly, captioning and dialogue systems are application directions raised by the authors. The experiments establish the observed effects for correction and translation.

What came after

Carrying sequence-level feedback into other tasks

Image captioning is among the applications the authors raise, and Self-critical Sequence Training for Image Captioning takes up sequence training in that setting. The shared problem is how to train a generator when the object of interest is the completed output, in this case an image description. The later work’s self-critical formulation gives that problem its own approach. The citation connects the use of whole-output feedback across tasks, while the name of the later approach leaves open which parts of the earlier value-learning mechanism it uses.

Adversarial Learning for Neural Dialogue Generation brings an adversarial learning approach to generating dialogue. This changes the framing of how generated responses are assessed. The earlier paper studies comparisons with a given answer through a pre-defined score, while the dialogue work identifies adversarial learning as its organizing method. Paraphrase Generation with Deep Reinforcement Learning takes reinforcement learning into another form of sequence prediction, generating an alternative wording. Its subject carries the task-level training question from translation between languages to paraphrase generation.

The work on Reinforce-Selected Sentence Rewriting applies reinforcement learning to choosing sentences for rewriting in abstractive summarization. That brings a sequence-level learning signal to a decision about what material to rewrite. Summary Level Training of Sentence Rewriting puts the relationship between local rewrites and the quality of a complete summary in the foreground. In both cases the task exposes the problem of local credit. The value of a decision depends on what it helps the full output achieve.

Revisiting the objective in translation

A Study of Reinforcement Learning for Neural Machine Translation makes reinforcement learning in translation itself the subject of continued study. That direction follows naturally from the mixed comparisons between actor-critic and REINFORCE. There is a question about whether sequence-level training is helpful and a further question about what an individual training choice contributes. Classical Structured Prediction Losses for Sequence to Sequence Learning approaches the objective question through structured prediction losses. Its connection is the treatment of the complete sequence as the object whose quality learning should address.

Minimum Bayes Risk Decoding with Neural Metrics locates a related decision at inference. The actor-critic paper uses a quality measure to change learned token probabilities and then tests search over those probabilities. The later work brings neural quality metrics to minimum Bayes risk decoding, where the choice of final output is itself the focus. This makes the distinction between the training objective and the rule for choosing a translation consequential in a different way. SSR-Zero returns to learning for machine translation with self-rewarding reinforcement learning, making the source of the reward part of the problem.

Changing the feedback available to a generator

Factually Consistent Summarization with Textual Entailment Feedback uses textual entailment feedback in reinforcement learning for factual consistency. Textual entailment concerns whether one piece of text supports another. The connection to the earlier paper is through the role of the task assessment. The property the later work puts forward for learning is support for the content of a summary. Recursively Summarizing Books with Human Feedback takes on book summarization through recursive generation and human feedback. Here both the scale of the output task and the stated source of supervision differ from the short, reference-scored sequences in the actor-critic experiments.

Reliability and Learnability of Human Bandit Feedback investigates human feedback in sequence-to-sequence reinforcement learning. Its emphasis on reliability makes explicit a question the earlier setup can treat as given. The actor-critic experiments begin with reference outputs and a defined procedure for computing a score. With human bandit feedback, the quality and learnability of the feedback are themselves subjects of study. Training for Instruction Following with Human Feedback likewise treats human feedback as part of training, in this case for following instructions.

Enhancing Reinforcement Learning with Dense Rewards from a Critic takes up one of the most specific questions in the earlier method. A completed output can be scored, while the decisions that formed it occur throughout generation. The later work centers on supplying dense rewards from a critic. In the sequence prediction paper, immediate feedback comes from prefix score changes and the critic estimates the reward still to come. These are related ways to make an end-of-sequence objective informative earlier in generation. The citation establishes the connection without requiring the same value function or training rule.

Execution-based Code Generation makes execution part of the reinforcement-learning framing for code generation. A generated program is another sequence whose quality can be assessed at the level of the finished object. Execution supplies a task-specific basis for that assessment, just as a translation score supplies one in the original experiments. This shift in what counts as feedback clarifies the reach of the original question. Once a task can assess a completed prediction, there is still work to do in deciding how that evidence should influence the choices that produced it.

 Institutions

 Fields, topics and concepts

Cite

Cite as Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville and Yoshua Bengio. 2016. An Actor-Critic Algorithm for Sequence Prediction. arXiv:1607.07086.

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

@misc{bahdanau2016actor,
  title = {{An Actor-Critic Algorithm for Sequence Prediction}},
  author = {Dzmitry Bahdanau, Philemon Brakel, Kelvin Xu, Anirudh Goyal, Ryan Lowe, Joelle Pineau, Aaron Courville and Yoshua Bengio},
  year = {2016},
  doi = {10.48550/arxiv.1607.07086},
  eprint = {1607.07086},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1607.07086}
}

References

47 references, from the paper's own bibliography.

  1. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. In Proceedings of the ICLR 2015, 2015. our card
  2. Andrew G Barto, Richard S Sutton, and Charles W Anderson. Neuronlike adaptive elements that can solve difficult learning control problems. Systems, Man and Cybernetics, IEEE Transactions on, 0 (5):0 834–846, 1983. OpenAlex ↗ · Scholar ↗
  3. Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. Scheduled sampling for sequence prediction with recurrent neural networks. arXiv preprint arXiv:1506.03099, 2015. our card
  4. Mauro Cettolo, Jan Niehues, Sebastian Stüker, Luisa Bentivogli, and Marcello Federico. Report on the 11th iwslt evaluation campaign. In Proc. of IWSLT, 2014. our card
  5. William Chan, Navdeep Jaitly, Quoc V Le, and Oriol Vinyals. Listen, attend and spell. arXiv preprint arXiv:1508.01211, 2015. our card
  6. Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. One billion word benchmark for measuring progress in statistical language modeling. arXiv preprint arXiv:1312.3005, 2013. our card
  7. Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078, 2014. our card
  8. Jan Chorowski, Dzmitry Bahdanau, Dmitriy Serdyuk, KyungHyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. CoRR, abs/1506.07503, 2015. URL http://arxiv.org/abs/1506.07503. our card
  9. Hal Daumé III and Daniel Marcu. Learning as search optimization: Approximate large margin methods for structured prediction. In Proceedings of the 22nd international conference on Machine learning, pp. 169–176. ACM, 2005. OpenAlex ↗ · Scholar ↗
  10. Hal Daumé Iii, John Langford, and Daniel Marcu. Search-based structured prediction. Machine learning, 750 (3):0 297–325, 2009. our card
  11. Jeffrey Donahue, Lisa Anne Hendricks, Sergio Guadarrama, Marcus Rohrbach, Subhashini Venugopalan, Kate Saenko, and Trevor Darrell. Long-term recurrent convolutional networks for visual recognition and description. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 2625–2634, 2015. our card
  12. Vaibhava Goel and William J Byrne. Minimum bayes-risk automatic speech recognition. Computer Speech & Language, 140 (2):0 115–135, 2000. OpenAlex ↗ · Scholar ↗
  13. Awni Y Hannun, Andrew L Maas, Daniel Jurafsky, and Andrew Y Ng. First-pass large vocabulary continuous speech recognition using bi-directional recurrent dnns. arXiv preprint arXiv:1408.2873, 2014. our card
  14. Tamir Hazan, Joseph Keshet, and David A McAllester. Direct loss minimization for structured prediction. In Advances in Neural Information Processing Systems, pp. 1594–1602, 2010. OpenAlex ↗ · Scholar ↗
  15. Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 90 (8):0 1735–1780, 1997. OpenAlex ↗ · Scholar ↗
  16. Andrej Karpathy and Li Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3128–3137, 2015. our card
  17. Diederik P Kingma and Jimmy Ba. A method for stochastic optimization. In International Conference on Learning Representation, 2015. OpenAlex ↗ · Scholar ↗
  18. Ryan Kiros, Ruslan Salakhutdinov, and Richard S Zemel. Unifying visual-semantic embeddings with multimodal neural language models. arXiv preprint arXiv:1411.2539, 2014. our card
  19. Timothy P Lillicrap, Jonathan J Hunt, Alexander Pritzel, Nicolas Heess, Tom Erez, Yuval Tassa, David Silver, and Daan Wierstra. Continuous control with deep reinforcement learning. arXiv preprint arXiv:1509.02971, 2015. our card
  20. Chin-Yew Lin and Eduard Hovy. Automatic evaluation of summaries using n-gram co-occurrence statistics. In Proceedings of the 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology-Volume 1, pp. 71–78. Association for Computational Linguistics, 2003. our card
  21. Francis Maes, Ludovic Denoyer, and Patrick Gallinari. Structured prediction with reinforcement learning. Machine learning, 770 (2-3):0 271–301, 2009. OpenAlex ↗ · Scholar ↗
  22. W Thomas Miller, Paul J Werbos, and Richard S Sutton. Neural networks for control. MIT press, 1995. OpenAlex ↗ · Scholar ↗
  23. Volodymyr Mnih, Koray Kavukcuoglu, David Silver, Andrei A Rusu, Joel Veness, Marc G Bellemare, Alex Graves, Martin Riedmiller, Andreas K Fidjeland, Georg Ostrovski, et al. Human-level control through deep reinforcement learning. Nature, 5180 (7540):0 529–533, 2015. OpenAlex ↗ · Scholar ↗
  24. Andrew Y Ng, Daishi Harada, and Stuart Russell. Policy invariance under reward transformations: Theory and application to reward shaping. In ICML, volume 99, pp. 278–287, 1999. OpenAlex ↗ · Scholar ↗
  25. Franz Josef Och. Minimum error rate training in statistical machine translation. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pp. 160–167. Association for Computational Linguistics, 2003. OpenAlex ↗ · Scholar ↗
  26. Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting on association for computational linguistics, pp. 311–318. Association for Computational Linguistics, 2002. our card
  27. Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. Sequence level training with recurrent neural networks. arXiv preprint arXiv:1511.06732, 2015. our card
  28. Stéphane Ross, Geoffrey J Gordon, and J Andrew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. arXiv preprint arXiv:1011.0686, 2010. OpenAlex ↗ · Scholar ↗
  29. Alexander M Rush, Sumit Chopra, and Jason Weston. A neural attention model for abstractive sentence summarization. arXiv preprint arXiv:1509.00685, 2015. our card
  30. Mike Schuster and Kuldip K Paliwal. Bidirectional recurrent neural networks. Signal Processing, IEEE Transactions on, 450 (11):0 2673–2681, 1997. OpenAlex ↗ · Scholar ↗
  31. Shiqi Shen, Yong Cheng, Zhongjun He, Wei He, Hua Wu, Maosong Sun, and Yang Liu. Minimum risk training for neural machine translation. arXiv preprint arXiv:1512.02433, 2015. our card
  32. Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems 27: Annual Conference on Neural Information Processing Systems 2014, December 8-13 2014, Montreal, Quebec, Canada, pp. 3104–3112, 2014. our card
  33. Richard S Sutton. Learning to predict by the methods of temporal differences. Machine learning, 30 (1):0 9–44, 1988. OpenAlex ↗ · Scholar ↗
  34. Richard S Sutton and Andrew G Barto. Introduction to reinforcement learning, volume 135. MIT Press Cambridge, 1998. OpenAlex ↗ · Scholar ↗
  35. Richard S Sutton, David A McAllester, Satinder P Singh, Yishay Mansour, et al. Policy gradient methods for reinforcement learning with function approximation. In NIPS, volume 99, pp. 1057–1063, 1999. OpenAlex ↗ · Scholar ↗
  36. Richard Stuart Sutton. Temporal credit assignment in reinforcement learning. 1984. OpenAlex ↗ · Scholar ↗
  37. Gerald Tesauro. Td-gammon, a self-teaching backgammon program, achieves master-level play. Neural computation, 60 (2):0 215–219, 1994. OpenAlex ↗ · Scholar ↗
  38. Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints, abs/1605.02688, May 2016. URL http://arxiv.org/abs/1605.02688. our card
  39. John N Tsitsiklis and Benjamin Van Roy. An analysis of temporal-difference learning with function approximation. Automatic Control, IEEE Transactions on, 420 (5):0 674–690, 1997. OpenAlex ↗ · Scholar ↗
  40. Bart van Merriënboer, Dzmitry Bahdanau, Vincent Dumoulin, Dmitriy Serdyuk, David Warde-Farley, Jan Chorowski, and Yoshua Bengio. Blocks and fuel: Frameworks for deep learning. arXiv:1506.00619 [cs, stat], June 2015. OpenAlex ↗ · Scholar ↗
  41. Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. Show and tell: A neural image caption generator. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3156–3164, 2015. our card
  42. Andreas Vlachos. An investigation of imitation learning algorithms for structured prediction. In EWRL, pp. 143–154. Citeseer, 2012. OpenAlex ↗ · Scholar ↗
  43. Ronald J Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 80 (3-4):0 229–256, 1992. OpenAlex ↗ · Scholar ↗
  44. Sam Wiseman and Alexander M Rush. Sequence-to-sequence learning as beam-search optimization. arXiv preprint arXiv:1606.02960, 2016. our card
  45. Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. Google's neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144, 2016. OpenAlex ↗ · Scholar ↗
  46. Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron C. Courville, Ruslan Salakhutdinov, Richard S. Zemel, and Yoshua Bengio. Show, attend and tell: Neural image caption generation with visual attention. In Proceedings of the 32nd International Conference on Machine Learning, ICML 2015, Lille, France, 6-11 July 2015, pp. 2048–2057, 2015. our card
  47. Wojciech Zaremba, Tomas Mikolov, Armand Joulin, and Rob Fergus. Learning simple algorithms from examples. arXiv preprint arXiv:1511.07275, 2015. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bahdanau-2016-actor-critic-algorithm-sequence-prediction/