Elamur Research

A Diversity-Promoting Objective Function for Neural Conversation Models

Paper · 2016 · Jiwei Li, Michel Galley, Chris Brockett et al.

Summary

A reply can sound natural and still reveal very little about the message that prompted it. An expression of uncertainty, for example, may fit an occasional exchange. If it regularly comes first for unrelated messages, the system is overlooking distinctions that matter to the conversation. The authors study this pattern in dialogue systems that learn from examples of messages and replies. They find that ordinary sequence-to-sequence decoding can rank routine answers at the top even when the same search has already generated more specific candidates. Their question is what to change in the rule that picks the final reply.

The usual rule favors the response with the highest estimated probability given the message. A reply that appears in many different situations can do well by that rule. The authors propose scoring the association between the particular message and its candidate reply using maximum mutual information, or MMI. One version, MMI-antiLM, discounts replies that a language model already finds predictable without the message. The authors concentrate that discount at the start of the reply to preserve fluency later on. The other version, MMI-bidi, combines the usual forward score with a reverse score that measures how well the reply predicts the message. It applies that second score to complete candidates already generated by the forward system. The probability estimators are fitted by maximum likelihood, and the authors tune the strength of the new scores separately for decoding.

On the Twitter test set, MMI-bidi scores 5.90 on multi-reference BLEU with a beam size of 200. The previous phrase-based system with neural reranking scores 4.44 on the same benchmark. In paired judgments on a random sample of 1000 Twitter test items, readers prefer MMI-bidi to ordinary sequence-to-sequence decoding with either beam or greedy search, and to the phrase-based comparators, at the paper’s significance threshold. The evaluation of systems trained on OpenSubtitles uses separate movie-script data with a single reference reply per message. There, MMI-antiLM gives the stronger improvement. The authors report a BLEU gain of up to 36% and a rise of more than 200% in their measure of unigram diversity.

The results point to a distinction between producing a useful candidate and choosing it. Reverse scoring helps when the forward search offers replies that differ in what they say. A score that acts during generation can also keep a promising opening in play before the candidate list is complete. Which version works better thus depends in part on what the ordinary decoder generates. The experiments make reply selection a practical place to address generic answers while leaving open the roles of conversational intent, persona and grounding.

Deep dive: A Diversity-Promoting Objective Function for Neural Conversation Models

How maximum mutual information helps neural dialogue systems choose replies that fit the message, with results from Twitter and movie dialogue. · about 80 minutes to read

The problem and its context

Why common replies rise to the top

Conversational generation asks a system to produce the next turn of an exchange. The turn should be readable on its own and make sense in relation to what came before. An answer that merely acknowledges the speaker may be perfectly appropriate. The difficulty begins when an acknowledgment, a statement of uncertainty or a standard expression of surprise repeatedly takes the place of a reply that responds to the substance of the message. A reader can encounter a sequence of individually plausible turns and still come away with the impression that the system is paying little attention.

That failure is easy to miss if a reply is examined apart from its input. A conventional phrase frequently has good grammar and a recognizable conversational function. Its weakness becomes evident when it is paired with a message that calls for a more particular continuation, or when the same phrase appears across many exchanges. The authors treat diversity in this sense as a property of how the system responds across inputs. For each message, they still want the system to choose a single reply.

The task has a basic source of competition among answers. A message can license several continuations, each of which picks up a different part of what was said. Even two replies that respond to the same detail can express their point in different words. A widely applicable answer has fewer requirements. It can receive support from many examples whose details differ. When a system turns its probability estimates into a decision by choosing the highest-scoring reply, the familiar answer can outrank each of several more informative alternatives considered individually.

The paper makes the imbalance concrete with a training-data observation. In the authors’ OpenSubtitles training data, 0.45% of sentences contain the familiar expression used to say that the speaker lacks an answer. That percentage measures how frequently the phrase occurs inside a sentence. A sentence can contain it even if it also says something else. The authors see the frequency as striking given the variety of material in the corpus. A particular substantive answer has a much narrower set of situations in which a speaker would naturally use it.

The proposed explanation therefore has both a data side and a decision side. The data supply evidence that some phrases are common across conversations. The decision rule can amplify that advantage because it asks which particular reply is most probable for the input. It has no separate term for the degree to which the reply is associated with this input in particular. Under the authors’ account, that extra term could change the winner even when the estimated probability of every sequence under the forward system stays the same.

This is an argument about when probability alone serves the practical purpose of a task. To choose a response that carries something specific from the exchange, a system needs a way to value that connection. The authors frame it as mutual dependence. The forward question is how plausible the response is after the message. The reverse question is how plausible the message would be if the response were given. Many different messages could precede a routine expression of uncertainty. A reply that takes up a particular issue can give stronger evidence about the input that elicited it.

From templates to generated replies

The authors situate the problem in work on conversational agents intended to make interactions with electronic devices easier. They describe conventional approaches as relying heavily on templates and heuristics, including systems with statistical components. A system built around such resources must cope with variation in what people say and with changes in subject matter. The paper identifies robustness, the ability to scale and adaptation to new domains as reasons researchers were looking for ways to learn directly from conversational data.

An early data-driven approach cast response generation as a form of statistical machine translation. The message takes the place of a source sentence, and the response takes the place of a target sentence. The training pairs teach the system how text on one side tends to correspond to text on the other. In the phrase-based approach discussed by the authors, correspondences between phrases contribute to a score used to construct and rank candidate replies. The work that introduced this framing in the paper’s account is Data-Driven Response Generation in Social Media.

The translation analogy supplies an architecture for the problem. Dialogue also gives it a distinctive set of targets. The reply may answer a question, acknowledge a statement or take the exchange in a related direction. Its wording can draw heavily on the input or use quite different words. The freedom to select among materially different continuations is precisely what makes a broad, familiar answer competitive. The authors’ concern is with carrying over a decision rule whose natural emphasis may suit the task it came from better than this use of it.

Neural methods entered the line of work in several ways. One was to keep the phrase-based generator and give a neural scorer its list of candidate replies. That scorer could incorporate the preceding conversational context when reevaluating candidates. A reply that looks suitable after reading the message alone might look different after the reader sees the turn before it. The earlier approach the authors cite for this kind of rescoring is A Neural Network Approach to Context-Sensitive Generation of Conversational Responses.

Another approach was to train a neural system to generate a response directly. The sequence-to-sequence architecture maps an ordered input to an ordered output. One part encodes the input, and a second part produces the output a token at a time. In the paper’s account, this offers a way to learn patterns of composition and relationships across longer stretches of text, as well as dependencies between an exchange and its reply. It also offers the prospect of reusing the same general architecture across languages by learning the relevant patterns from data. The cited work includes Sequence to Sequence Learning with Neural Networks and A Neural Conversational Model.

The related work also includes direct generation for short exchanges and hierarchical approaches to dialogue. The authors distinguish their interest in naturally occurring conversational patterns from work that uses crowdsourced examples to learn response templates. For the study at hand, the crucial inherited capability is that a direct generator can produce a sequence of its own words and assign scores to alternatives. It makes the ranking of those alternatives a part of the system that can be investigated separately. Neural Responding Machine for Short-Text Conversation and Building End-To-End Dialogue Systems Using Generative Hierarchical Neural Network Models.

This history gives the paper two different senses in which to talk about a candidate. With phrase-based generation and neural reranking, the candidates arrive from a distinct first-stage system. With direct generation, they are among the token sequences assembled by the neural decoder itself. The paper can change the decoder’s scoring as it assembles those sequences or let the usual decoder complete them and then reevaluate the list. That choice turns out to matter because a score that is especially informative for complete replies can arrive after the search has discarded an opening it would have favored.

Diversity within a list and across a conversation

Earlier work on diversity had asked how to return a collection of outputs whose members differ from each other. The authors mention selecting summary sentences that avoid redundancy and generating varied lists of translation candidates. In both cases, the relationship among the selected items is part of the goal. If a list contains several versions of the same idea, a procedure that compares one candidate with another can reduce duplication.

Conversational generation in this paper uses a different unit of choice. The user receives one response per message. The desired change is for that response to engage with the particular exchange. If an internal candidate list contains many phrasings of uncertainty, it can appear varied by a count of words while offering little choice about the substance of the reply. The final ranker benefits more from a list that also contains candidates that address distinct aspects of the message. This is the practical difference between lexical variety, which concerns wording, and variety in what the responses express. Lexical semantics.

The paper brings mutual information into this setting from earlier applications. The authors trace its use as an optimization criterion to speech recognition and mention an application to matching images with captions. The image-caption work uses mutual information for retrieval. Here the system must first be able to generate the text that it will score. Each candidate is itself a sequence of decisions, and the possible replies are too numerous to enumerate. The transfer therefore involves a question about search as well as a question about how to express mutual dependence. Deep Captioning with Multimodal Recurrent Neural Networks.

This sets up the distinction on which the method rests. A criterion applied to a completed pair can say that a reply tells the system something about the message. A generation procedure also needs to decide what to keep while the reply is still unfinished. The authors develop a version of MMI for each of those stages. The version based on general predictability can influence early token choices. The bidirectional version examines completed replies, for which the reverse probability has its intended meaning.

The method, step by step

From a message to a candidate reply

The experiment begins with paired sequences. The source is the text to which the system responds. It can include the preceding turn when the data supply one. The target is the next reply. During training, the system sees examples of both sides. During generation, the source is given, and the system constructs possible targets. The paper calls this construction process decoding.

The encoder reads the source and builds a vector representation of it. The decoder uses the information from the encoder to begin producing the target. At each step, the decoder assigns probabilities to possible next tokens. A token is a unit the system reads or predicts, such as a word or the special symbol indicating that a reply is complete. A predicted token becomes part of the information used at the next step. In this way, the probability of a continuation can depend on the source and on the words already chosen for the reply.

The networks that do the encoding and decoding are long short-term memory networks, or LSTMs. An LSTM has a state that it carries forward and can update in light of each new input. Its gates regulate which parts of the earlier state persist, how much new information it adds, and what it exposes through its output. The paper uses separate recurrent parameters for the encoder and decoder, which lets each learn patterns suited to its side of the exchange. The word vectors used as inputs to these calculations are word embeddings.

For an intuitive example, consider a message about an uncertain plan. A reply that expresses uncertainty might get a good forward score, since uncertainty is compatible with the message and is common in the training data. A candidate that responds to the plan itself can also be plausible. Under the anti-language-model version of MMI, the first candidate has to overcome the fact that its opening is easy to predict even without the message. Under the bidirectional version, the candidate about the plan can gain an advantage if it helps the reverse system assign a higher probability to the actual message. This example describes the roles of the scores. Their values in a real exchange depend on the estimated probabilities.

The two versions share the trained forward scorer. Their difference lies in where the extra information enters the decision. In MMI-antiLM it enters while the decoder is comparing possible extensions of the reply. In MMI-bidi it enters after a search based on the forward probabilities has returned a set of completed replies. The following flow traces the common preparation and the two routes to a final choice.

Training and decoding with the two MMI variants

The steps in order.

Training and decoding with the two MMI variantsStep 1: Prepare paired messages and replies1. Prepare paired messages and repliesStep 2: Train the forward sequence predictor2. Train the forward sequence predictorStep 3: Fit the reply prior or reverse predictor3. Fit the reply prior or reverse predictorStep 4: For antiLM, score openings during decoding4. For antiLM, score openings during decodingStep 5: For bidi, generate complete forward candidates5. For bidi, generate complete forward candidatesStep 6: In bidi, rerank with reverse likelihood6. In bidi, rerank with reverse likelihoodStep 7: Select the highest-scoring available reply7. Select the highest-scoring available reply

What the recurrent network computes

In the paper’s general sequence notation, X is the input and its items are x₁ through xₙ, with Nₓ representing the input length. Y is the target sequence, whose tokens are indexed by k up to Nᵧ. At a recurrent step, the network has a prior hidden vector and reads the embedding of the current input unit. Combining those vectors gives the gates access to both the new input and the representation carried from the previous step. The gates use the sigmoid function to turn their inputs into componentwise weights.

