Elamur Research

DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset

Paper · 2017 · Yanran Li, Hui Su, Xiaoyu Shen et al.

Summary

A conversation can go wrong even when each sentence makes sense on its own. A reply might acknowledge what someone just said and then ask a question that keeps the exchange going. It might also pick up the right subject while missing that the other person has made a suggestion or expressed distress. DailyDialog gives researchers a way to study these differences in dialogue systems. Its authors wanted conversations that stayed with a recognizable situation for several turns. They saw drawbacks in the alternatives available to them. Social media corpora often supplied noisy post and reply pairs, while telephone and subtitle collections contained stretches that could run across several subjects or scenes.

The authors collected written practice conversations from websites for people learning English. They removed duplicates and conversations with more than two speakers and applied automatic spelling correction. The resulting corpus contains 13,118 dialogues, typically about 8 speaker turns long, grouped into ten topic categories. Through manual linguistic annotation, each utterance received a dialog act for its communicative function and an emotion label. The act scheme distinguishes informing, asking, directing and committing. The emotion scheme uses six named emotions and an additional category for other cases. Three experts calibrated their judgments on 100 dialogues, then annotated independently. They reached 78.9% agreement before resolving disagreements by majority vote or another round of annotation.

The labels make it possible to follow how a conversation develops. The authors document exchanges in which a question elicits information or a suggestion prompts a commitment. They also find longer patterns, such as speakers answering a question and posing a new one in the same turn, or responding to a proposal with an alternative before anyone commits. Emotion labels let the authors count conversations that end in happiness and identify a smaller set that begins with a negative emotion and ends positively.

The paper benchmarks systems that retrieve existing replies and systems that generate new ones. Using intention and emotion can improve particular retrieved replies, although the authors find that matching the reference reply's labels is a weak measure of suitability. Among the generation approaches, the hierarchy that represents conversation history produced the strongest BLEU scores, which measure wording overlap with reference replies. Subtitle pretraining reduced perplexity, a measure of how well a system predicts the recorded text, while yielding poorer BLEU scores. Both pretrained systems in the illustrated comparison gave replies that missed the context. The authors suggest that differences between film dialogue and everyday practice conversations help explain the result. DailyDialog's contribution is the combination of compact exchanges and turn-level labels that allows these questions about context, intention and emotion to be studied together.

Deep dive: DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset

DailyDialog collects everyday English conversations, labels what speakers do and feel, and tests how dialogue systems respond. · about 35 minutes to read

The problem and its context

A reply has a place in an exchange

The paper starts from two reasons people talk to each other. They pass on information, and they maintain relationships. Both reasons affect what counts as a suitable next turn. A person who gets an answer can use it to ask a more specific question. Someone responding to a difficulty can acknowledge the other speaker's feelings and then suggest something to do. These responses make sense because of what precedes them. They also give the next speaker something to respond to.

An example early in the paper brings those jobs together. One speaker has heard about a difficulty, acknowledges it and then suggests a breathing exercise for moments when the other person gets upset. The suggestion introduces a new course of action that is relevant to what the other person has said. The authors use the example to explain why an exchange can remain coherent while moving beyond the immediate question or statement. A response that simply repeated the concern could show recognition. The suggestion gives the conversation somewhere to go.

This creates a data problem. If a corpus supplies an isolated question and answer, it can show whether a response addresses that question. It gives a researcher little opportunity to study what happens when the person who just answered becomes the next questioner. A collection of whole exchanges can preserve that shift. It can also show whether a new proposal responds to one already on the table or has appeared after a change of subject. To study these differences at scale, the authors wanted both the wording and a record of what each contribution was doing.

Intention and emotion capture different aspects of the same contribution. An informative response can be delivered with happiness, anger or some other emotion. A suggestion can acknowledge a difficult situation and propose a way forward. For the authors, that distinction matters to both sides of conversation. A system has to make sense of what someone is trying to accomplish, and its response may affect whether the interaction feels attentive or dismissive. The paper treats the two dimensions as properties that can be annotated and inspected along with the words.

What existing corpora supplied

DailyDialog sits between kinds of resources that the paper describes as serving different purposes. Traditional systems frequently used small spoken corpora tied to a particular task. The authors associate this work with techniques such as choosing an existing response or filling a response template. TRAINS illustrates the close relation between a conversational setting and the decisions a system is expected to make. Its planning exchanges concern problems such as moving railroad goods. That gives the speakers a well-defined purpose and gives a researcher a way to judge progress towards it.

The Ubuntu Dialogue Corpus offers a different interaction setting. The paper describes it as drawing on forum posts and replies about computer problems. A technical support conversation can require several turns to establish the problem and give an answer. Its range of subjects nevertheless remains linked to the purpose of the forum. Such corpora can give a detailed view of conversation under particular conditions. DailyDialog asks what a corpus might look like if the situations included service encounters and social conversation across a range of everyday settings.

Open-domain work widened that range. The paper cites the Neural Responding Machine as an example of a learned response generator tested on Sina Weibo data. Collections based on Weibo, Twitter or Reddit could supply many exchanges with fewer restrictions on subject matter. Their basic units often came from a post and a reply. The authors argue that informal wording, short exchanges and participation by multiple people can make it difficult to reconstruct who is responding to whom and how the thread proceeds.

That concern goes beyond the presence of spelling errors or slang. A reply may make sense as a reaction to a post without representing the next move in a conversation between the same participants. A second reply to the same post may be by someone else and may have little to do with the first reply. The relation between contributions in a thread is useful for studying participation on that platform. It provides a different kind of evidence from an exchange in which each person has a chance to react to what the other has just said.

The paper also discusses telephone calls and film subtitles. In its dataset comparison, it describes Switchboard conversations as frequently having 150+ speaker turns and OpenSubtitles entries as reaching 1,000+ speaker turns. The authors observed examples in which the participants or scenes passed through several topics. If an entry spans transitions like these, the boundary around the entire entry does little to identify a short local exchange. Subtitle collections nevertheless supplied abundant dialogue-like material. The paper points to work on deep reinforcement learning for dialogue generation and adversarial dialogue generation that used subtitle data.

