A framework for modeling the relationships between the rational and - - PowerPoint PPT Presentation

a framework for modeling the relationships between the
SMART_READER_LITE
LIVE PREVIEW

A framework for modeling the relationships between the rational and - - PowerPoint PPT Presentation

A framework for modeling the relationships between the rational and behavioral reactions of assisting conversational agents Franois Bouchet Jean-Paul Sansonnet LIMSI-CNRS Universit Paris-Sud XI December 18th 2009 EUMAS 2009 Introduction


slide-1
SLIDE 1

A framework for modeling the relationships between the rational and behavioral reactions of assisting conversational agents

François Bouchet Jean-Paul Sansonnet

LIMSI-CNRS Université Paris-Sud XI

December 18th 2009 EUMAS 2009

slide-2
SLIDE 2

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Outline

1

Introduction

2

Agent architecture

3

Case study: Cognitive Biases

4

Conclusion

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-3
SLIDE 3

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Outline

1

Introduction Context: Assisting agents with a cognitive model Towards rational and behavioral ACA experimentation

2

Agent architecture

3

Case study: Cognitive Biases

4

Conclusion

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-4
SLIDE 4

Introduction Agent architecture Case study: Cognitive Biases Conclusion Context: Assisting agents with a cognitive model

Assisting Conversational Agents (ACA)

Issues of assistance to novice users

“Paradox of motivation” (Carroll & Rosson, 1987) Users prefer the help provided by “a friend behind the shoulder” (Capobianco & Carbonell, 2001)

A solution: conversational agents for assistance

“Persona Effect”: an animated agent increases credibility (Lester, 1997) Natural language: ideal modality when facing cognitive distress (Carbonell, 2003)

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-5
SLIDE 5

Introduction Agent architecture Case study: Cognitive Biases Conclusion Context: Assisting agents with a cognitive model

Realistic Assisting Conversational Agents

To be used, must look like “the friend behind the shoulder”: Embodiment: movements, emotions rendering. . . → suitable with its visual realism – or risks to fall into the “Uncanny valley” (Mori, 1970) Cognitively: coherent personality, credible reactions to

  • requests. . .

→ suitable with its embodiment – or risks to reproduce the “Clippy Effect” (Xiao et al., 2004)

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-6
SLIDE 6

Introduction Agent architecture Case study: Cognitive Biases Conclusion Towards rational and behavioral ACA experimentation

Typical ACA architecture

Assisting Agent (A) User interface (I) M d l f R ti l

« Textual requests » GUI events

Translation Natural Language Processing (NLP Chain) Model of assistance (M) Rational Engine (ξr)

Multimodal inputs/outputs

(NLP‐Chain)

Resource files DOM structure Modeling files Heuristics Application reasoning Formal Request (in FRL) « Textual answers » Gestural answers GUI events

Expression Natural Language and Non‐verbal behavior (NLE Chain)

Browsing Modeling files etc. reasoning Dialogical session Formal Answers (in FRL)

User (NLE‐Chain)

(in FRL)

DOM-Integrated Virtual Agents (DIVA) (Xuetao et al., 2009)

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-7
SLIDE 7

Introduction Agent architecture Case study: Cognitive Biases Conclusion Towards rational and behavioral ACA experimentation

Typical ACA architecture issues

Issue: Lack of human-likeness and dialogue naturalness

1 Repetition of cooperation: the agent is always responsive 2 Repetition of answer’s schemes: use of similar linguistic

patterns

3 Repetition of rational reactions: independently from previously

asked requests

Solution: a modified architecture

a personality model integrated tp the model of assistance M a correlated behavioral engine Eb working with Er

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-8
SLIDE 8

Introduction Agent architecture Case study: Cognitive Biases Conclusion Towards rational and behavioral ACA experimentation

Typical ACA architecture issues

Issue: Lack of human-likeness and dialogue naturalness

1 Repetition of cooperation: the agent is always responsive 2 Repetition of answer’s schemes: use of similar linguistic

patterns

3 Repetition of rational reactions: independently from previously

asked requests

Solution: a modified architecture

a personality model integrated tp the model of assistance M a correlated behavioral engine Eb working with Er ⇒ Relationship between Er and Eb? To define through experimentation with Rational and Behavioral (R&B) agents

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-9
SLIDE 9

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Outline

1

Introduction

2

Agent architecture Formal Request Language (FRL) Model of Assistance M Mind model M .Ψ Heuristics

3

Case study: Cognitive Biases