iₖ = σ(Wᵢ · [hₖ₋₁, eₖ])

Here iₖ is the input-gate vector at step k. The brackets with a comma mean concatenation, so the previous hidden vector hₖ₋₁ and the current embedding eₖ form a single input to the calculation. Wᵢ is the learned input-gate matrix, the dot denotes matrix–vector multiplication, and σ is the sigmoid applied component by component. The input gate determines how much of the proposed new cell content enters the memory.

fₖ = σ(Wբ · [hₖ₋₁, eₖ])

Here fₖ is the memory gate, commonly understood through its effect on how much of the preceding cell state is kept. Wբ denotes the paper’s matrix W with subscript f. The concatenated vectors hₖ₋₁ and eₖ again provide the previous hidden output and the current input representation at step k. The dot applies the matrix, and σ converts the result to gate values. This gate can retain some parts of the preceding state while attenuating others.

oₖ = σ(Wₒ · [hₖ₋₁, eₖ])

Here oₖ is the output gate, and Wₒ is its learned weight matrix. The step k calculation uses the previous hidden vector hₖ₋₁ together with the current embedding eₖ. The dot marks matrix–vector multiplication and σ applies the sigmoid to each component. The gate governs how much of the updated memory contributes to the exposed hidden output.

lₖ = tanh(Wₗ · [hₖ₋₁, eₖ])

Here lₖ is the proposed new content for the cell at step k. Wₗ is the matrix for that proposal. The previous hidden output hₖ₋₁ and the current embedding eₖ are concatenated, and the dot indicates that the matrix operates on the resulting vector. The hyperbolic tangent, written tanh, is applied component by component. The memory update can take some or all of this proposed content through the input gate.

cₖ = fₖ · cₖ₋₁ + iₖ · lₖ

Here cₖ is the updated cell state and cₖ₋₁ is the previous cell state. The gate fₖ scales the old state, and the gate iₖ scales the proposed update lₖ. In this equation the dots represent elementwise products. The plus sign combines the retained old content and admitted new content element by element. This is where the separate decisions about remembering and writing take effect.

hₖˢ = oₖ · tanh(cₖ)

Here hₖˢ is the hidden output at step k, written with a superscript s in the paper’s last recurrence line. The surrounding definition refers to the recurrent hidden vector as hₖ and gives the superscript no separate role. The output gate oₖ scales the hyperbolic tangent of the new cell state cₖ. The dot is again elementwise multiplication. The weight matrices used in the gate and proposal equations map a concatenated vector of width 2D to one of width D, where D is the vector dimension.

The decoder assigns a score to each possible next token using its current information. A softmax turns these scores into probabilities by exponentiating each score and dividing by the sum of the exponentiated scores for the available tokens. A full reply receives the product of its successive next-token probabilities. In the formula below, the source sequence is written as X throughout.

p(Y ∣ X) = ∏ₖ₌₁ᴺʸ p(yₖ ∣ X, y₁, …, yₖ₋₁)

Here p denotes probability, and the vertical bar means that the terms on its right are given. Y is the output sequence, X the input, and yₖ the output token at position k. The tokens y₁ through yₖ₋₁ form the output prefix, which is empty before the first prediction. The product sign runs through the Nᵧ output positions. This factorization lets the decoder accumulate a score as it extends a reply.

p(yₖ ∣ X, y₁, …, yₖ₋₁) = exp(f(hₖ₋₁, eᵧₖ)) / ∑ᵧ′ exp(f(hₖ₋₁, eᵧ′))

Here the probability on the left is for token yₖ at step k with source X and prefix y₁ through yₖ₋₁. In the activation f, the vector hₖ₋₁ carries information from the decoder before this prediction and eᵧₖ is the embedding of the proposed token. The name f in this softmax refers to the scoring activation and is separate from the memory gate fₖ. The function exp exponentiates the activation. The sum over y′ runs through possible next tokens, with eᵧ′ the embedding for each of them. Dividing by the sum normalizes the scores across the vocabulary.

The full sequence has a special completion symbol, EOS. Predicting it finishes the current hypothesis. This means the search decides both what the reply says and where it stops. Under greedy search, the decoder commits to the most probable available next token at each step. Under beam search, it keeps several high-scoring unfinished sequences in play, because a locally weaker token can lead to a higher-scoring complete reply. A beam width is the number of unfinished hypotheses retained for continued expansion. Completed hypotheses can be collected in a separate ranked list called an N-best list.

Adding evidence about the message–reply pair

In the dialogue notation, S is the source message and T is a possible target reply. Nₛ counts words in the source. The target contains tokens t₁ through t indexed by Nₜ, followed by EOS in the paper’s sequence notation. The conventional word embedding for a target token t is eₜ of dimension D, and V denotes the vocabulary size. The authors use Nₜ for the reply length when defining the decoding features.

T̂ = argmaxₜ {log p(T ∣ S)}

Here the subscript on argmax refers to the target candidates T as whole sequences. T̂ is the selected reply, and argmax returns a candidate attaining the best score. The probability p(T ∣ S) is the forward estimate for reply T given source S. The logarithm, log, preserves the order of positive probabilities and converts a product of token probabilities into a sum. This is the ordinary maximum-likelihood decision rule for a fixed input.

The authors apply mutual information to a particular pair of sequences. The question is how probable the pair is relative to what its two members’ separate probabilities would suggest. When the source and reply are treated as independent, the reference probability of the pair is the product of those separate probabilities.

log [p(S, T) / (p(S)p(T))]

Here S and T are the message and reply. The joint probability p(S, T) measures their occurrence together. The marginals p(S) and p(T) give the probabilities of the source and target considered separately, and their juxtaposition in the denominator means multiplication. The bracketed ratio compares actual joint probability with the independence reference. The logarithm defines the paper’s pairwise mutual information score.

The source marginal is shared by every reply to the same message. Expressing the joint probability through the forward conditional cancels that source marginal. The resulting score can be understood as the improvement in the reply’s log probability when the message is supplied. This gives a common reply a high score only if the message makes that reply especially plausible compared with its already strong standing in general.

T̂ = argmaxₜ {log p(T ∣ S) − log p(T)}

Here T̂ is the winning reply and argmax ranges over whole candidates T. The first logarithm scores the reply given the message S. The second scores the same reply in isolation, using its marginal probability p(T), and the minus sign discounts this general predictability. The candidate’s standing depends on the relationship between its conditional and unconditional scores.

The authors make the strength of the discount adjustable. With log probabilities, an unlikely sequence has a more negative score than a likely one. Subtracting a weighted log prior therefore gives the larger upward adjustment to the candidate whose unconditional probability is smaller. That can reverse the ranking of two replies with similar forward scores. The weight lets the authors decide how much evidence of general predictability to allow for before it changes the ranking.

T̂ = argmaxₜ {log p(T ∣ S) − λ log p(T)}

Here T̂ is again the reply maximizing the score over targets T. The forward probability p(T ∣ S) depends on message S, while p(T) is the target marginal. The parameter λ multiplies the log marginal and thus controls the strength of the discount. At a weight of 0, the score reduces to the forward decision rule. At 1, it gives the pairwise mutual information criterion for a fixed source.

The same ideal objective has a reverse form. Bayes’ rule expresses the joint probability by starting with the source or by starting with the target. Taking logs and rearranging then gives a relation between the target marginal and the two conditional probabilities.

log p(T) = log p(T ∣ S) + log p(S) − log p(S ∣ T)

Here p(T) and p(S) are the marginal reply and message probabilities. The quantity p(T ∣ S) is the forward probability of the reply for the given message, and p(S ∣ T) is the reverse probability of the message given the reply. Each log acts on the corresponding probability. The plus and minus signs result from rearranging the equality between the two factorizations of the joint probability.

T̂ = argmaxₜ {(1 − λ) log p(T ∣ S) + λ log p(S ∣ T) − λ log p(S)}

Here T̂ and argmax denote the chosen reply and the search for it over candidates T. The coefficients 1 − λ and λ weigh the forward and reverse log probabilities. The final term uses the source marginal p(S), scaled by the same λ. This expression results from substituting the Bayes identity into the weighted score. Because S is given for the entire comparison, the final term is constant across the candidate replies.

T̂ = argmaxₜ {(1 − λ) log p(T ∣ S) + λ log p(S ∣ T)}

Here T̂ is the maximizing reply T for source S after dropping the shared term. The forward log probability carries weight 1 − λ and the reverse log probability carries weight λ. This form turns the prior discount into a contribution from the ability to predict the original message, along with a corresponding change to the forward coefficient.

These equations express equivalent rankings when the probabilities come from the same joint distribution and the full objectives are used. The practical methods make further choices. The anti-language-model method truncates the effect of the reply prior. The bidirectional method uses separately trained scorers and applies the reverse score only within a candidate list. The algebra explains the motivation for both, while the actual search procedures determine which replies get the opportunity to benefit.

MMI-antiLM and the first words of a reply

To score the reply without seeing the message, the authors use the familiar next-token structure of a language model. Its prediction at a position relies on the preceding reply tokens. Multiplying the probabilities gives the unconditional reply score used to express commonness. The paper writes this product over positions through Nₜ.

p(T) = ∏ₖ₌₁ᴺᵗ p(tₖ ∣ t₁, …, tₖ₋₁)

Here p(T) is the unconditional probability of target T. Nₜ is the length used for the reply product, k is the current position, and tₖ is the current token. The conditional probability is calculated given the previous reply tokens t₁ through tₖ₋₁. The product sign combines the successive probabilities. The conditioning information on the right contains no source message.

Subtracting the log of that probability throughout the reply creates a problem. Fluent phrases tend to be predictable from the words before them. Unusual grammatical errors can be highly unpredictable. The adjustment for unpredictability can therefore favor a sequence that the forward score has failed to penalize strongly enough. The authors observe this behavior in practice. They note that, in principle, they would expect the forward penalty for an ungrammatical reply to dominate when λ is below 1. In their system a low prior could sometimes outweigh the evidence available from the forward direction.

The authors’ design puts more of the adjustment at the start. Their reasoning is that the source representation plays a larger part in the early decisions, before the reply itself supplies a long history. The early words also establish a direction for what follows. A routine beginning can guide subsequent predictions toward a broadly applicable response. Keeping a different beginning alive can lead to a different subject or conversational function. Once a response has taken shape, ordinary local predictability can help the decoder complete it fluently.

This motivation also draws on a specific observation about where grammatical trouble appeared. The authors found that malformed stretches tended to come later, especially in long replies. At those positions, they wanted the forward scorer to have the ordinary responsibility for choosing fluent extensions. They express the position dependence through a weight g that decreases as the token index increases. The paper adopts a step function to implement it.

g(k) = { 1 if k ≤ γ
         0 if k > γ }

Here k is a position in the target sequence and γ is the cutoff for applying the unconditional language score. The value 1 keeps the contribution from a position at or before the cutoff, and 0 removes the contribution from a later position. The inequalities compare k with the same cutoff. The authors also considered a smooth decrease in the positional weight and report that it offered no improvement over the step.

There is a notation issue in the printed definition of the modified prior. The product’s bound uses one index while its factors use another. More importantly, multiplying each factor by a literal zero after the cutoff would set the entire product to zero. Its logarithm would then fail to give the finite decoding score described by the authors. The stated procedure is to stop charging the language-model adjustment after the cutoff. Written as a product of only the retained factors, that procedure is as follows.

U(T) = ∏ₖ₌₁ᵐⁱⁿ⁽ᴺᵗ,ᵞ⁾ p(tₖ ∣ t₁, …, tₖ₋₁)

Here U(T) is the modified prior score for reply T. The product starts at the first token and ends at the earlier of the reply length Nₜ and the cutoff γ, as indicated by min. The terms are unconditional next-token probabilities for each tₖ given the preceding reply tokens. Expressing the product this way implements the paper’s description of the cutoff. Later tokens leave the modified prior unchanged.