The authors also distinguish conversation from question answering, drawing attention to the use of film-derived data as question and answer material. In conversation, an answer can be one move among several. It can prompt further inquiry, give way to a suggestion or end an exchange. A collection organized around recovering an answer may serve its own task well while giving little evidence about those possibilities. The unit that data preserves determines which questions a researcher can ask of it.

DailyDialog's design follows from these comparisons. The authors wanted short exchanges with a discernible setting, a pair of speakers and enough room for each to take the initiative. They saw written language practice as a source where those features already came together. Annotating the exchanges would then let them ask how the speakers' roles change over time, as when an answerer asks the next question, and how social responses develop alongside the exchange of information.

The method, step by step

Building the collection

The authors started with websites that teach everyday English conversation. These sites supply written examples for learners to practice, so a dialogue often has a recognizable situation and a reason for each person to participate. In a shopping exchange, one speaker wants to find suitable goods and the other can help. In a conversation about a holiday, students can compare their plans or experiences. The setting supplies expectations about the speakers' roles without turning every exchange in the collection into the same task.

The authors crawled these sites and removed duplicates from what they collected. They excluded dialogues involving more than two parties, so the remaining conversations could be read as exchanges between a pair of speakers. They then used the autocorrect package to fix spelling automatically. These operations address different properties of the collection. Deduplication addresses repeated material, filtering sets a constraint on who takes part, and spelling correction acts on the wording that remains. The authors report 13,118 dialogues after this processing.

The typical length comes from the practice dialogues themselves. The paper describes an average of approximately 8 speaker turns and about 15 tokens per utterance. A speaker turn is a stretch in which one participant has the floor. A token is a unit of text counted when describing the collection or representing it for a system. An utterance is a contribution to which an act and emotion can be assigned. In reasoning about the corpus, a turn and an utterance serve different purposes. A person who answers a question and then asks a question of their own has stayed in the same turn while performing distinguishable conversational acts.

The authors also grouped the dialogues by topic. This describes the situation or subject of the exchange as a whole. Turn-level annotations answer a more local question. A dialogue can concern an ordinary outing while moving through questions, factual answers, suggestions and responses to those suggestions. The topic remains meaningful across that sequence, even as the immediate purpose of each contribution changes. The authors report ten topic groups, including categories that encompass social relationships, routine life, work and financial matters.

How DailyDialog went from practice conversations to annotations

The steps in order.

How DailyDialog went from practice conversations to annotationsStep 1: Crawl websites that teach everyday English conversation1. Crawl websites that teach everyday English conversationStep 2: Remove duplicate dialogues2. Remove duplicate dialoguesStep 3: Keep exchanges between two speakers3. Keep exchanges between two speakersStep 4: Correct spelling automatically4. Correct spelling automaticallyStep 5: Calibrate annotators on sampled dialogues5. Calibrate annotators on sampled dialoguesStep 6: Assign dialog acts and emotions independently6. Assign dialog acts and emotions independentlyStep 7: Resolve differences by voting or reannotation7. Resolve differences by voting or reannotation

Labelling what a speaker is doing

The dialog act scheme comes from Amanova and colleagues' work on cross-domain dialogue act classification. The DailyDialog authors chose it because they considered it compatible with ISO 24617-2 and consistent with annotation in corpora such as TRAINS and DBox. Speech act theory supplies the broader distinction behind the annotations. An utterance has a wording and a communicative use. An annotator has to identify the use of that wording in the exchange.

Inform and Questions are the categories for exchanging information. Inform applies when someone supplies information. The authors include utterances with interrogative wording in this class when their function is to convey information. Questions applies when someone seeks information from the conversation partner. What looks like a question in isolation may therefore need to be read alongside the previous turn. Counting question marks would leave this difference unresolved.

Directives and Commissive concern actions under discussion. The paper puts requests, instructions and suggestions in Directives. Accepting or rejecting an offer also falls under that label. Commissive includes offering to do something and accepting or declining a request or suggestion. The relation between the utterance and the proposed action matters. An acceptance of a suggestion and an acceptance of an offer may both be affirmative in surface wording, while the scheme puts them on different sides of its distinction.

The usefulness of this coarse inventory is easiest to see in sequences. When someone asks for a piece of information, an informative answer resolves the immediate request. Where to meet, for example, is an information question if the speaker wants to learn a location. Proposing a place to meet makes a move about a prospective action. Agreeing to that place can commit the other speaker to the proposed plan. The two sequences can concern the same subject and use some of the same words. The act labels allow the exchange of information to be counted separately from the negotiation of a plan.

The annotation records one act for an utterance. That choice makes it possible to summarize many exchanges in the same terms, at the cost of collapsing detail about utterances that serve more than one purpose. Consider the difference between counting the action of a speaker's contribution at a particular point and keeping track of their role throughout a conversation. A participant may supply information now and ask for it next. That movement between roles is part of what the authors wanted the corpus to reveal.

Labelling expressed emotion

For sentiment and emotion, the authors followed prior Weibo work in using Ekman's basic-emotion inventory. DailyDialog uses Anger, Disgust, Fear, Happiness, Sadness and Surprise, along with a residual category. The added category leaves room for cases outside the named emotions. It does not describe which other emotion a speaker might have expressed. In the paper's worked examples, it is also possible for successive utterances to receive that residual label while an earlier turn carries a named emotion.

The two annotation dimensions are assigned to the same text. A speaker might offer advice while responding sympathetically to a problem. The act describes the function of the advice in the exchange, and the emotion label gives a separate account of the expression. With both, a researcher can ask whether responses involving similar actions differ in emotional tone, or whether conversations with comparable emotional histories develop through different acts. Topic alone would leave both questions open.

