Open-Domain Chatting Machine: Emotion and Personality

Similar documents
Building Intelligent Chatting Machines: Emotion, Personality, and Commonsense Knowledge

Sentiment, Emotion, and Generation

arxiv: v3 [cs.cl] 21 Jun 2017

arxiv: v3 [cs.cl] 14 Sep 2017

Assigning Personality/Profile to a Chatting Machine for Coherent Conversation Generation

Emotion-Aware Machines

Introduction to affect computing and its applications

Intelligent Machines That Act Rationally. Hang Li Bytedance AI Lab

Recognising Emotions from Keyboard Stroke Pattern

A Pragmatic Approach to Implementation of Emotional Intelligence in Machines

Jia Jia Tsinghua University 26/09/2017

Intelligent Machines That Act Rationally. Hang Li Toutiao AI Lab

Inventions on expressing emotions In Graphical User Interface

A Vision-based Affective Computing System. Jieyu Zhao Ningbo University, China

Fudan University, China

Fuzzy Model on Human Emotions Recognition

AI Support for Communication Disabilities. Shaun Kane University of Colorado Boulder

Affective Dialogue Communication System with Emotional Memories for Humanoid Robots

IDENTIFYING STRESS BASED ON COMMUNICATIONS IN SOCIAL NETWORKS

A Fuzzy Logic System to Encode Emotion-Related Words and Phrases

Reader s Emotion Prediction Based on Partitioned Latent Dirichlet Allocation Model

Affect, emotion, and addiction What do we mean by affect? Very common effect Happens with many things Very powerful Can lead to dependence, identity,

Affective Computing Ana Paiva & João Dias. Lecture 1. Course Presentation

The Comforting Presence of Relational Agents

Neural Response Generation for Customer Service based on Personality Traits

The Comforting Presence of Relational Agents

DEEP LEARNING BASED VISION-TO-LANGUAGE APPLICATIONS: CAPTIONING OF PHOTO STREAMS, VIDEOS, AND ONLINE POSTS

Contrastive Analysis on Emotional Cognition of Skeuomorphic and Flat Icon

International Journal of Engineering Research in Computer Science and Engineering (IJERCSE) Vol 5, Issue 3, March 2018 Gesture Glove

Multimodal Interaction for Users with Autism in a 3D Educational Environment

The Vine Assessment System by LifeCubby

WP 7: Emotion in Cognition and Action

Research on Social Psychology Based on Network Big Data


Externalization of Cognition: from local brains to the Global Brain. Clément Vidal, Global Brain Institute

How do you design an intelligent agent?

Intro to HCI / Why is Design Hard?

Tracking Sentiment in Mail:! How Genders Differ on Emotional Axes. Saif Mohammad and Tony Yang! National Research Council Canada

Leading with Emotional Intelligence. Courtney Holladay, PhD Executive Director

The Effect of Sensor Errors in Situated Human-Computer Dialogue

Research Proposal on Emotion Recognition

From Once Upon a Time to Happily Ever After: Tracking Emotions in Books and Mail! Saif Mohammad! National Research Council Canada!

An assistive application identifying emotional state and executing a methodical healing process for depressive individuals.

Practical Approaches to Comforting Users with Relational Agents

Audio-based Emotion Recognition for Advanced Automatic Retrieval in Judicial Domain

Blue Eyes Technology

Analysis of Emotion Recognition using Facial Expressions, Speech and Multimodal Information

Audiovisual to Sign Language Translator

EMOTIONAL LEARNING. Synonyms. Definition

Various Methods To Detect Respiration Rate From ECG Using LabVIEW

Interact-AS. Use handwriting, typing and/or speech input. The most recently spoken phrase is shown in the top box

Gesture Control in a Virtual Environment. Presenter: Zishuo Cheng (u ) Supervisors: Prof. Tom Gedeon and Mr. Martin Henschke

Jia Jia Tsinghua University 25/01/2018

Facial expression recognition with spatiotemporal local descriptors

A Review on Fuzzy Rule-Base Expert System Diagnostic the Psychological Disorder

