Elamur Research

Exploiting knowledge base to generate responses for natural language dialog listening agents

Paper · 2015 · Sangdo Han, Jeesoo Bang, Seonghan Ryu et al.

Summary

A listening agent has a different job from a system that helps someone operate a device. Its job is to give the speaker a reason to keep talking. Repeating a preference or asking the speaker to explain it can show attention, but the conversation can become predictable when every reply draws on the same material the speaker just supplied. The authors build a text-based agent that can bring in related information while keeping its replies anchored to the current subject. Dialogue systems

The agent analyzes both what the speaker said and what they were doing by saying it. It looks for an intention, such as sharing a preference, and for words that indicate an emotion. It also extracts the parts of a statement and identifies any named entity it can match to DBpedia. A lookup in Freebase then supplies a category, a possible property, and a possible peer from that category. If someone brings up Lionel Messi, the system can identify him as a football player, ask about his position, or bring up David Beckham. A rule-based dialogue manager chooses the purpose of the reply, and templates determine how to express it using the available information.

The authors collected 77 English text dialogues from 15 students to develop the intention detector. A separate group of 15 students tried the proposed agent, ELIZA, and an earlier counseling dialogue system. The students rated response variety, how much each system encouraged them to continue, and overall satisfaction on a scale from 1 to 10. The proposed agent received the highest reported average on every question. In an illustrative exchange, the speaker rejects the move to Beckham, and the agent continues with a question about Messi himself. That exchange shows both the possibilities of looking up related facts and the difference between a database connection and a direction the speaker wants to pursue.

The comparison concerns complete systems. It supports the authors’ account that an agent can use related facts to vary the conversation while still performing familiar listening moves. How much of the preference came from Freebase itself, how often the lookups paid off, and whether the advantage persists in longer conversations remain open.

Deep dive: Exploiting knowledge base to generate responses for natural language dialog listening agents

A listening agent uses Freebase facts to vary its replies, and students rate it against ELIZA and a counseling dialogue system. · about 34 minutes to read

The problem and its context

Giving the speaker a reason to continue

The paper situates listening agents within casual, non-task-oriented conversation. A task-oriented system can be judged by whether it helps a person accomplish something, such as interacting with a cellphone or television. A listening agent is designed for an interaction in which speaking is itself part of the purpose. The speaker may want to describe an experience, express a preference, or tell the listener how something felt. The listener’s answer needs to make sense in light of the contribution and give the speaker somewhere to go from there.

That role changes what counts as a useful reply. A short acknowledgment can give the speaker room to elaborate. A paraphrase can show that the listener picked up on a particular detail. A question can invite the speaker to supply something that has yet to be said. These moves can all be appropriate within the same conversation. The problem the authors identify is that a system capable of performing them can still become repetitive if it keeps drawing the content of its replies solely from the speaker’s words.

The paper also distinguishes verbal from non-verbal listening agents. A non-verbal agent may receive and produce responses through several channels. The agent studied here communicates by text. In this setting, the reply itself has to carry the signs of attention the authors are interested in. A response can show that the agent recognized a particular subject by naming it accurately, referring to something about it, or asking a question that would make sense specifically for that subject.

Suppose the contribution is a statement of liking Messi. A listener can echo the preference or ask what motivates it using information already present in the sentence. Identifying Messi as a football player opens other paths. The listener can ask about an aspect of his career or find out whether the speaker has a similar interest in another player. The authors treat such additions as a way to expand the content of a conversation without losing contact with the original remark. That is a narrower objective than giving the agent a general ability to answer factual questions. The new material is there to make a listening move possible or more specific.

What earlier listening agents could do

The paper presents ELIZA as an early example of a system that adopts the conversational role of a psychotherapist. Its approach draws on reflective listening, as described by the authors. The listener can encourage the speaker, restate what they have heard, ask a question, or acknowledge a feeling. These actions put the emphasis on drawing the speaker out. Much of the substance of the interaction comes from the person who is talking, while the listener shapes what happens next.

ELIZA uses keywords to find a response pattern and can insert material from the speaker’s utterance into that pattern. This gives a reply a specific connection to what the speaker just said. The authors identify a limit in the range of material that can be introduced this way. A pattern can reorganize pieces of an utterance and invite an explanation, but the matching procedure offers little basis for selecting a related person, category, or fact beyond the pieces already supplied.

The authors also discuss their earlier counseling dialogue system, which takes its strategy from microskills. These are individual communication practices, such as showing attention, paraphrasing, asking questions, and reflecting feelings. In the earlier system, a reply could draw on information extracted from the user’s contribution. That gave the system some ability to refer to the content of the remark and to make a move suited to a listening setting. The authors see a similar restriction here. The system could work with what it extracted, while the available subject matter for a reply remained tied to what the user had introduced explicitly.

