SlideShare a Scribd company logo
Building
Compassionate	and	
Personalized	Conversational	
Systems
- A	point	of	view
Presenter: Rama Akkiraju
IBM Distinguished Engineer
Acknowledgements: To our entire team in Watson
5/31/17Devoxx 20172
To	build	Compassionate	and	Personalized	Conversational	
Systems,	three core	models	are	needed
3
Naturally3
(Mediums)
Interact2
People1
1.	Understand	people	at	
a	deeper	level	
2.	Understand	styles	of	
human	interaction	and	
optimize	human-computer	
interaction
3.	Understand	and	respond	in	
various	mediums	in	which	
interactions	can	occur
• Need the ability to interact2 naturally3 with people1
Input	Types:	Text,	Speech,	Gestures
Mediums:	Computers,	Mobile	
devices,	Robots,	Avatars
#1:	People	Modeling/	User	Modeling	
4
People1
User	Modeling:	Our	framework
@Copyright IBM 2015 5
Act
Be
Feel
Context
Think
Options
Explore
&
Decide
Inner State Environment Outer State
An	individual	takes	action	based	on	the	combination	of	his/her	unique	being	&	environment
User	Modeling:	Our	framework
@Copyright IBM 2015 6
Act
Search
Preferen
ces
Commun
ications
Decisions
Commit
ments
Purchases
Context
Life Style,
Events
Sociological Economic
Political Technological
Options
Price Promotions
Products/
Services
Place
FeelPerceptions
Emotions
Sensations
Attitudes
Influences
Sentiments
Be
Personality
Needs,
Values
Beliefs
Motives
Identity
Goals, Ambitions
Interests
Think
Knowledge
Skills
Opinions
Cognitive Style
Explore
&
Decide
Choices
Consequenc
es
Session
Intent
Time
Use	Personality	Insights	to	engage	with	individuals	at	personalized	
level
7
Source:
https://www.army.mil/article/78562/Leavi ng_the_battlefiel d__Soldi er_shares_story_of_PTSD
https://watson-pi-demo.mybluemix.net/
How	to	act	on	Personality	traits?	Traits->Actions/Behaviors
8
Emotional	Analysis	helps	build	empathetic	systems
9
https://sentiment-and-emotion.mybluemix.net/
Use	Tone	Analyzer	to	understand	and	fine	tune	your	message
http://tone-analyzer-demo.mybluemix.net
Personalizing shopping Experience with Personality Insights
5/31/17Devoxx 201711
5/31/17Page 12
Assessing Customer Satisfaction with Tones
uuuu
Chapter	2:	Human	Interaction	Patterns
14
Styles of
Interactions2
Natural	Interactions	among	People
15
Verbal (expressive, aggressive, passive) ,
Non-verbal (gestures, facial expressions, postures)
Dialog	Act
• Dialog Act is a specializedSpeech Act. Typically,looks at patterns in dialogs.
16
• Statement
• backchannel/acknowledge
• Opinion
• abandoned/uninterpretable
• agreement/accept
• appreciation
• yes-no-question
• non-verbal
• yes answers
• conventional-closing
• wh-question
• no answers response
• quotation
• Summarize/reformulate
• affirmative
• action-directive
• collaborative completion
• repeat-phrase open-question
• rhetorical-questions
• reject
• other answersconventional-
opening or-clause
• commits self-talk
• downplayer
• apology
• thanking
Source: Dialogue Act Modeling for Automatic Tagging and Recognition of Conversational Speech http://www.aclweb.org/anthology/J00-3003
Dialog Strategies
Start
Giving an extra
Acknowledging
Need
Description of
Need
Anger
Acknowledging
w/out encouraging
Refocus
statements
Active
Listening
Possibility of
mistake
Admitting
mistake
Allowing
venting
Apology
Smiles
Arranging
Follow-up
Need cannot
be fulfilled on
the spot
Assurance of
effort
Assurance of
result
Mistake has
been made
Bonus buyoff
Broken record
Uncooperative
customer
Closing
positively
Common
Courtesy
Completing
Follow-up
Contact
Security
Aggressiveness Disengaging
Distraction
Frustration
Empathy
statement
Expediting
Expert
Recommendati
on
Explain Reasoning
or action
Embarrassment
Face-Saving
Out
Conflict
Finding
Agreement Points
Following up
Helpless
Offering
Choice
Empowering
Preventive
strike
Privacy
insurance
Privacy
concern
Probing
question
Pros and Cons
Providing
Alternatives
Providing
Takeaway
Confusion
Providing
Explanation
Questioning
instead of
stating
Referral to
supervisor
Referral to 3rd
party
Lost focus Refocus
Inappropriate
behavior
Setting Limits
Critical
Neutral mode
Summarize the
conversation
Silence
Thank-you
Timeout Use customer
name
Verbal
Softeners
When QuestionYou re right
Action
Negative
Emotion
Monologue
End External Giving
Emotions
General
States
Gratitude
Statement
Happiness
Work by IBM Haifa Research team Michal Shmueli-Scheuer, Jonathan Herzig, Guy Feigenblat,
David Konopnicki
@Copyright IBM 2015
Understand	various	mediums	in	which	
Human-Computer	interaction	can	occur
18
Mediums3
Mediums	of	interaction:	On	going	work	in	Research
• Text
• Speech
• Non-verbal clues: pauses, volume, intonation, pitch,
• Video
• Gestures, facial expressions, eye contact, posture, and tone of voice, distance,
• Other
• ?
19
Different	channels	for	Conversations
• Kiosks
• Bots
• Robots
• Virtual agents on mobile-devices
• Virtual agents accessible on a computer
• Question from User modeling point of view.
• Would user style of interaction with the system change based on
devices/channels?
• Would users willingness to reveal information about themselves change
depending on the channel/device?
20
To	build	Compassionate	and	Personalized	Conversational	
Systems,	three core	models	are	needed
21
Naturally3
(Mediums)
Interact2
People1
1.	Understand	people	at	
a	deeper	level	
2.	Understand	styles	of	
human	interaction	and	
optimize	human-computer	
interaction
3.	Understand	and	respond	in	
various	mediums	in	which	
interactions	can	occur
• Need the ability to interact2 naturally3 with people1
Input	Types:	Text,	Speech,	Gestures
Mediums:	Computers,	Mobile	
devices,	Robots,	Avatars
ibmwatson.com
facebook.com/ibmwatson
@ibmwatson
22
Tone	Analyzer	in	Customer	Support	Q&A	Forum
Study #1: Clients’ Q&A forum data was analyzed
• Confident responses are more likely to receive Kudos (r = 0.23)
• Tentative responses are less likely to receive Kudos (r=0.27)
• We found that we can predict kudos received with 66% accuracy which
is better than random (50%)
• We applied multiple state of the art classifiers such as Naïve Bayes, SVM,
Random Forest and did 10-fold cross validation
Study #2: Twitter customer support forums (333 conversations (240 Sat,
93 not-Sat))
• More	angry	customers	are	less	likely	to	be	satisfied	after	the	conversation	(r	=	
-0.198)
• More	disgusted	customers	are	less	likely	to	be	satisfied	after	the	conversation	
(r	=	-0.184)
• Agents	who	show	higher	emotional	range	are	less	likely	to	satisfy	the	
customer	 (r	=	-0.186)
Personality	Insights:	Problem	Setup
• Given at least 1,500 words of text authored by an individual, infer the
personality,needs and values of that individual.
24
Personality	Insights	Accuracy	– Latest	results
25
# of Tweets
Mean
Absolute
Error (MAE)
Trait Name
Mean Absolute
Error (MAE)
Correlation
Agreeableness 0.0999 0.2920
Conscientiousness 0.1174 0.3259
Extraversion 0.1477 0.2521
Neuroticism 0.1404 0.4182
Openness 0.0862 0.3650
• A Machine Learned model for predicting Personality Traits
• UsesWord2Vec features (Stanford Glove pre-trainedmodel)
• Ground truth collected include 2,000 psychometric surveys
How	many	words	to	infer	Personality?
26
# of Tweets
Mean
Absolute
Error (MAE)
We reach 95% of the max accuracy with as low as 30 tweets.
0.09
0.095
0.1
0.105
0.11
0.115
0.12
0.125
0.13
0 50 100 150 200 250 300 350
MAE
Number of tweets used for testing
Trait Agreeableness – MAE VS numberof tweets
Old Model
New Model
Old Model: Linguistic Inquiry Word Count (LIWC) based
New Model: Word2Vec based
Greeting
• Opening
• Closing
Statement
• Give Info
• Expressive (Pos/Neg)
• Complaint
• Offer Help
• Suggest Action
• Promise
• Sarcasm
• Other
Request
• Request Help
• Request Info
• Other
Question
• Yes-No Question
• Wh- Question
• Open Question
Answer
• Yes-Answer
• No-Answer
• Response-Ack
• Other
Social
Act
• Thanks
• Apology
• Downplayer
Methodology
• Designing	more	fine-grained	actionable	dialogue	acts:
Data	Collection
• We	gather	annotations	 for	800	conversations	(5,327	turns,	~6	turns/conversation	on	
average,	4	different	agent	companies)	using	crowd	workers.
• They	are	asked	to	select	as	many	categories	as	required	to	fully	characterize	the	intent	
of	the	tweet.
0
500
1000
1500
2000
2500
Full Data Distribution (@800 conversations, 5,327 turns)
Utterances	are	complex:	A	single	label	is	not	sufficient
0 50 100 150 200 250 300 350 400 450 500
(statement_info, answer_other)
(statement_expressive_negative, statement_complaint)
(statement_info, statement_complaint)
(request_info, question_yesno)
(request_info, question_wh)
(request_info, question_open)
(statement_offer, request_info)
(statement_info, statement_expressive_negative)
(request_info, socialact_apology)
(statement_info, statement_suggestion)
(statement_suggestion, request_info)
(statement_info, socialact_thanks)
(statement_info, answer_yes)
(statement_info, request_info)
(question_yesno, socialact_apology)
(statement_info, question_yesno)
§ We	test	the	hypothesis	that	each	turn	may	require	more	than	one	dialogue	act	label	by	finding	the	
distribution	of	label	overlap	in	our	annotations
§ We	verify	that	labels	frequently	co-occur,	so	classification	should	assign	an	utterance	multiple	labels
Experimental	Setup
• We	develop	a	sequential	SVM-HMM	model	on	the	data
• Labeling	Modes:	
– Single label	to	a	turn
– Multiple labels	to	a	turn
• SVM-HMM	learning	methods:	
– Standard (future-looking	HMM)
– Online (model	predicts	a	single	label	at	a	time,	and	cannot	use	future	
turns)
Features	Used
Textual:
N-grams
Punctuation
Temporal:
Turn	Number
Response	Time
Emotional:
NRC	Emotion
(Anger,	Sad,	frustration,	
positive	etc.)
Speaker:
Second	Person	Indicators	(you,	your	
etc)
Dialogue	(Lexical):
Greeting	Opening/Closing	 Indicators
Yes-No	Question	Indicators
Wh-Question	Indicators
Yes/No	Answer	Indicators
Thanking	Indicators
Apology	Indicators
Class	Division:	6,	8,	and	10	(Easy	&	Hard)	classes
33
6 Labels 8 Labels 10 Labels (Easy) 10 Labels (Hard)
1. Statement
Informative
2.Request Information
3.Statement
Complaint
4.Yes-No Question
5.Expressive Negative
Statement
6. Other
1. Statement
Informative
2.Request Information
3.Statement Complaint
4.Yes-No Question
5.Expressive Negative
Statement
6.Statement
Suggestion
7. GeneralAnswer
8. Other
1. Statement Informative
2.Request Information
3.Statement Complaint
4.Yes-No Question
5.Expressive Negative
Statement
6.Statement Suggestion
7.GeneralAnswer
8.Apology Social Act
9.Thanking SocialAct
10.Other
1. Statement Informative
2.Request Information
3.Statement Complaint
4.Yes-No Question
5.Expressive Negative
Statement
6.Statement Suggestion
7. GeneralAnswer
8. Statement Offer
9. Open Question
10. Other
SVM-HMM	Sequential	Model	outperforms	non-
sequential	baselines
We expect a larger improvement by SVM-HMM with longer conversations
(currently~6 turns/conversation)
Agents are	 more	predictable	than	customers
Prediction results are better when using *only* agent turns… Agent acts are less varied
Customers are more difficult, but prediction is still good
Conversation	outcomes	are	strongly	distinguishable	using	
predicted	dialogue	acts
• Putting	it	all	together:	We	ran	outcome	experiments	using	full	conversation	
as	input,	and	our	predicted	dialogue	act	labels	as	features
• We	balance	the	distribution	of	outcomes	for	each	class:	
• Satisfied/not-satisfied	(216	conversations/class)
• Resolved/not-resolved	(271	conversations/class)
• Frustrated/not-frustrated	(229	conversations/class)
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
Satisfaction Resolution Frustration
LinSVC
Dialogue Ngrams+HC Ngrams+HC+Dialogue
Observations:
• For	satisfaction	and	resolution,	
dialogue	act	features	are	capturing	
all	of	the	information	in	the	n-
grams,	and	they	also	are	useful	
and	explanatory
• Frustration	greatly	benefits	from	
handcrafted	features	– less	
accurately	tied	to	just	dialogue	
features.