4

Conclusion

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-10
SLIDE 10

Introduction Agent architecture Case study: Cognitive Biases Conclusion

General R&B agent architecture

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Heuristics Heuristics

Mind

H Hb

User’s formal request

Hri Hbi

FRL

Rational Engine Behavioral Engine

request Agent’s formal answer

Query Scheduler

FRL answer

Detailed model of assistance M (including agent’s mind) Separated heuristics as symbolic representation Behavioral Engine Eb A query scheduler

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-11
SLIDE 11

Introduction Agent architecture Case study: Cognitive Biases Conclusion Formal Request Language (FRL)

Language structure

FRL supports I/O between the user (u) and the agent (a) through the interface Form: PERFORMATIVE[content]

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Content

Reference (R): element of the model M Action (A): operation executable in the environment Proposition (P): logical proposition regarding the state of M Value (V): value of an element of the model M

Performatives

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-12
SLIDE 12

Introduction Agent architecture Case study: Cognitive Biases Conclusion Formal Request Language (FRL)

Language structure

FRL supports I/O between the user (u) and the agent (a) through the interface Form: PERFORMATIVE[content]

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Content Performatives

Knowledge: ASKu[R|A|P], HOWu[A], . . . Actions management: SUGGESTa[A|P], . . . Feeling expression: FEELu[P], LIKEa[R|A|P|V], . . . Dialogue: AGREEu[P], BYEu[], . . .

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-13
SLIDE 13

Introduction Agent architecture Case study: Cognitive Biases Conclusion Model of Assistance M

Syntax

Tree structure Non-terminal nodes: concepts Terminal nodes: symbols, numbers, booleans, strings

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Skeleton of the M ontology

Model = Rootconcept[ Concept1[ Concept11[...], Concept12[...], ...] Concept2[ Concept21[...], Concept22[...] ...], ...]

5 domains in the model M :

1 The agent (A ) 2 The user (U ) 3 The request (R) 4 The session (S ) 5 The topic (T )

M =< A ,U ,R,S ,T >

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-14
SLIDE 14

Introduction Agent architecture Case study: Cognitive Biases Conclusion Model of Assistance M

Dynamics

M0 =< A0,∅,∅,∅,T0 > Agent updates A , U , R and S according to interactions Application updates T

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Model Query Language (MQL)

GET[path]

return subtrees

SET[path,expr]

replaces subtree by expression

ADD[path,expr]

appends expression to the subtree

DEL[path,subtree]

deletes a subtree . . . Example of path: M .A .name A query object Qi wraps queries Q+

i /Q− i stands for a successful/failed request

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-15
SLIDE 15

Introduction Agent architecture Case study: Cognitive Biases Conclusion Mind model M .Ψ

Four mental states

Unary Binary Static Trait ΨT Role ΨR Dynamic Mood Ψm Affect Ψa

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Values

In [−1,1] but we distinguish 5 intervals: v ∈ [−1,−0.8] < strongly antonymic v ∈ [−0.8,−0.2]

  • antonymic

v ∈ [−0.2,0.2] = neutral v ∈ [0.2,0.8] + positive v ∈ [0.8,1] > strongly positive

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-16
SLIDE 16

Introduction Agent architecture Case study: Cognitive Biases Conclusion Mind model M .Ψ

Four mental states

Unary Binary Static Trait ΨT Role ΨR Dynamic Mood Ψm Affect Ψa

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Traits ΨT

Classical “Big Five” (Goldberg, 1981) defining the personality Openness: appreciation for adventure, curiosity Conscientiousness: self-discipline and achieves goals Extraversion: strong positive emotions and sociability Agreeableness: compassion and cooperativeness Neuroticism: experience negative emotions easily

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-17
SLIDE 17

Introduction Agent architecture Case study: Cognitive Biases Conclusion Mind model M .Ψ

Four mental states

Unary Binary Static Trait ΨT Role ΨR Dynamic Mood Ψm Affect Ψa

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Moods Ψm

Personality factors changed in time by heuristics and biases Energy: physical strength Happiness: physical contentment regarding the situation Confidence: cognitive strength Satisfaction: cognitive contentment regarding the situation

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-18
SLIDE 18

Introduction Agent architecture Case study: Cognitive Biases Conclusion Mind model M .Ψ

Four mental states

Unary Binary Static Trait ΨT Role ΨR Dynamic Mood Ψm Affect Ψa

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Roles ΨR