This history explains why the proposed agent keeps recognizable listening techniques. The authors view reflective responses and microskills as useful ways to manage the conversation. Their change concerns where a reply can get its content. If the system recognizes an entity in an utterance, it can use that entity to reach material beyond the original sentence. A paraphrase can include a pertinent detail, and a question can be chosen because of what the recognized entity is. The same broad conversational move can therefore produce a wider range of exchanges.

The distinction between a move and its content matters when a speaker discloses something personal. The conversational purpose of a reply may be to show that a feeling was heard. A factual detail about a person mentioned in the same sentence could be available while doing little to serve that purpose. The agent’s design assigns those decisions to different parts of the system. It first determines what kinds of material it has and what kind of response suits the utterance. The choice of a sentence then depends on both.

What makes outside information pertinent

The authors’ motivating examples describe several senses in which a fact can be related to a conversation. A category can clarify who or what the speaker means. A property can identify an aspect of the subject that the listener could ask about. A peer from the same category can suggest a nearby topic and give the speaker a chance to compare interests. All of these are narrower than introducing a new subject at random, but they have different effects. Clarification stays close to the speaker’s reference. A question about a property develops that reference. A question about a peer can move the conversation away from it.

The challenge is especially clear when a person or object belongs to several categories. A broad category can be accurate and still offer an unhelpful set of connections. A more distinctive category can make a question sound better informed, although its fit depends on what the speaker had in mind. In the paper’s approach, the database supplies a notable type, and the system uses that as its starting point. Relevance thus depends first on recognizing the right entity and then on a database judgment about what is characteristic of it.

Even a good starting point leaves a conversational decision to make. People can share a profession without being equally interesting to the speaker. A property can be characteristic of a profession without being the aspect a particular speaker wants to discuss. The paper’s objective is to make more of these relatively close moves available so that the agent can pick up on something the speaker may want to develop. Its experiment asks how users perceive the resulting interaction. This framing gives response variety a concrete meaning. Variation includes a change in what the conversation is about, alongside a change in the wording of the agent’s reply.

The method, step by step

Following a remark through the system

Consider the paper’s example of a speaker saying they like Messi. The agent needs to identify the contribution as an expression of preference and recover the pieces of the statement, including who likes whom. It also needs to recognize that the short name refers to Lionel Messi. The first decisions help determine what a listener could do with the utterance. The last makes it possible to find information about the person who was mentioned.

A dialogue rule then determines the purpose of the response. An expression of preference without a detected feeling can lead to a question or a paraphrase. A question can make use of a property associated with football players or another football player returned by the lookup. A paraphrase can reuse much of the user’s original statement. The sentence generator chooses an eligible template and fills it with the material appropriate to that template. In effect, the same remark supplies a statement the system can reflect and a reference it can use to retrieve new material.

The flow below shows how the decisions come together. The analysis of a contribution produces several outputs that are useful to different components. Entity recognition feeds the lookup, while intention and emotion feed the dialogue manager. Information from these paths comes together when the agent selects and fills a template.

From a speaker’s message to a listener’s reply

The steps in order.

From a speaker’s message to a listener’s replyStep 1: Detect emotion and classify the speaker’s intention1. Detect emotion and classify the speaker’s intentionStep 2: Extract a triple and identify named entities2. Extract a triple and identify named entitiesStep 3: Retrieve associated information from Freebase3. Retrieve associated information from FreebaseStep 4: Choose a listening move using dialogue rules4. Choose a listening move using dialogue rulesStep 5: Fill a template and adjust pronouns5. Fill a template and adjust pronouns

The architecture has five modules. Emotion detection and natural language understanding interpret the incoming turn. Related information extraction obtains material from Freebase. Dialogue management decides the broad response intention. Natural language generation realizes that intention as a sentence. Within natural language understanding there are separate procedures for intention classification, triple extraction, and entity recognition. The separation lets a turn provide, for instance, a useful indication of emotion and a usable sentence structure even if it yields no entity for lookup. Natural language understanding

Detecting the speaker’s intention

The authors define user intention as the communicative role of an utterance in the exchange. Greeting covers salutations. Self-disclosure covers preferences and experiences the speaker shares about themselves. The category called informating in the corpus description covers information offered to the conversation, and appears as Information in the dialogue rules. Questioning covers questions the speaker directs at the listener. The remaining utterances fall under the label else. These categories help the system decide how to respond. They have a different purpose from a topic label. An utterance about a film could be a statement of preference, the provision of information, or a question.