More Related Content

PPTX
Introduction hci
PPTX
Human computer interaction Semester 1
PDF
Hci activity#1
PPT
HCI - Chapter 4
PPT
Human Computer Interaction
PPTX
A Practical Guide to Mobile and Touch
PPTX
The Psychology of Human-Computer Interaction
PPTX
Human Computer Interaction - Interaction Design
Introduction hci
Human computer interaction Semester 1
Hci activity#1
HCI - Chapter 4
Human Computer Interaction
A Practical Guide to Mobile and Touch
The Psychology of Human-Computer Interaction
Human Computer Interaction - Interaction Design

What's hot (20)

PDF
Psychology Human Computer Interaction
PDF
Interaction design beyond human computer interaction
PPTX
Human Computer Interaction (HCI)
PPTX
Human Computer Interaction (HCI)
PPT
What Is Interaction Design
PPT
User cognitive aspects for HCI
PPTX
HCI Presentation
PPTX
Human computer interaction
PDF
Aisb cyberbullying
ZIP
Thai hci
PPTX
Human computerinterface
PPTX
What is Human Computer Interraction
PPT
PACER: Fine-grained Interactive Paper via Hybrid Camera and Touch Gestures on...
PDF
Human-Centered Artificial Intelligence: Reliable, Safe & Trustworthy
PPTX
The Future of Human Technology Interaction
PPTX
Sharp Electronic portfolio
PPTX
Introduction to HCI (UCC)
PPTX
HCI : Activity 1
Psychology Human Computer Interaction
Interaction design beyond human computer interaction
Human Computer Interaction (HCI)
Human Computer Interaction (HCI)
What Is Interaction Design
User cognitive aspects for HCI
HCI Presentation
Human computer interaction
Aisb cyberbullying
Thai hci
Human computerinterface
What is Human Computer Interraction
PACER: Fine-grained Interactive Paper via Hybrid Camera and Touch Gestures on...
Human-Centered Artificial Intelligence: Reliable, Safe & Trustworthy
The Future of Human Technology Interaction
Sharp Electronic portfolio
Introduction to HCI (UCC)
HCI : Activity 1
Ad