Use of Porter Stemming Algorithm and SVM for Emotion Extraction from News Headlines

Emotionally Responsive Virtual Counselor for Behavior-Change Health Interventions

Modalities for Building Relationships with Handheld Computer Agents

Human Information Processing and Cultural Diversity. Jaana Holvikivi, DSc. School of ICT

Be kind. Everyone is fighting a great battle.

CAREER BASE CAMP Day 2: Leverage Your Emotional Intelligence

Emotional intelligence in interactive systems

Temporal Context and the Recognition of Emotion from Facial Expression

Enhancing Support for Special Populations through Understanding Neurodiversity

From Sentiment to Emotion Analysis in Social Networks

Social Network Data Analysis for User Stress Discovery and Recovery

Computational Phronesis as a Possible Path toward Machine Emotional Integrity

Voice Interaction Need Finding. Ayushi Chandaria Chloe Keilers Haotian Sun Lilly Zhou

Automatic Dialogue Generation with Expressed Emotions

Emotion based E-learning System using Physiological Signals. Dr. Jerritta S, Dr. Arun S School of Engineering, Vels University, Chennai

Helpful Hint: Outline the Two Perspectives for participants.

Language to Logical Form with Neural Attention

Factors for Measuring Dramatic Believability. Brian Magerko, Ph.D. Games for Entertainment and Learning Lab Michigan State University

Vorlesung Grundlagen der Künstlichen Intelligenz

Note: This document describes normal operational functionality. It does not include maintenance and troubleshooting procedures.

Recognizing Scenes by Simulating Implied Social Interaction Networks

EMOTIONAL INTELLIGENCE BASICS

Affect in Virtual Agents (and Robots) Professor Beste Filiz Yuksel University of San Francisco CS 686/486

The Emotion Analysis on the Chinese Comments from News portal and Forums Jiawei Shen1, 2, Wenjun Wang1, 2 and Yueheng Sun1, 2, a

Accessible Computing Research for Users who are Deaf and Hard of Hearing (DHH)

Intro to HCI / Why is Design Hard?

Intelligent Agents. Philipp Koehn. 16 February 2017

Tao Gao. January Present Assistant Professor Department of Communication UCLA

Managing emotions in turbulent and troubling times. Professor Peter J. Jordan Griffith Business School

Session Two: Presence and the Executive Control of Attention

ASC-Inclusion. The Case, Initiatives and Impact. Interactive Emotion Games. Björn Schuller

Kids Help Phone: How We Engage Youth

More cooperative, or more uncooperative: Decision-making after subliminal priming with emotional faces

SAGE. Nick Beard Vice President, IDX Systems Corp.

Yes! CUSTOMER SERVICE CUSTOMER SERVICE. Why bother? Who are our Internal Customers? Do We Have CUSTOMERS? at AEOA. AEOA s mission

Bio-Feedback Based Simulator for Mission Critical Training

Week 4: Indirect mood assessment and learnings from your homeworks

Human cogition. Human Cognition. Optical Illusions. Human cognition. Optical Illusions. Optical Illusions

APS Interest Group for Coaching Psychologists (QLD)

Modeling Emotion and Temperament on Cognitive Mobile Robots

STAAR Short Answer Questions (SAQs)

Neuroinformatics. Ilmari Kurki, Urs Köster, Jukka Perkiö, (Shohei Shimizu) Interdisciplinary and interdepartmental

Emotional Intelligence

Computer based cognitive rehab solution

Transcription:

Open-Domain Chatting Machine: Emotion and Personality Minlie Huang, Associate Professor Dept. of Computer Science, Tsinghua University aihuang@tsinghua.edu.cn http://aihuang.org/p 2017/12/15 1

Open-domain Chatting and Conservational AI 1 : 91: A : B 5, - : :5 0 1 A1 1:

Reshaping Human-Machine Interactions Microsoft: Conversation As a Platform (CAAP) Mouse + Keyboard GUI Screen Touch GUI Conversational UI

Virtual Conversational Agents 1966 1994 2010-2014 - 2016