To develop the intention detector, the authors gathered English text conversations from 15 students. Participants worked in pairs with speaker and listener roles. The speaker was free to choose the subject, and the listener responded using the listening microskills. The conversations took place over the internet and were limited to 10 min. This arrangement supplied examples of the kinds of contributions a speaker might make when the other participant was there to listen. The collection produced 77 dialogues and 1281 utterances from the speakers. The paper credits Meguro and colleagues’ study of listening-oriented dialogue as an influence on both the collection procedure and the intention categories. English

The label distribution describes what the classifier had to learn from. Self-disclosure accounted for 51.2% of the speaker utterances, and information for 32.7%. The else category accounted for 7.6%, greetings for 5.7%, and questions for 2.7%. These are category frequencies in the collection used to develop intention detection. A statement of preference or experience was common in those dialogues, while questions addressed to the listener made up a smaller share. That is relevant to the architecture because the dialogue manager has a distinct branch for questions and a much more common kind of input, self-disclosure, can take different paths depending on the emotion detector.

The authors use a maximum entropy classifier with word unigrams, bigrams, and trigrams. A unigram represents a single word, a bigram a pair of consecutive words, and a trigram a sequence of three. The features give the classifier access to both individual words and short stretches of phrasing. A maximum entropy classifier uses learned associations between such features and the available intention labels to assign a label to an utterance. The learning here concerns how to recognize the speaker’s intention from wording. The actions the system can take in response are specified separately by rules. N-gram and Text classification

This classifier’s output is deliberately coarse. It can tell the dialogue manager that an utterance is a self-disclosure without identifying which person it concerns, how the speaker feels, or which words express the relationship between them. Other parts of the agent handle those signals. The setup also explains why collecting pairs of human turns is useful even though the final replies are written with templates. The dialogues provide situations in which people use the intention categories the authors care about. The generator has its own inventory of actions and forms for answering them.

Detecting emotion

The emotion detector checks the utterance against a lexicon assembled from a list of feeling words. The lexicon contains 170 keywords associated with 7 basic emotions. The list includes happiness, sadness, surprise, fear, anger, contempt, and disgust. The rule is based on keyword presence. An utterance containing one or more matching words can trigger detection of the corresponding emotion. The paper explains this component in terms of those matches, with the keyword list supplying the link from a word to an emotional category. Sentiment & emotion

Emotion has a particular role in the dialogue policy. When the intention classifier identifies self-disclosure and the emotion detector finds a match, the policy calls for a response that acknowledges the feeling. Under that rule, the presence of an emotional keyword can change the kind of reply entirely. If no emotion is detected in a self-disclosure, a paraphrase or question is available. The detected emotion can also help select the wording of a reply because templates can be conditional on an emotion.

The paper’s illustration of anger shows what it means to reflect a feeling in this system. An utterance describing anger can receive a response that acknowledges the speaker’s state in different words. This use of a lexicon helps the agent choose a listening action without requiring an entity that can be looked up. It also avoids confusing semantic content with conversational function in the design. The subject of the conversation might be identifiable from the triple or the entity recognizer, while acknowledgment of emotion may be the more fitting action under the policy.

Recovering a statement and finding its referent

The triple extractor and the entity recognizer answer different questions about an utterance. The triple extractor identifies arguments and the relationship between them. In the Messi preference example, the triple represents the speaker as the subject, liking as the relation, and Messi as the object. The authors use ClausIE to obtain these triples and pass them to the sentence generator. The generator can then reuse the relation from the utterance and decide which of its participants a template should preserve or replace. Information extraction

The terminology carries through to the template examples. [S] denotes the subject from the extracted triple, [V] denotes its verb, and [O] denotes its object. These are places to insert pieces of the speaker’s statement. A slot written as [object] in a related-information template has a different source. It denotes the object instance of a Freebase triple, or the value on the other end of a database relation. The apparent similarity of the labels matters because a reply can combine information supplied by the speaker with information about the speaker’s subject from Freebase.

The entity recognizer goes from a phrase in the utterance to an identifiable entry in DBpedia. The authors use DBpedia Spotlight for this operation. DBpedia is described as a structured database containing material from Wikipedia. Matching the textual mention Messi to the entry for Lionel Messi gives the agent something more specific to use than the bare word. The resolved entry is sent to the related-information component. The lookup is therefore based on the identity of the referent, while the triple gives the sentence generator information about the role that referent played. Named entity recognition