Similar to Building Compassionate Conversational Systems (20)

PDF
System U: Computational Discovery of Personality Traits from Social Media for...
PDF
Heres-What-Personality-Sounds-Like
PPTX
Conversational UI and Personality Design: How Not to FAQ It Up
PDF
Personas: Designing Engaging Content for Customer Intimacy
PPTX
Creating an AI Chat Bot PERSONA
PDF
The users at the end of the mouse - using the 3As to model personas
PDF
the grate slidshare of my
PDF
new slide goes here
PDF
Users at the end of the mouse - Persona modeler
PDF
Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...
PDF
Design thinking - Empathy
PDF
Dark Psychology - Sarah Pokorna - SEO Vibes 2025
PDF
#PersonalityInsights: How cognitive computing will change advertising
PPT
Il cognitive computing applicato al marketing e alla comunicazione
PDF
Scaling empathy with personas
PDF
Affect- and Personality-based Recommender Systems Part II: Acquisition, Usage...
PDF
Content Design for the Conversational UI - STC Summit 2018
PPTX
KnowMe and ShareMe: Understanding Automatically Discovered Personality Trai...
PDF
Melanie Seibert - Content Design for the Conversational UI
PDF
Jonathan Foster - Designing Personality in Conversational UI
System U: Computational Discovery of Personality Traits from Social Media for...
Heres-What-Personality-Sounds-Like
Conversational UI and Personality Design: How Not to FAQ It Up
Personas: Designing Engaging Content for Customer Intimacy
Creating an AI Chat Bot PERSONA
The users at the end of the mouse - using the 3As to model personas
the grate slidshare of my
new slide goes here
Users at the end of the mouse - Persona modeler
Watson DevCon 2016 - Engage and Be Engaging: Building Compassionate and Perso...
Design thinking - Empathy
Dark Psychology - Sarah Pokorna - SEO Vibes 2025
#PersonalityInsights: How cognitive computing will change advertising
Il cognitive computing applicato al marketing e alla comunicazione
Scaling empathy with personas
Affect- and Personality-based Recommender Systems Part II: Acquisition, Usage...
Content Design for the Conversational UI - STC Summit 2018
KnowMe and ShareMe: Understanding Automatically Discovered Personality Trai...
Melanie Seibert - Content Design for the Conversational UI
Jonathan Foster - Designing Personality in Conversational UI
Ad