log p(T ∣ S) − λ log U(T)

Here p(T ∣ S) is the forward probability of the candidate T for source S, U(T) supplies the opening-only language score, and λ sets the strength of the adjustment. The first log still scores the entire reply. The second log can be accumulated from the retained opening tokens. Once the decoder reaches the cutoff, later words continue to affect the first term and add no further prior adjustment.

This version is compatible with incremental search because every scored factor is available when the decoder chooses its next token. An unfinished reply can be compared with its competitors after each extension. A promising prefix that would have fallen below the ordinary beam can survive under the adjusted score. This is a consequential difference from changing the ranking of already completed candidates, because the forward search may never generate descendants of an early prefix it has discarded.

MMI-bidi and the reverse question

The reverse scorer reads a candidate reply as its input and estimates the probability of producing the original message. This is the same type of sequence prediction problem as forward generation, with the roles of the paired texts interchanged. During reranking, the system evaluates the probability of the known source sequence. A candidate gains from the reverse term when the observed message is relatively easy for the reverse network to predict from that reply.

Consider the search before there is a complete reply. The reverse encoder would have to use an unfinished sequence in place of the full candidate, even though a later word could substantially change what the reply says. A reverse probability calculated for the fragment would score a different input to that network. The authors therefore treat direct decoding under the forward-and-reverse criterion as intractable. Searching all complete replies for the best joint score would involve far more sequences than the decoder can practically explore.

The approximation is to generate an N-best list with the forward system. Once each reply is complete, the reverse system can score the original message conditioned on it. The decoder then ranks the list using forward likelihood, reverse likelihood and a feature based on reply length. The authors expect this procedure to inherit some fluency from the first stage, since the candidates have already passed through a search that favors probable forward sequences.

Candidate coverage also defines what the reverse score can accomplish. It can bring a low-ranked, specific reply above a generic forward winner. If the beam has discarded all of the beginnings that take up a detail in the message, every remaining candidate may be generic in much the same way. The reverse score can only choose among those available continuations. A large list creates more room for it to work when the extra entries supply different substantive answers.

The source can include text from the preceding turn along with the current message. Then that combined source is what the reverse direction predicts. The score measures the ability to recover the input used in the experiment. Its meaning therefore depends partly on how the source was prepared. A strong reverse score can reflect an association with a detail in the earlier turn, a detail in the message, or both.

Fitting the probability estimators

The authors fit the sequence predictors by maximum likelihood. Training uses the observed reply in a pair to give the decoder the target it should predict for the observed source. Increasing the probabilities assigned to observed target sequences is the fitting objective. For the reverse predictor, the authors use the same kind of architecture and swap messages and replies in the training pairs. The anti-language-model score uses probabilities of reply words given other reply words. The paper defines the role of this unconditional estimator and gives its token factorization, while its detailed architecture and optimization settings concern the sequence-to-sequence networks.

The encoder has four LSTM layers, and the decoder has four LSTM layers. There are separate parameter sets for the layers and for the two sides. Each LSTM layer has 1,000 hidden neurons, and each word embedding has dimension 1,000. Stacking recurrent layers lets the output from one layer inform the representation computed in a layer above it. The paper adopts the deep arrangement based on earlier sequence-to-sequence work.

The training procedure starts the LSTM parameters and embeddings with values sampled uniformly between -0.08 and 0.08. Stochastic gradient descent uses a fixed learning rate of 0.1 and processes data in batches of 256. The paper also specifies gradient clipping. When the gradient norm exceeds 1, its scale is reduced, limiting the size of an unusually large update. On a Tesla K40, the implementation reportedly processes about 600 to 1,200 tokens per second. This rate concerns the authors’ implementation on that device.

The authors separate the fitting of probabilities from the selection of decoding weights. Repeatedly fitting the recurrent networks for different values of λ would be expensive. Their setup lets them change how strongly the scores influence the decision while keeping those learned probabilities fixed. In particular, the claim that the method leaves maximum-likelihood training in place applies to the fitting criterion. The bidirectional version still requires a predictor trained for the reverse task.

Length, beam search and tuning

The authors find it important to account for reply length when decoding. Sequence scores accumulate as tokens are added, and a completed response enters the candidate list as soon as its EOS is predicted. A length feature gives the scorer a separate way to influence which completed targets are preferred. The paper’s antiLM decoding subsection prints the following expression for the final score.

Score(T) = p(T ∣ S) − λ U(T) + γ Nₜ

Here Score(T) is the decoding score as written in that subsection. The first term denotes the forward probability for reply T given source S. The second subtracts the modified prior U(T) with weight λ. The third uses the length Nₜ with weight γ. In this use, γ is a fitted coefficient for length. The paper uses the same character earlier for the cutoff position, which has a different role.

The displayed decoding expression omits the logarithms included in the earlier definition of the antiLM criterion. Those two expressions differ as written. The consistent procedural description is that the decoder combines a forward feature, an opening-focused prior adjustment and a length feature. The exact final score scale cannot be recovered by treating the two printed expressions as interchangeable. The bidirectional decoding subsection likewise describes a linear combination of the forward, reverse and length features, while the derivation gives the forward and reverse mixture in logs.

The weights for the score features are tuned with minimum error rate training, abbreviated MERT. In this use, MERT searches for weights that give good BLEU performance on candidate lists for development data. A different set of weights can make a different reply win within a list. This tuning uses the reference replies to choose score weights for subsequent decoding. It leaves the fitted sequence predictors in place. The authors say that grid search was also possible given the small set of features and free parameters. Their account of tuning emphasizes balancing forward and reverse evidence and keeping the selected lengths reasonable.

The main beam setting is 200. The antiLM decoding description specifies a generation cap of 20 for candidates. In the search procedure detailed there, the decoder considers an expansion from each beam entry to possible next tokens. The paper describes the expansion pool at a step as B × B, using B for the beam width. The decoder collects hypotheses that end with EOS into the completed list and keeps the top B unfinished ones to expand at the next step.

Collecting and expanding are separate operations. When a promising reply finishes, an unfinished candidate can take up the capacity it frees in the beam. Consequently, a width of 200 is a limit on the working beam in the reported setting, and the completed list over the course of search can be larger. That distinction matters for MMI-bidi. Its reverse scorer sees the completed list, which can include replies that finished at different lengths. The number of available choices is therefore determined by the search procedure as well as the beam width.

The final contrast in operation is a matter of timing. AntiLM can change the order of unfinished hypotheses, including at the point when their first words compete for the same space in the beam. Bidi gives a different ranking to complete replies that survive the forward generator. The former uses an early signal about which phrases need little context. The latter uses a complete sequence to ask how strongly it points back to the particular input. The experiments test the usefulness of those two ways of bringing message specificity into the decision.

Experiments and results

Twitter conversations and their reference replies

The Twitter experiment uses an extension of the conversational data associated with Sordoni and colleagues’ work. Its 23 million snippets were sampled at random from a set of 129 million triples. Each triple comprises context, a message and a response. The source collection was built from three months of Twitter Firehose data, spanning June to August 2012 inclusive. Those figures describe the provenance and scale of the conversation collection.

The authors restrict the context supplied to the recurrent system to the turn immediately before the message. They concatenate that turn with the message to form the source input. The response is the target. This arrangement brings some conversational history into the prediction while keeping the source a single sequence for the encoder. It also fixes the amount of history available to the scoring methods: any dependency on an earlier turn outside this input has to be inferred, if at all, from the text the system receives.

The authors use a development set of 2118 conversations and a test set of 2114 examples. The development set supports weight tuning, and the test set supplies the examples for the reported comparison. The held-out material is augmented through information retrieval to provide multiple references. In this setting, a reference is a reply supplied for comparison with what a system generates. The use of several references gives BLEU more opportunities to recognize accepted wording or content than a comparison based on a single observed continuation.

The construction of the held-out material is relevant to the question the authors ask. Relevance and interestingness played a part in the selection criteria. The authors expect that choice to make dull replies less competitive in evaluation. A system that learns to avoid routine wording can benefit when the references show more context-specific ways to continue the exchange. The results pertain to that curated test, with its multiple replies and the supplied preceding turn.

Training on subtitles and testing on scripts

The movie-dialogue experiment draws its training material from the OpenSubtitles database, abbreviated OSDb. The paper characterizes the collection as containing roughly 60M-70M lines of scripted film dialogue. The collection offers examples from varied settings, but its subtitle lines lack explicit speaker identifiers. The authors therefore treat a subtitle line as a complete turn and use neighboring lines to obtain training material for predicting a current turn from preceding text.

That procedure introduces uncertainty into the message–response relationship. Adjacent subtitles can come from different scenes, and a subtitle boundary can fall between lines associated with the same speaker. Even within the same scene, knowing that the lines are adjacent is weaker evidence of a conversational exchange than knowing that different characters spoke the consecutive lines. The scale of OSDb makes it a source of training examples. The speaker information available in a different corpus makes that corpus better suited to the particular evaluation the authors want.

For development and testing, the authors use the Internet Movie Script Database, abbreviated IMSDB. They describe it as containing around 0.4 million sentences. The scripts explicitly identify characters’ lines, allowing the authors to choose adjacent turns spoken by different characters. They randomly select a development subset and a test subset of 2k pairs each. Both the source and target lengths are restricted to the interval [6,18] in those subsets.

This means that the experiment often called the OpenSubtitles evaluation is an evaluation on movie-script pairs of systems trained using subtitles. The training source and evaluation source play separate roles. A better score indicates better agreement with the held-out script continuations under the reported evaluation procedure. It combines whatever the system learned from subtitle adjacency with the effects of its decoding rule on the cleaner test pairs.

The script data support a single reference for each test item. The authors connect that choice to the limited size of IMSDB. It changes what success on BLEU requires. A reply can respond to an appropriate part of a message yet choose a continuation the scriptwriter did not use. That output has fewer chances to receive word-overlap credit when the evaluation has only one continuation. The authors therefore emphasize reference count when explaining the difference in absolute BLEU scores between the scripted and Twitter settings.

Comparators and what each comparison tests

The principal neural comparator uses the standard conditional likelihood to choose a reply, with the main beam size set to 200. It provides the closest reference point for the MMI systems because it uses the forward sequence predictor without the alternative decision score. This comparison addresses whether changing how the system selects a reply can improve the output. For the bidirectional method, the key change includes evaluating completed candidates with the reverse predictor. For antiLM, it includes changing the score used during generation.

The Twitter comparison also uses greedy sequence-to-sequence decoding. Greedy decoding commits to the most probable next token for its current prefix. Its final reply can differ from a wider beam’s winner because the greedy path and the highest-probability complete sequence need not coincide. The authors include it because disrupting the search for the forward optimum can itself produce different responses. With this comparator in place, the evaluation can ask whether using a different score offers an advantage over changing how thoroughly the original score is searched.

The paper also considers sampling from the conditional reply distribution as a possible way to obtain different outputs. Its reported Twitter comparison uses greedy search and beam search as the ordinary neural comparators. Sampling appears as another possible response to the same search problem. The authors prefer to identify a criterion that favors the property they want the selected reply to have and then seek a good solution under that criterion.

The other Twitter comparators come from earlier work on the same dataset. One is phrase-based statistical machine translation, referred to as MT or SMT in the paper’s descriptions. It uses features including estimates of phrase correspondence in both directions, penalties related to words and phrases, and a feature for reordering. These scores come from the translation framing of the dialogue task. Its forward and backward translation features belong to a phrase-based generation system, whereas the proposed reverse score evaluates the probability of the whole source from a completed reply.

The second phrase-based comparator reranks candidates with neural scores. It first generates candidates with the MT system. Recurrent scorers then evaluate them in relation to the messages, and their scores are fed back into ranking. Additional features use matching word sequences between the context and reply and between the message and context. These features let the comparison take account of an earlier system that already exploits conversational context and a neural reranking step.