The labels concern what can be read in the written exchange. The authors describe expressions of sympathy and consolation as reasons to study the emotional side of dialogue. A practice text can depict someone being comforted or becoming happier. The labels record the evidence available in that text. They do not give direct access to a participant's feelings, and an utterance with an emotion label need not amount to a description of everything that person feels.

Calibrating and reconciling judgments

The authors recruited three experts familiar with dialogue and communication theory. After instruction in the criteria, the experts annotated a sample of 100 dialogues and discussed discrepancies. This gives the procedure a calibration stage before the main pass. An ambiguous request or offer can expose where people are drawing different boundaries between categories. Discussion gives them a chance to apply the same convention when comparable cases appear later.

The experts then worked independently through the collection. The authors report 78.9% inter-annotator agreement, a measure of how frequently judgments coincided under their procedure. Where the annotators differed, the authors used a majority decision or had the experts annotate the case again to arrive at an agreed label. The reported agreement describes the independent judgments. The finished annotations reflect the subsequent decisions as well.

This sequence matters because it makes clear which parts of the resource come from the websites and which come from the study. The conversation text was already written. The topic grouping and turn-level categories were added to make properties of that text measurable. A later researcher can therefore work with the words as a response example or use the act and emotion sequences as observations in their own right. The paper makes the resulting DailyDialog dataset available.

Retrieving a response from similar contexts

The benchmark asks a system to respond to a conversation history. A retrieval system searches existing examples and returns an associated reply. The examples used for search carry their own contexts, so a ranking procedure can look for a situation similar to the current one. The basic assumption is that a response which followed a comparable history has some chance of being appropriate again. The paper tests different ways of deciding what comparable means.

The Embedding baseline compares numerical representations of the contexts. Word embeddings represent words as vectors whose coordinates can be used in similarity calculations. According to the paper, contexts are compared by averaging Euclidean distance, cosine similarity, and Jaccard distance. Cosine similarity compares directions, Euclidean distance compares separation in a coordinate space, and Jaccard distance concerns overlap relative to the combined sets being compared. Candidate contexts judged closer to the test context rank higher. The paper gives the ingredients of the comparison in prose, with no displayed equation or worked normalization example for the combined score.

The Feature baseline works with lexical features. It first uses TF-IDF, which weights terms according to their frequency in a text and their prevalence across the collection. This stage selects 1,000 candidates. It then ranks them with QRatio, WRatio and Partial ratio, the fuzzy string matching features implemented with fuzzywuzzy. These scores let the ranking use approximate text matches. A context can earn a comparable score even when its wording differs in some respects from the query.

Reranking changes the order after the feature-based search. With +I-Rerank, the authors compare the sequence of dialog acts in the test history with that of a candidate's history. A candidate can rise in the list if its sequence follows the same pattern. What matters in the example is the arrangement of acts over the preceding utterances. A history in which an inquiry leads to an answer and a suggestion represents a different interaction from one in which the same kinds of acts occur in another order.

The +I-E-Rerank variant also uses emotion history. It inherits the feature search and brings both annotation dimensions into the final ranking. The paper describes these as comparisons between histories. The procedure chooses among replies already linked to those histories. An act or emotion match can therefore change which wording the system returns without authoring that reply itself. Its effect depends partly on the examples that the earlier search brought into consideration.

Generating a response from the history

A generator builds a reply token by token. In the basic sequence-to-sequence setup, an encoder processes the input sequence and a decoder uses its representation to predict the response. The tested implementation uses a gated recurrent unit, or GRU. A recurrent network passes a state along the sequence as it processes it, and the gates control how that state is updated. The encoder and decoder have 1 layer each and 512 hidden neurons. The paper draws on the use of encoder and decoder architectures in machine translation, where an input sequence likewise gives rise to an output sequence.

Attn-Seq2Seq adds attention. Attention gives the decoder a way to assign different weights to parts of the encoded input as it predicts successive output tokens. A word needed to express the next part of a reply may depend on a particular detail of the history. The architecture gives that detail a path to influence the prediction. The paper connects this approach to earlier work on learning to align and translate and on attention in neural machine translation.

HRED, the hierarchical recurrent encoder-decoder, represents the conversation at more than one level. An utterance has an internal sequence of tokens, while the history has a sequence of utterances. A hierarchy can carry forward a representation of the exchange as turns accumulate. The paper adopts HRED from earlier work on end-to-end dialogue systems. Its context-sensitive structure makes it a natural comparison for a corpus assembled around short stretches of continuing conversation.

The L+ variants make label information available when the decoder produces the reply. The labels are represented by one-hot vectors. Each category has a designated coordinate, and the active coordinate identifies the selected category. This supplies a categorical signal alongside the information conveyed by the input representation. It is a simple integration of the annotations. The paper does not describe a separate planner that derives a sequence of conversational acts or emotions for the remaining exchange.

The Pre+ variants explore pretraining. Here, pretraining means learning parameter values on a different corpus before using DailyDialog for the target task. The authors use OpenSubtitles and construct short examples from consecutive subtitle utterances because the collection lacks the compact boundaries they wanted. They describe a context consisting of three consecutive utterances and a neighboring response, using the term “foregoing” for that response. The description leaves some ambiguity about the direction of that relation in a reconstruction of the procedure. The paper calls the sampled material three-turn dialogues and reports using 3,000,000 of them for 12 epochs of pretraining. An epoch is a pass through the training material.

Training settings shared by the comparisons

The paper uses TensorFlow for its implementations. It sets the vocabulary size at 25,000 and represents words outside that vocabulary with the special token UNK. Mapping rare or unseen words to one symbol keeps them within the representation used by the system. It loses the individual identities of words that share the symbol. The authors initialize word vectors from Word2Vec embeddings trained on Google News, with a dimension of 300. Subtitle pretraining concerns the trained parameters of the response system and is distinct from this shared initialization of word vectors.