More from diannepatricia (20)

PDF
Teaching cognitive computing with ibm watson
PDF
Cognitive systems institute talk 8 june 2017 - v.1.0
PDF
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
PDF
Cognitive Insights drive self-driving Accessibility
PDF
Artificial Intellingence in the Car
PDF
“Semantic PDF Processing & Document Representation”
PDF
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
PDF
170330 cognitive systems institute speaker series mark sherman - watson pr...
PDF
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
PDF
Cognitive Assistance for the Aging
PDF
From complex Systems to Networks: Discovering and Modeling the Correct Network"
PDF
The Role of Dialog in Augmented Intelligence
PDF
Developing Cognitive Systems to Support Team Cognition
PDF
Cyber-Social Learning Systems
PDF
“IT Technology Trends in 2017… and Beyond”
PDF
"Curious Learning: using a mobile platform for early literacy education as a ...
PDF
Embodied Cognition - Booch HICSS50
PDF
KATE - a Platform for Machine Learning
PDF
Cognitive Computing for Aging Society
PDF
Hicss17 asakawa
Teaching cognitive computing with ibm watson
Cognitive systems institute talk 8 june 2017 - v.1.0
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
Cognitive Insights drive self-driving Accessibility
Artificial Intellingence in the Car
“Semantic PDF Processing & Document Representation”
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
170330 cognitive systems institute speaker series mark sherman - watson pr...
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
Cognitive Assistance for the Aging
From complex Systems to Networks: Discovering and Modeling the Correct Network"
The Role of Dialog in Augmented Intelligence
Developing Cognitive Systems to Support Team Cognition
Cyber-Social Learning Systems
“IT Technology Trends in 2017… and Beyond”
"Curious Learning: using a mobile platform for early literacy education as a ...
Embodied Cognition - Booch HICSS50
KATE - a Platform for Machine Learning
Cognitive Computing for Aging Society
Hicss17 asakawa

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Machine learning based COVID-19 study performance prediction
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Cloud computing and distributed systems.
PDF
KodekX | Application Modernization Development
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
NewMind AI Weekly Chronicles - August'25 Week I
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
cuic standard and advanced reporting.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Approach and Philosophy of On baking technology
Machine learning based COVID-19 study performance prediction
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
MIND Revenue Release Quarter 2 2025 Press Release
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
KodekX | Application Modernization Development
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Building Compassionate Conversational Systems