The earlier phrase-based systems were trained on roughly 50 million examples. That amount is larger than the Twitter collection described for the neural experiments in this paper. The Twitter test set allows comparison of the reported systems on the same benchmark. Their training sizes and candidate generators differ, so the comparative result includes those differences as part of the systems being compared. The comparison with the ordinary sequence-to-sequence decoder gives a more direct view of what changes when MMI is used in this architecture.

What the metrics measure

BLEU supplies a measure of overlap between generated text and reference text. The word sequences it compares are called n-grams. A reply that uses words and short expressions found in the references can receive credit for those matches. The authors use BLEU for weight tuning and for final evaluation, citing earlier dialogue work in which it correlated reasonably well with human judgments. On Twitter the calculation uses multiple references. For the subtitle-trained systems evaluated on IMSDB, it uses a single reference.

The number of references changes the meaning of a particular absolute score. With several references, each additional accepted reply can include wording absent from the others. A candidate can agree with one valid continuation even if it has little overlap with another. With one reference, the available evidence is concentrated in the text of that reply. The paper’s between-system comparisons within either test set keep that reference condition fixed.

The authors also measure diversity over the generated replies. Distinct-1 counts the unique single tokens, or unigrams, and normalizes by the total generated token count. Distinct-2 uses unique pairs of adjacent tokens, or bigrams, with the same denominator. A system that repeatedly uses an identical stock phrase adds tokens on each occurrence while adding few or no new types after the first. A system that generates a broader range of vocabulary and short word combinations can attain higher ratios. Normalization helps account for the amount of generated text.

Distinctness measures variety in the collection of outputs. Its numerator registers new word forms or combinations even when several of those forms express similar meanings. It can also rise when a generated phrase is unusual and poorly suited to the input. The authors therefore consider it alongside reference overlap and reader judgments. They also decline to use perplexity as their main evaluation measure. Perplexity concerns the probabilities assigned to observed text, while this study deliberately changes the rule for selecting the text a user sees.

Twitter test results

On Twitter, MMI-bidi improves BLEU and output diversity over the ordinary beam-search sequence-to-sequence baseline. The paper gives 5.90 as the multi-reference BLEU score for MMI-bidi with its main beam of 200. The phrase-based system with neural reranking scores 4.44 on the Twitter test set. The authors identify the latter as the highest previous score they know of for that benchmark.

Twitter test set multi-reference BLEU for two reranking systems

Bidirectional MMI scores higher than neural reranking of phrase-based replies.

Twitter test set multi-reference BLEU for two reranking systemsPhrase-based MT with neural reranking: 4.44Phrase-based MT with neural reranking4.44MMI-bidi with beam size 200 (this paper): 5.90MMI-bidi with beam size 200 (this paper)5.90
The numbers
System or settingBLEU
Phrase-based MT with neural reranking4.44
MMI-bidi with beam size 200 (this paper)5.90

Both systems in the chart select a reply from candidates with the help of a neural scorer. They differ in how the candidates are generated and what the scorer evaluates. The earlier reranker starts from phrase-based outputs and adds scores from recurrent predictors and context features. The MMI-bidi system starts from the neural forward generator and adds evidence about how well the reply predicts the original source. The comparison captures the performance of the complete procedures on the same test, with the training-data difference described above.

The authors also report how MMI-bidi fares with narrower search on that test. Multi-reference BLEU is 5.86 at a beam width of 50 and 5.76 at a beam width of 20, compared with 5.90 at the main width of 200. At width 20 the completed lists contain 173 entries on average. Thus a beam that is much narrower than the main setting still supplies many completed replies for the reverse scorer. The collected replies also vary in length. The observation supports the authors’ account that the method’s practical opportunity to rerank depends on the completed list as well as the number of prefixes pursued simultaneously.

There is also evidence about what an overlapping-reference score leaves out. The authors report that the phrase-based MT system has greater lexical diversity than MMI-bidi. In the human comparison, readers still prefer MMI-bidi to MT on the specified criterion. The systems can therefore order differently depending on whether the evaluation counts varied words across many outputs or asks whether a particular answer addresses its conversation.

Results for the subtitle-trained systems

In the movie-dialogue experiment, the authors report lower BLEU scores overall than on Twitter and give single-reference evaluation as the main explanation. They also suggest that movie exchanges may express more information in a concise form. That interpretation concerns the content of the data. A response can take up only part of an information-rich message, while the single recorded reply reflects the particular way the script continued. Under either explanation, the within-test comparison is the clearer measure of how the alternative decoder performs.

The output-diversity result shows that ordinary neural decoding is especially repetitive in the movie setting. The authors give baseline distinct-1 as 0.0056 for the subtitle-trained system on the script evaluation and 0.017 for the ordinary sequence-to-sequence baseline on Twitter. These are normalized unigram diversity scores. The movie baseline repeats some standard responses frequently enough for the paper to identify a small set of uncertainty, disapproval and surprise replies that accounts for 32% of generated responses in its discussion of this result.

MMI-antiLM provides the stronger improvement in the movie experiment. The authors report an increase of up to 36% in BLEU and more than 200% in unigram diversity. Those percentages describe gains over the baseline in the comparison presented for the subtitle-trained systems. The BLEU change concerns the single-reference script test, and the diversity change concerns the normalized count of unique unigrams in the generated responses.

The authors interpret the contrast between the variants in terms of candidate availability. Forward generation in the movie setting continues to favor generic replies, even among the options proposed for reranking. The reverse scorer has fewer contentful alternatives to move up the list. AntiLM can act earlier, when ordinary scoring is still deciding whether to keep a promising first phrase. This makes its stronger performance consistent with the view that the starting candidate set is especially restrictive in this dataset.

The measured improvements show that a response can become more varied while also gaining agreement with a reference on this test. Those two outcomes follow from different measurements. The distinctness score concerns the collection of outputs. BLEU compares output wording with script references. The authors’ explanation connects them by suggesting that ordinary decoding frequently selects conservative phrases that poorly match the more particular recorded replies. Applying pressure to the beginnings of responses opens the search to some alternatives that fare better under both measures.

What readers preferred

The authors ask crowdsourced judges to evaluate MMI-bidi on a random sample of 1000 Twitter test items. The paired experiment presents competing replies to the same input. Each pair is ranked by 5 judges, and the judges are told to prefer the response that is more relevant and specific to the message and the preceding context. Ties are allowed. When the responses are identical strings, the evaluation assigns them the same score automatically. The reported gain for the bidirectional method summarizes the differences in the paired judgments.

At the significance level α = 0.05, the paper reports that MMI-bidi outperforms the standard beam-search and greedy sequence-to-sequence systems. It also outperforms both phrase-based comparators, with and without neural reranking. These are findings for the Twitter sample and the stated instruction to attend to contextual specificity. That prompt is close to the problem the new score was designed to address. It gives the judgments a concrete target beyond whether a reply sounds superficially plausible.

The judges also perform a separate absolute-quality evaluation of the MMI-bidi replies from the same 1000-item sample. Each reply is evaluated in its conversational context by 7 judges using a 5-point scale. Here the instruction concerns overall reply quality. The paper reports a mean of 3.84 and a median of 3.85. Its first and third quartiles are 3.57 and 4.14. These figures describe the ratings of the bidirectional outputs in isolation from a competing reply. The paper treats them as evidence that the responses were generally acceptable to the judges.

The distinction between the two judgment tasks is important for reading the results. A paired judgment asks which of the available replies is preferable under a specific instruction. A quality rating asks how good the given reply is in context. The first can detect an improvement even in an exchange where both systems leave something to be desired. The second gives a sense of the selected system’s quality on its own scale. In the study, they were conducted separately, so the absolute score complements the pairwise comparison without being a score for the comparison systems.

The paper’s examples also show how simple exchanges can flatter an ordinary decoder. A routine response can be appropriate to a greeting or an expression of affection. A more involved message can require a reply that addresses what was said, and the ordinary decoder often retreats to broad uncertainty in the illustrated cases. In the qualitative section, the authors say that their cross-system output examples were randomly sampled. They also separately describe lower-ranked entries in their opening illustration as manually selected. The latter demonstrate the presence of some specific alternatives, while the sampled outputs let a reader see what reaches the top under the different decision rules.

Together, the results show where each kind of evidence applies. On Twitter, the strongest reported multi-reference BLEU result highlighted by the authors comes from using the reverse score, and the paired judgments favor that choice under a context-specificity instruction. In the subtitle-to-script experiment, changing the score during search yields the larger reported improvement. The difference is consistent with the role of a candidate list in the method. A reverse scorer can recognize a specific reply among completed options, and an opening-focused adjustment can change which options become available in the first place.

What the ablations show

How much room the reverse score needs

The beam-width experiment varies the amount of search available to MMI-bidi while retaining the bidirectional scoring method. It gives a direct test of whether the Twitter result depends on the widest search in the paper. Multi-reference BLEU stays close to the main result as the beam narrows from 200 to 50 and then to 20. The reported scores move in the expected direction, with the widest beam doing best. The smaller settings still support most of the performance observed at the main setting on this test.

The important detail is what the smaller beam produces. The width limits how many unfinished replies are pursued at a time. A reply that finishes can enter the completed list while the search continues to extend other replies. The reverse scorer at width 20 therefore has an average of 173 completed entries to work with. It also gets to compare replies that end at different lengths. The experiment would have a different interpretation if a beam of that width supplied only the same number of complete alternatives, all of approximately the same form.

The result gives some information about how sensitive the method is to the size of the working beam. It gives less information about how sensitive it is to the content of the finished list. Narrowing the beam changes which prefixes survive, which paths reach completion and which completed replies can be scored in reverse. It leaves all of those effects bundled together. A small change in the aggregate score could coexist with substantial changes to particular candidate lists. The aggregate also leaves open how often the bidirectional scorer picks the same reply at different widths.

Consider what happens when an early candidate has several plausible ways to finish. A narrower beam can retain that opening and still accumulate many completed variations on it. In another exchange, the same beam width can support replies with quite different openings. The lists may look similar in size even though the reverse scorer has more substantive choices in the second case. The Twitter experiment establishes that the lists built by the smaller search were adequate for the reported result. It leaves the relationship between list size and the range of meanings available for selection largely unmeasured.

The experiment also leaves room for different effects at different stages. A larger search can find replies with better forward scores, including stronger versions of a routine answer. It can also preserve an opening that eventually produces the most context-specific candidate. These possibilities matter because the beam and the final ranker judge different properties. A candidate can be worth retaining for its eventual reverse score while remaining relatively unattractive during forward generation. The width comparison measures the net result of widening this particular search under this particular final criterion.

The earlier output inspection provides evidence about that separation of roles. In the opening demonstration, the authors look beyond the replies favored by ordinary decoding and identify candidates that say something more particular. Some suitable material was already reachable by the generator. Changing which of those replies a system presents can therefore alter its behavior without creating a new reply for that message. Reranking targets this kind of failure directly.

The choice of examples constrains what can be inferred. The less generic items in the opening demonstration were chosen by hand from lower ranks. Their presence establishes that a more specific alternative can survive forward search. The demonstration leaves unanswered how frequently that happens, and whether the alternative a reader would choose also receives a good reverse score. It supplies a reason to try reranking and a concrete account of what reranking can change.

The later inspection of MMI-bidi candidates revisits the opening inputs under the new score. This puts the earlier and later ranked outputs in relation to the same exchanges. A change in what appears near the top is evidence about selection for those inputs. It is possible to read the comparison as a small case study in what the forward criterion leaves beneath its winner. Its scope comes from the illustrated inputs and candidates. The examples convey more about the nature of the change than about its frequency.

A broader diagnostic would need to distinguish the replies present in the list from the replies the system can reliably recognize as preferable. The paper’s search-width test and its examples approach these questions from different directions. The width test observes the final output under a change to search capacity. The examples show that some lower-ranked candidates already have qualities the authors want. There is no reported estimate of how well an ideal selector could do with the lists the forward system actually produces. Such an estimate would be needed to quantify how much of the remaining error lies with candidate generation and how much lies with selection.