The entity’s role can change across sentences about the same person. In a statement of liking Messi, the mention is in the object. In a statement that identifies Messi as the speaker’s favorite player, it is in the subject. A generator substituting another person needs to know which portion of the original statement mentions the person under discussion. Changing the wrong slot would change who held the preference or leave the intended entity untouched. To handle the cases shown in the paper, template selection can depend on the slot in which the entity occurs.

Entity identity and syntactic position are thus useful at different stages. Finding Lionel Messi gives the lookup a basis for retrieving football-related material. Knowing that Messi occupied the object gives the generator a basis for using the speaker’s original relation to ask about another football player. Neither piece of information can supply the other. The architecture makes these results available together at generation time.

Freebase is the knowledge base from which the system draws its new conversational material. The authors describe using the connection between DBpedia and Freebase to convert recognized entries into Freebase entities. From there, the lookup has access to types, instances of those types, and properties associated with them. A type is a category, an instance is an entity belonging to a category, and a property represents a characteristic or relation. For Lionel Messi, the resulting type can be football player. Other football players are instances of that type, while position and matches played are examples of properties. Knowledge graph

The first decision is which type to use. Freebase can associate an entity with several types, and the agent takes its notable type as the basis for the lookup. The paper illustrates the distinction with Barack Obama, whose possible types include person, politician, and US President. The notable type in that example is US President. Selecting a single informative category keeps the next lookup focused. For a football player, it gives the agent a basis for looking among other players and among properties that make sense for football, rather than leaving those searches spread across every category to which the person belongs.

Using a notable type makes a particular kind of judgment about relevance. The type should help characterize the entity distinctly enough to be worth mentioning and to produce a coherent set of neighbors. It is a property of how the entity is represented in Freebase. The system can make use of it after identifying the person, even when the utterance contains little detail about why that person came up. In the Messi example, the system can reach football-related material from a simple expression of liking. The resulting category is an informed starting point for the conversation, and the speaker can respond to what the agent does with it.

For an instance, the authors use Freebase popularity scores to identify the top-10 popular instances and randomly choose one from that group. Membership in the selected type narrows the candidate pool. Popularity supplies a further restriction, and the random choice introduces variation within that restriction. In the paper’s example, David Beckham and Pelé are peers associated with the football player type. The lookup makes a peer available for a template that asks about a comparable interest. A membership relation connects the entities in the database, while the question gives the speaker a chance to say whether the connection fits their interests.

The property choice is also random within a restricted set. The authors describe selecting from properties whose object instance ranks among the ten most popular instances. The object instance here is the value used by a Freebase relation, instead of the object of the speaker’s sentence. The operative distinction is between selecting a category peer to mention and obtaining a property that can be raised about the subject. A question about a player’s position uses a property as a prompt for the speaker to contribute information. A template that supplies a property and its value uses that material to add a detail to the reply.

The output of this module is structured material for the sentence generator. It can include a category that introduces or identifies the entity, a peer that offers a related direction, and a property for developing the original subject. The system does not need to put all of it into the same reply. Whether any of it is used depends on what the dialogue policy has chosen and which templates fit the available input.

Choosing what the reply should do

The dialogue manager maps the detected user intention and emotion to a system intention. A user intention labels the incoming contribution. A system intention describes the action the listener will take in response. The policy is a branching rule, presented as an algorithm in the paper. It begins with greeting, then handles a question from the user, then information and self-disclosure. The cases differ in how much the agent is expected to say and in whether a factual detail has a place in the response.

A greeting calls for a greeting. If the user asks the listener a question, the policy calls for a move the authors name Questioning Response. It can redirect the conversation toward a previous topic or invite the user to speak about themselves. This is distinct from Questioning, which is the agent’s own use of a question to develop something the user said. The two actions can sound similar in isolation. Their place in the exchange tells them apart. One manages a question addressed to the system, and the other solicits further information or a reaction from the speaker.

When the user provides information, the rule permits paraphrasing or questioning. For self-disclosure it checks whether an emotion was detected. If the detector found one, the system reflects the feeling. Otherwise the rule again permits a paraphrase or a question. The listing leaves the choice between the two permitted actions unspecified. For an input that falls through the preceding conditions, the policy returns attending, an acknowledgment or invitation to continue.

The authors illustrate the actions with a speaker mentioning that they watched Avatar. The agent can invite them to elaborate, reflect the viewing back to them, or build a question around the film. An invitation can stay general or name the film explicitly. A question can develop the original subject by asking about its genre, or it can raise Titanic as another film. These alternatives show why dialogue management and knowledge lookup serve distinct purposes. The policy can choose questioning from the user’s intention, while information about the named film gives the agent something specific to ask.