Static relationship between the agent and another entity of the world (e.g. users) Authority: right to be directive to X and reciprocally to not accept directive behaviors from X. Antisymmetric: Authority(X,Y) = -Authority(Y,X) Familiarity: right to use informal behaviors towards X. Symmetric: Familiarity(X,Y) = Familiarity(Y,X)

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-19
SLIDE 19

Introduction Agent architecture Case study: Cognitive Biases Conclusion Mind model M .Ψ

Four mental states

Unary Binary Static Trait ΨT Role ΨR Dynamic Mood Ψm Affect Ψa

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Affects Ψa

Dynamic relationships between the agent and another entity Dominance: power felt towards X. Antisymmetric: Dominance(X,Y) = -Dominance(Y,X) Affection: attraction and tendency to be nice to X. Not necessarily symmetric. Trust: feeling one can rely on X. Not necessarily symmetric.

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-20
SLIDE 20

Introduction Agent architecture Case study: Cognitive Biases Conclusion Heuristics

Heuristic Description Language

H : identifier[FRL-pattern] :→ { GuardedScript1, . . . , GuardedScriptn}

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Simple rational reaction: “How old are you?”

Hr : ask-agent-attribute[ASKu[agent.x_]]:→ { → Q[i, GET[x_]], Q+

i → Q[j, SET[R.reply, TELLa[agent.x_, Qi.value]]],

Q−

i → Q[j, SET[R.reply, TELLa[Qi.failure]]]

}

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-21
SLIDE 21

Introduction Agent architecture Case study: Cognitive Biases Conclusion Heuristics

Heuristic Description Language

H : identifier[FRL-pattern] :→ { GuardedScript1, . . . , GuardedScriptn}

M Hr Hb A U S T

Y

FRL

Eb QS

FRL

Er

Simple behavioral reaction: “I don’t like you”

Hb : dislike-agent[DISLIKEu[agent]]:→ { → {Q[i, MAP[energy, λ x.x∗0.9]], Q[j, MAP[confidence, λ x.x∗0.9]] } Q+

i ∧Qi.val < −0.5→

ADD[R.reply, TELLa[energy, “tired”]]

Q+

j ∧Qj.val < −0.5→

ADD[R.reply, TELLa[confidence, “depressed”]]

}

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-22
SLIDE 22

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Outline

1

Introduction

2

Agent architecture

3

Case study: Cognitive Biases Principle Implementating behaviors through biases

4

Conclusion

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-23
SLIDE 23

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB scenario

Reminder: our objective is to be able to test the functioning of Er and Eb together

Hypotheses

1 Er and Eb are constructed independently 2 Er and Eb work independently

Practically, the Query Scheduler (QS) let Eb prefilter and postfilter requests to and from Er

M Hr Hb A U S T

Y

Query

FRL

Eb Query Scheduler

FRL

Er

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-24
SLIDE 24

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB dynamic functionning

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Symbo represent Heuristics Heuristics

Mind

  • lic

tations

H Hb Q 2 Q 3

Rati heu

User’s f l

Hri Hbi Qi

2

Qi

3

Qi

1

Qi

2

Pre filtering

Query Scheduler

FRL

Rational Engine Behavioral Engine

  • nal & beh

uristics Sch

formal request Agent’s

Qi

1

Qi

4

Qi Qi

3

Qi

4

f g Queue of Qi

1

Queue of Qi

2

Queue of Q 3 FRL

havioral heduler

Agent s formal answer

Qi

Qi

2

Queue of Qi

3

Queue of Qi

4

Qi

4

FRL

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-25
SLIDE 25

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB dynamic functionning

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Symbo represent Heuristics Heuristics

Mind

  • lic

tations

H Hb Q 2 Q 3

Rati heu

User’s f l

Hri Hbi Qi

2

Qi

3

Qi

1

Qi

2

Pre filtering

Query Scheduler

FRL

Rational Engine Behavioral Engine

  • nal & beh

uristics Sch

formal request Agent’s

Qi

1

Qi

4

Qi Qi

3

Qi

4

f g Queue of Qi

1

Queue of Qi

2

Queue of Q 3 FRL

havioral heduler

Agent s formal answer

Qi

Qi

2

Queue of Qi

3

Queue of Qi

4

Qi

4

FRL

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-26
SLIDE 26

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB dynamic functionning

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Symbo represent Heuristics Heuristics

Mind

  • lic

tations

H Hb Q 2 Q 3

Rati heu

User’s f l

