Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

30
Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang

Transcript of Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Page 1: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Open Dialogue Management for Relational DatabasesBen Hixon, Rebecca J. Passonneau

Jee Hyun Wang

Page 2: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Information AccessPower versus AccessibilityPower: powerful semantics; requires expertise

-RDBs-Ontologies

Accessibility: easy for most users; lacks portability-Keyword search (example: Google search)-Dialogue interfaces *

Page 3: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Problem with Dialogue Manager?

0Portability! 0 Appropriate semantics and user goals must be hand-

defined. 0For example, a flight domain can’t tell the user about hotels.

0 Reinforcement learned dialogue managers rely on small sets of dialogue states and actions, hand defined by domain experts.

0Paper motivation = counteract of portability issue0 space of dialogue moves is constrained by database

0Space generated by back end database

Page 4: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Outline of the Paper 0 Introduction

0 dialogue system that access databases0 dialogue management: deciding what dialogue act to take

0 Related works0 The ODDMER dialogue system

0 3 modules

1. vocab selection2. focus discovery3. focus agents

0 Evaluation0 three relational databases in different domains 0 simulated users: control for users’ prior knowledge

Page 5: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Introduction (Background)0 Some Vocabulary Definition

0 Open dialogue management: generates dialogue states, actions, and strategies from knowledge it computes about the semantics of its domain.

0 Dialogue strategy: procedure by which a system chooses its next action given the current state of the dialogue

0 Dialogue policy: completely specifies which strategy to use in dialogue states

0 Candidate dialogue foci: tables that have the most potential to address basic user goals

0 Focus agent: prompts users for values of intelligible attributes ordered by efficiency.

Page 6: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Introduction cont.0Information Seeking Dialogues0user goal is to satisfy some information need.

0Select a tuple from a table *0Compare tuple values0Etc.

0 Paper focus is tuple selection in slot filling dialogues0Example: I want J.R.R. Tolkien’s latest book.

0 Dialogue Manager is responsible for returning a system action given a user’s inquiry. 01.compute new dialogue state02.decide next action for that goal

Page 7: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Introduction cont.0Premise of this study

0 Structure and contents of the database constrain types of dialogues users can fruitfully have.

Open dialogue managers should …

compute metaknowledge about their database enabling the system to pick their states and actions.

Page 8: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Related Works0Hastie, Liu, and Leman (2009)

0 Generates policies from databases. 0Do not consider multiple tables. 0Rely on business process model0Limit the method to domains with available models

0Polifroni, Chung, and Seneff(2003)0 Domain independent dialogue managers -> portable

0Automatically cluster attributes to present content summaries

0Demberg and Moore (2006)0 Chooses vocabulary according to a user model

0Need a manually constructed user model0Tables of interest are predefined

Page 9: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Related Works0 Janarthanam and Lemon (2010)

0 Concentrate more closely on the vocabulary problem0 a system determines a user’s level of referring expression

expertise. 0 But set of possible expressions are manually chosen

0 Rieser and Lemon (2009)0 Find the optimal size of a list of tuples that matches a user’s

constraints.0 Dialogue strategy is treated as a policy

0 Policy= a function that maps states to actions.

0 NLIDBs (natural language interfaces to database)0 Parse a user dialogue into a logical form.0 TEAM0 ORAKEL

Page 10: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

ODDMER! 0Open-Domain Dialogue Manager

Page 11: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Three Steps of ODDMER1. vocabulary selection: attribute-level metaknowledge.

0 problem: vocab problem (some presented by paper)0 solution : ODDMER uses binary classifier for attribute

intelligibility, ranked by specificity

2. focus discovery: table-level metaknowledge0 problem: which tables give users and system most to

discuss? What are the basic user goals for a given rdb? 0 solution: schema summarization, a random walk

algorithm to score tables by verbal information, size, and connectivity

3. focus agent0 generates an FSM for each dedicated user goal

Page 12: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

1. Vocabulary SelectionBuild a binary classifier to label attributes as intelligible or not. 0Task : given a database table, choose the attribute the

system should use in a dialogue0Want: intelligible attributes the user can readily supply0Solution: treat as learning problem. Build a binary

classifier on labeled out-of-domain training data0 used the Microsoft AdventureWorks Cycling Company

database0chose 84 attributes 03/4 annotators agreed on 67 attributes = > training data

0 going to extract features from those attributes

Page 13: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

0Attributes also differ in specificity. 0 how uniquely does the attribute describe the entity? 0 Ex) author less specific than title.

0 semantic specificity: score, between 0-1, according to how unambiguously its values map to rows in the table.

Page 14: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

2. Focus Discovery0 In tuple selection dialogue on RDBs, each table

corresponds to a distinct dialogue (different potential) focus.

0Task : choose tables that fits the user’s need the most0Solution: use schema summarization to rank tables