The batch size is 128 and the learning rate is fixed at 0.0002. A batch groups examples for a training update. The learning rate controls the scale of parameter updates. The training objective is cross-entropy, which penalizes the system when it gives little probability to the target tokens. The authors minimize this objective using Adam. The paper reports this objective and the comparison measures by name and description, without spelling them out as equations. Its procedure separates the task used to fit the parameters from the measures used to compare the responses.

Experiments and results

The split and what the scores measure

The authors randomly divide DailyDialog at the conversation level. The training set contains 11,118 conversations. The validation set contains 1,000, and the test set contains 1,000. Training supplies examples from which a response system learns or builds its collection of candidates. Validation is used to tune settings. The reported comparison uses the test conversations. Keeping the split at conversation level gives the different parts of a given exchange a shared assignment.

Retrieval and generation answer the same broad question about what should come next. The candidate set creates a difference in how the paper can score them. The authors say the test reference replies are unseen in training. A measure such as Recall-k asks whether a designated correct candidate occurs among the highest-ranked results. If the recorded reply is unavailable to the retrieval system, its absence from the shortlist says little about the quality of the reply the system can return. The paper instead evaluates the wording and labels of the selected response against those of the reference.

BLEU measures overlap between the returned wording and the wording in the reference. It supplies a common automatic comparison for retrieval and generation. A response can receive credit where its wording agrees with the recorded continuation. The authors also draw on earlier work on dialogue evaluation metrics to explain why the correspondence between BLEU and response quality is weak in dialogue. The same previous turn may support several appropriate responses. The reference shows the continuation chosen by the author of the dialogue, and a different plausible continuation may have little wording in common with it.

The retrieval experiment adds a label equivalence measure. It asks whether the act or emotion of the selected reply agrees with the corresponding label of the reference reply and expresses agreement as a percentage. This is evidence about agreement under the annotation scheme. Two responses can both be questions while asking about different things, or both carry the residual emotion label while differing in tone and relevance. The authors expressly caution against inferring that a higher equivalence percentage guarantees a better response.

For generation, perplexity gives a probability-based view of prediction. A lower value indicates that the learned system assigns greater probability to the recorded text under the scoring procedure. BLEU looks at the wording of the output it produces. The distinction matters in the pretraining comparison. Scoring a system on how it distributes probability over reference words gives a different view of its behavior from inspecting the responses it actually generates.

Corpus statistics and the flow comparison

The topic counts show where much of the corpus is concentrated. Relationship accounts for 33.33% of dialogues, Ordinary Life for 28.26%, and Work for 14.49%. These are shares of the complete collection, separate from the response scores on the test split. The collection spans ten topic categories, with a substantial presence of conversation about relationships and routine life. The authors connect those themes to activities such as making social plans, recounting recent events and discussing work.

A further analysis counts two longer patterns in the full corpus. One occurs when a speaker provides an answer and then poses another question during the same turn. The paper identifies 2,398 dialogues with this pattern. The other occurs when a proposal elicits another proposal before a commitment, an exchange the paper describes in terms of Directives and Commissive acts. The authors report 1,203 occurrences of that pattern and express its frequency as a share of the dataset. The figure compares the reported shares. Height represents frequency, and the star marks the more frequent pattern.

Reported shares for two multi-turn act patterns in DailyDialog

Answering and asking within a turn has the larger reported share.

Reported shares for two multi-turn act patterns in DailyDialogAnswer followed by a new question (this paper): 18.3Answer followed by a new question (thispaper)18.3Proposal followed by another proposal and a commitment: 9.2Proposal followed by another proposaland a commitment9.2
The numbers
System or settingShare of DailyDialog %
Answer followed by a new question (this paper)18.3
Proposal followed by another proposal and a commitment9.2

These percentages address different pattern definitions, so the chart does not depict a division of dialogues into mutually exclusive groups. The first pattern is about a change of function inside a speaker's turn. The second is about how a proposal develops across contributions. Both illustrate what the authors gain from preserving the order of acts in complete exchanges. A count of utterances labelled Questions or Directives by itself cannot tell whether these sequences occurred.

The authors make a similar use of order in their emotion analysis. They identify 3,675 dialogues, or 28.0% of the corpus, that end with Happiness. They find 113 examples, reported as 0.8% of the corpus, that begin with a negative emotion and finish positively. Those are observations defined by the labelled endpoints. The first count describes how many dialogues end in the named positive category. The second also puts a condition on the beginning. The paper uses the examples to motivate work on agents that could help guide an exchange towards a happier outcome.

What the retrieval comparisons show

The retrieval comparison proceeds from context similarity based on embeddings to a lexical feature system and then to reranking. That progression gives two kinds of baseline. Embedding tests a similarity calculation over learned representations. Feature tests a shortlist and ranking built from text features. The two reranking approaches ask whether histories of intention, or of intention and emotion together, help once the lexical search has supplied candidates.

The authors report BLEU for the retrieval systems and describe the increases in label equivalence from using annotations as subtle. Their case studies give the clearest account of what can change in a particular response. In one exchange, the current speaker is asking for directions. Both preceding contributions in the test context are annotated as Directives, and the recorded reply expresses thanks. The feature-only search selects a reply associated with a shopping context in which someone asks where to find discounted produce. The wording involved in asking for direction can make the shopping example look relevant to a lexical search in spite of the change of setting.

With reranking, an example from a route-finding conversation is promoted. Its history also consists of Directives, and its reply asks how long the journey will take. The new reply can follow a route explanation, even though it takes the conversation in a different direction from the reference's acknowledgment. In this case, inspecting the associated histories explains more than checking whether the retrieved words match the reference. The act sequence helps favor a candidate from a context with a similar progression.

An emotion example compares the replies found with intention alone and with both kinds of history. The authors favor the reply selected with both, which describes a relationship that has improved and says how that improvement feels. The candidate history comes from a conversation about a stray cat. Its emotion sequence begins with Surprise, whereas the test history begins with Anger. The remaining labels in each history are residual categories. That difference matters when interpreting the result. The example shows a selection the authors judge more suitable even with different initial emotions. It gives no basis for treating emotion reranking as a rule that requires identity at every position.

