37
Dialogue Management Alexandra Peters Athens, March 2000

Dialogue Management Alexandra Peters Athens, March 2000

Embed Size (px)

Citation preview

Page 1: Dialogue Management Alexandra Peters Athens, March 2000

Dialogue Management

Alexandra Peters

Athens, March 2000

Page 2: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Why corpus based dialogue analysis ?

Preparation for design of automatic speech processing system

Provides insight in dialogues– Specific characteristics/topics– Underlying structure/model– Knowledge extraction

Page 3: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue analysis overview

Coding of the dialogues Constructing dialogue model Dialogue management from the

operator’s point of view Modelling operator’s knowledge

Page 4: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Openbaar Vervoer Reisinformatie (O.V.R.) Provides information by

telephone concerning public transport services in the Netherlands

Over 400 telephone operators 13 mln calls per year

9 mln successfully handled

4 mln waiting queue

Page 5: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

O.V.R. travel planner

Page 6: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Non-directive dialogue fragment

operator : Good afternoon, travel information.

client : Good afternoon, I want to go to Utrecht [ehm].

operator : Yes... [noise]

client : And I leave from Delft, no ….. from Rotterdam.

operator : From Rotterdam to Utrecht, yes…

client : I want to be in Utrecht before lunch time.

operator : There is a connection every hour. The first train from Utrecht to Rotterdam leaves at six ten.

client : ….

Page 7: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Directive dialogue fragment

operator : Good afternoon, from which station to which station do you want to travel?

client : Good afternoon, I want to go from Delft to Utrecht.

operator : At what time do you want to leave or arrive?

client : I want to leave this evening at eight o’clock.

operator : Do you have a moment, please?

client : Yes.

operator : The expected arrival at Utrecht central station is eight fifty five. You have to change trains at Rotterdam

central station.

client : ….

Page 8: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue analysis overview

Coding of the dialogues Constructing dialogue model Dialogue management from the

operator’s point of view Modelling operator’s knowledge

Page 9: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Coding constraints

Different dialogue acts for operator and client

One dialogue act per utterance Trivial remarks are less important No use of prosody

– Non-verbal utterances are discarded

Page 10: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue actsOperator Client

OO Opening operator OC Opening client

V Verification AV Answer verification

CL Clarification ACL Answer clarification

NI New information ANI Answer new information

R Repetition AR Answer repetition

RO Remark operator RC Remark client

GA Give answer QC Question client

GO Goodbye operator GC Goodbye client

Page 11: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue exampleDialogueoperator : good afternoon travel information.

client : good afternoon I want to know what time the train leaves from Delft to Amsterdam central station

operator : what time do you want to arrive

client : around eleven o’clock

operator : you can leave at nine fifty eight

client : nine fifty eight

operator : then you arrive at Amsterdam central station at ten fifty five

client : thank you bye

operator : your welcome bye

CodingOO

OC

NI

ANI

GA

RC

GA

GC

GO

Page 12: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Factors that influence coding

Prosody– Subjective coding– Meaning non-verbal utterances

History and future needed– Relations between utterances

Page 13: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Example‘Central station’

answer– ‘From which station in Amsterdam are you

leaving?’ verification question

– ‘Yes, Amsterdam central station.’ remark/paraphrase

– ‘And then you arrive at two o’clock in Utrecht.’

Page 14: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue analysis overview

Coding of the corpus Constructing dialogue model Dialogue management from the

operator’s point of view Modelling operator’s knowledge

Page 15: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Top level dialogue modelGreeting or

Opening

Query orFilling of

slots

Presentinginformation

or Giveanswer

Goodbye orEnd of

dialogue

Page 16: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue example

operator: good afternoon, travel information

client: good afternoon, I want to know what time the train from Delft to

Amsterdam central station leaves

operator: what time do you want to arrive

client: around eleven o’clock

operator: you can leave at nine fifty eight

client: nine fifty eight

operator: then you arrive at Amsterdam central station at ten fifty five

client: thank you, bye

operator: your welcome, bye

Greeting or Opening

Query or Filling of slots

Presenting information or Give answer

Goodbye or End of dialogue