by importance as a function of verbal information, size, and connectivity0 In Heiskell Library database, BOOK table

0So what’s schema summarization?

Page 15: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

0Schema Summarization0 Definition: a Schema summary is a set of the most

important nodes in the schema.0Database schema is an undirected graph G = <R, E>

0 Nodes r in R: tables in the database0 Edges e in E: joins between tables

0 Input: large multi-table database0 Output: tables ranked by summary score

0 random walk algorithm (work by Yang et al(VLDB 2009)) scored tables by size, attribute entropy, and connectivity0paper’s changes: score the flow of verbal information over

the joins.

Page 16: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Some calculation …0Verbal information content

0 Build a transition matrix for every pair of tables in the DB.

0 First, initialize table’s verbality score to its verbal information content V(T):

0A’ is the set of intelligible attributes in the table0Abs(T) is the cardinality of the table0H(a) is the entropy of each attribute.

Page 17: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

0 illustrates the verbality of Heiskell before and after information transfer.

Page 18: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

0 Incorporate connectivity by finding flow of verbal information over table joins, given by information transfer IT(j):

0 qa = number of joins a belongs to0 j = join attribute

0Transition Matrix for a dialogue database schema0 Let P(T,R) = transition portability between table T and R0 P(T,R) is the sum of IT(j) of j in J. 0 P(T,T) = diagonal entries (how likely information stays in

each table

Page 19: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

What’s missing?0Currently, ODDMER is limited to the table and

attribute labels assigned by the database designer.0 Won’t know whether the labels are meaningful

0Suggest for future works.

Page 20: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

3. Focus Agent Generation0 Other studies (Bohus & Rudnicky, Nguyen & Wobcke)

0 agent based approach by dialogue management 0 root agent

1. begins dialogue2. presents schema summary3. determines user need4. launches goal-specific agent

0 Focus agents responsible for dedicated user goal0 FSM (finite state machines) constructed from intelligible

attributes0 Currently system-initiative0 prompts for intelligible attributes ordered by specificity

Page 21: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

EVALUATION0 2 simulated users: C (complete) and L (limited)

0 Simulating the vocabulary problem0 Need a method that is robust to missing values0 Use relative occurrence in Gigaword as L’s likelihood of

knowing an attribute.

0 Similar to Selfridge and Heeman(2010)0 simulate users with different knowledge levels. 0 users don’t know different attributes with different likelihoods.

0 Testing the impact of domain knowledge 0 Measure average dialogue length of 1000 simulation for each

user with 0V/N (vocabulary section/ without) 0R/S ( prompted ordered randomly/ by specific)

Page 22: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

0 Dialogue continues until a tuple is successfully ordered

0 Ordering prompts by specificity without vocabulary selection (*/N/S) yields sharp increase in efficiency in both users.

0 C has long dialogue 0 Longer it takes a random order

to achieve a constraint combinations with more attributes.

0 Vocabulary selection and order-by-specificity helps L.0 Dialogue length decreases

Page 23: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Conclusion0 Now have demonstrated ODDMER!!!!

0 Table’s useful attributes are found by calculating the intelligibility and specificity of each table

0 Use schema summarization to choose the most important tables that are to be presented to the user

0 Evaluation shows that specific intelligible vocabulary produces shorter dialogue

0 The database itself can constrain dialogue management, even without domain expertise or a human in the loop.

0 Suggest some possible topics of future studies.

Page 24: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

CLARITY

0For the reasonably well-prepared reader, is it clear what was done and why? Is the paper well-written and well-structured?

Page 25: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

Now.. EVALUATION

Page 26: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

ORIGINALITY

0 Is there novelty in the developed application or tool? Does it address a new problem or one that has received little attention? Alternatively, does it present a system that has significant benefits over other systems, either in terms of its usability, coverage, or success?

Page 27: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

IMPLEMENTATION AND SOUNDNESS

0Has the application or tool been fully implemented or do certain parts of the system remain to be implemented? Does it achieve its claims? Is enough detail provided that one might be able to replicate the application or tool with some effort? Are working examples provided and do they adequately illustrate the claims made?

Page 28: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

SUBSTANCE

0Does this paper have enough substance, or would it benefit from more ideas or results?

0Note that this question mainly concerns the amount of work; its quality is evaluated in other categories

Page 29: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

MEAINGFUL COMPARISON

0Do the authors make clear where the presented system sits with respect to existing literature? Are the references adequate? Are the benefits of the system/application well-supported and are the limitations identified?

Page 30: Open Dialogue Management for Relational Databases Ben Hixon, Rebecca J. Passonneau Jee Hyun Wang.

IMPACT OF IDEAS OR RESULT

0How significant is the work described? Will novel aspects of the system result in other researchers adopting the approach in their own work? Does the system represent a significant and important advance in implemented and tested human language technology?