This policy gives conversation management priority over the availability of facts. The rule for self-disclosure with a detected emotion, for instance, leads to feeling reflection regardless of whether the input also names an entity. A greeting has its own form, too. Related information is particularly visible when the listener chooses to paraphrase or to ask a question, where it can change the substance of the response. Elsewhere the agent can do the listening work with a short expression conditioned on the input.

Turning the move into a sentence

Templates specify the form of the reply. The generator checks the system intention, the position of the entity within the extracted triple, the related information it has, and any emotion that was detected. The template examples show that some conditions matter only for certain replies. A greeting can be realized without material from Freebase. A template that invites a speaker to elaborate on a named entity can use its type. A paraphrase can reproduce the structure of the extracted triple or expand it with a property detail. Text generation

The types of information correspond to different slots. An entity slot refers to the resolved person or object. A type slot takes a category such as football player. An instance slot can take a peer such as David Beckham. A property slot can name a database relation, and the database object slot can supply its value. Triple slots carry words or phrases derived from the original utterance. A template can therefore combine the original relation of liking with a new person from the same category. The resultant question asks whether the preference extends to that person.

The agent also applies simple rules to change perspective when reusing an utterance. First-person forms such as I, my, and myself can become the corresponding second-person forms. A form referring to the listener can also be changed to reflect the reversal of speaker and addressee. This adjustment enables a reflection of the user’s contribution to retain the right participants. In the Messi example, the finished reply addresses the user as the person who has the preference. It can then insert the new player as the object of that preference in a question.

The template design imposes an order on how knowledge is used. The type, property, and peer are possible material. The selected listening move and the template determine whether the material becomes an identification, a descriptive detail, a question, or no explicit addition. The authoring in this design lies in choosing the conditions and sentence patterns. The learned intention detector helps choose a path through those conditions, while the Freebase lookup determines which facts or names the chosen pattern can express.

Experiments and results

The two groups of students

The study separates the human conversations used for intention detection from the experiment in which students interacted with the agents. The collection with 15 students produced the 77 dialogues described in the method. Its speaker utterances supplied the task categories and examples used for intention classification. The agent experiment recruited another 15 students who had taken no part in that collection. The judgments of response quality therefore came from a separate group, after interaction with the systems.

The distinction matters for interpreting the reported numbers. The 1281 speaker utterances describe the scale of the corpus used for intention detection. They are neither a count of evaluation conversations with the computer agents nor the denominator of the satisfaction ratings. Likewise, 51.2% self-disclosure describes class frequency among those utterances. It says how common a type of speaker contribution was during collection. The result for the complete agent comes from a different procedure in which participants rate their experience following a chat.

The evaluation group chatted with ELIZA, the earlier Counseling Dialog System, and the proposed agent. The paper describes the chat procedure as lasting 10 min. Its wording leaves the allocation of that time across systems unspecified. Participants rated each system. By presenting each participant with all of the alternatives, the authors obtained judgments from people who had experience with the listening styles being compared. The experiment concerns their experience of the finished systems in this setting. Evaluation & benchmarks

Student evaluator counts by system in the listening-agent experiment

The same group of students rated each system.

Student evaluator counts by system in the listening-agent experimentELIZA: 15ELIZA15Counseling Dialog System: 15Counseling Dialog System15Freebase-based listening agent (this paper): 15Freebase-based listening agent (thispaper)15
The numbers
System or settingstudent evaluators
ELIZA15
Counseling Dialog System15
Freebase-based listening agent (this paper)15

The chart gives the participant count behind each system’s ratings. The evaluation used the same student group for all three systems, so the bars describe the coverage of the comparison. The outcomes of interest are the ratings those students gave, whose ordering is reported separately.

The listening systems compared

ELIZA is the keyword-and-template baseline. It is relevant because it performs several of the same broad listening actions, including eliciting more talk and reflecting content. Its ability to adapt a reply comes from matching the user’s words and placing parts of the utterance into a response pattern. This comparison puts the proposed agent alongside a system with a similar listening purpose but a more restricted way of finding something specific to say.

The Counseling Dialog System is a closer baseline in how the listening task is framed. The paper describes it as using microskills and drawing replies from information it extracts from the current utterance. It already uses skills such as paraphrasing and questioning to encourage a speaker. In the proposed agent, those skills can be realized using related information introduced through the entity lookup. Comparing these systems asks whether the new approach provides a better experience than another approach already designed around those conversational practices.

Both baselines have mechanisms for producing an utterance-responsive reply. The comparison is meaningful precisely because a basic listening response may be adequate in many parts of a conversation. A recollection can warrant simple acknowledgment, and a feeling can warrant a reflection. The extra value sought in the new system lies in occasions when a pertinent fact, category, or peer helps the conversation proceed. The user ratings assess the whole experience, which includes such occasions as well as ordinary greetings, acknowledgments, and other replies.