The paper's discussion describes the direction of changes in label equivalence and gives these individual responses. It does not state the numerical BLEU or equivalence entries in its prose. The available comparisons therefore establish how the ranking variants were assessed, what the authors say about the direction of the label effects and why they preferred particular replies. The examples cannot determine the size or frequency of a corresponding change across all test conversations.

What the generation comparisons show

The plain GRU sequence-to-sequence system supplies the simplest generation baseline. The authors compare it with Attn-Seq2Seq and HRED, then examine versions with label information and versions pretrained on subtitle material. The baseline comparison asks whether representing the input differently improves response generation. The variants ask whether the same broad generation setup gains from extra information or a different starting point for training.

For test BLEU, the authors describe attention as generally improving on the plain encoder-decoder. HRED attains the highest BLEU scores among the architecture families compared. The authors attribute this to its treatment of conversational history. They also report a benefit from the label-enhanced approaches. The report gives the relative performance and its proposed explanation. It does not state the individual numerical BLEU entries in the discussion, so the magnitude of those gains cannot be recovered from the ranking alone.

The pretraining result runs in different directions depending on the measure. The subtitle-pretrained systems converge faster and achieve lower perplexity, while their BLEU scores are poorer. The authors relate this to differences between dialogue written for film and dialogue written as examples of everyday English. They also draw attention to the difference between the long spans in the subtitle collection and the short exchanges in DailyDialog. The trial uses short examples made from the subtitles, so it tests transfer from those constructed examples rather than prediction directly from an uninterrupted subtitle sequence.

A case study illustrates what the metric disagreement can look like. The authors present pairs of outputs from corresponding systems with and without subtitle pretraining. The two pretrained outputs in the example miss the context, while the versions trained on DailyDialog alone give more reasonable continuations. This is an observation about the illustrated replies. Together with the lower BLEU scores, it gives the authors reason to question subtitle pretraining for this setup in spite of its better perplexity.

The separate observations give a more precise picture than a single ranking would. The words of a retrieved reply can be plausible even when it performs a different function from the recorded continuation. A generative system can become better at assigning probability to reference text while its actual responses become less relevant in an example. In each case the reference still provides a useful comparison. Its evidential role depends on whether the paper is measuring word overlap, consistency of labels or probability of the recorded sequence.

What the ablations show

Changing what the ranker can see

The controlled comparisons are closest to ablations where the authors keep the feature retrieval stage and change the information used to reorder its candidates. Starting from Feature, adding intention history tests whether similarity in dialog acts contributes something beyond the lexical signals already used. Moving from intention reranking to intention and emotion reranking lets the second comparison include emotional history. Because the response still comes from an encountered example, a change in output can be traced to the choice of candidate.

The directions example shows the kind of ambiguity the act sequence can help resolve. Words used to ask where something is can occur in both a shop and a navigation exchange. Lexical similarity can place both contexts on the shortlist. A matching sequence of acts favors a context where the people have reached a comparable point in their exchange. The chosen response still has to make sense in the current subject. The effect comes from the interaction between the lexical candidate set and the subsequent ordering by conversational function.

The case also helps explain the limits of equivalence. The recorded response thanks the other speaker. A question about how long the trip will take is a reasonable continuation of a conversation about directions, but it does different work. A rule based completely on matching the reference label could favor a reply that performs the same function while addressing the wrong situation. Conversely, a reply that advances the current conversation could be penalized for taking a different path. The paper's examples show how either a contextual judgment or a label comparison can inform the analysis without making those judgments interchangeable.

Adding emotion gives a further comparison, although it supplies thinner evidence for a specific mechanism. The selected candidate in the illustrated exchange starts with a different named emotion from the test context. The paper still favors its response. Matching or comparing a history can promote an example whose trajectory is judged more suitable overall in spite of a difference at one point. Because several aspects of the candidate change together when it rises in the ranking, the case does not establish which position in the emotion sequence mattered most.

There is no reported emotion-only reranking condition in this setup. The comparison with +I-E-Rerank estimates what happens when emotion is available in addition to intention in this particular pipeline. It leaves open how a reranker would behave with emotion alone. It also leaves open whether a different method of bringing in the labels would find better candidates earlier in the search. The experiment concerns changes to the order of an existing set of lexical matches.

History, labels and pretraining in generation

Comparing plain Seq2Seq with its attention variant tests an architectural change that gives the decoder selective access to encoded input. The generally stronger BLEU scores support using attention in the tested setup. HRED adds a different organization of the history and achieves the strongest scores among the compared architecture families. That ranking is consistent with the authors' account that dialogue benefits from retaining context across utterances.

The HRED comparison changes the architecture as a whole. It does not isolate whether its advantage comes from a particular preceding turn, a longer history or the way the representation is assembled. All of those are compatible with an improvement from hierarchical encoding. The corpus analysis supplies examples where preserving an earlier contribution is likely to matter, such as proposals that elicit alternatives. The benchmark results do not break out performance on those individual patterns. There is thus a distinction between the architectural explanation and a direct test of how the system resolves a given sequence.

Giving the decoder the act and emotion labels is a more direct comparison of what information it can use. The reported benefit for L+ shows that adding the annotations in this way can improve the measured responses. The paper treats both label types as input to the label-enhanced setup. It does not use separate generation variants to show which type accounts for the benefit. A joint improvement leaves room for effects from either label type or from their combination.

The subtitle comparison runs across corresponding generation approaches with different training histories. Its clearest result is the split between easier prediction of recorded text and worse scores for the wording generated. The addition of a substantial amount of subtitle training changes both the source of the learning signal and the training schedule. The experiment demonstrates what happened when those factors were combined. It does not compare subtitles against an equally large pretraining collection constructed to match DailyDialog.

