A Simple, Fast Diverse Decoding Algorithm for Neural Generation
Paper · 2016 · Jiwei Li, Will Monroe and Dan Jurafsky
Summary
A system that writes a reply, a summary, or a translation typically has to discard most possible outputs before it knows how they will end. Beam search makes that decision by keeping a small group of promising beginnings and extending them a word at a time. The trouble is that several places in the group can go to variations of the same beginning. A later scoring pass may then have plenty of candidates to inspect but very little choice among them. The authors study this problem in text generation and propose a small change to the rule that decides which beginnings survive.
The change works locally. For each unfinished output, the decoder ranks possible next words by probability. It then subtracts a penalty from each extension according to its rank within that group. The most likely extension receives the smallest penalty, so the best continuation of a different beginning can survive ahead of a less preferred continuation of a stronger beginning. Beam width stays the same, and the computation can still be batched. The basic method uses a fixed penalty rate. A variant called diverseRL learns to choose a rate for each input by trying rates during training and using the score of the final selected output as feedback.
The authors test both approaches on movie-script responses, news summarization, and English–German machine translation. The gains generally matter more when the decoder supplies alternatives to a separate reranker. In dialogue, the advantage of diverse search in the reranking setting is greater on long replies than on short ones. In a pairwise human evaluation, diverseRL wins 62 percent of the time against standard beam search. Diverse search also helps with the harder multi-sentence summarization setup. For translation on newstest2014, the fixed method yields little improvement when selecting directly by probability, but improves reranked output by +0.6 BLEU over standard search. The learned variant improves the reranked result by +0.9 on the same comparison. Dialogue systems · Summarization · Machine translation · BLEU score
The experiments show why the destination of the candidate list matters. If the final decision uses the same probabilities as the search, a strong ordinary beam may already find a good answer by that criterion. If the final decision also considers properties of a whole response, summary, or translation, an alternative that looks weaker partway through decoding can turn out to be valuable. A penalty based on the next word’s local rank gives such alternatives a better chance of reaching the final comparison.
Deep dive: A Simple, Fast Diverse Decoding Algorithm for Neural Generation
A fast variant of beam search keeps more kinds of candidate text in play, improving dialogue responses, summaries, and reranked translations. · about 35 minutes to read
The problem and its context
A list of candidates can offer little choice
A sequence generator learns to predict an output from an input. The input might be a sentence to translate, the recent turns of a conversation, or text to condense. The generator produces a distribution for the next word conditional on the input and whatever words it has already produced. At test time, the search procedure has to turn those successive predictions into a complete output. The paper places this setup in the sequence-to-sequence tradition and draws on earlier work on attentional encoders and decoders. Sequence to Sequence Learning with Neural Networks · Neural Machine Translation by Jointly Learning to Align and Translate
An early choice changes all the later choices available below it. If a possible opening disappears from the beam, every sentence that would have started that way disappears with it. Conversely, a beginning that has scored well so far can give rise to several continuations that still look strong. A standard beam is allowed to spend much of its capacity on those continuations. This behavior follows directly from its scoring rule. Each unfinished output competes on its own accumulated probability, so there is no extra cost when the beam keeps several close relatives.
The resulting concentration can be hard to see by counting complete outputs. An N-best list, a list of completed candidates supplied by the decoder, may contain distinct strings that differ in punctuation or in a small change of word form. These strings count separately even when they offer essentially the same wording. Increasing the number of entries can therefore leave the range of alternatives almost where it was. The problem concerns the paths represented in the list as much as its size.
The cost of this concentration depends on the input and the task. A conversational turn can invite a variety of reasonable replies. Earlier work discussed in the paper also points to image captioning, where an image may support several descriptions. In such settings, a cluster of outputs that all develop the same idea leaves much of the plausible space untouched. Translation can impose tighter conditions on what the target sentence needs to say. The paper uses this difference to motivate testing a common search rule across several applications.
Search and final selection can have different jobs
The problem is especially clear when generation has a search pass followed by a reranking pass. The first pass constructs possible outputs using a score that can be updated as each word is appended. The second assigns fresh scores to the completed outputs. It can inspect features that are expensive to evaluate for all unfinished candidates or that only make sense when a full output is available. The paper mentions bilingual attention agreement in translation and document-level features in summarization as examples of reasons to reserve some criteria for the second pass.
Reranking works within the list it receives. In dialogue, a completed reply may score well under a backward predictor that asks how likely the conversation history would be given that reply. This criterion can favor an answer tied to the particular exchange. If the first pass has produced a group of equally generic replies, the second pass has little opportunity to express that preference. Giving the reranker an alternative means allowing at least some different paths to survive before the backward score is ever applied. Earlier conversation work had already used this kind of objective to address generic responses. A Diversity-Promoting Objective Function for Neural Conversation Models
Length can compound the problem. Once a search has concentrated on a common opening, later branching can give its outputs different endings while leaving a large stretch of shared text. The paper describes earlier dialogue evidence in which reranking was more effective for short outputs than for long ones. The long candidates were often very similar even with a large beam. This is a reason to look at the contents of a list before attributing a weak reranking result to the quality of the reranking features.
There is also a different reason to care about search when there is no second pass. A likely prefix can be a poor guide to the probability of the best sentence that extends it. A weaker beginning might have a better continuation than those currently leading the beam. Keeping more kinds of beginnings can help the search reach a better finished output under its original probability criterion. That opportunity depends on how good ordinary beam search already is for the task and on whether the penalty keeps useful alternatives in play.
Earlier ways to get alternatives
Work on phrase-based translation had addressed candidate diversity through several routes. Some methods represented alternatives compactly in lattices or hypergraphs. Others looked for translations with specified traits such as length, combined outputs from multiple systems, or sampled possible translations according to their probabilities. The paper treats these as evidence that generating a useful set of outputs was an established problem before the move to neural decoders.
The closest earlier approaches put an explicit dissimilarity term into candidate selection. In the paper’s description, a proposed translation could receive credit for its quality and for differing from translations already selected. Overlap in sequences of adjacent words, or n-grams, supplied a way to measure that difference. Such a rule can directly discourage repeated phrases. It also makes each new choice depend on a set of earlier choices and on comparisons between strings.
The authors’ design starts from what an ordinary neural beam already computes in batches, namely the best word extensions for each unfinished sequence. They want to change the selection of those extensions with a small operation on the existing scores. The local rank of a word among its siblings gives them a signal they already have when they assemble the pool of candidates. Their rule acts on the connections in the search tree and can be applied to the scores together.
The paper also places its proposal alongside other work on neural decoding. One approach ran multiple noisy searches in parallel. Another added a diversity objective for caption generation. Earlier dialogue work used a stochastic search that reranked segments as the output grew. These methods locate the intervention at different points in generation. The proposal here intervenes whenever the search chooses which newly extended beginnings to keep, using the same kind of ranking calculation at each step.
The method, step by step
From next-word predictions to a beam
Consider a decoder partway through writing a translation. It has several unfinished translations, each ending just before the next word. It asks what words could come next after each beginning and retrieves the most promising options. Those options form a combined pool. Ordinary beam search keeps the highest-scoring extensions from that pool, even when they all extend the same beginning. The diverse rule makes the best extensions from different beginnings more competitive before the same selection takes place.
The paper illustrates the effect with beginnings corresponding to the pronouns he and it. The copula is the preferred extension of either beginning, and the verb has ranks below it in both groups. Under the ordinary score, the he beginning can be strong enough for its second option to beat the best option after it. With a sufficiently large sibling-rank penalty for that comparison, the preferred it extension moves ahead. The beam can then continue from both pronouns. The scores in the illustration are made up to show the operation. The example describes a change in which branches survive, with no need to judge the meaning of either unfinished statement.
The parent is the unfinished string before adding the word. Its children are the strings obtained by attaching different words to it, and those children are siblings. A child of another parent has its rank computed in that other group. A first choice under a relatively weak beginning and a first choice under a strong one receive the same rank penalty. The difference in their ordinary scores still matters. The adjustment changes the competition when their alternatives occupy different ranks.
Diverse beam search from prefixes to final output
The steps in order.
The probability the search starts from
The encoder maps the source to a vector representation that the decoder can use to begin generating. At each position, the decoder uses a softmax to turn its scores for possible next words into probabilities. Conditioning those predictions on the words already chosen lets a new prediction reflect the particular prefix that led to it.
p(Y | X) = ∏ₜ₌₁ⁿʸ p(yₜ | X, y₁, y₂, …, yₜ₋₁)
Here X is the source input, and Y is the ordered output sequence. The symbol nʸ stands for the length of that sequence, corresponding to the paper’s output-length subscript. The index t marks the current position, yₜ is the word at that position, and the words from y₁ through yₜ₋₁ are the prefix. The ellipsis stands for the intervening positions. The symbol p denotes probability, and the vertical bar means “conditional on.” The product sign ∏ multiplies the successive factors from position 1 through nʸ. The equals sign joins the whole-sequence probability to its factorization. At the first position, the prefix is empty.
In probability-based decoding, the objective is to find a complete output with the highest conditional probability for the given input. The maximization must range over possible outputs while the input is held fixed. The paper’s displayed objective puts the input under the maximization operator, but its prose describes the output search captured by this expression.
Y* = argmaxᵧ p(Y | X)
Y* is a maximizing output sequence, with the star marking the result of the optimization. argmaxᵧ means to return the candidate Y for which the expression is greatest. The conditional probability p(Y | X) scores each output against the same source X, and = identifies the maximizing sequence with that result. This is the objective that motivates the search. A finite beam is an approximation because the search stops considering prefixes as soon as it discards them.
How the ordinary score accumulates
Let K denote the beam width. At step t − 1, the beam holds up to that many active prefixes. For each parent, the algorithm considers its best K next words under the conditional probability for that prefix. When the beam is full and each parent supplies that many extensions, the candidates for the next selection number K × K. Every candidate belongs to a known parent because the pool was built by extending those prefixes separately.
[Yₜ₋₁ᵏ, yₜᵏ,ᵏ′], k ∈ [1, K], k′ ∈ [1, K]
The outer brackets mean concatenation. Yₜ₋₁ᵏ is the prefix through position t − 1 for parent k. The symbol yₜᵏ,ᵏ′ is the candidate word at position t, with k identifying its parent and k′ identifying the word’s rank in that parent’s list. Each membership sign ∈ places its index in the inclusive range from 1 through the beam width K. The commas separate the prefix and appended word, the word’s two indices, or the endpoints of a range according to their position.
The ordinary score uses log probabilities. The log of a product is a sum, so the decoder can extend a prefix by adding the log probability of its new word to the score already stored for the prefix. This also clarifies how a dominant parent can fill the beam. Every child of that parent starts with the same favorable accumulated score before the score for the next word is added.
S(Yₜ₋₁ᵏ, yₜᵏ,ᵏ′ | X) = S(Yₜ₋₁ᵏ | X) + log p(yₜᵏ,ᵏ′ | X, Yₜ₋₁ᵏ)
S is the ordinary cumulative log-probability score. On the left it scores the extension formed from Yₜ₋₁ᵏ, the prefix of parent k, and yₜᵏ,ᵏ′, the proposed word of local rank k′. The + sign adds the existing score of the prefix to the logarithm, written log, of the conditional probability p for the new word. Inside that probability, the comma after X means that both the source and the prefix are given. The bar marks conditioning, t is the new position, and = defines the extension score.
Ordinary beam search orders the pooled extensions by this score and retains the best K. Candidates pushed below the cutoff lose their descendants from the search. There is no need for the candidates that survive to come from different parents. Whether they do depends on the scores of the parents and on how strongly each parent favors its leading next words.
Where the penalty changes the decision
The diverse decoder still obtains its next-word candidates from the ordinary probabilities. It ranks the words for each parent in descending order, so that k′ is the local rank of the new word. It then applies a penalty before choosing survivors from the combined pool.
Ŝ(Yₜ₋₁ᵏ, yₜᵏ,ᵏ′ | X) = S(Yₜ₋₁ᵏ, yₜᵏ,ᵏ′ | X) − γk′
Ŝ is the adjusted score used to select the next beam. S is the ordinary log-probability score for the same candidate, Yₜ₋₁ᵏ is parent k through the previous position, and yₜᵏ,ᵏ′ is its extension at position t with local rank k′. The bar marks conditioning on the source X, and the comma separates prefix and extension. The diversity rate is γ. The adjacent symbols γk′ mean multiplication, and − subtracts that product from the ordinary score. The equals sign defines the adjusted score.
At a positive rate, a lower-ranked child receives a larger penalty. Within a parent, this preserves the order that the next-word probabilities gave the siblings and increases the preference for the better-ranked ones. Between parents, candidates can exchange places. As in the pronoun example, a first-ranked child from one parent can move above a lower-ranked child from another. Candidates with matching ranks keep their ordinary ordering relative to each other. At rate 0, the adjustment vanishes and the selection reduces to the ordinary rule.
The search still keeps the top K over the combined pool. It can keep several children of one parent if their scores warrant it. This is a preference for branching across parents, with room for the ordinary probability differences to prevail. The size of a penalty’s effect depends on the score gaps around the cutoff. When those gaps are small, a rank adjustment can change which candidates survive. When a leading parent has a substantial advantage, several of its children can remain competitive.
The distinction between the two scores also matters at the end. The adjusted score is the device for keeping candidates in the search. In the direct-selection experiments, the completed output is chosen by its probability among the available outputs. In the reranking experiments, the completed list is scored with the designated reranking features. The sibling rank can change which outputs are available to either rule. The final selection rule gives those outputs their task-specific comparison.
This arrangement is compatible with batched decoding because each penalty can be computed from the rank in an already grouped set of extensions. The decoder can adjust the pooled scores before the usual selection step. There is no need to compare each new string with all previously chosen strings to calculate the penalty. The paper describes the MATLAB change as small and emphasizes that the computation can run in batches on GPUs.
How diverseRL chooses a rate
A fixed rate makes the same tradeoff for every input. The authors expect the useful amount of exploration to vary. A short dialogue reply may require relatively little branching, whereas a longer reply gives the search more opportunities to concentrate on similar strings. The paper uses captioning as another illustration of the motivation. An image with many objects can invite exploration of more different descriptions. This example motivates adaptation. Caption generation is outside the experiments reported for the method.
The adaptive version, diverseRL, chooses from a discrete set of possible rates. The paper illustrates a set of 21 values over [0,1] at intervals of 0.05, explicitly allowing other sets. The possible rates are treated as separate choices. Nearby values do not share an imposed ordering or smoothness constraint in the policy. A continuous alternative is possible, and the authors chose the discrete formulation for ease of implementation and because they found it sufficient in their training setting.
The policy uses a vector for the source and a vector for each available rate. Taking a dot product gives a score for each pairing of the input with a rate. Softmax converts those scores into a distribution over actions. The action is to use the chosen rate for decoding that input. The search itself then proceeds as in the fixed-rate method.
π(γ(X) = γ′ | X) = exp(hₓᵀ · hᵧ′) / ∑ⱼ₌₁^|Γ| exp(hₓᵀ · h[Γⱼ])
π is the policy probability. The expression γ(X) = γ′ denotes the event that the selected rate for source X equals the candidate value γ′, and the bar means that the probability is conditional on X. hₓ is the vector for X. Here hᵧ′ denotes the vector for candidate rate γ′, and h[Γⱼ] denotes the vector for the rate at position j in the set Γ. The superscript ᵀ transposes the source vector for the dot product ·. The function exp exponentiates the dot product. The division sign / normalizes the selected rate’s exponential score by the sum ∑ over all rates. The sum runs from j = 1 to |Γ|, where the bars around Γ mean the number of available rates. The outer equals sign defines the probability.
After a rate is sampled, the system decodes the input, selects a completed output, and evaluates it. The score of that selected output serves as the reward for the rate. Selection uses the largest reranking score when there is a reranker and the largest output probability otherwise. This means the usefulness of an action is judged by what happens at the end of the pipeline. A rate that produces varied candidates earns a high reward when the eventual choice scores well on the evaluation criterion.
Jₓ(θ) = E[ R(γ(X)) ], γ(X) ∼ πθ(· | X)
Jₓ(θ) names the expected reward objective for input X, with θ denoting the policy parameters. E is expectation, the average over rates according to the policy probabilities. R(γ(X)) scores the selected output after decoding with the rate γ(X). The symbol ∼ means that the rate is drawn from πθ, the policy with parameters θ. The dot in πθ(· | X) marks the variable over which the policy distributes probability, and the bar conditions the distribution on the source. The equals sign defines the objective, and the comma introduces the distribution used for the expectation.
The authors approximate this expectation by sampling. They use REINFORCE, which uses the observed reward to update the probability of the sampled action. They also estimate a baseline reward from the input. An action whose reward is above that baseline receives an update in the direction of greater log probability. An action below the baseline receives the opposite signal. This comparison accounts for the fact that some inputs may yield higher scores than others even under an ordinary choice of rate.
(R(γ(X)) − b) ∇θ log πθ(γ(X) | X)
This is the sampled policy-gradient estimate, with R the observed reward, γ(X) the sampled rate for source X, and b the predicted baseline reward for that source. The subtraction − produces the reward relative to the baseline. The operator ∇θ takes the gradient with respect to the policy parameters θ. The function log takes the logarithm of πθ(γ(X) | X), the conditional probability assigned to the sampled action. The vertical bar means “given,” and juxtaposing the parenthesized reward term and the gradient means multiplying them. The sample provides a direction and strength for the update without needing to differentiate through the search itself.
‖r − b‖²
r is the actual reward used as the baseline estimator’s training target, and b is its scalar prediction. The minus sign forms the prediction error, and the norm bars with exponent ² express the squared error. The baseline estimator minimizes this loss on its reward predictions. Its training error stays within that estimator, while the policy receives the reward relative to the baseline in its own update.
What gets trained and when
The starting point is a pretrained encoder–decoder. During policy training, its parameters are frozen. The recurrent network used to obtain the source representation for the policy shares parameters with that generator, so the policy can use an existing representation. The softmax for selecting rates is the part of the policy that needs to be learned. Decoding and evaluating a sample is still costly, because every action needs a completed output before its reward is known. The authors use around 100,000 training instances for this stage.
With feature-based reranking there is an additional dependency. A change in rate can change the candidates obtained on the development set. The weights used to combine features are tuned against those candidates, so weights that worked well for the previous lists can become less appropriate for the new ones. The authors retune the reranker on the development set after every 10,000 training instances. They usually use minimum error rate training, or MERT, for feature-weight tuning. It searches for weights that produce better selections according to the development criterion. Policy training takes roughly 1 day.
At test time, the rate policy is conditioned on the new input. It can determine a rate using the source representation learned by the generator, while the references needed to calculate rewards belong to evaluation. The fixed-rate approach avoids this additional policy training and uses a rate tuned on development data. In either case the generator supplies the probabilities, the diversity rule affects the search, and the final selection operates on completed candidates.
Experiments and results
Dialogue from movie scripts
The dialogue experiments use OpenSubtitles, abbreviated OSDb. The paper describes it as a collection of roughly 60M-70M scripted lines spoken by film characters. The training task is to predict the current turn from the two preceding utterances, joined together as the input. The generator has two encoder–decoder layers with attention and 512 units in each layer. Attention helps the decoder use the input representation while generating the reply. This is a test of a response to a short dialogue history, with the script supplying the reference utterance. Effective Approaches to Attention-based Neural Machine Translation
The authors form development and test settings that make length differences visible. Natural instances are randomly sampled from the corpus, retaining its ordinary length variation. For short instances, the reference length is at most 6. For long instances, the reference length exceeds 16. Each set contains roughly 2,000 instances. The reference length determines the group. It describes the observed reply in the dataset, whereas the decoder is responsible for generating its own reply.
The baseline uses ordinary beam search. The fixed-rate diverse decoder and diverseRL are compared with it. In the direct setting, the output is the most probable one reached by the search. In the reranking setting, a second stage scores the candidate replies using the generator’s forward log likelihood, a backward log likelihood for the history given the reply, response length, and the likelihood from a separate language model. The forward term asks how well the response follows from the dialogue. The backward term gives a response a way to score well for being informative about that particular history. The language term evaluates the response as a sequence by itself.
The combination of forward and backward scores is motivated by mutual information between the input and reply. A broadly applicable response can receive a good forward score in many contexts. The backward score adds a criterion that can favor a reply more closely tied to the current context. The paper gives a beam width of 10 in its dialogue reranking setup and bounds the decoded target length at 0.75 and 1.5 times the source length. MERT tunes the relative weights of the reranking features on development candidate lists.
The automatic measures cover two properties. BLEU evaluates overlap with references. The diversity measures count distinct unigrams and distinct bigrams in the generated responses and scale each count by the total number of generated tokens. A unigram is a single word unit and a bigram is an adjacent pair. The scaling is intended to keep a system from gaining apparent diversity merely by producing more text. The metric describes variety in the words and pairs the system emits.
The paper reports improvements from diverse decoding across the dialogue settings, with larger gains when there is a reranking pass. In that setting the Long group benefits more than the Short group. The authors draw attention to examples where ordinary search offers very similar long responses. That leaves the second stage with few opportunities to pick a more appropriate answer. They hypothesize that short replies leave less room for this kind of search failure and that the ordinary beam is already sufficiently varied for much of the Short group.
The adaptive rate adds a clearer improvement on Natural, where reference lengths vary as they do in the corpus. The reported improvement from adaptation is less pronounced in the length-restricted groups. In the authors’ interpretation, some of the advantage of choosing a rate per input is lost when the inputs are selected to produce replies of a more similar length. The policy itself uses the source representation. The length comparisons describe the evaluation groups and give an indirect view of where adaptive search helps.
Human evaluation gives a separate view of output quality. A random sample of 200 items is assessed, with 3 crowdsourced judges ranking each output pair. The judges are asked to favor a reply specific or relevant to the dialogue history. They can declare ties, and exactly identical strings automatically receive equal scores. DiverseRL wins 62 percent of the time in the comparison with standard beam search. That number is a preference result under the dialogue evaluation procedure. It measures a different property from word overlap and distinct word counts.
Summarizing a lead sentence or a longer input
The summarization experiments ask the system to produce a short summary from news text. The single setting follows the protocol in which only the document’s opening sentence is supplied. A word-level attention system is trained for that condition, using 800K training pairs. The design lets the experiment ask how a diverse search helps when the source itself has already been reduced to a single sentence. A Neural Attention Model for Abstractive Sentence Summarization
In the multi setting, the input can include up to 10 sentences. The authors use a hierarchical generator with sentence-level attention. Sentence position is represented as a learned feature associated with the words. The larger input offers more material from which to construct a summary and a larger problem of deciding what to cover. The paper uses this as the setting in which a system should be able to find salient content across a substantial piece of text.
The reranker adds features that can assess relationships between a completed summary and its source. One is the average tf-idf score of the words in the summary, which gives weight to words based on frequency and how widely they occur across documents. Another, KLSum, compares estimated topic distributions for the summary and the input. It uses KL divergence to compare distributions assigned by a variant of Latent Dirichlet Allocation. The variant distinguishes general, document-specific, and topic-specific groups of words. A backward probability adds another way to judge coverage. It scores how likely the input document would be given the proposed summary.
The reported metric is ROUGE-2, which assesses overlap in adjacent word pairs with reference summaries. The comparison crosses source setting with decoding and selection choices. Diverse search helps in both source settings, and its benefit is greater with reranking. The authors also find that adding document-level reranking improves on direct selection. Taken together, these outcomes show how the search and the features can complement one another. A feature that rewards coverage of the input can make a consequential decision only when the proposed summaries offer meaningful choices about what to cover. ROUGE
The multi results are worse overall than the single results despite the larger source. The paper reports a particularly large improvement from diverse decoding within the multi-sentence setting. These comparisons answer different questions. The comparison between source settings asks what the entire setup achieves when given a longer source. The comparison within multi asks whether a change in search helps that setup make better use of its candidates. An improvement within the harder condition can coexist with a lower absolute score for that condition.
The adaptive policy gives a smaller additional improvement, around 0.3 ROUGE in the comparison with fixed-rate diverse search. The authors omit a separate diverseRL breakdown for summarization. They suggest that the inputs’ common news style may make one rate tuned on development data reasonably effective. The proposed explanation concerns similarities among inputs, whereas the multi-sentence comparison concerns difficulty within an input. Both properties can matter at once. A challenging search problem can benefit from a diversity penalty even when its inputs favor much the same penalty rate.
English–German translation
For translation the paper uses WMT'14 English–German, with 4.5 million training pairs. Each language has a vocabulary restricted to its 50K most frequent words, and a common unknown token represents words outside that vocabulary. The authors train an attentional sequence-to-sequence generator and apply an unknown-word replacement procedure similar to earlier attentional translation work. Development uses newstest2013, with 3000 sentence pairs. The reported translation scores are measured in BLEU on newstest2014, with 2737 sentences.
As in dialogue, the paper considers both direct selection and reranking. The configuration described for obtaining a large reranking list gives ordinary and diverse search the same beam width, K = 50. It also distinguishes completed candidates from active ones. At each step, candidates ending with the end-of-sequence symbol, EOS, are added to the completed list. The search then takes the best K unfinished candidates to extend next. Adding completed candidates to a separate list this way keeps the active batch at a constant size in the described procedure and allows the final list to contain more entries than the beam width.
The translation reranker uses several features drawn from previous neural translation work. Backward probability measures how well the source can be predicted from the proposed translation. A separate language predictor evaluates the output sequence using monolingual data. The paper trains it on a subset of WMT13 News Crawl containing roughly 60 millions sentences. The attention symmetry feature compares alignment preferences in the German–English and English–German directions. Target length is another feature. Minimum error rate training tunes the weights using development lists. On Using Monolingual Corpora in Neural Machine Translation · Improving Neural Machine Translation Models with Monolingual Data
For direct selection, the paper reports no significant improvement from fixed-rate diverse beam search. It reports a BLEU improvement of +0.25 from diverseRL in this setting. The authors suggest that the ordinary beam is already strong at finding a high-probability translation. They also propose that a fixed rate can help some inputs while imposing too much change in the search scores for others. The adaptive policy is intended to address that second issue.
With reranking, the result is more favorable to diversity. On newstest2014 the paper reports BLEU gains over standard-beam reranking of +0.6 for the fixed diversity rate and +0.9 for diverseRL. These numbers describe improvements over the corresponding baseline. They are gains in BLEU and leave the absolute test scores unspecified here.
Reranked English–German translation on newstest2014, BLEU gain over standard beam search
The learned diversity rate gives the larger BLEU gain with reranking.
The numbers
| System or setting | BLEU gain |
|---|---|
| Fixed-rate diverse beam search | +0.6 |
| diverseRL (this paper) | +0.9 |
The paper finds translation less responsive to diverse search overall than dialogue or summarization. It associates this with a relatively concentrated target distribution, for which it reports perplexity less than 6. Perplexity is a measure tied to how much probability a predictor assigns to the words it is evaluated on. The authors use the low value as evidence that predicting the target is fairly constrained in their translation setup. There can still be useful translation alternatives for a reranker that considers source reconstruction, attention agreement, fluency, and length.
What the ablations show
Changing the search and changing the selection rule
The paper’s most informative comparisons come from varying the search rule and the final selection rule within a task. The ordinary and diverse beams obtain scores from the same kind of underlying generator. In the direct-selection condition, a change in output reflects a change in the set of completed candidates available under the generator’s probability criterion. In the reranking condition, the same change in search alters which candidates can benefit from additional features. The reranking weights can be tuned for the new lists, so the reranking results capture how a full search-and-selection system responds to the change.
The improvement from fixed-rate diverse search is more pronounced with reranking in dialogue and summarization. The translation result shows the distinction particularly cleanly. The paper reports little direct-selection improvement for the fixed method, while the reranked comparison favors it. A high-probability translation can already be accessible to an ordinary beam, leaving limited room for exploration to improve the direct choice. A candidate that is weaker under forward probability may still be valuable if its completed form scores well on the second-stage criteria.
The summarization comparison supplies further evidence because the paper also finds a benefit from introducing document-level reranking. That observation and the improved performance with diverse candidate lists go together. The features offer a way to distinguish alternatives by properties that the forward score may underweight. The diverse search helps ensure there are candidates among which such differences matter. The experiments evaluate these components together and do not report a separate contribution from each individual feature.
Why the length comparisons matter
The Short and Long dialogue groups make it possible to ask where a fixed diversity rule has the greatest effect. The paper reports a larger gain from diverse reranking for the Long group. Ordinary beam lists for long responses can contain variations that share most of their words, as the paper’s candidate examples illustrate. A feature-based reranker can distinguish such variants at the margins, but its capacity to improve the reply depends on whether the list contains a more relevant alternative in the first place.
The authors interpret this through the size of the search problem. A longer sequence involves more decisions, and a series of individually plausible decisions can lead to a reply that is repetitive, incoherent, or self-contradictory. Once several near-duplicate paths dominate, many later completions inherit earlier commitments. Favoring different parents during the selection of partial sequences offers a way to keep competing commitments alive. The result is consistent with that account, while the length split also changes which utterances, histories, and topics are included.
The paper also discusses sampling as an alternative way to obtain varied dialogue outputs. It warns that errors can accumulate in sampled responses, especially in longer sequences. The sibling penalty retains a preference for high-probability words and strings at every step, with the correction targeted to local rank. The paper’s discussion of sampling helps explain the design choice. It does not supply a matched sampling comparison alongside the reported dialogue results.
Fixed-rate search and input-dependent search
The comparison between diverseRL and fixed-rate search asks whether adapting the penalty to the input adds value after a basic diversity mechanism is in place. The strongest dialogue evidence for this is the pattern across Natural, Short, and Long. Natural preserves length variation, and the authors report a clearer gain from the learned rate there. Restricting either end of the length distribution yields groups for which adaptation offers less extra improvement. This makes length variation a plausible part of the explanation. The policy is trained from evaluation rewards and has no requirement that it organize inputs by length.
Summarization adds a complementary test. The paper reports that fixed-rate search helps substantially in multi, while using an adaptive rate brings only a small additional gain on the task overall. It is possible for inputs to benefit from diversity and still benefit very little from having a different rate chosen for each one. The authors’ account is that the news documents share enough properties for a good common rate to be competitive. The experiment gives a comparison of outcomes under the two rate strategies, with no detailed breakdown of which rates were selected for which documents.
Translation provides a case where diverseRL yields an improvement even in the direct-selection setting, where the fixed adjustment shows little effect. This is consistent with a tradeoff in which some sentences benefit from exploration and others benefit from staying close to the ordinary beam. The reported gains establish a difference between methods in the evaluated setup. They leave open whether the policy uses sentence properties related to ambiguity, length, or some other aspect of the source representation.
Interpreting the longer-document result
The single-sentence and multi-sentence summarization settings check the diverse decoder under different demands on content selection. The longer context gives the system more potentially relevant information, but the resulting scores are lower overall. The paper notes that earlier work had also seen deterioration when more sentences were included. Within the multi-sentence setup, diversity gives a large improvement. This supports the idea that getting a broader candidate list is especially useful when the final decision can draw on features about the document as a whole.
The comparison changes the source span and the generator’s architecture together. The word-level attention system in single and the hierarchical system in multi do not isolate the effect of adding source sentences to an otherwise identical system. The experiment shows that the proposed search helps in both realistic configurations and gives stronger gains in the harder one. It also limits how far one can attribute the gap between their absolute scores to input length alone.
Limitations
Limits the authors identify
A fixed penalty rate can move the beam too far from the ordering by probability. A low-ranked child may be the beginning of a good complete sequence, and a large penalty makes it harder for that child to survive even when its parent is strong. Any benefit depends on the candidates gained being more useful to the final decision than those lost. This is why the authors treat the rate as a parameter to tune and motivate a policy that can adapt it to individual inputs.
The authors also expect limited gains where the target distribution is concentrated and the ordinary search already reaches strong outputs. This is their interpretation of the weak effect of fixed-rate diversity in translation without reranking. The decoder may have little to gain from leaving a highly probable path, and a fixed penalty may sometimes divert it from a good one. In settings where final selection includes criteria beyond forward probability, the valuable alternative can be a candidate with a weaker ordinary score. Those two uses of exploration give the same penalty different opportunities to help.
Learning a policy brings a cost that the ordinary adjustment avoids. An action has to be followed through to a completed and selected sequence before its reward is known. Even though the policy reuses frozen source representations and learns relatively few parameters, repeated decoding makes training expensive. The paper limits the number of training instances and retunes feature weights periodically where reranking is involved. Its claim about the simplicity of the fixed adjustment and its description of the learned system’s training cost concern different parts of the method.
The authors report that the longer-input summarization system performs worse than the single-sentence system. Their interpretation is that the generation systems in the study struggle to summarize long documents. Diverse search improves the harder setup without resolving that broader difficulty. Giving the reranker more varied summaries helps it select among plausible compression choices. Identifying and accurately expressing the important contents of an extended source still depends on the generation and scoring systems.
Limits visible in the experimental setup
The diversity penalty measures position in a local list of word extensions. It can spread the beam across parents whose strings differ only slightly. Distinct parents can also converge on nearly the same wording, facts, or communicative intention. Conversely, adjacent ranks under one parent can mark words with very different consequences for the completed text. The rule can increase the range of paths explored, but by construction it offers no guarantee about how semantically distinct their completed outputs will be.
The dialogue diversity measures have a related scope. Counting distinct words and adjacent pairs describes surface variety in the generated responses. A system could gain on that measure by expressing similar replies using different words. The pairwise evaluation asks judges to consider specificity and relevance, giving evidence about a property that the automatic diversity scores do not capture directly. That human evaluation covers a sampled dialogue comparison under a stated preference criterion. The paper supplies no corresponding pairwise assessment of translation quality or summary correctness.
The reported BLEU and ROUGE-2 results measure agreement with references through word-pattern overlap. They give a consistent basis for comparing configurations on their respective evaluation data. They cannot by themselves establish that a paraphrase retained all the right information, that a summary made no unsupported claims, or that a response was the best of several legitimate conversational possibilities. The paper’s premise that some tasks admit diverse valid answers makes this limitation especially pertinent. The reference can capture one reasonable choice while another good answer earns a weaker overlap score.
Reranking results measure an interaction among search, features, and feature weights. The paper explicitly retunes weights as the candidate lists change during diverseRL training. As a consequence, it does not isolate what would happen if the candidate list changed under an identical vector of reranking weights, or if each additional feature were removed in turn. The experiments support the practical claim that wider exploration can improve a tuned reranking pipeline. They also leave room for different results with different features and development data.
The efficiency argument is mainly about the calculation the search needs. The penalty can be applied in batches using information that standard beam search already obtains, and the paper describes the implementation change as small. That supports the stated rationale for speed. The paper does not supply a timed comparison across the alternative decoding algorithms it discusses, or give a latency breakdown separating the beam, reranker, and adaptive policy at inference. The training duration for diverseRL describes an additional training stage rather than the per-input cost of decoding.
The evaluation covers scripted conversation, news summarization, and one English–German translation setup. Captioning motivates the method, but the paper reports no captioning test of its own. The explanation about output uncertainty is likewise a hypothesis drawn from the contrasts among the tested tasks and the reported translation perplexity. There is no controlled experiment that varies the uncertainty of the target distribution while holding the data, generator, beam, and evaluation fixed. The strongest general conclusion is conditional on the use of the beam: when the first pass repeatedly returns similar candidates, giving other parents a chance to survive can improve the choices available downstream.
What came after
Search, degeneration, and diversity measurement
Later work continued to ask how the procedure for choosing text affects the qualities of what gets written. Importance of Search and Evaluation Strategies in Neural Dialogue Modeling takes search and evaluation together as its subject. This is the combination already visible in the dialogue experiments: a search can improve overlap with a reference, increase the variety of generated words, or offer candidates that people prefer. Those are distinct outcomes. The later paper’s focus on both parts puts the choice of search procedure alongside the choice of evidence used to judge it. Importance of Search and Evaluation Strategies in Neural Dialogue Modeling
The Curious Case of Neural Text Degeneration takes the quality of generated text as the problem to explain. The connection to diverse beam search is the role of decoding in what a reader ultimately sees. The earlier paper diagnoses a pool of alternatives that has become too uniform to help a final selection stage. Degeneration shifts attention to undesirable patterns in the text itself. The problems can meet in a long generated response, because a set of similar candidates can leave a reranker with little opportunity to replace a poor sequence. The Curious Case of Neural Text Degeneration
Neural Text Generation with Unlikelihood Training locates its intervention in training. The contrast in scope helps identify what the earlier paper varied. Its fixed-rate algorithm uses the existing probabilities to propose words and changes the survival of candidates during search. Its learned variant trains the choice of penalty while keeping the generator fixed. Unlikelihood training brings the question of undesirable generation to the learning objective itself, where a training procedure can influence the scores later handed to a decoder. Neural Text Generation with Unlikelihood Training
Evaluating the Evaluation of Diversity in Natural Language Generation puts diversity measures under examination. The earlier work uses sibling rank to encourage search over different parents and distinct word patterns to measure variety in the responses. These quantities describe different objects. The first is an operation on partial candidates, while the second counts properties of the output. The later evaluation question is how well the chosen measure captures the kind of variety an experiment seeks to demonstrate. Evaluating the Evaluation of Diversity in Natural Language Generation
What to do with alternatives
In summarization, later work on ranking candidate summaries by correctness formulates a particular goal for the second stage. The earlier summarization experiments use word importance, topic coverage, and source reconstruction to judge completed candidates. Ranking Generated Summaries by Correctness instead makes correctness the stated ranking target and frames that target as an application of natural language inference. The connection is structural. A ranking rule can improve a selection only if the set being ranked contains a suitable alternative, and a broad list is useful only to the extent that the rule can recognize suitable candidates. Ranking Generated Summaries by Correctness
Self-Consistency Improves Chain of Thought Reasoning in Language Models carries the relevance of alternatives into reasoning. The diverse beam paper asks a final scorer to compare complete outputs that can lead to different selections. Self-consistency places the emphasis on agreement, giving the relation among alternatives a role in the decision. That is a different reason to care about exploring paths. When several approaches can bear on an answer, their agreement can matter alongside the score of any individual sequence. Self-Consistency Improves Chain of Thought Reasoning in Language Models
DeAL: Decoding-time Alignment for Large Language Models likewise makes decoding a place to intervene. The link to the earlier work is the location of the change. During generation, a decoder can incorporate a criterion that affects how it uses the scores already available to it. In diverse beam search that criterion is local sibling rank, chosen to preserve promising alternatives. DeAL frames the decoding-time question in terms of alignment. The titles and citation relationship establish these connections in research focus. They do not establish that either later method inherits the sibling penalty or the rate policy. DeAL: Decoding-time Alignment for Large Language Models
Cite
Cite as Jiwei Li, Will Monroe and Dan Jurafsky. 2016. A Simple, Fast Diverse Decoding Algorithm for Neural Generation. arXiv (Cornell University).
@misc{li2016simple,
title = {{A Simple, Fast Diverse Decoding Algorithm for Neural Generation}},
author = {Jiwei Li, Will Monroe and Dan Jurafsky},
year = {2016},
doi = {10.48550/arxiv.1611.08562},
eprint = {1611.08562},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1611.08562}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2016-simple-fast-diverse-decoding-algorithm/
References
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473. our card
- Dhruv Batra, Payman Yadollahpour, Abner Guzman-Rivera, and Gregory Shakhnarovich. 2012. Diverse m-best solutions in Markov random fields. In Computer Vision–ECCV 2012, pages 1–16. Springer. OpenAlex ↗ · Scholar ↗
- David M Blei, Andrew Y Ng, and Michael I Jordan. 2003. Latent dirichlet allocation. Journal of machine Learning research, 3(Jan):993–1022. OpenAlex ↗ · Scholar ↗
- Daniel Cer, Christopher D Manning, and Daniel Jurafsky. 2013. Positive diversity tuning for machine translation system combination. In Proceedings of the Eighth Workshop on Statistical Machine Translation, pages 320–328. OpenAlex ↗ · Scholar ↗
- Samidh Chatterjee and Nicola Cancedda. 2010. Minimum error rate training by sampling the translation lattice. In Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, pages 606–615. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Xinlei Chen, Hao Fang, Tsung-Yi Lin, Ramakrishna Vedantam, Saurabh Gupta, Piotr Dollár, and C Lawrence Zitnick. 2015. Microsoft coco captions: Data collection and evaluation server. arXiv preprint arXiv:1504.00325. our card
- Yong Cheng, Shiqi Shen, Zhongjun He, Wei He, Hua Wu, Maosong Sun, and Yang Liu. 2015. Agreement-based joint training for bidirectional attention-based neural machine translation. arXiv preprint arXiv:1512.04650. OpenAlex ↗ · Scholar ↗
- Kyunghyun Cho, Bart Van Merriënboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2014. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078. our card
- Kyunghyun Cho. 2016. Noisy parallel approximate decoding for conditional recurrent language model. arXiv preprint arXiv:1605.03835. OpenAlex ↗ · Scholar ↗
- Sumit Chopra, Michael Auli, and Alexander M. Rush. 2016. Abstractive sentence summarization with attentive recurrent neural networks. our card
- Kevin Clark and Christopher D Manning. 2016. Deep reinforcement learning for mention-ranking coreference models. arXiv preprint arXiv:1609.08667. our card
- Trevor Cohn, Cong Duy Vu Hoang, Ekaterina Vymolova, Kaisheng Yao, Chris Dyer, and Gholamreza Haffari. 2016. Incorporating structural alignment biases into an attentional neural translation model. arXiv preprint arXiv:1601.01085. our card
- Hal Daumé III and Daniel Marcu. 2006. Bayesian query-focused summarization. In Proceedings of the 21st International Conference on Computational Linguistics and the 44th annual meeting of the Association for Computational Linguistics, pages 305–312. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Jacob Devlin and Spyros Matsoukas. 2012. Trait-based hypothesis selection for machine translation. In Proceedings of the 2012 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 528–532. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Bhuwan Dhingra, Lihong Li, Xiujun Li, Jianfeng Gao, Yun-Nung Chen, Faisal Ahmed, and Li Deng. 2016. End-to-end reinforcement learning of dialogue agents for information access. arXiv preprint arXiv:1609.00777. OpenAlex ↗ · Scholar ↗
- Jenny Rose Finkel, Christopher D Manning, and Andrew Y Ng. 2006. Solving the problem of cascading errors: Approximate bayesian inference for linguistic annotation pipelines. In Proceedings of the 2006 Conference on Empirical Methods in Natural Language Processing, pages 618–626. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kevin Gimpel, Dhruv Batra, Chris Dyer, Gregory Shakhnarovich, and Virginia Tech. 2013. A systematic exploration of diversity in machine translation. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, October. OpenAlex ↗ · Scholar ↗
- Peter W Glynn. 1987. Likelilood ratio gradient estimation: an overview. In Proceedings of the 19th conference on Winter simulation, pages 366–375. ACM. OpenAlex ↗ · Scholar ↗
- Caglar Gulcehre, Orhan Firat, Kelvin Xu, Kyunghyun Cho, Loic Barrault, Huei-Chi Lin, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. 2015. On using monolingual corpora in neural machine translation. arXiv preprint arXiv:1503.03535. our card
- Aria Haghighi and Lucy Vanderwende. 2009. Exploring content models for multi-document summarization. In Proceedings of Human Language Technologies: The 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics, pages 362–370. Association for Computational Linguistics. our card
- Liang Huang. 2008. Forest reranking: Discriminative parsing with non-local features. In ACL, pages 586–594. OpenAlex ↗ · Scholar ↗
- Nal Kalchbrenner and Phil Blunsom. 2013. Recurrent continuous translation models. In EMNLP, pages 1700–1709. our card
- Shankar Kumar and William Byrne. 2004. Minimum Bayes-risk decoding for statistical machine translation. Technical report, DTIC Document. our card
- Tao Lei, Regina Barzilay, and Tommi Jaakkola. 2016. Rationalizing neural predictions. arXiv preprint arXiv:1606.04155. OpenAlex ↗ · Scholar ↗
- Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao, and Bill Dolan. 2015a. A diversity-promoting objective function for neural conversation models. arXiv preprint arXiv:1510.03055. our card
- Jiwei Li, Minh-Thang Luong, and Dan Jurafsky. 2015b. A hierarchical neural autoencoder for paragraphs and documents. arXiv preprint arXiv:1506.01057. our card
- Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out: Proceedings of the ACL-04 workshop, volume 8. Barcelona, Spain. our card
- Chia-Wei Liu, Ryan Lowe, Iulian V Serban, Michael Noseworthy, Laurent Charlin, and Joelle Pineau. 2016. How not to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. arXiv preprint arXiv:1603.08023. our card
- Yi Luan, Yangfeng Ji, and Mari Ostendorf. 2016. Lstm based conversation models. arXiv preprint arXiv:1603.09457. OpenAlex ↗ · Scholar ↗
- Minh-Thang Luong, Hieu Pham, and Christopher D Manning. 2015. Effective approaches to attention-based neural machine translation. arXiv preprint arXiv:1508.04025. our card
- Wolfgang Macherey, Franz Josef Och, Ignacio Thayer, and Jakob Uszkoreit. 2008. Lattice-based minimum error rate training for statistical machine translation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 725–734. Association for Computational Linguistics. our card
- Kathleen McKeown, Judith Klavans, Vasileios Hatzivassiloglou, Regina Barzilay, and Eleazar Eskin. 1999. Towards multidocument summarization by reformulation: Progress and prospects. In AAAI/IAAI, pages 453–460. OpenAlex ↗ · Scholar ↗
- Ramesh Nallapati, Bowen Zhou, Ça glar Gulçehre, and Bing Xiang. 2016. Abstractive text summarization using sequence-to-sequence rnns and beyond. our card
- Ani Nenkova and Lucy Vanderwende. 2005. The impact of frequency on summarization. Microsoft Research, Redmond, Washington, Tech. Rep. MSR-TR-2005-101. OpenAlex ↗ · Scholar ↗
- Franz Josef Och. 2003. Minimum error rate training in statistical machine translation. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1, pages 160–167. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th annual meeting on association for computational linguistics, pages 311–318. Association for Computational Linguistics. our card
- MarcAurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2015. Sequence level training with recurrent neural networks. arXiv preprint arXiv:1511.06732. our card
- Alexander M Rush, Sumit Chopra, and Jason Weston. 2015. A neural attention model for abstractive sentence summarization. arXiv preprint arXiv:1509.00685. our card
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2015a. Improving neural machine translation models with monolingual data. arXiv preprint arXiv:1511.06709. our card
- Rico Sennrich, Barry Haddow, and Alexandra Birch. 2015b. Neural machine translation of rare words with subword units. arXiv preprint arXiv:1508.07909. our card
- Louis Shao, Stephan Gouws, Denny Britz, Anna Goldie, Brian Strope, and Ray Kurzweil. 2016. Generating long and diverse responses with neural conversational models. OpenAlex ↗ · Scholar ↗
- Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yangfeng Ji, Margaret Mitchell, Jian-Yun Nie, Jianfeng Gao, and Bill Dolan. 2015. A neural network approach to context-sensitive generation of conversational responses. arXiv preprint arXiv:1506.06714. our card
- Ilya Sutskever, Oriol Vinyals, and Quoc VV Le. 2014. Sequence to sequence learning with neural networks. In Advances in neural information processing systems, pages 3104–3112. our card
- Jörg Tiedemann. 2009. News from opus-a collection of multilingual parallel corpora with tools and interfaces. In Recent advances in natural language processing, volume 5, pages 237–248. OpenAlex ↗ · Scholar ↗
- Roy W Tromble, Shankar Kumar, Franz Och, and Wolfgang Macherey. 2008. Lattice minimum bayes-risk decoding for statistical machine translation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 620–629. Association for Computational Linguistics. our card
- Ashwin K Vijayakumar, Michael Cogswell, Ramprasath R Selvaraju, Qing Sun, Stefan Lee, David Crandall, and Dhruv Batra. 2016. Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv preprint arXiv:1610.02424. our card
- Oriol Vinyals and Quoc Le. 2015. A neural conversational model. arXiv preprint arXiv:1506.05869. our card
- ALEKSAND. VM, VI Sysoyev, and SHEMENEV. VV. 1968. Stochastic optimization. Engineering Cybernetics, (5):11. OpenAlex ↗ · Scholar ↗
- Ronald J Williams. 1992. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine learning, 8(3-4):229–256. OpenAlex ↗ · Scholar ↗
- Tong Xiao, Jingbo Zhu, and Tongran Liu. 2013. Bagging and boosting statistical machine translation systems. Artificial Intelligence, 195:496–527. OpenAlex ↗ · Scholar ↗
- Dani Yogatama, Phil Blunsom, Chris Dyer, Edward Grefenstette, and Wang Ling. 2016. Learning to compose words into sentences with reinforcement learning. OpenAlex ↗ · Scholar ↗
- Wojciech Zaremba and Ilya Sutskever. 2015. Reinforcement learning neural turing machines. arXiv preprint arXiv:1505.00521, 362. OpenAlex ↗ · Scholar ↗