What participants rated

The authors used three questions, each rated on a Likert scale with 1 at the low end and 10 at the high end. The first concerned the variety of the replies. This asks whether the outputs gave the impression of range during the conversation. It can capture differences in the topics or details raised as well as shifts among recognizable response actions. A participant could regard a system as varied because it asked about different properties or because it alternated between confirmation, paraphrasing, and questioning.

The second question asked how much the system encouraged the participant to continue talking. This is close to the purpose of a listening agent. A question can produce a natural opening for another turn. An accurately placed acknowledgment can encourage the speaker to continue with a topic they already want to develop. The rating expresses the participant’s judgment about that encouragement. The study reports it as a rating, so statements about how many extra turns were produced or how much longer people chose to speak would require a separate behavioral measure.

The last question concerned satisfaction with the dialogue as a whole. Satisfaction is broader than either the perception of variety or the perception of encouragement. A conversation can offer several directions while being hard to follow, or it can feel coherent in spite of a small range of replies. By asking about satisfaction separately, the study captures participants’ overall experience alongside their judgments about two intended qualities of the system.

The distinction also sets the bounds of the result. The questions provide separate measures of what participants thought. They do not identify which turn led to a rating, which template was responsible, or whether the same participant arrived at each answer for the same reason. The reported scores are averages over those judgments. In that form, the comparison can establish the ordering of the systems on the dimensions the authors chose.

The reported outcome and a conversation in practice

The proposed listening agent had the highest reported average for response variety, encouragement to continue talking, and overall satisfaction. This is the common pattern across the three questions. The paper gives the averages graphically in its results figure and states the ordering in its discussion. It gives no exact values for those averages in the results prose. The scale endpoints are part of the study design. They do not indicate the distance between any pair of systems. The evidence reported in words establishes that the proposed agent led on every question.

The paper also includes an example conversation about Messi. After the initial greeting, the agent asks what the user would like to discuss. When the user selects Messi, the agent identifies him as a football player. This makes the recognition visible to the speaker and checks that the conversation is about the intended person. After the user expresses a stronger preference for Messi, the agent brings up Beckham and asks whether the preference also extends to him.

The user rejects that suggestion and reaffirms their interest in Messi. The agent then asks about Messi’s football position, and the user says that he plays forward. The exchange contains two visibly different uses of the knowledge base after recognition. The peer prompts a comparison, while the property gives the user a way to say something more about the person they initially chose. The fact that the user rejects the peer makes the example informative. Being well connected in the database makes Beckham a plausible conversational candidate. The answer confirms that Messi is the subject the speaker prefers to develop.

The exchange also illustrates how the system can use facts while leaving the speaker in the role of contributor. In the position question, the agent uses the database to determine what aspect to ask about, and the user supplies the answer. At other points, the agent can state a category or introduce a related person itself. Those uses give the knowledge component several possible roles within a dialogue. The example shows they can occur in a coherent sequence. The participant ratings are the evidence for how the systems were received across the experiment.

What the ablations show

The paper contains no component ablation and instead offers a comparison of complete systems, judgments on separate aspects of the experience, and an illustrative conversation.

What the system comparison isolates

The earlier counseling system establishes that listening microskills were already part of the approach the authors were developing. The proposed system keeps that general idea and gives its generator access to material outside the utterance. The higher ratings are therefore relevant to the proposed direction. Participants favored a complete design in which those practices could be combined with entity-linked information. Because the comparison is between implementations, the result belongs to the systems as participants encountered them.

A component ablation would provide a different kind of evidence. Keeping the same detector, policy, and templates where possible while disabling the use of Freebase would let a comparison focus on the contribution of lookup. Keeping the lookup while varying the choice of type or the restriction to popular candidates would address a narrower question about which retrieved facts serve the conversation. The experiments report ratings for finished alternatives. The observed ordering cannot by itself resolve those component-level questions.

The separate ratings do clarify the pattern in the user judgments. Variety is the most direct outcome for the authors’ objective of broadening replies. The advantage on encouragement and satisfaction indicates that participants also favored the full system on dimensions closer to the listening experience as a whole. That alignment is informative because introducing more material can change the interaction in several ways. The paper gives a system-level outcome on all of them. It leaves open the relationship among the ratings for individual participants or individual conversations.

What the dialogue example can show