Greedy search changes a different part of the decision

The greedy comparator tests what can happen when the system pursues the ordinary score in a different way. Each next-token choice commits the search to a particular prefix. A locally appealing word can lead away from the reply a wider search eventually prefers. This makes the comparison relevant to diversity. Some stock answers that win under beam search can lose when the search is forced to make its commitments earlier.

Greedy search and MMI make different changes to the path from probabilities to output. Greedy decoding changes the search procedure and retains the forward conditional as its guide. MMI-bidi changes the standard used to choose among completed candidates. The Twitter preference result favors MMI-bidi over the greedy comparator as well as the beam comparator. On the criterion given to the judges, the change in what gets rewarded at selection time pays off against this particular way of altering search.

The comparison is especially helpful because avoiding a frequent answer is an intermediate event. A greedy path that escapes a standard reply can lead to a good continuation or a poor one. What matters to the judges is whether the continuation fits the observed exchange. The reverse feature supplies a reason to prefer some deviations from the ordinary winner. A reply that provides evidence about the actual input receives a higher bidirectional score than it would from the forward term alone, other contributions being equal. The judgment result supports the complete procedure that uses this information.

The paper raises sampling as another route to variation. Under sampling, several possible words can be chosen at a step according to their estimated probabilities. That would expose different paths through the original conditional distribution. Sampling and greedy search have different ways of reaching alternatives, so the result against greedy decoding leaves the sampling comparison open. The paper’s reported experiments support a targeted score change over the search comparator it actually evaluated.

The ordinary beam and greedy systems also sharpen the interpretation of the human judgments. The paired task gives two replies to the same exchange and asks readers to attend to contextual relevance and specificity. A system could change its vocabulary substantially and still return a reply that applies to many possible exchanges. This comparison gives some purchase on whether the changes that reach the output are of the kind the paper is trying to promote.

The phrase-based competitor provides a further check on that interpretation. The authors report greater lexical diversity for its outputs than for MMI-bidi, while the paired judgments favor the bidirectional system. That ordering demonstrates that the diversity count and the preference judgment can move independently. In this case, the broad variety of words produced by a system does not determine whether a reader prefers its answer to a particular message. The judgment and the count each register a different part of the outcome.

When the prior penalty acts

The antiLM analysis concerns which positions should contribute to the discount for general predictability. The full reply prior includes every successive word decision. In the authors’ initial formulation, a candidate can benefit from being hard for the unconditional scorer to predict at any point in the sequence. This produces two classes of opportunities for a reply to gain score. Its opening can be less conventional than the opening favored by the ordinary decoder. A later phrase can be unlikely because its wording is malformed. The unrestricted term assigns a benefit for either source of unpredictability.

The authors’ observations about malformed passages lead to the cutoff. The adjustment can change how openings compete, then stop accumulating while the forward term continues to judge every extension. This alters the incentives faced by a nearly finished candidate. Once the cutoff has passed, appending a particularly improbable string brings no additional reward from the unconditional component. The final reply can still inherit a poor opening from an earlier choice, and the forward scorer can still make mistakes. The cutoff specifically removes an incentive the full-prior criterion had introduced later in the sequence.

This is a useful diagnosis of what goes wrong with an intuitive score. The assumption behind the prior term is that a high unconditional probability can signal that the reply is suitable in many unrelated exchanges. A low unconditional probability carries much less specific information. It may reflect a meaningful commitment, rare words, an unexpected combination or a damaged sentence. The full-prior version treats these possibilities similarly when the forward contributions are close. Restricting the adjustment changes where that ambiguity has leverage.

The paper relates this choice to how the recurrent decoder develops a reply. At the start, the decoder has the encoded input and very little generated history. As the reply grows, each word adds more evidence about how the next word is likely to follow. The authors reason that changing the early words can redirect more of the sentence, while challenging predictable later words is more likely to disrupt an already established continuation. Their observation of errors toward the end of longer replies supports the design choice. The paper does not separately measure the influence of the source representation at each position.

To see what the cutoff is intended to preserve, imagine a candidate that opens by taking up a particular subject in the message. Once that subject is established, ordinary grammar and familiar wording may offer the clearest way to finish the thought. The early tokens have already distinguished the response from an acknowledgment that could follow many messages. The latter part of the reply can now be predictable for a good reason. Its predictability reflects the direction the reply has taken. Penalizing it further would apply pressure where the design has less reason to seek change.

The authors also tried a smooth decrease in the positional weight. They report that it brought no improvement over the stepwise rule. This comparison supports the choice of a simple cutoff for the tested setup. Both versions concentrate the prior adjustment toward the beginning, so the finding concerns the shape of the position weights within that shared design. It gives no general rule about the best point at which to stop applying the penalty, or how the preferred schedule would change with a different decoder.

The evidence for using an opening-focused penalty consequently comes in several forms. The unrestricted formulation produced grammatical problems in the authors’ experiments. Their observations about the positions of those problems informed the new design. The smooth schedule provided an alternative implementation of the same intuition and did no better in their trials. The main movie-dialogue result establishes the performance of the resulting antiLM procedure, which includes the position rule and the tuned decoding score. The paper provides no separate numerical estimate of how much each ingredient contributes.

The length feature creates a related interpretive issue. It can move a reply ahead of another because the two stop at different points, while the prior adjustment can change the words that survive at the beginning. Both can affect which candidates reach the final list and how selected replies compare with the references. The authors explain why they included a length feature and tune its weight with the other score weight. They give no separate result for removing it with the rest of the system held fixed. The observed gain belongs to the combined procedure.

What changes when the candidate pool is conservative

The subtitle-trained systems help reveal a condition under which reranking has less room to improve the output. The paper describes their forward candidates as comparatively conservative. In this case, the differences among finished replies may be too modest for a reverse scorer to bring forward a substantially more informative answer. The stronger result for antiLM is consistent with its ability to change which openings are explored before the candidates reach completion.

This comparison speaks to the mechanism through the relative placement of the two scoring changes. A reverse feature can confer an advantage at the end of search. The antiLM feature can confer an advantage on an unfinished reply that would otherwise lose its place. If the distinctive part of a potential reply begins early, that timing gives antiLM an opportunity the standard source of MMI-bidi candidates lacks. The two systems may disagree about what to select even in an exchange where their ideal objectives share a common motivation.

Several other aspects of the movie and Twitter experiments differ. The training sources have different conventions and different ways of establishing that two turns belong together. The evaluation material has different reference conditions. The sources used for prediction also reflect how the respective conversations were assembled. These differences mean that the contrast across corpora is an observation about entire experimental settings. The interpretation about candidate coverage is supported by the authors’ inspection of the movie lists, within a comparison that leaves other possible causes open.

The baseline diversity results give one independent indication that repetition is more pronounced in the movie setting. A unigram count fixed by the words the system emits is independent of how many reference replies are supplied for BLEU. The baseline’s narrower vocabulary use on the script test therefore concerns differences in the generated replies. That observation strengthens the case for examining what the forward decoder is producing, even though the diversity measure alone cannot describe the content or quality of its candidate lists.

The repeated stock replies described in the paper likewise identify what the final decoder tends to select in that setting. They show that the baseline can concentrate its answers on a small set of conversational functions. This concentration is relevant to the authors’ explanation of the movie results. A final-output count and a candidate-list analysis still have separate tasks. The first identifies the prevalence of the selected language. The second would need to tell us how often a good competing reply had any opportunity to displace it. The paper offers examples and a qualitative assessment of the lists for that second task.

The two variants also differ in the kind of information they introduce. AntiLM assesses the opening against its predictability in isolation. Bidi assesses the full reply as evidence for the actual source. A candidate can have a distinctive opening yet connect weakly to its message. A reply that connects closely to its message can also begin with ordinary words. The movie outcome is compatible with a search explanation, while leaving some role for differences in these scoring signals. Comparing their final performance does not establish how they would rank identical candidate pools.

A more specific claim about search would require examining comparable lists under both selection rules or varying their content independently of the scores. The paper’s beam-width test keeps the basic list-generation strategy and changes the search capacity. The movie comparison changes both the strategy and the score. Together they explain why candidate availability is a plausible part of the performance difference. They leave open the size of that contribution and how consistently it applies from one message to another.

More phrasings can leave the same answer in place

The experiment with maximal marginal relevance, or MMR, addresses what happens when explicit pressure for diversity is added to the procedure. The earlier use of MMR described by the authors concerns reducing redundancy among selected items. If two candidates already share much of their wording, choosing both can add little lexical variety to a set. The MMR-style addition considered in the paper encourages variation of that kind.

The authors report that it gave them more varied wordings without improving performance or making the replies more diverse in meaning. Their illustration involves different expressions of the same uncertainty. Such expressions may share few words and still take the same conversational stance. If all the prominent alternatives avoid engaging with the original message, giving the ranker more ways to express that avoidance does little for the task.

This result is a direct caution about interpreting distinctness. In a corpus of generated replies, using another way to convey uncertainty can introduce new unigrams and new adjacent pairs. That makes a higher diversity score possible. The same change may leave the speaker with essentially the same answer across many situations. The MMR observation supplies a concrete case in which varying the words and varying the substance come apart.

This comparison and the phrase-based human comparison are related, with different kinds of evidence behind them. The MMR experiment makes a change intended to add surface diversity and observes what follows under that procedure. The comparison against phrase-based generation shows that a system can have greater lexical variety and be less preferred for contextual fit. Taken together, they make it difficult to treat greater output variety as sufficient evidence for a better conversational reply.

There is a further difference between the objectives MMR and MMI express. Diversity among candidates is a property of their relationship to each other. Specificity is a property of a candidate’s relationship to its source. An answer can stand apart from other entries and still be a poor response to the input. A good response can share a phrase with another candidate because both appropriately address the same detail. The paper’s negative result with MMR is evidence about its tested addition. It leaves open the effects of generating candidate sets whose members differ more substantially in what they convey.

What the examples establish

The examples also help identify the circumstances in which the ordinary decoder can look competent. A greeting invites familiar responses. A straightforward expression of affection can be met with equally familiar language. In those cases, conventional wording is part of what makes a response natural. The authors’ examples make the problem sharper by showing exchanges in which a less predictable message still receives a routine expression of uncertainty.

These observations give genericity a conditional character. A reply is useful when its function fits the exchange, even if it contains common words. The same reply becomes unhelpful when it is chosen in place of a continuation the message gives the system reason to offer. A scoring method that demoted every familiar phrase in every setting would address frequency alone. In both MMI variants, the ordinary forward score remains relevant, so it can still support an appropriate conventional reply.

The paper’s randomly sampled cross-system examples and the initially hand-selected candidates have different evidential roles. A hand-selected alternative can show that a search was capable of reaching that reply. A sampled output shows what a particular selection procedure actually returned on that input. The authors use examples to display these differences in behavior, beside the systematic measurements. Neither form of illustration supplies a result grouped by message complexity. The impression that more complicated messages especially expose the baseline’s tendency remains a qualitative observation.

The controlled comparisons in the paper are therefore uneven in resolution. Beam width is varied with results on a common test. The authors also report comparisons of positional schedules and an experiment adding lexical diversity. The choice between antiLM and bidi changes several parts of the decoding procedure together. The human and example analyses show how the resulting output differences can matter to readers. They trace plausible mechanisms for the improvements while leaving the contribution of individual score features only partly isolated.

Limitations

Limits the authors identify

The authors describe the conservative-output problem as attributable in part to the choice of objective. That qualification matters. They show that a change in the score used at decoding can improve replies built from the same kind of training material. This establishes a role for the decision rule in the setting studied. The frequency of routine answers in the data remains part of the explanation, as do the patterns the recurrent networks learn from those examples.

The paper identifies grounding, persona and intent as important factors left for future investigation. Grounding concerns what an exchange is about beyond the words received by the decoder. Persona concerns attributes of the participants that might affect what they say and how they answer. Intent concerns the purpose served by a turn. A reply can be highly associated with the input and still be inappropriate because it conflicts with one of those factors. The score can favor a textual relationship using the evidence the system has. The experiments do not provide explicit representations or separate evaluations for these other sources of conversational appropriateness.