Domain difference is the authors' explanation for the outcome. The data offer several reasons that film lines and edited practice dialogues could support different continuations. The pretraining examples also have to be made by grouping adjacent subtitle utterances. Stylistic differences, the relationship between those utterances and the conditions of training are therefore all relevant to how transfer might play out. The paper reports no comparison that holds the other factors fixed while varying just one of these aspects. The result is strongest as evidence about the tested pretraining recipe.

What the corpus analyses contribute

The authors' counts of act patterns are descriptive analyses alongside the system comparisons. The short paired flows show how the labels correspond to familiar moves. A question can lead directly to information. A suggestion can elicit a commitment or refusal. The longer flows show how a speaker can take initiative after responding or how an alternative can enter a negotiation. The counts establish that these patterns appear in the corpus at a scale the researchers can describe, rather than merely in the motivating example.

The emotion endpoint counts answer another descriptive question. A dialogue can finish in happiness without starting with a negative emotion, and the subset defined by a negative beginning has a more specific trajectory. These counts identify examples for studying emotional change over a conversation. They preserve the final state and, for the narrower count, the initial state. They do not determine which intervening utterance brought about the change.

Taken together, the analyses identify properties of the training and test material that a stronger response system might be able to use. The comparisons then give some evidence that manually added information and the organization of history have measurable effects. The analyses and benchmark work at different levels. A pattern can be frequent without explaining a particular gain, and a system can improve an aggregate metric without showing that it has acquired the pattern the authors described.

Limitations

Limits identified by the authors

The authors note that the named emotion categories are imbalanced and say this raises a question about the fit of the basic-emotion scheme. They retain it to stay consistent with previous work, leaving the development of a different emotion theory outside the study. Comparability is a reason for adopting the scheme. The frequency distribution remains a reason to interpret results under it with care. A system can encounter very different amounts of evidence for different emotion classes.

The paper also limits its claims about evaluation. It says the retrieval reference responses are absent from the training collection, which prevents the proposed retrieval comparison from using conventional rank-based measures tied to those references. BLEU is used instead, with the acknowledged weakness that word overlap offers only a partial account of whether a response fits. Label equivalence has a parallel weakness. A reply that agrees with the reference's act or emotion can still be unsuitable, and the authors treat the observed improvements as modest.

The authors call their evaluation initial and point to further work on using multi-turn act sequences. They also identify the topic groupings as potential material for adaptation and transfer between domains. The tested systems show ways to use context or labels in response selection and decoding. The study does not complete the proposed work on exploiting the longer sequences or transferring between topics. In much the same way, the conversations that end happily motivate research on guiding an exchange. Counting those endings gives no experimental test of an agent's ability to bring one about.

Limits visible in the design

The source material defines the kind of conversation DailyDialog represents. The text comes from English practice websites, where the dialogue has been written to illustrate language use in an everyday situation. That gives the exchanges readable boundaries and typically a clear local subject. It also makes them evidence about how everyday conversation is depicted in these materials. Conclusions about the prevalence of an act sequence among spontaneous speakers require a different basis. The paper does not sample naturally occurring talk across the different situations it describes.

The two-speaker filter narrows the interaction further. It makes the source of successive contributions easier to follow and supports the authors' analysis of paired moves. It excludes settings where several people can respond to the same proposal, another person can answer a question directed elsewhere or participants can take up different topics at the same time. A turn pattern established in a written exchange between two speakers may have several counterparts in a group conversation. DailyDialog's data construction supplies no test of those counterparts.

Topic breadth and topic balance are separate properties. DailyDialog covers a range of situations, with much of the material in the leading categories. A random split tests performance on held-out conversations sampled from that collection. It does not establish transfer to a topic deliberately excluded from training or to another source of English conversation. The authors' proposal to study adaptation using the topic labels recognizes a question beyond the random held-out comparison.

The agreement figure is useful as a corpus-wide description of the annotation process. It leaves several questions open. The paper does not break that figure down by label, report how frequently particular categories were confused or explain the agreement statistic in enough detail to reconstruct it. The final decision rules give each utterance a usable category. They also replace disagreement with a single recorded outcome, leaving less information about utterances that experts interpreted differently.

The coarseness of the labels affects what can be inferred from them. The residual emotion category can cover utterances that differ in ways the named inventory does not express. A single dialog act gives a practical account of the primary function, while a short contribution may simultaneously acknowledge a previous speaker and introduce something new. The categories support comparisons at the level of detail for which they were designed. Agreement at that level provides limited evidence about finer distinctions in meaning, social intent or emotional tone.

Finally, the illustrative responses were examined as cases. They show how a system might miss the context in spite of improving perplexity, or produce a plausible follow-up in spite of departing from the reference wording. The paper does not establish how often readers would prefer one system's response across the test set. Its aggregate comparisons and its worked examples answer complementary questions. Extending a judgment about a particular reply to a general ranking of conversational quality would require evidence beyond these experiments.

What came after

Emotion as a property of an exchange

Several later papers cite DailyDialog while putting emotion at the center of the task. The titles identify their research direction. The citation relationship alone does not establish which used DailyDialog for training or evaluation, what settings they used or what results they obtained. Across these papers, the connection is the problem of interpreting an utterance's emotion within a conversation. DailyDialog makes that problem explicit by linking an emotion annotation to each contribution while keeping the exchange in order.

The Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations frames the task as detecting emotion in a written conversation and investigates a Transformer enriched with knowledge. Its connection to DailyDialog is the distinction between seeing a line as a standalone sentence and interpreting it as someone's response to what came before. The later title adds knowledge to that problem. DailyDialog's contribution is to preserve the text before and after each labelled contribution so that the conversational setting is available for study.

COSMIC also addresses identifying emotion in conversation. Its stated approach brings commonsense knowledge to the task. The connection can be understood through the difference between assigning an emotion label and accounting for why the emotion might be appropriate. An utterance can express distress in response to what another speaker has described. The label identifies the expression, while interpreting its cause can require understanding the situation in the exchange.

