Beyond Sentiment Analysis: Creating Engaging
Conversational Experiences through Empathy
Will Kearns
Co-founder & CTO, COCO
A telenursing and virtual therapy platform
for family caregivers:
● On-demand caregiving support
● Interactive health and wellness counseling
Overview
● Affective Intelligence
● Empathetic Dialog
● Integrating with Rasa
Terminology
● Natural Language Understanding (NLU)
● Intents
● Slots
● State Tracker
● Dialog Policies
● Natural Language Generation (NLG)
Affective Empathy 💞😱
The ability to experience how
someone else may feel in response
to an event.
Cognitive Empathy 🧠🧐
The ability to reason about how an
event may likely affect the mental
state of someone else.
Sentiment Analysis
Custom
Action
Oh hi - I’m working late
and haven't been able to
get the paperwork to my
child's doctor.
Sentiment
Analysis
Text
Response
-0.75
-0.75 < -0.50
I’m sorry to hear
that.
Button Selection
Dialog
Policy
Tired
Stretch Exercise
Got it! Would you like to take a
moment to do a stretching
exercise to reboot your
energy?
Button
Response
Emotion Detection
Dialog
Policy
Tired
It sounds like you may be
feeling tired. Would you like to
take a moment to do a
stretching exercise to reboot
your energy?
Emotion
Detection
Text
Response
Oh hi - I’m working late
and haven't been able to
get the paperwork to my
child's doctor.
Stretch Exercise
Beyond Intents
Empathy Driven Dialog
xReact: tired, overwhelmed
xAttr: busy, dedicated
xWant: to go home, finish work
reschedule
It sounds like you're busy and want
to finish work and go home. Would
you like me to check in again after
dinner around 8pm with a
meditation exercise to help ease
your stress?
Mental State
Inference
Empathic
Policy
Text
Response
Oh hi - I’m working late
and haven't been able to
get the paperwork to my
child's doctor.
Mental State Inference
Predict the effect of events on a
user’s emotions, motivations,
and perceptions.
Context: What solutions have you tried?
Utterance:  I’m trying everything for Connor.
Inference: The caregiver feels overwhelmed.
(caregiver, feels, overwhelmed)
Language models (LMs) predict
the next word in a sentence
based on their distribution in a
training dataset which may
lack implicit knowledge
Problem with LMs
A commonsense knowledge
base of if-then relationships
between actors and agents
ATOMIC
A commonsense reasoning from
transformer based language
models to infer knowledge
beyond ATOMIC
COMET
We customize our NLU pipeline with
a COMET Featurizer that extends
the LanguageModelFeaturizer as
well as another custom component
for Mental State Inference.
Mental State Tracking
Given a dialog context the
empathic policy determines the
best way to improve the user’s
affective state
Empathic Policy
Inference: The caregiver feels overwhelmed.
(caregiver, feels, overwhelmed)
Action: Normalize
Style: Supportive, Understanding
The act of communicating that
users are not alone in their
experience and that their
reactions to situations are
shared by others.
Normalizing
The act of putting words to our
emotions can shift activity from
the amygdala to the left
prefrontal cortex, reducing
anxiety and anger.
Affect Labeling
Ensure a smooth transition for
the customer through
contextual knowledge transfer
from the bot to the operator
Human Handoff
Summary
● Empathy can drastically change a
user’s experience
● Empathy can be enhanced with AI
both in human agents and chatbots
Weichao Yuwen, PhD, RN
Clinical Co-Founder & CEO
Nursing Informatics
Sunny Cheng, PhD, RN
Myra Divina, MS-CIPCT
Meet Our Team
Will Kearns, PhD Candidate
Technical Co-Founder & CTO
Human Centered Design
Honson Ling
Lukas Sexton
Rosanna Liu
Kelly Hou
Software Development
Nora Wang
Stanley Wang
Advisors/Mentors
Teresa Ward
Trevor Cohen
Sponsors
UW Comotion
UW Population Health Initiative
Email: will@coco.health
Linkedin: kearnsw
Clubhouse: kearnsw
Website: https://coco.health
Contact info