Social Robot (with Physical Body) humanoid robot The first robot with emotions MIT Jibo: the world s first social robot for the home Buddy: protects your home, entertains the family, interfaces with devices, and assists the family

Challenges in Open-domain Chatting Machines Semantics Logics Consistency Interactiveness Content Quality Personality Identity Language Style Emotion Sentiment Dialogue Strategy Open-domain, open-topic conversational agents 2017/12/15 6

Challenges in Open-domain Chatting Machines One-to-many: one input, many many possible responses Knowledge & Reasoning: real understanding requires various knowledge or backgrounds Situational Context Who are you talking with? Stranger, or friend? Boss, or subordinate His mood and emotion? Unknown backgroundsthatare only shared by posterand responder 2017/12/15 7

Typical Solution I: Retrieval-based From MSRA Dr. Ming Zhou

Typical Solution II: Generation-based User: I am so happy to be here Machine: Glad with you.

Open-domain Chatting Machines Content quality: unknown words, long and diverse responses Beam Search (Li et al., 2015) Glimpse (Shao et al. 2017) Topics and keywords (Xing et al., 2017; Mou et al., 2016) Longer context (hierarchical models) (Serban et al., 2015/2016a/b) Personalization: considering user information (Li et al., 2016; Al-Rfou et al., 2016) Consider gender, age (Joshi et al. 2017) Consider social networks (Bhatia et al. 2017) 2017/12/15 10

Emotional Chatting Machine Emotion intelligence is a key human behavior for intelligence (Salovey and Mayer, 1990; Picard and Picard, 1997) Understanding emotion and affect is important for dialogue and conversation Enhance user performance Improve user satisfaction Less breakdowns Rule-based emotion adaptation Seen in early dialogue systems 2017/12/15 11

Emotional Chatting Machine -- - Social Interaction Data Post Response Post Response Emotion Classifier Emotion Tagged data Emotional Chatting Machine Post Response Post Response Our work is reported by MIT Technology Review, the Guardian, Cankao News, Xinhua News Agency etc. Prof Björn Schuller: an important step towards personal assistants that could read the emotional undercurrent of a conversation and respond with something akin to empathy.

Emotional Chatting Machine Emotion category embedding: High level abstraction of emotions Emotion internal state: Capturing the change of emotion state during decoding Emotion external memory: Treating emotion/generic words differentially 2017/12/15 13

Emotional Chatting Machine Internal emotion memory : emotional responses are relatively short lived and involve changes (Gross, 1998; Hochschild, 1979) Encoder Input emotion: Sad Emotion state GO y 1 (A) (lovely) (person) Decoder s state S 0 S 1 S T 1.0 0.9 Read Write 0.8 0.7 Write 0.8 Value decay Value decay 0.6 y T 0.0 0.0 0.0 Sad Sad Sad

Emotional Chatting Machine Internal emotion memory : emotional responses are relatively short lived and involve changes (Gross, 1998; Hochschild, 1979) y t-1 y t S t-1 S t Emotion state 1.0 0.9 0.8 Read Write 0.8 0.7 0.6 Sad Sad

Emotional Chatting Machine Internal emotion memory : emotional responses are relatively short lived and involve changes (Gross, 1998; Hochschild, 1979) 2017/12/15 16

Emotional Chatting Machine External emotion memory: generic words (person) and emotion words (lovely) y t-1 =lovely y t =person Emotional Generic Emotional Generic Type Selector Type Selector S t-1 Decoder s state 2017/12/15 17 S t

Emotional Chatting Machine External emotion memory: generic words (person) and emotion words (lovely) 2017/12/15 18

Emotional Chatting Machine Emotion Classification Dataset: the Emotion Classification Dataset of NLPCC 2013&2014 23,105 sentences collected from Weibo The STC dataset: a conversation dataset from (Shang et al., 2015) 219,905 posts and 4,308,211 responses Each post has about 20 responses 2017/12/15 19