The Directed Acyclic Graph Network for Conversational Emotion Recognition takes the structure of conversational emotion recognition in a different direction by naming a graph architecture. DailyDialog's own analysis emphasizes the order of contributions and what changes from one to the next. A graph-based study is related through the question of how to represent connections between utterances when recognizing emotion. The citing work's title identifies that architectural choice without attributing a specific use of DailyDialog to it.

From recognizing emotion to choosing a response

Towards Emotional Support Dialog Systems moves the focus towards the response a system gives to someone who needs support. DailyDialog already treats social connection as one reason to study dialogue and gives examples where the response acknowledges an emotion before proposing an action. Emotional support defines a more specific purpose for that kind of interaction. A system's response needs to have a role in the conversation, beyond providing evidence that it recognized the previous speaker's emotion.

MISC addresses emotional support with a mixed-strategy approach integrating COMET. The relationship to DailyDialog is the attention paid to the manner of responding alongside the emotional situation. The DailyDialog labels describe broad communicative functions such as informing and suggesting. A study organized around support strategies asks a more specialized question about which kinds of responses serve the conversation's purpose. The citation situates that question in work that already treated lexical relevance and social response as distinguishable properties.

Perspective-taking and Pragmatics for Generating Empathetic Responses Focused on Emotion Causes identifies the cause of an emotion as a point of focus for empathetic generation. That aim is related to DailyDialog's example of acknowledging a speaker's earlier concern and then giving pertinent advice. The relevant context includes what gave rise to the emotion. An emotion category provides one part of this account, while the event or situation that prompted it can determine whether a particular response is appropriate.

Evaluating coherence and preserving whole conversations

GRADE concerns an automatic graph-enhanced measure for the coherence of open-domain dialogue responses. It addresses the kind of evaluation problem that the DailyDialog authors illustrate with their retrieval cases. Two utterances can share vocabulary while belonging to different situations. Conversely, an apt follow-up can use different words and perform a different act from the reference reply. Measuring coherence brings the relation between reply and context directly into the evaluation question.

A Comprehensive Assessment of Dialog Evaluation Metrics takes the measures themselves as its subject. DailyDialog's comparison offers an example of why that subject matters. Perplexity, word overlap and agreement between labels each deliver evidence about a different property of a response system. Their divergence under subtitle pretraining shows how a choice of metric can change the apparent direction of progress. The later work is connected through the broader task of comparing what evaluation measures capture.

DialogSum introduces a dataset for summarizing conversations in real-life scenarios. The shared design concern is that an exchange has meaning across turns and within a situation. In DailyDialog's generation benchmark, the history is used to predict a continuation. In dialogue summarization, the exchange is used to produce a condensed account. Both tasks draw on who said what in relation to other contributions, while placing different demands on which details to retain.

Joint dialog act recognition and sentiment classification in DCR-Net treats communicative function and sentiment together in a recognition task. The relationship is particularly direct because DailyDialog supplies an annotation on each of these dimensions for the same utterance. The original paper uses that pairing to describe exchanges and to inform response retrieval or generation. The later work's title places joint recognition at the center of the problem. Across these directions, DailyDialog serves as a point of reference for treating what a speaker does, how emotion is expressed and how the next turn fits as questions that can be studied using the same conversation.

 Fields, topics and concepts

 Shelves 6The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 worksPsychology · 1,673 worksExperimental and Cognitive Psychology · 950 works

 Topics 1Research subjects and languages the work is about.Dialogue systems · 664 works

 Concepts 1Key ideas and methods explained on our concept pages.Chatbots · 54 works

Cite

Cite as Yanran Li, Hui Su, Xiaoyu Shen, Wenjie Li, Ziqiang Cao and Shuzi Niu. 2017. DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset. arXiv:1710.03957.

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

@misc{li2017dailydialog,
  title = {{DailyDialog: A Manually Labelled Multi-turn Dialogue Dataset}},
  author = {Yanran Li, Hui Su, Xiaoyu Shen, Wenjie Li, Ziqiang Cao and Shuzi Niu},
  year = {2017},
  doi = {10.48550/arxiv.1710.03957},
  eprint = {1710.03957},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1710.03957}
}

References