Beyond Sentiment Analysis: Creating Engaging Conversational Experiences through Empathy | Rasa Summit

  • 1.
    Beyond Sentiment Analysis:Creating Engaging Conversational Experiences through Empathy Will Kearns Co-founder & CTO, COCO
  • 2.
    A telenursing andvirtual therapy platform for family caregivers: ● On-demand caregiving support ● Interactive health and wellness counseling
  • 3.
    Overview ● Affective Intelligence ●Empathetic Dialog ● Integrating with Rasa
  • 4.
    Terminology ● Natural LanguageUnderstanding (NLU) ● Intents ● Slots ● State Tracker ● Dialog Policies ● Natural Language Generation (NLG)
  • 5.
    Affective Empathy 💞😱 Theability to experience how someone else may feel in response to an event. Cognitive Empathy 🧠🧐 The ability to reason about how an event may likely affect the mental state of someone else.
  • 6.
    Sentiment Analysis Custom Action Oh hi- I’m working late and haven't been able to get the paperwork to my child's doctor. Sentiment Analysis Text Response -0.75 -0.75 < -0.50 I’m sorry to hear that.
  • 7.
    Button Selection Dialog Policy Tired Stretch Exercise Gotit! Would you like to take a moment to do a stretching exercise to reboot your energy? Button Response
  • 8.
    Emotion Detection Dialog Policy Tired It soundslike you may be feeling tired. Would you like to take a moment to do a stretching exercise to reboot your energy? Emotion Detection Text Response Oh hi - I’m working late and haven't been able to get the paperwork to my child's doctor. Stretch Exercise
  • 9.
  • 10.
    Empathy Driven Dialog xReact:tired, overwhelmed xAttr: busy, dedicated xWant: to go home, finish work reschedule It sounds like you're busy and want to finish work and go home. Would you like me to check in again after dinner around 8pm with a meditation exercise to help ease your stress? Mental State Inference Empathic Policy Text Response Oh hi - I’m working late and haven't been able to get the paperwork to my child's doctor.
  • 11.
    Mental State Inference Predictthe effect of events on a user’s emotions, motivations, and perceptions. Context: What solutions have you tried? Utterance:  I’m trying everything for Connor. Inference: The caregiver feels overwhelmed. (caregiver, feels, overwhelmed)
  • 12.
    Language models (LMs)predict the next word in a sentence based on their distribution in a training dataset which may lack implicit knowledge Problem with LMs
  • 13.
    A commonsense knowledge baseof if-then relationships between actors and agents ATOMIC
  • 14.
    A commonsense reasoningfrom transformer based language models to infer knowledge beyond ATOMIC COMET
  • 15.
    We customize ourNLU pipeline with a COMET Featurizer that extends the LanguageModelFeaturizer as well as another custom component for Mental State Inference. Mental State Tracking
  • 16.
    Given a dialogcontext the empathic policy determines the best way to improve the user’s affective state Empathic Policy Inference: The caregiver feels overwhelmed. (caregiver, feels, overwhelmed) Action: Normalize Style: Supportive, Understanding
  • 17.
    The act ofcommunicating that users are not alone in their experience and that their reactions to situations are shared by others. Normalizing
  • 18.
    The act ofputting words to our emotions can shift activity from the amygdala to the left prefrontal cortex, reducing anxiety and anger. Affect Labeling
  • 19.
    Ensure a smoothtransition for the customer through contextual knowledge transfer from the bot to the operator Human Handoff
  • 20.
    Summary ● Empathy candrastically change a user’s experience ● Empathy can be enhanced with AI both in human agents and chatbots
  • 21.
    Weichao Yuwen, PhD,RN Clinical Co-Founder & CEO Nursing Informatics Sunny Cheng, PhD, RN Myra Divina, MS-CIPCT Meet Our Team Will Kearns, PhD Candidate Technical Co-Founder & CTO Human Centered Design Honson Ling Lukas Sexton Rosanna Liu Kelly Hou Software Development Nora Wang Stanley Wang Advisors/Mentors Teresa Ward Trevor Cohen Sponsors UW Comotion UW Population Health Initiative
  • 22.
    Email: will@coco.health Linkedin: kearnsw Clubhouse:kearnsw Website: https://coco.health Contact info