Know More about Each Other: Evolving Dialogue Strategy via Compound Assessment
Paper · 2019 · Siqi Bao, Huang He, Fan Wang et al.
Summary
A reply can reveal something about a speaker and still contribute little to a conversation. It may repeat a fact that the speaker has already shared, or it may introduce a new fact at a moment when it has little to do with what the other person just said. Bao and colleagues study how dialogue systems can make better choices across an exchange. Their setting gives each participant a written persona, with background facts such as interests or habits. The goal is for both sides to learn about each other through replies that fit the conversation.
The authors separate the choice of a fact from the wording of the reply. A selection policy weighs the other speaker’s latest utterance and the preceding dialogue history, then samples a fact from the current speaker’s profile. A decoder trained on examples turns that fact and the latest utterance into a reply. During reinforcement learning, the decoder stays fixed. The authors let two agents talk to each other, score the resulting dialogue, and use the score to change which facts the policy is likely to choose in similar situations.
The score combines informativeness and coherence. Informativeness gives credit for the share of persona facts expressed by the end and charges for facts that are expressed again. A learned evaluator scores each reply for how well it fits the dialogue so far and the participants’ backgrounds. The reward thus gives the selector a reason to find fresh material while taking into account whether the material makes for a suitable reply. The information score is based on keyword matches, so the experiment measures signs of disclosure in the generated text.
On PersonaChat, the proposed approach led the reported automatic comparisons for lexical diversity and profile vocabulary overlap. The authors report a 3.6% improvement in knowledge F1 over KG-Net. In paired comparisons of simulated conversations, crowd workers favored the proposed approach on overall preference, coverage, concision, and coherence. The authors also found that their combined reward agreed more closely with overall human judgments in the comparison with KG-Net than the other automatic measures they tested. The results concern exchanges between agents, judged by people who read the transcripts. Whether a human participant actually learns and remembers more about a partner remains open.
Deep dive: Know More about Each Other: Evolving Dialogue Strategy via Compound Assessment
Bao and colleagues train dialogue agents to choose which persona facts to share, rewarding conversations that cover more ground and stay coherent. · about 38 minutes to read
The problem and its context
A good reply has a place in the conversation
The task starts with a familiar difficulty. Someone mentions a hobby, and their partner has several possible replies. They might ask about it, share a related experience, or move to a new subject. Which reply works depends on the turn immediately before it and on events that may be several turns back. A shared interest can make a reply welcome when it first comes up. The same disclosure can feel mechanical if it has already been made. A system with access to an entire profile still has to decide which part of that profile serves the exchange at this point.
The paper makes this difficulty tractable by limiting the kind of information at stake. Each speaker has a profile written as a collection of sentences. Those sentences give the speaker material to draw on when talking about themselves. The other speaker has a profile of their own, and the conversation alternates between them. The stated aim is mutual acquaintance. The observable task is to produce a transcript in which useful material from both backgrounds can come out through a coherent interaction. Chatbots
Timing matters because an appropriate moment to disclose one fact can be an awkward moment to disclose another. A reply can connect strongly to the last thing the partner said while revisiting a detail already covered earlier. It can also introduce something entirely new and give the partner little to work with. The paper treats these as competing pressures on one choice. A policy that handles both has to respond locally and keep track of a longer exchange. Replaying the same question over successive turns can be a problem for the same reason as repeatedly making the same declaration. The conversation spends time on material the participants have already dealt with.
This view also gives the paper a specific meaning for strategy. Strategy concerns the choice of background material at each turn. It does not require the system to write out a complete plan or choose a topic sequence in advance. Earlier replies change the context in which later choices will be made. If an agent brings up an interest, the partner can respond to it and create an opening for another disclosure. A selection policy can therefore affect the eventual conversation even when it acts on a single turn at a time.
What earlier approaches supplied
The authors trace the problem back to systems trained to produce a reply to a conversational input. In their account, early neural systems could write fluent responses but frequently fell back on general wording. A generic reply can fit many situations, which makes it a plausible immediate answer. Across a conversation, repeated reliance on such replies gives the speakers little material to build on. This is the starting point for the paper’s distinction between producing acceptable language and using a conversation to exchange information. A Neural Conversational Model · Neural Responding Machine for Short-Text Conversation
Knowledge-grounded generation gave a reply a more specific source. The authors describe a memory-based approach that encodes factual text and uses attention to draw on it during decoding. Attention assigns different weight to available representations, so the reply can use material relevant to its input. They contrast this type of textual source with CCM, which uses structured knowledge to support richer replies. The two approaches illustrate different ways of making information available at generation time. A Knowledge-Grounded Neural Conversation Model
The paper also discusses the predecessor it calls KG-Net. This approach uses a posterior distribution over candidate facts during training. A posterior selection distribution can use evidence from the known target reply to help identify which candidate supports that reply. The role of such evidence is easiest to see in a training example where several facts are plausible from the conversation alone. Once the target wording is available, a mention in that wording can help distinguish the actual fact used. This gives the system a stronger training signal for choosing facts for individual responses.
All these approaches give a reply access to content. The authors’ concern is what happens when that access is used repeatedly. A fact picker that works well on a given input may choose much the same material when a conversation returns to a similar prompt. A memory that helps generate a specific reply does not by itself supply a criterion for how much distinct information should come out over the course of an exchange. The paper frames the gap as coordination over turns. Once choices are evaluated jointly, a disclosure can be useful because it adds to an unfolding conversation, and a later disclosure can lose value because the same point has already been made.
What reinforcement learning had already been used for
The authors describe earlier work that applied reinforcement learning to conversation. One predecessor, RL-DG, combines rewards intended to improve the behavior of an exchange and encourage variety. The paper singles out two issues for the task at hand. That reward design supplies no explicit accounting of profile facts covered across turns, and its reinforcement signal updates the decoder as well as other components. Bao and colleagues cite prior work on strategic dialogue for the concern that directly optimizing the decoder against a narrow reward can harm the language it produces. That concern motivates their decision about which parameters to train. Deep Reinforcement Learning for Dialogue Generation · Deal or No Deal? End-to-End Learning of Negotiation Dialogues
Another predecessor, discussed by the authors as work on dynamic cue words, treats planning as the choice of a path through conversational cues. A cue for a particular turn can guide the response at that point. Bao and colleagues take a related interest in controlling content before the reply is worded. Their chosen unit is a sentence from a persona profile, and their objective follows from that choice. They can ask which profile sentences made their way into the conversation, which were repeated, and how the replies fit the exchange.
The resulting research question joins ideas that the earlier approaches address in different ways. A generator needs information to say something specific. Its selector needs to decide which information is apt now. Its training objective needs to account for what happens after that choice, including whether later turns broaden or merely recycle the material. The authors turn those requirements into a concrete experiment by using two simulated participants and scoring the completed interaction.
The method, step by step
From a profile to a reply
Imagine that the current speaker’s profile includes a favorite outdoor activity and a detail about their home life. The other speaker has just talked about being outdoors. The first fact may offer a natural continuation. If the activity came up earlier, choosing it again may contribute little. Which response follows depends first on the selection policy and then on the decoder. The policy estimates how likely each profile sentence is to be chosen. The decoder receives the sampled sentence and the partner’s last reply, then produces the next piece of dialogue.
The policy reads the conversation in two parts. One encoder handles the partner’s latest utterance, and a separate encoder handles the history before it. The last utterance supplies a direct cue about what would sound responsive. The earlier history carries evidence about the topics and facts that have already appeared. The authors use both views to score the same candidate facts. Giving the views separate encoders lets their representations serve different functions. In particular, the handling of earlier history is learned from the reward. A split in the inputs alone gives no guarantee that a fact already mentioned will receive a lower score.
The agents take turns using this procedure. Each speaker draws from their own profile and sees what has been said so far. Once the simulated exchange ends, the evaluators use the transcript and the background material to produce a reward. The system then changes the policy that chose the facts. The next batch of exchanges can provide a different distribution of evidence about what improves the conversation.
From persona facts to a conversation reward
The steps in order.
How the selector represents and scores its choices
The background available to the current speaker is written as a set of profile sentences.
Z = {z₁, z₂, …, z_M}
Here Z is the background available for a selection, zᵢ is the profile sentence at index i, and M is the number of candidate sentences. The braces enclose the set and the dots indicate the intervening members. The indices identify the choices in the policy’s probability distribution.
The paper represents the current turn’s context as an ordered concatenation of earlier utterances.
cₜ = concat(u₁, u₂, …, uₜ₋₁)
Here t identifies the turn being generated, cₜ is the dialogue context available at that turn, and u with a subscript identifies the utterance at the corresponding turn. The final item uₜ₋₁ is the partner’s latest utterance. The dots stand for any utterances between the displayed endpoints, and concat joins the utterances in order. The policy sends uₜ₋₁ to one encoder and cₜ₋₁, the history preceding that utterance, to the other.
An embedding layer converts the language inputs into numerical representations. The selector uses encoders built with gated recurrent units, or GRUs. A GRU processes the input in sequence and maintains a state that can retain information from earlier positions. The profile sentence, latest utterance, and earlier history each get an encoded representation. The superscript G in the following formulas marks that kind of representation. One reason for encoding the streams separately is that a profile sentence can stand in different relationships to the last thing said and to the exchange that preceded it. On the Properties of Neural Machine Translation: Encoder-Decoder Approaches
For each view of the context, the paper uses attention based on a multilayer perceptron. Here the attention operation produces a score for pairing the view with a particular profile sentence. The score can be sensitive to the interaction between their representations, since the two transformed inputs pass through a nonlinearity together. Neural Machine Translation by Jointly Learning to Align and Translate
MLP-ATT(x, y) = V₁ᵀ tanh(xW₁ + yW₂)
MLP-ATT is the attention scoring function, x is the representation of either the latest utterance or the earlier history, and y is the encoded candidate fact. W₁ and W₂ are learned square weight matrices with dimension d, the size of the representations. V₁ is a learned weight vector of dimension d, and the superscript ᵀ denotes transposition. The addition brings the transformed inputs together, tanh applies the hyperbolic tangent to their combined values, and multiplication with V₁ᵀ gives a single score. The subscripts on the weights distinguish parameters within the function.
The scores are then normalized over the profile. The paper uses softmax, a function that increases the probability of higher-scoring options while keeping the total probability fixed.
softmax(sᵢ) = e^(sᵢ) / ∑ⱼ e^(sⱼ)
Here sᵢ is the score of candidate i, sⱼ is the score of candidate j, and j ranges over the profile candidates. The symbol e is the base of the exponential function, the caret marks an exponent, and ∑ is a sum. The denominator uses the same pool of candidates for each output. The slash denotes division. A score thus becomes a probability in relation to the other scores in its pool.
The first distribution comes from the partner’s latest utterance.
p(zᵢ | uₜ₋₁) = softmaxᵢ(MLP-ATT(uₜ₋₁ᴳ, zᵢᴳ))
Here p denotes probability, and the vertical bar means that the probability of choosing fact zᵢ is conditioned on utterance uₜ₋₁. The superscript G identifies the encoded vectors supplied to MLP-ATT. The index on softmax says to take the component for fact i after scoring the whole pool. This branch can give weight to facts that make sense in an immediate reply.
The second distribution uses the rest of the history.
p(zᵢ | cₜ₋₁) = softmaxᵢ(MLP-ATT(cₜ₋₁ᴳ, zᵢᴳ))
Here cₜ₋₁ is the context before the latest utterance, cₜ₋₁ᴳ is its encoded vector, and zᵢᴳ is the representation of candidate i. The other symbols serve the same functions as in the latest-utterance branch. This distribution can use earlier developments in the exchange to change the preference among candidates. Its scores still have to be learned. In particular, MLP-ATT does not receive the evaluator’s explicit record of previously expressed facts as one of its displayed inputs.
The policy averages the two resulting distributions.
p(Z | cₜ) = p(Z | uₜ₋₁) × 0.5 + p(Z | cₜ₋₁) × 0.5
Here p(Z | cₜ) denotes the vector of selection probabilities over the current speaker’s facts. The two vectors on the right contain the probabilities conditioned on the last utterance and on the earlier history, respectively. Each is multiplied by 0.5, and the addition is component by component. The mixture takes place after softmax, so the two branches contribute equal shares of the probability distribution. It does not require their raw scores to have the same scale.
A check on the meaning of the mixture is that its mass over the options in the profile sums to the total probability.
∑ᵢ₌₁ᴹ p(zᵢ | cₜ) = 1
The sum runs from the first profile sentence through candidate M. Each summand is the probability of sampling that fact at turn t, given context cₜ. The right side is the full probability mass. The paper illustrates the interpretation with a candidate whose probability is 0.2. This number is a chance of choosing that sentence under the policy, and the same sentence can receive a different probability when the conversational input changes.
Sampling the fact and wording the response
The policy draws one fact from the distribution. It then hands that fact to a separate decoder.
zᵢ ∼ p(Z | cₜ)
Here zᵢ is the sampled sentence and ∼ means that the draw comes from the distribution to its right. Z is the candidate pool and cₜ is the current context. Sampling matters during learning because the agents can make different choices in similar circumstances and obtain scores for the corresponding exchanges.
p(uₜ | zᵢ, uₜ₋₁)
This expression denotes the decoder’s conditional distribution over the utterance uₜ at the current turn. The inputs after the vertical bar are the selected profile sentence zᵢ and the immediately preceding utterance uₜ₋₁. The longer history reaches the wording stage indirectly through the choice of fact. The decoder’s displayed inputs give it the material to express and the immediate conversational cue for expressing it.
This separation defines the scope of the reinforcement learning. Changing which profile fact the decoder receives can substantially change what the speaker says, even if the procedure for wording a response stays the same. It also means that an excellent selection can still yield a weak reply if the decoder expresses the fact poorly. Conversely, a fluent decoder can readily produce a repetitive exchange if the selector keeps handing it the same material. The training procedure gives the two components distinct jobs and distinct sources of supervision.
Before strategy training, the authors train the knowledge encoder, utterance encoder, and decoder on supervised examples. A training instance contains the previous utterance, the profile sentence treated as the fact used in the target reply, and the target reply itself. The encoders represent the previous utterance and the designated fact. The decoder learns to reproduce the target response given those inputs. The paper refers to the losses of Zhao and colleagues for this stage and does not spell out a new supervised loss. Learning Discourse-level Diversity for Neural Dialog Models using Conditional Variational Autoencoders
The context encoder used by the selector is initialized from the utterance encoder. The other learnable layers of the selection strategy start from random initialization. When reinforcement learning starts, the knowledge encoder, the latest-utterance encoder, and the decoder retain their supervised parameters. The context encoder and the other parts of the learned strategy can change. In practical terms, the strategy can improve its choice among the facts while the encoder of the latest utterance and the machinery that turns an input fact into words retain what they learned from supervised examples.
Scoring what the participants express
The information evaluator reads the generated utterance to judge whether a fact was expressed. This is an important choice because a selected fact is an instruction to the decoder, and a generated utterance is what the listener actually gets. A decoder might fail to express the selected material or might use wording that refers to additional facts. Crediting the transcript gives the score a way to reflect what appears in the exchange. The implementation approximates this step with keyword matching against the profile information.
At turn t, the evaluator stores its matches in a vector aₜ. An entry is 1 when the corresponding fact is judged present in uₜ and 0 otherwise. The entries are aligned to the facts in the participants’ backgrounds. The authors illustrate the process with an exchange whose participants have five pieces of background information between them. Each turn can change the state of several entries because the evaluator checks what the utterance expresses.
The evaluator also maintains a coverage vector vₜ. An entry records whether the corresponding fact has been expressed by the end of turn t. Once a fact has been covered, later turns preserve its covered status. This makes coverage a record of which facts have appeared at least once. The authors adapt the general idea of tracking what has already been used from work on translation and summarization. Modeling Coverage for Neural Machine Translation · Machine translation · Text summarization
Coverage alone lets a repeated mention pass without a cost. The authors add a repetition vector that marks facts present in the new utterance that were already covered at an earlier turn.
dₜ = min(aₜ, vₜ₋₁)
Here dₜ is the repetition vector for turn t, aₜ records facts detected in that turn’s utterance, and vₜ₋₁ records facts detected before it. The function min takes the lesser value for each pair of corresponding entries. With binary inputs, the result is active only when both inputs are active. The repetition computation uses the coverage state before the current utterance, so the first detected mention of a fact does not count as a recurrence.
The paper’s example has a turn where an already expressed item comes up again. On that turn the item contributes nothing new to coverage and produces an entry in the repetition vector. Imagine the same logic applied to an utterance that mentions an old hobby and introduces a new interest. That turn can expand coverage through the new interest while incurring a repetition charge through the hobby. The evaluator therefore treats novelty and duplication as properties that can coexist in a reply.
The information score combines the final share of the background covered with the accumulated charges for repetition.
rᴵ = mean(v_T) − ∑ₜ₌₁ᵀ mean(dₜ)
Here rᴵ is the informativeness score for the conversation, T is the number of turns, and v_T is the coverage vector after the last turn. The function mean averages a vector’s entries. The summation adds the average repetition at each turn, starting with the first and ending at T. The minus sign subtracts that accumulated amount from final coverage.
For this score, a fact contributes to coverage once, regardless of how memorable or useful it might be. A repeated match can incur a charge again on a later turn. This gives the policy a reason to find additional facts and a reason to stop returning to facts already expressed. The charge concerns repetition of information as detected by the evaluator. Vocabulary changes alone need not turn an old fact into a new one if the matcher recognizes both phrasings. The accuracy of that recognition affects what the system actually rewards.
Scoring whether each reply belongs
The second evaluator estimates coherence. The authors use it to judge a reply against the dialogue leading up to it and against the persona background. Context makes it possible to assess whether the reply fits what the other person has just said or what the participants have been discussing. Background conditions the assessment on the identities the participants are supposed to maintain. A reply can be plausible as a stand-alone sentence and still earn a low relevance score when those inputs are taken into account.
The evaluator processes the candidate reply on one side of a neural network and the context together with backgrounds on the other. On the reply side, an embedding layer and a GRU produce a representation, which a multilayer perceptron transforms. On the other side, a hierarchical GRU represents the context and backgrounds. The hierarchical representation lets the evaluator work with material that has structure across utterances or profile sentences as well as within them. The evaluator concatenates the resulting context and background vectors before projection. The authors situate this approach among methods for estimating semantic similarity, including prior work on multi-turn response selection and BERT. Sequential Matching Network · BERT
rₜᶜ = σ(MLP(uₜᴳ) · MLP([cₜᴴ, zᴴ]))
Here rₜᶜ is the coherence score for turn t and σ is the sigmoid, which maps a real-valued input to a bounded score. MLP is the projection applied on each side. The vector uₜᴳ represents the current reply after its GRU. The vectors cₜᴴ and zᴴ represent the existing dialogue and the corresponding background material after hierarchical processing, denoted by H. In this formula zᴴ refers to the background representation supplied to the evaluator. The square brackets and comma indicate concatenation, and the center dot denotes an inner product between the projected reply vector and the projected context-and-background vector.
The MLP used for these projections is given separately.
MLP(x) = σ(xW₁ + b₁)W₂ + b₂
Here x is the input vector to the projection, W₁ and W₂ are its learned weight matrices, and b₁ and b₂ are bias vectors. Multiplication by a weight matrix and addition of the corresponding bias transform the input. The sigmoid σ is applied after the first transformation. The formula uses the output of that activation as the input to the second transformation. These weights belong to the coherence projection, whose role differs from that of the attention scorer.
The inner product gives the evaluator a way to judge how compatible the learned representations are. A high value makes the final sigmoid output larger. The score is a learned assessment of contextual and background fit. Its architecture supplies no explicit test of whether an utterance contradicts a named profile fact or answers a particular question. Those kinds of distinctions depend on what the evaluator captures in its representations. The paper specifies the computation more fully than it describes the examples and procedure used to train the coherence evaluator.
Using a complete exchange as the learning signal
Once the agents have finished a conversation, the evaluator combines the accumulated coherence scores with the information assessment.
R(τ) = ∑ₜ₌₁ᵀ rₜᶜ + rᴵ
Here τ is a full conversation trajectory, R is its compound reward, and T is its length in turns. The summation adds the coherence contribution rₜᶜ for each turn. The term rᴵ is the conversation-level information score and is added once. The displayed reward places the two assessments on the same objective by addition. The coherence term supplies credit for individual replies whose local placement works, while rᴵ carries the information accounting across the conversation.
Consider an agent that could choose either a new fact with a weak connection to the last utterance or a familiar fact that readily fits. The evaluator gives the first choice an opportunity to gain more coverage and the second an opportunity to score well for coherence. Either choice also changes what the other agent hears and how the exchange unfolds. The quality of the first choice therefore depends in part on subsequent turns. The paper’s optimization treats the return from the whole simulated interaction as evidence about the selection choices along the way.
max J(θ) = E_{τ ∼ p(τ; θ)} [R(τ)]
Here J is the objective to maximize, θ represents the parameters of dialogue generation, and E denotes an expectation. The expression beneath E specifies that τ is sampled from the trajectory distribution p(τ; θ), whose behavior depends on θ. The semicolon inside that distribution separates the trajectory variable from the parameters. The brackets contain the reward R(τ) whose expected value is being optimized. In the actual strategy update, the trainable part of θ is restricted to the selection policy.
The policy-gradient calculation uses the likelihood of the actions taken in a sampled exchange. Each turn has a probability of choosing its fact and a conditional probability of producing its utterance from that fact and the latest input. The paper factors the turn contribution into these two parts. Taking the logarithm turns their product into a sum, which is why the derivation has a selection term and a decoding term.
∑ₜ₌₁ᵀ ∇θ log[p(zᵢ | cₜ) p(uₜ | zᵢ, uₜ₋₁)] [R(τ) − b]
This is the sampled gradient contribution before the authors restrict the update. The symbol ∇θ denotes differentiation with respect to θ, log is the logarithm, and the adjacent probabilities inside the brackets are multiplied. At each t, zᵢ denotes the fact sampled for that turn, and the other turn symbols identify the context and utterances already described. R(τ) is the reward for the sampled conversation and b is its reward baseline. The difference in the last brackets is the multiplier applied to the gradient at each turn. The sum runs over the complete trajectory.
The baseline estimates an expected reward from sampled conversations. It helps center the learning signal so that an exchange is judged relative to a reference level.
b = (∑ₖ R(τ⁽ᵏ⁾)) / K
Here K is the number of Monte Carlo samples used for the estimate, k indexes those samples, and τ⁽ᵏ⁾ is the conversation sampled at index k. The superscript in parentheses marks a sample index. The reward function R evaluates each of those conversations. The sum is divided by K to form their mean. Monte Carlo estimation here means using generated exchanges to approximate a quantity that depends on possible trajectories.
Holding the decoder fixed removes the direct decoder update from the sampled gradient.
∑ₜ₌₁ᵀ ∇θ log p(zᵢ | cₜ) [R(τ) − b]
The turn and probability symbols have the same meaning as in the full expression. Here θ is updated in its trainable selection components, and the logarithm covers the policy probability of the selected fact. If the sampled dialogue scores above the baseline, the update increases the tendency to take its sampled actions under the corresponding inputs. A dialogue below the baseline supplies pressure in the other direction. All sampled choices in one exchange receive the same reward difference. The method learns from many such exchanges because any one return gives only a coarse indication of which choice helped.
This is where the word “strategy” has its practical meaning. The authors use the exchange to train a distribution over content choices, while the decoder continues to draw on supervised learning for the language of the reply. During reinforcement, Adam runs at a learning rate of 2e-4. The conversation length T is set to 8 turns, the batch size is 8, and the baseline uses K of 16 Monte Carlo samples. The authors announced that the implementation and trained parameters would be released through the PaddleNLP research collection.
Experiments and results
The benchmark and the comparison systems
The experiments use PersonaChat, a collection of human conversations accompanied by persona profiles. The profiles supply the fact pool and the reference material for assessing knowledge use. The authors report 8,939 dialogues and 131,438 turns in the training split. The test split has 968 dialogues and 15,024 turns. Those counts describe the underlying dataset. In the paired human evaluation, the researchers generate fresh conversations from test profiles and a test opening utterance. The resulting transcripts can diverge from the original human conversation after that opening. Personalizing Dialogue Agents
The classic Seq2Seq baseline generates a response with attention and receives no extra knowledge source. It gives a comparison for what a response system can do without explicit persona grounding. Mem-Net adds a memory for text knowledge to make replies more informative. A contrast with Mem-Net can therefore show how a policy for the timing of knowledge choices fares against an approach that already gives the generator access to background content.
KG-Net is the prior knowledge-selection approach and the main comparator in several of the analyses. During training it uses the posterior knowledge distribution to improve selection. This makes it a relevant test for the paper’s claim about conversation strategy. Both systems can draw from a profile, and KG-Net already has a way to improve the grounding of a reply. The comparison asks what happens when selection is trained against an explicit score for the exchange as a whole.
The RL-DG comparison addresses a different question. The original reinforcement-learning approach used Seq2Seq. For this experiment, the authors use KG-Net as its base to strengthen its ability to generate informative text. This lets them compare their method with reinforcement learning applied to a knowledge-grounded generator. The objectives and the components that receive reinforcement updates still differ, so the comparison captures the performance of the complete recipes.
What the automatic scores count
The authors measure lexical variety with Distinct-1/2. Distinct-1 counts different unigrams, and Distinct-2 counts different bigrams, each relative to the total number of generated words. A unigram here is a word taken by itself, and a bigram is an adjacent pair. Higher scores indicate that the output uses a wider range of words or neighboring pairs relative to its length. A conversation can use varied vocabulary while repeatedly expressing the same idea, so these scores answer a different question from the repetition detector used for training. N-gram · A Diversity-Promoting Objective Function for Neural Conversation Models
Knowledge recall, precision, and F1 compare vocabulary in the generated conversation with vocabulary in the participants’ backgrounds. The calculation omits stop words, which are common words excluded from this kind of matching. Recall asks how much of the profile vocabulary appears in the conversation. Precision asks how much of the conversation vocabulary appears in the profiles. F1 combines those two views. The authors draw these measures from prior work on knowledge-grounded conversation. Wizard of Wikipedia
Recall = |W_G ∩ W_K| / |W_K|
W_G is the set of non-stop words in the generated conversation and W_K is the corresponding set in the background knowledge. The intersection symbol ∩ selects words shared by both sets. The vertical bars mean the number of members of a set. The slash divides the shared count by the number of distinct non-stop words in the background. A system can improve recall by bringing more profile vocabulary into the conversation, even if it also introduces a great deal of unrelated vocabulary.
Precision = |W_G ∩ W_K| / |W_G|
The symbols for the word sets, intersection, size, and division have the same meanings. The denominator here counts the distinct non-stop words in the conversation. The shared words can therefore account for a substantial share of the conversation vocabulary even if they cover only a limited portion of the profiles.
F1 = 2 × (Recall × Precision) / (Recall + Precision)
Here F1 combines the recall and precision defined above. The multiplication signs form their product and scale it by 2, and the denominator is their sum. The combination gives a low value when one of the two ingredients is low. Unlike the compound training reward’s coverage and repetition calculation, knowledge F1 works with sets of words. Once a word is in a set, further occurrences of the same word do not enlarge it. The score loses the order in which words appeared and the turns at which the facts were brought up.
What changed on the benchmark
In the automatic comparison, the proposed framework achieved the strongest reported Distinct scores and the strongest reported knowledge recall, precision, and F1. The authors quantify the knowledge F1 improvement over KG-Net as 3.6% for the PersonaChat comparison. The number is a reported improvement relative to a named comparator. The chart uses that comparator as the reference origin and shows the improvement in the authors’ terms.
Reported knowledge F1 improvement over KG-Net on PersonaChat
The learned selection policy improves profile vocabulary overlap relative to KG-Net.
The numbers
| System or setting | knowledge F1 improvement % |
|---|---|
| KG-Net (reference) | 0 |
| Compound-assessment strategy (this paper) | 3.6 |
The two families of automatic metrics help interpret the result. Variety in words and short phrases is consistent with the idea that the strategy gives the decoder changing material. Better vocabulary overlap indicates that more of the generated language corresponds to the background while maintaining precision under the benchmark’s definition. Neither family can establish whether the listener understands a disclosure or whether the whole exchange reads naturally. The paired transcript evaluation addresses some of the judgments those word-based measures leave open.
The training curves provide a separate view of the evidence. The authors average the curves over 5 random seeds and plot the compound reward, informativeness, and coherence against the number of training dialogues. All three rise over training in the reported curves. It is possible for an additive reward to improve while one of its ingredients deteriorates. Here the component curves show that the aggregate improvement accompanies increases in both measured ingredients. They describe progress according to the evaluator used for training. The held-out evaluations are where the paper examines whether the behavior also looks better by other criteria.
How people compared complete exchanges
For the human study, the authors start each simulated conversation with the personas of both participants and the opening utterance from a PersonaChat test item. A conversation has 8 turns, consisting of 1 starting utterance and 7 generated replies. For each comparison with a baseline, the authors randomly select 100 pairs of simulated test conversations. The paired transcripts share their persona backgrounds and come from the same starting setup. Each pair is assessed together by 3 crowd workers, and majority voting decides the comparison outcome.
A shared starting setup is particularly useful in this task. Some persona profiles offer more obvious connections than others. Two people who have related interests have an easy route into an informative exchange, whereas unrelated details give a selector a harder problem. Pairing the transcripts lets a worker observe how the systems handle the same opportunity to connect and disclose information. As the generated turns accumulate, any difference in the conversation’s direction can arise from the systems’ choices after the common opening.
The workers judge overall preference as well as coverage, concision, and coherence. Overall preference combines the quality of the interaction with the usefulness of the information exchanged. Coverage concerns how much profile information the conversation brings out. Concision concerns repeated information and recurrent utterances. A short conversation can still fare poorly on concision if it spends several turns revisiting the same detail. Coherence addresses the appropriateness and consistency of the turns. The paper motivates this form of assessment with earlier work questioning the agreement between common automatic dialogue metrics and human judgments. How NOT To Evaluate Your Dialogue System
The paper reports that the crowd comparisons favor the proposed system across the reported criteria. The agreement across coverage and concision is particularly relevant to the objective. These judgments can pull apart if a system expresses many facts and repeats a large share of them. Favorable comparisons on both indicate that, in the paired exchanges assessed, the speakers generally use more of their backgrounds while spending fewer turns on recurring material. The favorable coherence comparison also suggests that the benchmark advantage is perceptible in the flow of the transcript.
A comparison with a stronger generator
The authors also evaluate the strategy in a setting based on Lost in Conversation, the leading entry in the ConvAI2 challenge as described in the paper. That system uses 12 transformer layers and additional training data beyond PersonaChat. For the comparison, Bao and colleagues adopt that entry’s training settings and implement their strategy with a matching transformer layer count. The Second Conversational Intelligence Challenge · Transformer and attention
The authors report an advantage for their strategy in this matched setting. The comparison matters because the basic architecture uses recurrent encoders. A result there might depend on weaknesses or opportunities specific to that architecture. Testing the strategy with the transformer setup gives evidence that fact selection can be helpful in another generation setting as well. The comparison covers the tested challenge system and its training conditions. It says less about the size of the benefit under other profile distributions, objectives, or conversation lengths.
What the ablations show
The paper does not report component ablations. It instead examines transcripts, contrasts the probabilities assigned to profile facts, measures agreement between automatic scores and human judgments, and compares the strategy with another generator under matched training settings. Those analyses help explain the observed behavior and establish where the evidence stops. They do not separately identify how much of the improvement comes from each reward term or from the choice to freeze particular parameters.
Reading the simulated conversations
In the case analysis, the authors compare transcripts generated from the same profiles and opening utterance. Mem-Net frequently responds fluently with general conversational moves, such as handing a question back to the partner, while bringing out relatively little background knowledge. That behavior is plausible turn by turn. A conversational handoff can be entirely appropriate. The weakness becomes clear when several such moves together leave the speakers with much the same knowledge of each other as they had at the beginning.
KG-Net gives more specific replies in the examples, and it also returns to material it has already expressed. This shows how informativeness at the turn level can coexist with repetition across the exchange. A reply can indeed draw on a profile fact. If earlier replies already made that fact clear, its contribution to what the partner can learn is smaller than the local relevance of the reply might suggest. The case illustrates the behavior the repetition penalty is designed to discourage.
The RL-DG examples show redundant replies and problems with linguistic quality. The authors suggest a connection with reinforcement updates to the decoder, drawing on the strategic-dialogue work that informed their design. Because RL-DG and the proposed approach differ in their objectives as well as in what they update, these examples support the plausibility of that explanation without isolating the cause. A matched trial that changed only the scope of the update would be needed to measure how much the language difference depends on the frozen decoder.
In the proposed system’s examples, the authors see replies that use a broader range of facts and remain suited to the dialogue. The frozen decoder and adaptive selection policy offer an explanation of how that combination can arise. The decoder retains the ability it acquired in supervised training to phrase a response around a supplied fact. The policy changes the stream of facts supplied to it. The qualitative evidence is consistent with that division of labor. Since these are examples, they are most useful for identifying concrete failure patterns alongside the aggregate comparisons.
Looking at which facts had a chance of being chosen
The visualization compares the proposed method with KG-Net on the first 12 simulated PersonaChat test dialogues shown by the authors. The horizontal layout groups background facts by dialogue. For each group, the vertical positions show the selection probabilities at successive responses from one participant, with 4 utterances displayed for that participant. This view presents the distribution before the fact is sampled. It can therefore show whether a system persistently favors the same material even if an occasional draw happens to use something else.
The proposed policy distributes its preference over a wider range of profile facts across the displayed turns. In KG-Net, the authors point out recurring concentrations on previously favored facts. This is more direct evidence about the selector than a diversity score over its output words. A lexical score reflects everything that happens in selection and decoding. The visualization locates a difference upstream, in which pieces of content the two systems were likely to hand to a decoder.
There are still limits to what that picture can say. Preference for a fact gives it a chance of being sampled, and sampling gives it a chance of being expressed. The plot alone does not follow all of those stages or show whether a listener would recognize the fact. It also covers a selected span of the test outputs and shows the successive responses of one participant per displayed dialogue. Its value comes from illustrating the kind of selection pattern that could account for the transcript differences. The human coverage judgments and the automatic knowledge scores provide broader measures of those downstream consequences.
Checking alignment with human preference
The authors use Pearson correlation to compare automatic scores with the crowd workers’ overall judgments in the comparison between their method and KG-Net. Pearson correlation measures the strength and direction of a linear association. The analysis considers Distinct-1/2, knowledge recall, precision, and F1, and the compound reward. The combined reward has the strongest reported alignment with human overall preference in that comparison.
The result makes sense in terms of what the inputs to the judgment contain. A person comparing two transcripts can care that a speaker adds something fresh, that a reply connects to the preceding turn, and that the speaker does not keep saying the same thing. Knowledge vocabulary overlap treats background words as shared items in sets. Lexical diversity counts variation at the word or phrase level. The compound reward incorporates an assessment of reply fit and a history-sensitive charge for repeated information, so it includes dimensions that the other scores handle only indirectly.
This correlation also has a narrow scope. It concerns an overall judgment in the specific comparison with KG-Net. It does not establish that the reward would give the same ordering as people in every comparison, or that each reward ingredient has a strong independent association with human preference. A useful distinction here is between alignment of the complete score with one observed judgment and validation of the individual components. The paper reports evidence for the complete score in that setting.
The matched Lost in Conversation evaluation addresses a related question about the overall selection strategy. It shows that the authors could carry the idea into a different generation architecture and still report an advantage. That comparison does not play the role of removing a feature from the recurrent system. Read together, the analyses show a pattern across different points in the pipeline. The selection distributions broaden in the examples, the generated exchanges are judged more favorably, and the combined reward tracks overall preference better in the reported comparison. The relative contribution of the individual design choices remains unresolved.
Limitations
Limits and future work identified by the authors
The authors treat the detection of expressed information as approximate. They infer whether a profile fact is present using keywords, a practical way to make a conversation-level score computable. Detecting a keyword and recognizing a disclosure are different operations. The same idea can be worded in several ways, and the same word can appear in a sentence whose meaning differs from the background fact. This approximation matters during training because the evaluator’s output directly determines what the selector receives credit for.
In their conclusion, the authors propose more fine-grained assessments that could integrate cohesion at the level of adjacent turns with coherence across the full dialogue. The existing score accumulates turn-level judgments conditioned on history and background. It can reward a reply that is well placed at the time it occurs. A finer assessment could examine how a topic is developed, whether an earlier question is eventually resolved, or how a transition affects the continuity of the overall conversation. Those examples illustrate the distinction in scope suggested by the authors’ conclusion.
The authors also identify fuller use of knowledge in guiding the policy as a direction for further work. Their setup gives the policy a bounded candidate pool of profile sentences. That makes selection and evaluation tractable. It also confines the role of knowledge to what the profile representation and candidate scorer can support. The experiment establishes a way to control how that pool is used during a specific kind of exchange.
Limits apparent from the design
The objective of mutual acquaintance is broader than the outcome the experiment measures. Coverage is pooled over the conversation. Each marked fact improves the total even when most information has come from one speaker. The sum contains no separate requirement that both participants contribute comparable shares. A dialogue can therefore do well on the coverage term while the exchange is unbalanced. The human judgments give additional evidence about the quality of the joint interaction, although the readers judge transcripts rather than report what they learned as participants.
The information score measures signs that a fact was expressed. It does not test whether a partner understood it, accepted it, or remembered it later. A speaker can mention a hobby in passing and receive coverage credit. A listener may still miss the point or fail to connect it to the person who said it. Because the evaluation uses two agents for dialogue generation and people for subsequent judgment, it supplies evidence about readable exchanges under simulation. A study with people taking part in the conversation and later answering questions about what they learned would measure a different outcome.
The reward treats detected repetitions uniformly. Some repetitions are wasteful, but others can serve a genuine conversational purpose. A participant can paraphrase a fact to show they understood it, ask for clarification, or refer back to something the other speaker said. These moves can make an exchange more coherent even when they reactivate background information. The coherence component may help counter the repetition charge in some cases, but the information formula does not mark the conversational purpose of the second mention.
Coverage and repetition also inherit ambiguity from keyword matching. A negated statement could reuse profile words while saying something incompatible with the profile. An indirect disclosure could convey a fact while sharing little vocabulary with its written form. A word-based measure can be useful for comparing outputs in a common setup, but high overlap by itself is an incomplete measure of whether a fact was expressed accurately. This applies both to the automatic knowledge metrics and, through a different implementation, to the information signal used to train the selector.
The choice to freeze the decoder is central to how the authors interpret their results. It restricts the ways the policy can exploit the training signal and preserves the supervised wording procedure. It also limits how the system can use a chosen fact. If the decoder handles a less common phrasing poorly or needs details from much earlier in the conversation, adjusting the selector may only partly address that failure. Additionally, the evidence for freezing comes from the authors’ design rationale and comparisons across complete systems. No reported component ablation holds the rest of the recipe constant while updating the decoder.
The way the reward is aggregated is suited to the fixed-length setting. The coherence contribution is summed over turns, final coverage is read once, and repetition charges accumulate as the exchange continues. Giving the agents more time changes the opportunities for all three contributions. A longer interaction gives them more chances to reveal fresh facts, more chances to repeat them, and more turns on which coherence can add to the score. The experiments do not establish how the same balance behaves when one conversation is much longer than another.
The method also gets credit for completed exchanges without distributing that credit finely across decisions. Every sampled selection in a conversation receives the same reward difference relative to the baseline. A choice that starts a productive topic can be followed by an unrelated weak choice, and both are credited using the same total. Experience across many sampled exchanges can help the policy learn which patterns tend to work. The displayed update leaves the attribution of a particular later gain to an earlier turn implicit.
Finally, the scope of the evidence is PersonaChat and the tested settings built around it. The study targets fictional persona disclosures prompted by a shared opening. An exchange grounded in factual documents, a conversation organized around a user’s task, or a conversation where people decide whether to share sensitive personal details poses additional questions about what counts as useful information and when to bring it up. The paper’s controlled setup is well suited to asking whether a learned fact selector improves the use of profiles in simulated dialogue. It leaves those other kinds of transfer open.
What came after
Pretraining for dialogue generation
A subsequent citing paper, PLATO, approaches dialogue generation through pretraining with a discrete latent variable. A latent variable is an internal choice inferred or learned through its role in the generation process. Here the type of control named in the title differs from Bao and colleagues’ explicit selection among supplied profile sentences. In the earlier paper, those sentences have an identity before the conversation begins and can be traced into a coverage calculation. PLATO’s title identifies a discrete internal variable and places its role in pretraining. The connection is the use of a discrete choice in generation, with the two works giving that choice different meanings. The citation on its own does not establish that PLATO uses the earlier persona reward. PLATO · Language models and pretraining
Curriculum learning for open-domain conversation
PLATO-2 identifies an open-domain chatbot as its target and curriculum learning as its approach. A curriculum organizes learning into a progression. The named change in emphasis is from improving a selection policy with a score tied to profile exchanges to organizing learning for a chatbot with a broader conversational remit. These are different aspects of the training problem. Bao and colleagues specify what to reward in a simulated conversation and which parameters that reward should update. The later title identifies how training is organized and the kind of chatbot it is intended to produce. Its citation shows a connection to the earlier research without specifying which of those concrete design decisions carried over. PLATO-2
A survey of dialogue systems
The systematic survey on deep-learning approaches to dialogue systems cites the paper as part of its broader coverage of the field. A survey connects an individual design to a larger set of problems and research approaches. The relevant design here separates selecting content from wording the response and uses a score over a multi-turn exchange to improve the selection policy. The survey’s title and citation establish the broader dialogue-systems context for that work. They give no basis for assigning it a more specific implementation or experimental result. Recent advances in deep learning based dialogue systems
Cite
Cite as Siqi Bao, Huang He, Fan Wang, Rongzhong Lian and Hua Wu. 2019. Know More about Each Other: Evolving Dialogue Strategy via Compound Assessment. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.
@inproceedings{bao2019know,
title = {{Know More about Each Other: Evolving Dialogue Strategy via Compound Assessment}},
author = {Siqi Bao, Huang He, Fan Wang, Rongzhong Lian and Hua Wu},
booktitle = {Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
year = {2019},
doi = {10.18653/v1/p19-1535},
url = {https://doi.org/10.18653/v1/p19-1535}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2019-know-more-about-each-other/