32 references, from the paper's own bibliography.

  1. Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Gregory S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian J. Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafal Józefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mané, Rajat Monga, Sherry Moore, Derek Gordon Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul A. Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda B. Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng. 2015. Tensorflow: Large-scale machine learning on heterogeneous distributed systems. CoRR, abs/1603.04467. our card
  2. Rami Al-Rfou', Marc Pickett, Javier Snaider, Yun-Hsuan Sung, Brian Strope, and Ray Kurzweil. 2016. Conversational contextual cues: The case of personalization and history for response ranking. CoRR, abs/1606.00372. OpenAlex ↗ · Scholar ↗
  3. Dilafruz Amanova, Volha Petukhova, and Dietrich Klakow. 2016. Creating annotated dialogue resources: Cross-domain dialogue act classification. In LREC. our card
  4. Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. CoRR, abs/1409.0473. our card
  5. Antoine Bordes and Jason Weston. 2016. Learning end-to-end goal-oriented dialog. CoRR, abs/1605.07683. OpenAlex ↗ · Scholar ↗
  6. Kyunghyun Cho, Bart Van Merriënboer, Dzmitry Bahdanau, and Yoshua Bengio. 2014. On the properties of neural machine translation: Encoder-decoder approaches. arXiv preprint arXiv:1409.1259. our card
  7. Jesse Dodge, Andreea Gane, Xiang Zhang, Antoine Bordes, Sumit Chopra, Alexander H. Miller, Arthur Szlam, and Jason Weston. 2015. Evaluating prerequisite qualities for learning end-to-end dialog systems. CoRR, abs/1511.06931. our card
  8. Paul Ekman. 1992. An argument for basic emotions. Cognition & emotion, 6(3-4):169–200. our card
  9. John J Godfrey, Edward C Holliman, and Jane McDaniel. 1992. Switchboard: Telephone speech corpus for research and development. In Acoustics, Speech, and Signal Processing, 1992. ICASSP-92., 1992 IEEE International Conference on, volume 1, pages 517–520. IEEE. OpenAlex ↗ · Scholar ↗
  10. Karl Moritz Hermann, Tomás Kociský, Edward Grefenstette, Lasse Espeholt, Will Kay, Mustafa Suleyman, and Phil Blunsom. 2015. Teaching machines to read and comprehend. In NIPS. our card
  11. Sina Jafarpour, Christopher JC Burges, and Alan Ritter. 2010. Filter, rank, and transfer the knowledge: Learning to chat. Advances in Ranking, 10. OpenAlex ↗ · Scholar ↗
  12. Jörg Tiedemann. 2009. News from OPUS — A Collection of Multilingual Parallel Corpora with Tools and Interfaces. OpenAlex ↗ · Scholar ↗
  13. Diederik Kingma and Jimmy Ba. 2014. Adam: A method for stochastic optimization. International Conference for Learning Representations. our card
  14. Jiwei Li, Will Monroe, Alan Ritter, Daniel Jurafsky, Michel Galley, and Jianfeng Gao. 2016. Deep reinforcement learning for dialogue generation. In EMNLP. our card
  15. Jiwei Li, Will Monroe, Tianlin Shi, Alan Ritter, and Dan Jurafsky. 2017. Adversarial learning for neural dialogue generation. arXiv preprint arXiv:1701.06547. our card
  16. Chia-Wei Liu, Ryan Lowe, Iulian V Serban, Michael Noseworthy, Laurent Charlin, and Joelle Pineau. 2016. How not to evaluate your dialogue system: An empirical study of unsupervised evaluation metrics for dialogue response generation. In EMNLP. our card
  17. Ryan Lowe, Nissan Pow, Iulian Serban, and Joelle Pineau. 2015. The ubuntu dialogue corpus: A large dataset for research in unstructured multi-turn dialogue systems. In SIGDIAL Conference. our card
  18. Chuwei Luo and Wenjie Li. 2016. A combination of similarity and rule-based method of polyu for ntcir-12 stc task. In Proceedings of the 12th NTCIR Conference on Evaluation of Information Access Technologies. OpenAlex ↗ · Scholar ↗
  19. Thang Luong, Hieu Pham, and Christopher D. Manning. 2015. Effective approaches to attention-based neural machine translation. In EMNLP. our card
  20. Hongyuan Mei, Mohit Bansal, and Matthew R. Walter. 2017. Coherent dialogue with attention-based language models. In AAAI. OpenAlex ↗ · Scholar ↗
  21. Atsushi Otsuka, Toru Hirano, Chiaki Miyazaki, Ryuichiro Higashinaka, Toshiro Makino, and Yoshihiro Matsuo. 2017. Utterance selection using discourse relation filter for chat-oriented dialogue systems. In Dialogues with Social Robots, pages 355–365. Springer. OpenAlex ↗ · Scholar ↗
  22. Volha Petukhova. 2011. Emultidimensional dialogue modelling. phd dissertation. Tilburg University, The Netherlands. OpenAlex ↗ · Scholar ↗
  23. Volha Petukhova, Martin Gropp, Dietrich Klakow, Anna Schmidt, Gregor Eigner, Mario Topf, Stefan Srb, Petr Motlicek, Blaise Potard, John Dines, et al. 2014. The dbox corpus collection of spoken human-human and human-machine dialogues. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC" 14), EPFL-CONF-201766. European Language Resources Association (ELRA). OpenAlex ↗ · Scholar ↗
  24. Eric K Ringger, James F Allen, Bradford W Miller, and Teresa Sikorski. 1996. A robust system for natural spoken dialogue. OpenAlex ↗ · Scholar ↗
  25. Alan Ritter, Colin Cherry, and William B Dolan. 2011. Data-driven response generation in social media. In Proceedings of the conference on empirical methods in natural language processing, pages 583–593. Association for Computational Linguistics. our card
  26. Iulian Serban, Alessandro Sordoni, Yoshua Bengio, Aaron C. Courville, and Joelle Pineau. 2016a. Building end-to-end dialogue systems using generative hierarchical neural network models. In AAAI. our card
  27. Iulian Vlad Serban, Alessandro Sordoni, Ryan Lowe, Laurent Charlin, Joelle Pineau, Aaron Courville, and Yoshua Bengio. 2016b. A hierarchical latent variable encoder-decoder model for generating dialogues. arXiv preprint arXiv:1605.06069. our card
  28. Lifeng Shang, Zhengdong Lu, and Hang Li. 2015. Neural responding machine for short-text conversation. In ACL. our card
  29. Alessandro Sordoni, Yoshua Bengio, Hossein Vahabi, Christina Lioma, Jakob Grue Simonsen, and Jian-Yun Nie. 2015. A hierarchical recurrent encoder-decoder for generative context-aware query suggestion. In Cikm'15 Proceedings of the 24th Acm International on Conference on Information and Knowledge Management. Association for Computing Machinery. OpenAlex ↗ · Scholar ↗
  30. Hao Wang, Zhengdong Lu, Hang Li, and Enhong Chen. 2013. A dataset for research on short-text conversations. In EMNLP, pages 935–945. OpenAlex ↗ · Scholar ↗
  31. Zhao Yan, Nan Duan, Junwei Bao, Peng Chen, Ming Zhou, Zhoujun Li, and Jianshe Zhou. 2016. Docchat: an information retrieval approach for chatbot engines using unstructured documents. In ACL. OpenAlex ↗ · Scholar ↗
  32. Hao Zhou, Minlie Huang, Tianyang Zhang, Xiaoyan Zhu, and Bing Liu. 2017. Emotional chatting machine: Emotional conversation generation with internal and external memory. arXiv preprint arXiv:1704.01074. OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/li-2017-dailydialog-manually-labelled-multi-turn/