Consider the difference between recognizing the subject of a message and understanding what the speaker wants done about it. A reply can use related words and correctly take up the topic while offering an explanation to someone who was seeking reassurance. The reverse scorer may still find the original message unsurprising when it reads the reply. The paper’s criterion makes the associated source more recoverable, and its quality depends on how closely recoverability tracks the communicative relation the user cares about. The listed future directions concern information that could help establish that relation.

The authors explicitly acknowledge the approximation in bidirectional decoding. The reverse system needs the completed reply as input. Forward search makes the problem manageable by delivering a finite set of options for the reverse system to examine. This puts a bound on the available solutions even if the reverse probabilities are reliable. An optimum over the returned candidates is an optimum for that set. Establishing a global optimum would require accounting for candidates the first stage has eliminated or never constructed.

A substantial N-best list is helpful only when it supplies alternatives that can change the choice in a meaningful way. The authors point to this dependency in their discussion of the subtitle-trained systems. An enlarged list can still consist of close relatives of the same conservative answer. The source of the limitation is the prioritization of the forward score when the list is formed. This is a property of the approximation, so the fact that reranking works well on Twitter leaves it in place.

For antiLM, the authors acknowledge a different failure of the ideal criterion in practice. Penalizing replies for being predictable across the full sequence can reward ungrammatical continuations that have received insufficient penalty from the forward estimator. The opening cutoff is their way of containing the effect. It expresses an empirical judgment about where changing the reply is likely to be worthwhile. The paper does not establish that an opening selected under this rule will be well formed or relevant. The forward system still supplies the checks implicit in its probability estimates.

The authors also identify the weakness of subtitle adjacency as evidence of a dialogue turn. The training material can include consecutive lines from the same speaker or from unrelated scenes. The decision to evaluate on speaker-identified scripts addresses a particular problem in test construction. Better evidence of who is speaking makes it easier to identify a plausible message–reply pair for comparison. It leaves the training noise present in the learned forward and reverse relationships.

The evaluation on movie scripts has a separate limit that the authors connect to the size of the data. IMSDB supplies a single recorded continuation per example. The authors also suggest that movie dialogue may be concise and rich in information, making the recorded continuations hard to match. This second point is their interpretation of the setting. The observed BLEU difference across corpora comes from evaluations with different numbers of references, so it leaves the relative difficulty of their conversational content unresolved.

The authors end by identifying other generation tasks where the same general concern may arise. Their examples include image descriptions and question answering. In each case, several outputs could plausibly follow from an input, and some generic answers might score well for many inputs. These suggestions extend the motivation for examining mutual correspondence. The experiments themselves establish results for conversational replies. Evaluating the approach in another task would require its own candidates, scoring assumptions and measures of success.

What follows from the scoring approximation

The Bayes derivation concerns probabilities compatible with a shared joint distribution. It shows how a full discount for the target marginal can be rewritten using the forward and backward conditionals and a term that is constant for a particular source. The implemented procedures draw on that identity. Their estimates are fitted for different prediction directions, and antiLM changes the effective prior by restricting it to the opening. The paper does not establish that the resulting estimates satisfy the identity for each candidate. Agreement in the ideal calculation therefore supplies no guarantee that the practical systems would pick the same reply from a common list.

The distinction matters when interpreting the results as a test of mutual information. The paper can show that decisions inspired by the criterion perform better under its measurements. It does not measure true pairwise dependence in conversational language independently of the estimators. A high reverse probability is evidence that the trained predictor finds the source relatively plausible after reading the reply. Whether that reflects the relationship a person considers important is an empirical question. The paired judgments address it for a particular benchmark and instruction.

In particular, predicting the original text and responding to its purpose can come apart. A reply that repeats an unusual term from the source may give the reverse predictor a strong clue about the wording to recover. Another reply may respond well by using a pronoun, supplying a short answer, or leaving a shared detail implicit. Such a reply can make good sense in the exchange while giving weaker evidence about the exact words that prompted it. This is a possibility implied by the objective. The paper gives no systematic breakdown of success by how much source language or subject matter the answer explicitly carries.

The reverse task is particularly demanding when the source includes the preceding turn as well as the message. A human reply can focus on the current turn because the previous turn has already done its work in the conversation. The reverse calculation still evaluates the whole input sequence that the experimental procedure assembled. Some source details may help the response make sense while having little reason to reappear in it. The score’s success consequently depends on what the reverse predictor learns to associate with a good continuation in those data.

A related limit applies to the unconditional term. It estimates how predictable a reply opening is without the input. High predictability can have multiple causes. The opening may be a stock answer, or it may be the ordinary way to start a clear and entirely appropriate response. A low value may indicate an opening specific to a topic, or merely an opening poorly supported by the unconditional predictor. The penalty is a statistical means of changing the competition among candidates. It gives no direct classification of which openings are generically unhelpful.

These observations also clarify what diversity means at the level of the objective. Neither scoring variant measures a collection of replies already sent to different users. Each selects an answer for the source at hand. Higher diversity across sources is an intended effect of those local decisions. If inputs support a shared reply strongly enough, the score can still select that reply repeatedly. The paper measures the extent of variation it obtains under its test conditions. The objective itself imposes no target level of variation over an entire output collection.

The evaluation does not determine the strength of the improvement attributable to likelihood weighting alone. The final procedures use auxiliary scoring features, tuned length effects and finite search. In bidi, the reverse estimate also comes from a separately trained predictor. The ordinary sequence-to-sequence comparison establishes the value of changing the complete selection procedure in this setup. Identifying a contribution from each added component would require comparisons that leave the other components fixed.

The published score notation is another practical limit on a close reading of the method. The motivation develops logarithmic probabilities. The decoding descriptions write several features in probability notation, including the displayed final antiLM score. Using raw probabilities instead of their logs would alter the relative effects of the forward term, the adjustment and the length coefficient. A reader can recover the feature roles and the intended order of operations from the paper’s discussion. The inconsistency makes it difficult to infer an exact implementation from the displayed scores alone.

The description of the positional weighting has a similar consequence. The textual rule calls for dropping later contributions. A literal zero multiplier in every later factor of the printed product would instead zero out the entire result. The procedure makes sense when those positions leave the opening score unchanged. This interpretation follows from the authors’ stated cutoff and their need to take a logarithm of the modified prior. It still requires interpreting the intended computation through the procedural account.

What the measurements leave open

BLEU gives a common reference for comparing systems evaluated on the same test material. For conversational replies, agreement with the available wording is only part of what a reader notices. Several plausible continuations can differ in subject, stance or the part of the input they address. When those continuations use different words, matching one reference may favor one legitimate choice and provide little credit to the others. Adding references can increase coverage. The references remain a sample of the possible directions a conversation can take.

The construction of the Twitter evaluation affects this coverage. Relevance and interestingness were among the selection considerations, and the test uses multiple references. A system designed to supply more specific continuations has a chance to match those references. This is an appropriate test of whether outputs can move toward the kind of response the authors seek. The gain still applies to a set assembled with that goal in view. The experiment leaves open how frequently a more conventional reply would be preferred in an unfiltered stream of exchanges.

The movie comparison places different constraints on what counts as agreement. The held-out examples are adjacent character turns with both sides restricted in length. A convincing reply may take the exchange along another legitimate path, while the script offers only the words of the chosen continuation. Some replies can also depend on information about the scene that is absent from the input sequence. The study’s design gives a cleaner identification of speaker turns for testing. The reference score remains tied to the script’s particular continuation and the input provided to the system.

This explains why the cross-corpus scores are a weak basis for ranking the quality of the outputs across settings. Within a test, the systems share the reference conditions. Across tests, reference count, the style of the conversations and the preparation of sources all change. A system could give useful replies on both and receive different scores because one test provides fewer ways for its choices to coincide with recorded wording. The authors’ explanation based on reference count is consistent with this property of the measurement. Its contribution relative to other differences is unmeasured.

The same caution applies when reading the reported relative increase in movie BLEU. A percentage gain there describes improvement relative to the baseline under that particular test. It does not establish how many exchanges went from unsuitable to suitable, nor how many new answers a judge would accept. An overlapping phrase can change the evaluation without changing the whole response’s conversational function. A better chosen response can also receive little extra credit if its wording diverges from the script. The distinctness result gives complementary evidence of changed outputs, with its own limits.

Distinct-1 and distinct-2 count different units of wording and divide by generated token count. The normalization addresses the amount of text counted. It does not make the measures insensitive to the distribution of reply lengths or to the reasons words vary. A longer response may add common connecting words, introduce a detail or repeat material it has already used. These possibilities have different effects on distinctness. The reported ratios summarize the collection of outputs, so they leave the pattern of changes across individual exchanges unresolved.

A repeated reply can also be entirely appropriate on many test items if those items ask for similar conversational work. A lexical count alone gives no indication of whether repetition reflects an appropriate convention or insensitivity to important differences. Conversely, unusual words can add types without making the replies more helpful. The MMR result supports this distinction in the paper’s experiments. The judgment evidence makes it possible to ask about fit as well as vocabulary coverage on the Twitter sample.

The rejection of perplexity as a primary evaluation metric fits the way the authors intervene. They change what a decoder chooses rather than fitting the forward predictor under the new criterion. A probability-based evaluation of observed replies would address a different question from whether the selected output is useful. The evaluation nonetheless leaves open how well the separate probability estimators are calibrated on the relevant kinds of sequences. Good output under tuned weights can coexist with inaccuracies in the underlying scores. That is compatible with the practical aim of the work.

The paper tunes the decision weights using development BLEU. The human judgments supply a separate form of evidence on test outputs, which is valuable because they ask readers to interpret the exchange. There is still a shared emphasis between the benchmark and the paired instructions. The held-out Twitter material was selected partly for relevance and interestingness, and the judges are explicitly directed towards contextual specificity. The agreement of reference-based performance and preference under those conditions is informative about the targeted change. It leaves more general preferences, including those about directness, style or how much detail a reply should offer, outside the comparison.

The separate absolute-quality rating has a different boundary. It shows how readers judged the bidirectional replies in context when asked about overall quality. It supplies a score for that system alone under a broader prompt. The pairwise preference result and the absolute rating therefore support different claims. The first establishes a relative advantage under the specified comparison. The second describes the acceptability of the proposed system’s responses on the rating scale. A difference in absolute overall quality between systems would require ratings for the comparators under that same protocol.

The pairwise result also has an important limit on the scope of its significance claims. The reported significance level describes the authors’ assessment of differences in this Twitter sample. It does not convey the magnitude of a gain on its own or establish that a reader would prefer MMI-bidi across different user populations or settings. Ties and identical replies are permitted in the protocol, so preference can arise from the cases in which systems produce distinguishable answers. The paper’s description establishes the direction of the reported comparisons while leaving room for exchanges where a conventional decoder is equally suitable or preferable.

There is no comparable human preference study for the subtitle-trained antiLM result in the paper’s account. That matters because the movie experiment supplies the strongest reported improvement for one variant, while the human experiment concerns the other variant on Twitter. The reference and diversity measurements support the movie result under their stated conditions. The Twitter judgments support the suitability of bidirectional scoring on the evaluated exchanges. Those results reinforce the broader account of the objective from separate settings and provide no direct human ranking of the two MMI variants.

The scope of the dialogue task

The experimental output is a single reply to a source assembled from existing conversational material. Judges can inspect that reply beside the relevant exchange. This setup supports a focused judgment about the next turn. It leaves unanswered how the system would behave when its own reply becomes part of the input for a later turn. A choice that seems engaging in isolation can introduce an assertion or a direction the system then needs to sustain. The paper does not evaluate that continuation process.

This boundary is especially relevant to the concern about a system that appears uncooperative after repeated generic replies. The experiments show changes in the distribution and perceived specificity of individual replies. They do not observe a speaker’s reaction to interacting with the system over an extended exchange. The relationship between repeatedly taking up details and sustaining a cooperative conversation is plausible. It would require a different observation to establish how long the effect lasts and whether new weaknesses emerge.