Hri Hbi Qi

2

Qi

3

Qi

1

Qi

2

Query Scheduler

FRL

Rational Engine Behavioral Engine

  • nal & beh

uristics Sch

formal request Agent’s

Qi

1

Qi

4

Qi Qi

3

Qi

4

Post filtering Queue of Qi

1

Queue of Qi

2

Queue of Q 3 FRL

havioral heduler

Agent s formal answer

Qi

f g

Qi

2

Queue of Qi

3

Queue of Qi

4

Qi

4

FRL

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-27
SLIDE 27

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB dynamic functionning

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Symbo represent Heuristics Heuristics

Mind

  • lic

tations

H Hb Q 2 Q 3

Rati heu

User’s f l

Hri Hbi Qi

2

Qi

3

Qi

1

Qi

2

Query Scheduler

FRL

Rational Engine Behavioral Engine

  • nal & beh

uristics Sch

formal request Agent’s

Qi

1

Qi

4

Qi Qi

3

Qi

4

Post filtering Queue of Qi

1

Queue of Qi

2

Queue of Q 3 FRL

havioral heduler

Agent s formal answer

Qi

f g

Qi

2

Queue of Qi

3

Queue of Qi

4

Qi

4

FRL

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-28
SLIDE 28

Introduction Agent architecture Case study: Cognitive Biases Conclusion Principle

The CB dynamic functionning

Model Rational Heuristics Behavioral Heuristics Agent User Session Topic Symbo represent Heuristics Heuristics

Mind

  • lic

tations

H Hb Q 2 Q 3

Rati heu

User’s f l

Hri Hbi Qi

2

Qi

3

Qi

1

Qi

2

Query Scheduler

FRL

Rational Engine Behavioral Engine

  • nal & beh

uristics Sch

formal request Agent’s

Qi

1

Qi

4

Qi Qi

3

Qi

4

Queue of Qi

1

Queue of Qi

2

Queue of Q 3 FRL

havioral heduler

Agent s formal answer

Qi

Qi

2

Extra queries emitted and watched by internal behavioral heuristics

Queue of Qi

3

Queue of Qi

4

Qi

4

FRL

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-29
SLIDE 29

Introduction Agent architecture Case study: Cognitive Biases Conclusion Implementating behaviors through biases

Biased behavior example

A neurotic unhappy agent perceives extra negativity in what the user is saying

Extra negative perception: “I like the color of the title”

Hb : see-life-in-black[Q1[i_, SET[x_.WorthForUser, ‘high’]]]:→ { M<

h ∧T <−= n

→ { Q2[i, SET[x_.WorthForUser, ‘high’],

ADD[R.reply, REQUESTa[JUSTIFYu[M .R ]]]

Q2[j, MAP[confidence, λ x.x*0.8] ...}, ...}

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-30
SLIDE 30

Introduction Agent architecture Case study: Cognitive Biases Conclusion Implementating behaviors through biases

Biased behavior example

If we combine it with another one like:

Mention unhappiness

Hb : on-entering-unconfidence[Q3[i_, MAP[confidence, f_]]]:→ { Q+4

i

∧\M−

c

ADD[R.reply, TELLa[\M−

c ]]

...} We can get the answer: “You’re making me depressed”

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-31
SLIDE 31

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Outline

1

Introduction

2

Agent architecture

3

Case study: Cognitive Biases

4

Conclusion

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-32
SLIDE 32

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Conclusion

Summary

Assistance requires rational reasoning over the task and behavioral reasoning about the dialogical session The relationship between both is an open issue The R&B framework proposed here allows implementation of flexible relationship between rationality and behaviors – for instance, the Cognitive Bias hypothesis

Perspectives

1 Implementing the R&B model (in Mathematica) 2 Combining it with the DIVA toolkit to deploy on the web 3 Experimenting different behaviors with real users François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI

slide-33
SLIDE 33

Introduction Agent architecture Case study: Cognitive Biases Conclusion

Related works in cognitive models

CoJACK: addition of human physiological constraints to JACK agents (Evertsz et al., 2008) Use of degrees in multivalued logics for BDI agents (Casali et

al., 2004)

Extra parameters to BDI architectures: to help to model emotional behaviors – fundamental desires, capacities,

  • resources. . . (Pereira et al., 2008)

Heuristics order: impacts the perception of high level personnality traits (Dastani, 2002)

François Bouchet, Jean-Paul Sansonnet LIMSI-CNRS Université Paris-Sud XI