Emotional Chatting Machine 2017/12/15 20 Hao Zhou, Minlie Huang, Xiaoyan Zhu, Bing Liu. Emotional Chatting Machine: Emotional Conversation Generation with Internal and External Memory. AAAI 2018.

More Chinese Examples post: other post: other post: other post: other 2017/12/15 21

Emotion Interaction Patterns LikeàLike (empathy) Sadness àsadness (empathy) Sadness àlike (comfort) Disgust à Disgust (empathy) Disgust à Like (comfort) Anger à Disgust HappinessàLike Hao Zhou, Minlie Huang, Xiaoyan Zhu, Bing Liu. Emotional Chatting Machine: Emotional Conversation Generation with Internal and External Memory. AAAI 2018. 22

Endowing a Chatting Machine with Personality Passing the Turning Test? Existing chatting machine lacks identity or personality Existing works Userembedding: learn implicitconversation style (Li et al., 2016; Al-Rfou et al., 2016) Require dialogue data from different users with userattributes tagged For chatbots: no such data available 2017/12/15 24

Endowing a Chatting Machine with Personality Generating coherent conversation w.r.t. identity/personality Generic Dialogue Data Pre-specified Chatbot Profile UserA: how old are you? UserB: I am six. UserA: do you like to play piano? UserB: I play violin. Identity-coherent Chatbot User: how old are you? Machine: I am three years old. User: do you like to play piano? Machine: Yes, I play piano. 2017/12/15 25

Endowing a Chatting Machine with Personality Encoder Profile detector Position detector Decoder 2017/12/15 26 Qiao Qian, Minlie Huang, Haizhou Zhao, Jingfang Xu, Xiaoyan Zhu. Assigning personality/identity to a chatting machine for coherent conversation generation. 2017, arxiv:1706.02861.

Endowing a Chatting Machine with Personality Profile detector Using profile or not Profile key selection Bidirectional decoder 2017/12/15 27

Endowing a Chatting Machine with Personality Loss function Loss on decoders: forward decoder and bidirectional decoder Loss on profile predictions: 2017/12/15 28

Endowing a Chatting Machine with Personality WD: 9,697,651 post-response pairs from Weibo 76,930 pairs from WD for 6 profile keys (name, gender, age, city, weight, constellation) with about 200 regular expression patterns, each annotated to positive or negative 42,193 positive pairs, each mapped to one of the keys Manual Dataset: real, human-written conversational posts Qiao Qian, Minlie Huang, Haizhou Zhao, Jingfang Xu, Xiaoyan Zhu. Assigning personality/identity to a chatting machine for coherent conversation generation. 2017, arxiv:1706.02861. 2017/12/15 29

Endowing a Chatting Machine with Personality Post-level evaluation Generated sample responses that exhibit session-level consistency Session-level evaluation 2017/12/15 30 Qiao Qian, Minlie Huang, Haizhou Zhao, Jingfang Xu, Xiaoyan Zhu. Assigning personality/identity to a chatting machine for coherent conversation generation. 2017, arxiv:1706.02861.

Endowing a Chatting Machine with Personality Generating responses that are coherent to robot s profile 2017/12/15 31 Qiao Qian, Minlie Huang, Haizhou Zhao, Jingfang Xu, Xiaoyan Zhu. Assigning personality/identity to a chatting machine for coherent conversation generation. 2017, arxiv:1706.02861.

Future Research Problems Multi-modality emotion perception and expression (voice, vision, text) Personality, identity, styleà human-like robot Introvert or extrovert Personalized (style, or profile) Learning to learn Grow up from interactions with human partners and environment

Summary Open-domain chatting machine is one of the most challenging AI tasks Requires the ability of understanding semantics, knowledge, and situational context Ability of making reasoning Still a long way to go: existing generation models are still far from the expectation of real-world applications 2017/12/15 33

Thanks for Attention Minlie Huang Email: aihuang@tsinghua.edu.cn Homepage: http://aihuang.org/p Acknowledgements: Prof. Xiaoyan Zhu, Hao Zhou, Zheng Zhang, Qiao Qian 2017/12/15 34