Page 17: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Lower level dialogue model

OO

OC

V CL1 NI R RO2

RC1ARANIACL1AV

GA

AIC2

Yes

No

CRC

Yes

No

AIC1Yes

No

SQ

QTO

Yes

CL2

QC

ACL2

No

RC2

No

Yes

Q/A/RA

Q

AIC3No

Yes

OF

RO3

RO1

Yes

Yes

R

No

No

QF

RO4

GF

GO

GC

Yes

No

Start of dialogue

End of dialogue

GFYes

No

Page 18: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Lower level dialogue modelOO

OC

V CL1 NI R RO2

RC1ARANIACL1AV

AIC2

Yes

No

AIC1Yes

No

OF RO1

Yes

No

Start of dialogue

Page 19: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue analysis overview

Coding of the corpus Constructing dialogue model Dialogue management from the

operator’s point of view Modelling operator’s knowledge

Page 20: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue strategiesdirective &

efficient

non-directive &appreciative

OVR-dialogue

Page 21: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Non-directive dialogue fragment

operator : Good afternoon, travel information.

client : Good afternoon, I want to go to Utrecht [ehm].

operator : Yes... [noise]

client : And I leave from Delft, no ….. from Rotterdam.

operator : From Rotterdam to Utrecht, yes…

client : I want to be in Utrecht before lunch time.

operator : There is a connection every hour. The first train from Utrecht to Rotterdam leaves at six ten.

client : ….

Page 22: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Directive dialogue fragment

operator : Good afternoon, from which station to which station do you want to travel?

client : Good afternoon, I want to go from Delft to Utrecht.

operator : At what time do you want to leave or arrive?

client : I want to leave this evening at eight o’clock.

operator : Do you have a moment, please?

client : Yes.

operator : The expected arrival at Utrecht central station is eight fifty five. You have to change trains at Rotterdam

central station.

client : ….

Page 23: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’s thoughts

What are the client’s intentions?

What is the best reaction to the client’s prompt?

Is it comprehensible what the client is saying?

Is it clear what the client is saying?

Page 24: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Possible hypotheses

He probably wants to travel by train

He probably wants to leave from Utrecht Central Station

He probably wants to arrive at ten o’clock tonight because now it’s eleven o’clock in the morning

He probably wants to travel today

He probably wants to go to Amsterdam Central Station

He probably wants to know at what time he can leave for Amsterdam

Good afternoon, I want to arrive in Amsterdam at 10 o’clock and I leave from Utrecht.

Page 25: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Possible prompts

Good afternoon, I want to arrive in Amsterdam at ten o'clock

I did not understand you,could you repeat that?

Do you want to travel by train or bus?

Where do you want to leave from?

Do you want to travel today?

Yes...

So you want to travel to Amsterdamand arrive at ten o'clock?

Do you want to arrive atten o'clock tonight?

Do you want to arrive inAmsterdam Central Station?

Page 26: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Strategies

Min-Max principle Reduction of ambiguity Request for new information Completion of information Reduction of errors

Page 27: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Examples

I want to go to Amsterdam..+ Yes...– Amsterdam central station?

I want to be in Delft at nine o’clock tomorrow. At what time can I leave from Utrecht?+ Are you leaving from Utrecht central station?– Yes….

Page 28: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Page 29: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:good afternoon, travel informationClient:good afternoon, I want to go to Utrecht

Page 30: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:yesClient:and I depart from Rotterdam

Page 31: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:when do you want to travelClient:the day after tomorrow

Page 32: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:you mean New Years dayClient:yes

Page 33: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:what time do you want to arriveClient:I would like to leave around eight

Page 34: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’smental model

?

? ?!

?

?

?

dst ast dt at d

Operator:in the morning or in the eveningClient:in the evening

Page 35: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Dialogue analysis overview

Coding of the dialogues Constructing dialogue model Dialogue management from the

operator’s point of view Modelling operator’s knowledge

Page 36: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Operator’s knowledge

Terminology Time interpretation Geographical knowledge Time tables Common sense Dialogue management

Page 37: Dialogue Management Alexandra Peters Athens, March 2000

Athens, March 2000

Questions?

Lunch?