The Messi exchange shows how the architecture is capable of producing different kinds of follow-up from the same recognized person. Identifying the category helps confirm the reference. Introducing a peer tests whether the user wants to expand the topic. Naming a property lets the agent ask for a specific detail about the original subject. The transcript provides a concrete mechanism that can plausibly contribute to perceived variety. A listener can use the user’s topic as the starting point for several different conversational moves.

The example also shows why counting the facts introduced would be an incomplete analysis of relevance. Beckham has a clear relation to the topic under the system’s selection rule, and the user still declines that direction. The position question yields an answer about Messi, in line with the preference the user has just expressed. The two responses illustrate different kinds of fit. A peer offers a related subject, while a property can support a narrower inquiry into the subject the speaker has already chosen.

The transcript records the sequence of replies. It leaves the cause of the transition open. The new question follows the rejection of Beckham, but the described policy does not identify a specific rule that tracks rejected peers and deliberately returns to a prior entity. The example supports a claim about what the resulting exchange can look like. An analysis of recovery would need turns of this kind to be identified and compared across conversations.

The corpus frequencies offer another descriptive analysis, since they show the mix of intentions in the human listening dialogues. The prevalence of self-disclosure gives context for a policy with a dedicated branch for self-disclosure and emotion. The relatively small share of questions gives context for treating questions to the listener as a special case. These numbers describe the collection before agent evaluation. They leave open how frequently the corresponding rules fired when students talked to the systems and how well those choices worked in practice.

Limitations

Limits the authors identify

The authors explicitly identify restricted response variety as the problem with the earlier listening agents they discuss. Such systems rely on the current utterance for the material they put into a reply. The new system extends that material with outside information, and the paper defines the extension concretely. It starts from recognized named entities and uses selected types, peer instances, and properties. Its claim concerns the variety and relevance available within this approach to listening.

The paper also defines the scope as a verbal, text-based listening agent. Non-verbal systems are part of the context, while the described implementation receives a text contribution and produces a text reply. The authors’ conclusions concern the experience of a conversation organized around the speaker’s desire to talk. Even the special rule for questions addressed to the system is designed to keep the listener role in view, with a redirection or invitation to speak about oneself. This bounds what the paper sets out to achieve with access to a knowledge base.

The authors give an interpretation of their evaluation focused on more varied replies, encouragement to continue, and satisfaction with the dialogue. The experiment measures what the student participants said about those qualities. The paper provides no dedicated discussion of threats to validity or conditions for generalizing the finding. The concerns below follow from the design and the evidence the paper reports.

Limits of the evaluation

The separate collection and evaluation groups help distinguish development data from participant judgments. The evaluation population is still 15 students. Their ratings establish a preference over the compared systems within the reported experiment. The paper leaves open how those preferences would vary among speakers with different backgrounds or among people using an agent for a different kind of conversation. The 10 min procedure also bounds the observation. The evidence concerns participants’ experience during the study, and longer use could expose a different mix of repeated templates, successful lookups, and unwanted changes of subject.

The rating scale captures perceptions and summarizes them through average scores. An average ordering conveys which system led, and leaves the size and consistency of the advantage unclear without exact scores and information about their spread. The paper gives no statistical test with the result. It also leaves details such as system order and the exact allocation of chat time unclear in its description. These details matter when judging how precisely the comparison can be reproduced and whether earlier conversations could have influenced ratings of later ones.

The study reports perceived encouragement. Its measurements do not include a separate count of how many further turns followed a particular system action, how much speakers chose to elaborate, or how long they voluntarily continued. Similarly, the variety rating is a report of how the interaction felt. The paper gives no inventory of distinct types, properties, or peers that appeared across chats. Such information would answer different questions about what speakers did and what the knowledge component contributed. The study as reported addresses the participants’ assessments of the interaction.

Limits of the language analysis

Each upstream analysis can affect the form of the final reply. Intention classification determines what the manager thinks the user is doing. Emotion detection can move a self-disclosure into the feeling-reflection branch. Triple extraction determines the parts of a user statement that a template can reuse, and entity recognition determines the entry the system can consult. The corpus frequencies describe the data for the first of these decisions, while the paper leaves held-out classification performance and module-level error rates unreported. The user experiment therefore gives little basis for assigning a particular strength or failure to one upstream component.

The emotion lexicon ties detection to words in the utterance. Context can change what a feeling word is doing, as when the speaker mentions somebody else’s state or qualifies a description of their own. A keyword presence test offers limited evidence about such distinctions. The converse is also possible. A contribution may convey an emotion through phrasing absent from the lexicon. These are implications of the stated method. The paper’s examples illustrate intended use, and it does not report how often such mismatches occurred.