The data sources also delimit the evidence for generalization. The paper tests naturally occurring Twitter conversations and performs a separate experiment using written film dialogue. Both give the decoder conversational text, with different ways of identifying the relevant turns and preparing the references. This is evidence that the general concern arises under more than one data condition. It does not establish that the same penalty, search strategy or preferred variant will transfer to tasks organized around defined goals, to other languages or to differently structured conversational histories.

Finally, the separation of training and decoding makes the weights adjustable without repeating the fitting of the sequence predictors. That is a specific practical advantage. Bidirectional scoring still involves a separately fitted reverse predictor and evaluation of completed candidates. AntiLM still requires scores for the unconditional opening and incorporates them into search. The training throughput reported for the recurrent implementation is a different measure from the cost of making a reply under either variant. The paper’s beam-width experiment provides some evidence about reducing the search setting while retaining performance. It leaves the end-to-end cost and latency of the methods unquantified.

What came after

From a particular reply to an exchange

The later papers that cite this study take up several issues its experiments bring into view. Their citation establishes a connection to the earlier work. The titles identify the problems they pursued and, in some cases, the methods they name. They leave the precise role of MMI open. A later paper can inherit the problem of generic replies, move the decision to a different stage of generation or study how to detect improvement. Each connection is best understood in terms of the question the later work sets out to answer.

Deep Reinforcement Learning for Dialogue Generation takes up dialogue generation through reinforcement learning. The point of contact is the criterion used to value generated language. In the MMI paper, the immediate decision is which reply to select for an observed source. A reinforcement-learning formulation raises the question of what reward can express for a dialogue generator. The move brings a broader conception of desirable behavior into view. A response could be evaluated in relation to what it makes possible next, a consideration the single-reply experiments leave open. The title and citation establish that change of framing and leave the later work’s exact rewards and use of MMI unspecified.

That change of question matters because a highly specific reply can either sustain an exchange or close it down. It can ask about a detail that invites the speaker to continue, or give a decisive answer that appropriately ends the topic. A local association score has a clear quantity to evaluate in either case. It leaves the value of the subsequent outcome outside its definition. The connection to reinforcement learning is therefore about the scope of the objective. It extends the concern with what a generator is encouraged to do from an immediate choice toward behavior that can be evaluated through reward.

A different change in the basis for judging outputs appears in Adversarial Learning for Neural Dialogue Generation. The later title places the intervention in learning and identifies it as adversarial. The earlier paper makes its intervention during reply selection, after fitting the predictors. Both lines of work take seriously the possibility that a generator’s output depends on what its criterion rewards. The later direction makes the training criterion part of the question. The citation leaves open how the adversarial procedure and the earlier bidirectional score relate in the details of that study.

Deal or No Deal? End-to-End Learning of Negotiation Dialogues places dialogue in the setting of negotiation. The setting gives a concrete meaning to the paper’s claim that a continuation should fit the exchange. An utterance can be closely associated with a proposal and still respond to it in a way that does not serve the negotiation. The relevant fit can depend on what the participants are trying to secure as well as the words of the last message. The citing work takes up learning dialogue within that more specific activity. The connection concerns how the purpose of an exchange can define good conversational behavior, with the choice of any particular reply score left unspecified by the title.

DialoGPT pursues conversational response generation through large-scale generative pretraining. This brings a different stage of the system into focus. The earlier paper holds the fitted forward predictor in place to study changes in the final decision. A work that emphasizes pretraining addresses how the generator acquires the capabilities that make a good candidate available in the first place. A more capable generator and a better selection criterion address related parts of the same problem. The citing relationship locates the work within conversational generation while leaving any exact reuse of the MMI procedure unspecified.

The distinction is consequential for reading that connection. The option to rerank presupposes a set of completed replies with enough substance to distinguish. Improving the learned generator is one way to change what the set contains. Changing the decision rule is a way to choose differently from the material available, or to let different prefixes survive in a search. The earlier experiments make those routes visibly different. The pretraining direction is relevant precisely because candidate quality can limit a downstream scoring improvement.

Diversity as a property of what the reply says

Some citing papers name diversity or make generation structure their subject. Learning Discourse-level Diversity using Conditional Variational Autoencoders takes up diversity at the level of discourse and associates it with a particular generative approach. This is a direct thematic continuation of the distinction exposed by the MMR experiment. Several wordings can handle an exchange in essentially the same way. Seeking discourse-level variation concerns the higher-level ways an answer can continue an interaction.

For a single input, those possibilities can differ even when they use much of the same vocabulary. One possible reply might request clarification, while another makes a proposal based on what the speaker has already said. The difference lies in the next conversational action. The earlier paper approaches such distinctions indirectly by pressing for a more source-specific answer. A later project that explicitly names discourse-level diversity puts the variation among plausible continuations at the center of the task. Its title identifies that change in focus without establishing a particular comparison or numerical result against MMI.

A Hierarchical Latent Variable Encoder-Decoder for Generating Dialogues addresses dialogue generation through the structure of the encoder and decoder, with latent variables built into that formulation. A latent variable represents information that the system uses without receiving its value as an explicit annotation for each example. Here the relevant connection is where variation can enter. The MMI paper changes how outputs compete. A latent-variable approach can make the representation of possible continuations part of the generative design. The title names the architecture and the task. It leaves the precise contribution of particular latent variables and any comparison with MMI outside the factual connection available here.

The MMI paper itself discusses earlier hierarchical work in Building End-To-End Dialogue Systems. Its role in the earlier paper is as part of the setting in which learned dialogue generation was already being explored. That relationship helps define what belongs to the contribution under discussion. The diversity paper introduces its change in the objective within an existing family of end-to-end approaches. The later latent-variable title illustrates a related question about changing the generative architecture. Citation connections can bring both strands into view without establishing that their sequence was a progression from one particular implementation to another.

This architectural connection also helps explain why the distinction between selection and generation continues to matter. A designer who changes the generative structure can affect the system’s inventory of useful replies. A designer who improves the decision among available replies can affect how often those useful alternatives are seen. In the movie experiment, the reverse scorer’s opportunity is limited by the list it receives. A method concerned with how different continuations arise addresses that constraint at an earlier stage. The relation is conceptual. The specific effect of a later architecture on candidate coverage would require its own evidence.

Specificity to a participant or a task

The authors identify persona as one of the factors outside their algorithmic study. A Persona-Based Neural Conversation Model makes that factor explicit in conversation generation. Its connection is to the information on which a useful reply can depend. A message can invite a response appropriate to the topic. A participant’s characteristics can further restrict which of the plausible replies suit the speaker. The earlier score examines a particular text pair. A persona-based formulation makes the identity or attributes of a participant part of the problem.

Personalizing Dialogue Agents pursues the related direction of making a dialogue agent personal. With personalization, specificity can concern the person as well as the immediate exchange. Two replies can both be responsive to the same input while differing in whether they fit the participant the agent is meant to represent. This enlarges the question posed by the reverse score. Recovering the source from a reply can register a textual connection. Suitability for an agent with particular traits depends on another source of information. The cited title supports the connection through its stated focus on personalization.

The distinction becomes apparent in a short hypothetical exchange about preferences. An answer may engage directly with the activity the message mentions and so have a strong relationship to the source. Whether an agent should claim to enjoy the activity depends on what it has said or is meant to represent. The source–reply relation and consistency with the speaker can both matter. The persona papers named above address the latter dimension in their choice of problem. Their titles give no basis for attributing a specific reverse-ranking procedure to either work.

The Second Conversational Intelligence Challenge identifies a challenge setting for conversational intelligence. A challenge puts the question of judging different systems around a shared task, rather than making one particular scoring criterion the entire subject. The connection to the MMI study lies in the experimental concern with what can be measured in dialogue output. The earlier paper uses a reference comparison and human judgments to examine a targeted change in specificity. The challenge title points to evaluation at the level of a common conversational task. Its citation alone leaves the individual challenge criteria and the role of MMI within them unresolved.

MultiWOZ emphasizes a dataset for task-oriented dialogue across domains, collected under a Wizard-of-Oz design. The direction it names is one of data and task construction. It raises a further kind of specificity. In a task-oriented exchange, a reply’s relation to the message can depend on where the participants are in carrying out a task and what details the exchange has established. The MMI experiments operate on subtitle and social-media material. Connecting the papers highlights the dependence of conversational evidence on the source of examples and the unit chosen for evaluation.

Sequicity places sequence-to-sequence design within task-oriented dialogue. This connects through the earlier paper’s use of a sequential encoder and decoder, as well as the difference in what a suitable response must accomplish. A familiar phrase can be appropriate if it performs the next step of a task. An unusual reply can be unsuitable if it fails to make that step possible. The citing work’s stated aim of simplifying task-oriented dialogue gives a different criterion for the design of the overall system. The title makes that purpose clear without supplying evidence about which of the earlier scoring features it uses.

These directions also put the earlier authors’ discussion of intent in perspective. Persona concerns the speaker, while a task concerns what the conversation is trying to accomplish. Both can supply reasons for a reply to be appropriate that are only partly visible in its statistical association with one input sequence. The later works identify ways to foreground those aspects of conversation. The relation to the MMI paper is clearest at the level of the problem it acknowledged and the evidence its own experiment could bring to bear.

How to tell that a response has improved

How NOT To Evaluate Your Dialogue System studies unsupervised metrics for dialogue response generation. It pursues an evaluation question that the diversity paper encounters in practice. A reference-overlap measure can be convenient for tuning, and a vocabulary ratio can identify some forms of repetition. Each can give a limited account of whether a particular answer works in its exchange. A dedicated empirical study of evaluation metrics makes that limitation the object of investigation, instead of evaluating a proposed decoder as the primary task.

The connection is especially clear in the treatment of alternative valid replies. An automatic comparison has a definite set of reference strings, while a conversation can admit continuations with different meanings. This creates a question about the validity of the comparison itself. The MMI paper deals with it through different reference conditions and through separate human experiments. The citing study asks how to evaluate dialogue response generation empirically. Its title identifies that subject without specifying a result for any metric or any direct reassessment of the MMI experiments.

Towards an Automatic Turing Test approaches the evaluation of dialogue responses as a learning problem. It gives a different kind of response to the same measurement difficulty. In the earlier study, readers provide judgments on selected test items while fixed automatic metrics support tuning and comparison. A learned evaluator introduces the question of which properties of an exchange can be captured by a procedure trained to evaluate replies. The title establishes that focus. The earlier paper’s distinction between lexical diversity and contextual suitability explains the significance of what such an evaluator is trained to recognize.

For instance, a procedure that detects well-formed and varied language might reward fluent paraphrases that leave the message unanswered. A procedure sensitive to the exchange could assign more value to a modest but relevant continuation. The judgment instructions in the MMI study make one such preference explicit. They also show that an evaluator’s target can be narrower than overall quality. The learned-evaluation direction takes that target choice into a setting where a system must generalize from its training evidence to new responses.

MoverScore addresses text-generation evaluation through contextualized embeddings and Earth Mover Distance. The named ingredients place its approach at the level of representations of the generated and comparison text. An embedding is a vector representation, and contextualization means the representation can depend on surrounding text. This is connected to the earlier study’s difficulty with measuring response quality through word overlap. The later work’s stated scope is text generation, and the cited title gives no basis for reporting how it scores this paper’s dialogue systems.

The distinction between the later evaluation directions is useful here. Studying existing unsupervised metrics asks what their results can support. Learning an evaluator asks what an automatic judge can acquire from training. A metric built on contextual representations asks how comparison can use richer representations of text. In the earlier study, these questions appear together in a decision about what counts as evidence of a better reply. The experiments show that distinct wording, reference agreement and human judgments can provide different information about the same outputs.