The effect of triple extraction and entity recognition can be equally direct. Linking the wrong person can give the lookup a coherent set of facts about the wrong subject. Recovering a triple with the wrong roles can make a template treat the speaker’s object as the person who holds the preference. Conversely, a turn can be perfectly suitable for a listening response even when it supplies no entity that Freebase can identify. The architecture includes actions that can operate without related information, but the description leaves several practical cases open, including how it chooses a focal entity when several are available and how it handles lookup failures across template choices.

Limits of relatedness

A Freebase type and a popularity score supply general signals about an entity. The notable type represents how the database characterizes it. Popularity narrows the possible peers and property values. Those signals give the system a repeatable procedure for selecting material, while the speaker’s purpose may depend on why they mentioned the entity at that moment. A person can matter to a conversation for an aspect other than their notable type. A popular peer can be recognizable and still divert the exchange from what the speaker wanted to discuss.

The random choices introduce variation among eligible candidates. That is useful for explaining how the same input can lead to different material. It also means the described selector has limited grounds for preferring the candidate most suited to the current speaker. In the example, the peer belongs to an appropriate category, and the speaker nonetheless prefers to stay with Messi. The property question then develops that topic. The transcript illustrates the gap between structural relevance and conversational fit in a single exchange. The experiment leaves the frequency and consequences of that gap unmeasured.

Finally, the templates determine what the system can do with a retrieved connection. A database may contain a relation, yet a reply still requires a suitable listening move and a sentence pattern that can express it. The paper gives examples of template conditions and slots, and illustrates the results they can produce. It leaves the full breadth of the inventory and some choice rules unspecified. The most direct empirical conclusion is that students rated the implemented agent highest among the compared systems. The relative contributions of recognition, candidate selection, dialogue rules, and wording remain questions for more targeted evidence.

What came after

The later work connected to the paper addresses two different uses of information in conversation. One study concerns the introduction of content during reply generation. Another concerns adding knowledge to the interpretation of emotion. Both cite the listening-agent paper. Their titles identify the problems and broad approaches, while the nature of the connection at the level of components or experiments remains unspecified.

Introducing content into a generated reply

The 2016 paper on backward and forward sequences addresses generative short-text conversation with an approach explicitly directed at introducing content. That places it close to the listening paper’s concern with giving a reply something substantive to say beyond repeating the contribution it answers. Its organizing idea is generation through backward and forward sequences. The listening agent, by comparison, makes its content choice through a recognizable entity, a typed set of candidates, and a template that incorporates some of the retrieved material. Sequence to Backward and Forward Sequences

The relationship is clearest at the level of the problem each title and design poses. Choosing something to introduce into a reply is a substantive decision in its own right. In the listening paper, a peer and a property offer different directions even before the generator determines the wording. In the later paper, introducing content is explicitly part of the generation approach. The citation shows that the two belong to the same line of inquiry about what a response can contribute. It leaves open whether any of the earlier paper’s choices about entities, databases, or listening moves were adopted.

Using knowledge to detect emotion

The 2019 paper takes knowledge enrichment into emotion detection in textual conversations. This shifts the target from deciding what fact or related subject a listener can mention to interpreting the emotional content of conversational text. In the listening agent, those jobs are handled in parallel. A keyword detector supplies an emotion signal for the dialogue manager, and Freebase supplies material for possible replies. The later title brings knowledge enrichment and conversational emotion detection together as the central task. Knowledge-Enriched Transformer for Emotion Detection in Textual Conversations

That difference helps locate the listening paper’s contribution. It placed outside knowledge where it could change the content of a reply while using a separate signal to decide whether the speaker’s feeling called for acknowledgment. The later emotion study addresses the interpretation that precedes a conversational action. The short-text generation study addresses the content a reply can contribute. The two citations connect the paper to continuing work on both sides of the interaction, with the evidence of any direct reuse limited to the citation relationship.

Cite

Cite as Sangdo Han, Jeesoo Bang, Seonghan Ryu and Gary Geunbae Lee. 2015. Exploiting knowledge base to generate responses for natural language dialog listening agents. Proceedings of the 16th Annual Meeting of the Special Interest Group on Discourse and Dialogue.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w15-4616

@inproceedings{han2015exploiting,
  title = {{Exploiting knowledge base to generate responses for natural language dialog listening agents}},
  author = {Sangdo Han, Jeesoo Bang, Seonghan Ryu and Gary Geunbae Lee},
  booktitle = {Proceedings of the 16th Annual Meeting of the Special Interest Group on Discourse and Dialogue},
  year = {2015},
  doi = {10.18653/v1/w15-4616},
  url = {https://doi.org/10.18653/v1/w15-4616}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/han-2015-exploiting-knowledge-base-generate-responses/