Towards a Human-like Open-Domain Chatbot gives the desired behavior a broader formulation. The earlier work selects contextual specificity for the paired preference task and treats overall quality separately. A human-like open-domain chatbot raises a larger question about which properties of responses and conversations support that description. Specificity can contribute to the impression of attending to a speaker. Other properties remain relevant when a reply has to suit an ongoing exchange. The citation connects the ambition of open-domain dialogue to this more targeted study of generic answers, with the later evaluation design left unspecified by its title.

Control over what generation produces

Plug and Play Language Models takes controlled text generation as its subject. This is related to the diversity paper’s practical separation of fitting the sequence predictors and changing how generated text is chosen. The earlier paper controls a particular property with a score designed to favor a closer message–reply relationship. The later work names control more broadly. The parallel is the concern with steering generated output towards a desired property. The citation and title leave the mechanics of that steering and any use of a reverse probability unspecified.

The difference between control over a property and evidence of response quality is visible in the original experiments. Making an opening less predictable can promote textual variety. It can also produce an unhelpful or awkward reply if the adjustment overwhelms the information in the forward score. A controllable generator faces a related question when an additional signal is introduced. The strength of that signal matters in relation to the properties already supported by the generator. The MMI study makes that interaction concrete through its weights, cutoff and search, supplying a conceptual point of comparison for work explicitly about control.

Generating Sentences by Editing Prototypes identifies a different intervention in how a sequence is constructed. Editing a prototype starts from a sentence that can be changed. The diversity paper begins with the sequential generation of candidates and alters the score guiding or selecting them. The citing work’s title puts the construction of the candidate itself at issue. That matters for the earlier paper’s separation between reaching a promising output and choosing it. The title establishes editing as the generative approach and leaves its relation to the particular MMI features open.

A related concern with what informs generation is visible in Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Retrieval-augmented generation brings retrieved material into a generation task. The connection to the diversity paper is through the evidence a system has when it produces a specific answer. The MMI experiments study how to use the relationship between a candidate and the source already supplied. Retrieval makes the evidence available to the generation process part of the design. The later title concerns knowledge-intensive tasks, so the relation here is about access to relevant information and its role in generation. It establishes no dialogue result or reuse of the MMI decoder.

LaMDA returns the focus to dialogue applications. The title identifies a broader application category than the next-turn benchmark in the diversity paper. The connection is to the question of how a generator’s choices translate into replies that work for conversational use. The earlier experiments locate one source of improvement in the competition between a familiar candidate and a more input-specific alternative. Later work framed around dialogue applications can take that concern alongside the other requirements of a conversational setting. The title and citation provide the lineage at that level of scope.

Across these connections, the original experiment gives later readers a way to locate a problem in a generation system. They can ask whether a suitable response was beyond the reach of the generator, whether it was available and scored too low, or whether the evaluation failed to recognize it. Work on learning and architectures bears on the options a system can produce. Work on persona and tasks changes the information that determines suitability. Work on metrics examines what can be inferred about the result. The MMI paper’s particular contribution in that lineage is evidence that the decision among possible replies can itself account for a meaningful part of the difference a reader sees.

 Institutions

 Fields, topics and concepts

Appears in

Mentioned in articles aboutSeattle

Cite

Cite as Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao and Bill Dolan. 2016. A Diversity-Promoting Objective Function for Neural Conversation Models. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/n16-1014 · arXiv 1510.03055

@inproceedings{li2016diversity,
  title = {{A Diversity-Promoting Objective Function for Neural Conversation Models}},
  author = {Jiwei Li, Michel Galley, Chris Brockett, Jianfeng Gao and Bill Dolan},
  booktitle = {Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies},
  year = {2016},
  doi = {10.18653/v1/n16-1014},
  eprint = {1510.03055},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/n16-1014}
}

References

36 references, from the paper's own bibliography.

  1. David Ameixa, Luisa Coheur, Pedro Fialho, and Paulo Quaresma. 2014. Luke, I am your father: dealing with out-of-domain requests by using movies subtitles. In Intelligent Virtual Agents, pages 13–21. Springer. OpenAlex ↗ · Scholar ↗
  2. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In Proc. of the International Conference on Learning Representations (ICLR). our card
  3. L. Bahl, P. Brown, P. de Souza, and R. Mercer. 1986. Maximum mutual information estimation of hidden Markov model parameters for speech recognition. Acoustics, Speech, and Signal Processing, IEEE International Conference on ICASSP '86., pages 49–52. OpenAlex ↗ · Scholar ↗
  4. Rafael E Banchs and Haizhou Li. 2012. IRIS: a chat-oriented dialogue system based on the vector space model. In Proc. of the ACL 2012 System Demonstrations, pages 37–42. OpenAlex ↗ · Scholar ↗
  5. Peter F. Brown. 1987. The Acoustic-modeling Problem in Automatic Speech Recognition. Ph.D. thesis, Carnegie Mellon University. OpenAlex ↗ · Scholar ↗
  6. Jaime Carbonell and Jade Goldstein. 1998. The use of mmr, diversity-based reranking for reordering documents and producing summaries. In In Research and Development in Information Retrieval, pages 335–336. OpenAlex ↗ · Scholar ↗
  7. Yun-Nung Chen, Wei Yu Wang, and Alexander Rudnicky. 2013. An empirical investigation of sparse log-linear models for improved dialogue act classification. In Proc. of ICASSP, pages 8317–8321. OpenAlex ↗ · Scholar ↗
  8. Michel Galley, Chris Brockett, Alessandro Sordoni, Yangfeng Ji, Michael Auli, Chris Quirk, Margaret Mitchell, Jianfeng Gao, and Bill Dolan. 2015. $\Delta$ Bleu: A discriminative metric for generation tasks with intrinsically diverse targets. In Proc. of ACL-IJCNLP, pages 445–450, Beijing, China, July. OpenAlex ↗ · Scholar ↗
  9. Jianfeng Gao, Xiaodong He, Wen-tau Yih, and Li Deng. 2014. Learning continuous phrase representations for translation modeling. In Proc. of ACL, pages 699–709. OpenAlex ↗ · Scholar ↗
  10. Kevin Gimpel, Dhruv Batra, Chris Dyer, and Gregory Shakhnarovich. 2013. A systematic exploration of diversity in machine translation. In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, pages 1100–1111. OpenAlex ↗ · Scholar ↗
  11. Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation, 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  12. Xuedong Huang, Alex Acero, Hsiao-Wuen Hon, and Raj Foreword By-Reddy. 2001. Spoken language processing: A guide to theory, algorithm, and system development. Prentice Hall. OpenAlex ↗ · Scholar ↗
  13. Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, Ondrej Bojar, Alexandra Constantin, and Evan Herbst. 2007. Moses: Open source toolkit for statistical machine translation. In Proc. of the 45th Annual Meeting of the Association for Computational Linguistics, pages 177–180, Prague, Czech Republic, June. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  14. Esther Levin, Roberto Pieraccini, and Wieland Eckert. 2000. A stochastic model of human-machine interaction for learning dialog strategies. IEEE Transactions on Speech and Audio Processing, 8(1):11–23. OpenAlex ↗ · Scholar ↗
  15. Thang Luong, Ilya Sutskever, Quoc Le, Oriol Vinyals, and Wojciech Zaremba. 2015. Addressing the rare word problem in neural machine translation. In Proc. of ACL-IJCNLP, pages 11–19, Beijing, China. our card
  16. Junhua Mao, Wei Xu, Yi Yang, Jiang Wang, Zhiheng Huang, and Alan Yuille. 2015. Deep captioning with multimodal recurrent neural networks (m-RNN). ICLR. our card
  17. Lasguido Nio, Sakriani Sakti, Graham Neubig, Tomoki Toda, Mirna Adriani, and Satoshi Nakamura. 2014. Developing non-goal dialog system based on examples of drama television. In Natural Interaction with Robots, Knowbots and Smartphones, pages 355–361. Springer. OpenAlex ↗ · Scholar ↗
  18. Franz Josef Och. 2003. Minimum error rate training in statistical machine translation. In Proceedings of the 41st Annual Meeting of the Association for Computational Linguistics, pages 160–167, Sapporo, Japan, July. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
  19. Alice H Oh and Alexander I Rudnicky. 2000. Stochastic language generation for spoken dialogue systems. In Proc. of the 2000 ANLP/NAACL Workshop on Conversational systems-Volume 3, pages 27–32. OpenAlex ↗ · Scholar ↗
  20. Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic evaluation of machine translation. In Proc. of ACL. our card
  21. Roberto Pieraccini, David Suendermann, Krishna Dayanidhi, and Jackson Liscombe. 2009. Are we there yet? research in commercial spoken dialog systems. In Text, Speech and Dialogue, pages 3–13. Springer. OpenAlex ↗ · Scholar ↗
  22. Adwait Ratnaparkhi. 2002. Trainable approaches to surface natural language generation and their application to conversational dialog systems. Computer Speech & Language, 16(3):435–455. OpenAlex ↗ · Scholar ↗
  23. Alan Ritter, Colin Cherry, and William Dolan. 2011. Data-driven response generation in social media. In Proc. of EMNLP, pages 583–593. our card
  24. Iulian V Serban, Alessandro Sordoni, Yoshua Bengio, Aaron Courville, and Joelle Pineau. 2016. Building end-to-end dialogue systems using generative hierarchical neural network models. In Proc. of AAAI, February. our card
  25. Lifeng Shang, Zhengdong Lu, and Hang Li. 2015. Neural responding machine for short-text conversation. In Proc. of ACL-IJCNLP, pages 1577–1586. our card
  26. Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yangfeng Ji, Meg Mitchell, Jian-Yun Nie, Jianfeng Gao, and Bill Dolan. 2015. A neural network approach to context-sensitive generation of conversational responses. In Proc. of NAACL-HLT, May–June. our card
  27. Ilya Sutskever, Oriol Vinyals, and Quoc Le. 2014. Sequence to sequence learning with neural networks. In Proc. of NIPS, pages 3104–3112. our card
  28. 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 ↗
  29. Oriol Vinyals and Quoc Le. 2015. A neural conversational model. In Proc. of ICML Deep Learning Workshop. our card
  30. Oriol Vinyals, Lukasz Kaiser, Terry Koo, Slav Petrov, Ilya Sutskever, and Geoffrey Hinton. 2015. Grammar as a foreign language. In Proc. of NIPS. our card
  31. Marilyn A Walker, Rashmi Prasad, and Amanda Stent. 2003. A trainable generator for recommendations in multimodal dialog. In INTERSPEECH. OpenAlex ↗ · Scholar ↗
  32. William Yang Wang, Ron Artstein, Anton Leuski, and David Traum. 2011. Improving spoken dialogue understanding using phonetic mixture models. In FLAIRS. OpenAlex ↗ · Scholar ↗
  33. Tsung-Hsien Wen, Milica Gasic, Nikola Mrkšić, Pei-Hao Su, David Vandyke, and Steve Young. 2015. Semantically conditioned LSTM-based natural language generation for spoken dialogue systems. In Proc. of EMNLP, pages 1711–1721, Lisbon, Portugal, September. our card
  34. Kelvin Xu, Jimmy Ba, Ryan Kiros, Kyunghyun Cho, Aaron Courville, Ruslan Salakhudinov, Rich Zemel, and Yoshua Bengio. 2015. Show, attend and tell: Neural image caption generation with visual attention. In Proc. of ICML, pages 2048–2057. JMLR Workshop and Conference Proceedings. our card
  35. Kaisheng Yao, Geoffrey Zweig, and Baolin Peng. 2015. Attention with intention for a neural network conversation model. In NIPS workshop on Machine Learning for Spoken Language Understanding and Interaction. OpenAlex ↗ · Scholar ↗
  36. Steve Young, Milica Gašić, Simon Keizer, François Mairesse, Jost Schatzmann, Blaise Thomson, and Kai Yu. 2010. The hidden information state model: A practical framework for POMDP-based spoken dialogue management. Computer Speech & Language, 24(2):150–174. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2016-diversity-promoting-objective-function-neural/