SlideShare a Scribd company logo
Toward a Dialogue
System Using a Large
Language Model to
Recognize User
Emotions with a
Camera
Tokushima University
Hiroki Tanioka
2
MOTIVATION
Topic
Our office moving
Need
To show visitors
where to move
Issue
How to deal with
visitors (offline
users)
3
Office Moving
Information
★
Here!!
HOW TO SOLVE?
I have a
question...
①
★
Here!!
Map
Not user friendly as
she/he have to move
around.
4
HOW TO SOLVE?
Office Moving
Information
★
Here!!
Online
Support
②
It would be better
solution, but the fact
that you actually
visited the site means
it may not be an online
solution.
I have a
question...
5
HOW TO SOLVE?
Office
Moving
Information
★
Here!
!
Can I help
you?
③
The best solution
would be to recognize
the urgency and
emotional state of the
user, as online
responses do not
adequately convey this.
I have a
question...
Can I help you?
Using a camera like
Duckietown
6
FACIAL EXPRESSION RECOGNITION
The same facial expression does not yield the same emotional state. Faces (upper left: normal, upper
right: smiling, lower left: angry, and lower right: sad) of Japanese woman who visiting for consultation.
7
HOW TO BUILD?
• FER (Facial expression
recognition in Python)
• gpt-3.5-turbo (a model
of ChatGPT)
• Adding recognized
emotion information in
JSON format to the
ChatGPT prompt
FER
8
HOW TO TEST?
• Two types of dialogue
scenario
CASE A: ”Hello” + Emotion
CASE B: Counseling for a friend
+ Emotion
• FBot prototype system is
developed in Python script
on Google Colaboratory
9
RESULT (CASE A): “Hello.” + Emotion
Response (beginning of example) Under
stand
Worry
-ing
Encour
aging
Hello! It’s nice to hear from you. How are you feeling today? If there’s something on your
mind or if you’d like to chat --- about anything, I’m here to listen and support you.
Remember, your emotions are valid, and it’s okay to express how you feel. Take your
time, and feel free to share whatever you’re comfortable with.
Hello. It’s great to see you feeling happy! How can I assist you today? ✔︎
Hello! I’m here to listen and support you. If you’d like to talk about what’s on your mind
or if there’s anything I can do to help, feel free to share. Remember, it’s okay to feel a
range of emotions, and I’m here to offer assistance in any way I can. Take a deep
breath, and know that you’re not alone.
✔︎ ✔︎ ✔︎
Hello! I’m here for you. If you’d like to talk about what’s been bothering you or if there’s
anything specific you need help with, please feel free to share. Remember, it’s important
to express your emotions and seek support when you’re feeling down. I’m here to listen
and offer my assistance in any way I can. Take your time, and know that you are not
alone.
✔︎ ✔︎ ✔︎
10
RESULT (CASE B): “Thank you.”+ Emotion
Response (beginning of example) Under
stand
Worry
-ing
Encour
aging
You’re welcome! I’m here to support you. If you ever need to talk more about comforting
your friend or if there’s anything else on your mind, feel free to reach out. Remember,
your compassion and care for your friend are truly valuable. Take care of yourself too
during this time. Sending you positive thoughts and warm wishes.
✔︎
You’re welcome! I’m glad to see you feeling happy. If you have any more questions or
need further assistance in the future, feel free to reach out. Remember, your kindness
and support can truly brighten someone’s day. Keep spreading positivity and joy. Take
care and stay happy!
✔︎ ✔︎
You’re welcome! It’s important to acknowledge your feelings and know that it’s okay to
experience a range of emotions. If you ever need someone to talk to or seek comfort,
don’t hesitate to reach out. Remember, you are not alone, and there are people who
care about you and want to support you. Take care of yourself and remember to be
kind to yourself during this time. Sending you positive thoughts and strength.
✔︎ ✔︎ ✔︎
You’re welcome! I’m here to support you and offer guidance whenever you need it.
Remember that you are a caring friend, and your efforts to comfort and support
others are truly admirable. If you ever want to talk more or share your feelings, feel
free to reach out. Keep spreading kindness and positivity, even during challenging
times. Take care, and stay strong. Sending you virtual hugs and support!
✔︎ ✔︎ ✔︎
11
SUMMARY AND REMAINING ISSUES
Developed
a system for AI agents
that sends emotional
data from facial
expressions with user
inquiries to LLMs.
Enabled
the system of LLMs to
respond differently
based on emotions
like happiness, anger,
or sadness.
Potential
applications include
receptionist tasks,
university operations,
sports psychology,
and information
security.
Enhancing
methods to
summarize and
interpret variable
emotional data from
user queries.
Improving
facial expression
recognition accuracy,
including for users
wearing masks.
Integrating
speech recognition
into the multimodal
dialogue system.

More Related Content

PDF
Emotion Detection and Depression Analysis in Chat Application
PPT
Listening friends revision
PPT
Listening friends revision
PPT
Listening friends revision
PDF
IRJET- Review on Mood Detection using Image Processing and Chatbot using Arti...
PDF
IRJET- Conversational Assistant based on Sentiment Analysis
PPTX
The Influence of Emoticons on Receiver Perception
PDF
Beyond Sentiment Analysis: Creating Engaging Conversational Experiences throu...
Emotion Detection and Depression Analysis in Chat Application
Listening friends revision
Listening friends revision
Listening friends revision
IRJET- Review on Mood Detection using Image Processing and Chatbot using Arti...
IRJET- Conversational Assistant based on Sentiment Analysis
The Influence of Emoticons on Receiver Perception
Beyond Sentiment Analysis: Creating Engaging Conversational Experiences throu...

Similar to Toward a Dialogue System Using a Large Language Model to Recognize User Emotions with a Camera (20)

PDF
Adaptive Vocabulary Construction for Frustration Intensity Modelling in Custo...
PDF
ADAPTIVE VOCABULARY CONSTRUCTION FOR FRUSTRATION INTENSITY MODELLING IN CUSTO...
PDF
MyMoon by Chiwon Lee
PDF
Mental Health Assistant using LSTM
PDF
Prompt it, not Google it - Prompt Engineering for Data Scientists
PPTX
The Challenges of Affect Detection in the Social Programmer Ecosystem
PDF
Artificial emotional intelligence - Giles Colborne
PDF
Moyo
PDF
Slide share poscomp_15-ccare
PDF
Slide share poscomp_15-ccare
PDF
Positive Computing: Technology for wellbeing
PPT
Cluster2013
PPT
Cluster2013
PDF
ADAPTIVE VOCABULARY CONSTRUCTION FOR FRUSTRATION INTENSITY MODELLING IN CUSTO...
PDF
Socially-Sensitive Interfaces: From Offline Studies to Interactive Experiences
PDF
SYBIL making process
PDF
IVE 2024 Short Course Lecture 9 - Empathic Computing in VR
PDF
Zoha's empathy map
PDF
S33100107
PDF
E mpathy map_engineering_student
Adaptive Vocabulary Construction for Frustration Intensity Modelling in Custo...
ADAPTIVE VOCABULARY CONSTRUCTION FOR FRUSTRATION INTENSITY MODELLING IN CUSTO...
MyMoon by Chiwon Lee
Mental Health Assistant using LSTM
Prompt it, not Google it - Prompt Engineering for Data Scientists
The Challenges of Affect Detection in the Social Programmer Ecosystem
Artificial emotional intelligence - Giles Colborne
Moyo
Slide share poscomp_15-ccare
Slide share poscomp_15-ccare
Positive Computing: Technology for wellbeing
Cluster2013
Cluster2013
ADAPTIVE VOCABULARY CONSTRUCTION FOR FRUSTRATION INTENSITY MODELLING IN CUSTO...
Socially-Sensitive Interfaces: From Offline Studies to Interactive Experiences
SYBIL making process
IVE 2024 Short Course Lecture 9 - Empathic Computing in VR
Zoha's empathy map
S33100107
E mpathy map_engineering_student
Ad

More from Hiroki Tanioka (11)

PDF
床反力とAIフォーム解析アプリを用いた野球動作のパフォーマンス分析
PDF
Ethical Considerations in AI-Driven Services: Balancing Facial Recognition an...
PDF
AITOK at the NTCIR-18 MedNLP-CHAT to Identify Medical, Ethical and Legal Risk...
PPTX
PoseNet(ml5.js)を用いた投球フォーム推定
PPTX
おとなのプログラミング教室 vol1
PPTX
A Fast Content-Based Image Retrieval Method Using Deep Visual Features
PPTX
Mentoring without Technical Skills
PPTX
グループ学習で学ぶプログラミング 〜さあ、いっしょに考えよう!〜
PPTX
理想のAIと現実の機械学習
PPTX
Super Easy Way of Building Image Search with Keras
PDF
ソフトウェア開発の心得
床反力とAIフォーム解析アプリを用いた野球動作のパフォーマンス分析
Ethical Considerations in AI-Driven Services: Balancing Facial Recognition an...
AITOK at the NTCIR-18 MedNLP-CHAT to Identify Medical, Ethical and Legal Risk...
PoseNet(ml5.js)を用いた投球フォーム推定
おとなのプログラミング教室 vol1
A Fast Content-Based Image Retrieval Method Using Deep Visual Features
Mentoring without Technical Skills
グループ学習で学ぶプログラミング 〜さあ、いっしょに考えよう!〜
理想のAIと現実の機械学習
Super Easy Way of Building Image Search with Keras
ソフトウェア開発の心得
Ad

Recently uploaded (20)

PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
Abrasive, erosive and cavitation wear.pdf
PDF
Design Guidelines and solutions for Plastics parts
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
introduction to high performance computing
PPTX
communication and presentation skills 01
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PPTX
Feature types and data preprocessing steps
PDF
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
PPTX
Current and future trends in Computer Vision.pptx
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
737-MAX_SRG.pdf student reference guides
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Abrasive, erosive and cavitation wear.pdf
Design Guidelines and solutions for Plastics parts
III.4.1.2_The_Space_Environment.p pdffdf
Information Storage and Retrieval Techniques Unit III
"Array and Linked List in Data Structures with Types, Operations, Implementat...
introduction to high performance computing
communication and presentation skills 01
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Feature types and data preprocessing steps
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
Current and future trends in Computer Vision.pptx
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Exploratory_Data_Analysis_Fundamentals.pdf
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
Module 8- Technological and Communication Skills.pptx
737-MAX_SRG.pdf student reference guides
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...

Toward a Dialogue System Using a Large Language Model to Recognize User Emotions with a Camera

  • 1. Toward a Dialogue System Using a Large Language Model to Recognize User Emotions with a Camera Tokushima University Hiroki Tanioka
  • 2. 2 MOTIVATION Topic Our office moving Need To show visitors where to move Issue How to deal with visitors (offline users)
  • 3. 3 Office Moving Information ★ Here!! HOW TO SOLVE? I have a question... ① ★ Here!! Map Not user friendly as she/he have to move around.
  • 4. 4 HOW TO SOLVE? Office Moving Information ★ Here!! Online Support ② It would be better solution, but the fact that you actually visited the site means it may not be an online solution. I have a question...
  • 5. 5 HOW TO SOLVE? Office Moving Information ★ Here! ! Can I help you? ③ The best solution would be to recognize the urgency and emotional state of the user, as online responses do not adequately convey this. I have a question... Can I help you? Using a camera like Duckietown
  • 6. 6 FACIAL EXPRESSION RECOGNITION The same facial expression does not yield the same emotional state. Faces (upper left: normal, upper right: smiling, lower left: angry, and lower right: sad) of Japanese woman who visiting for consultation.
  • 7. 7 HOW TO BUILD? • FER (Facial expression recognition in Python) • gpt-3.5-turbo (a model of ChatGPT) • Adding recognized emotion information in JSON format to the ChatGPT prompt FER
  • 8. 8 HOW TO TEST? • Two types of dialogue scenario CASE A: ”Hello” + Emotion CASE B: Counseling for a friend + Emotion • FBot prototype system is developed in Python script on Google Colaboratory
  • 9. 9 RESULT (CASE A): “Hello.” + Emotion Response (beginning of example) Under stand Worry -ing Encour aging Hello! It’s nice to hear from you. How are you feeling today? If there’s something on your mind or if you’d like to chat --- about anything, I’m here to listen and support you. Remember, your emotions are valid, and it’s okay to express how you feel. Take your time, and feel free to share whatever you’re comfortable with. Hello. It’s great to see you feeling happy! How can I assist you today? ✔︎ Hello! I’m here to listen and support you. If you’d like to talk about what’s on your mind or if there’s anything I can do to help, feel free to share. Remember, it’s okay to feel a range of emotions, and I’m here to offer assistance in any way I can. Take a deep breath, and know that you’re not alone. ✔︎ ✔︎ ✔︎ Hello! I’m here for you. If you’d like to talk about what’s been bothering you or if there’s anything specific you need help with, please feel free to share. Remember, it’s important to express your emotions and seek support when you’re feeling down. I’m here to listen and offer my assistance in any way I can. Take your time, and know that you are not alone. ✔︎ ✔︎ ✔︎
  • 10. 10 RESULT (CASE B): “Thank you.”+ Emotion Response (beginning of example) Under stand Worry -ing Encour aging You’re welcome! I’m here to support you. If you ever need to talk more about comforting your friend or if there’s anything else on your mind, feel free to reach out. Remember, your compassion and care for your friend are truly valuable. Take care of yourself too during this time. Sending you positive thoughts and warm wishes. ✔︎ You’re welcome! I’m glad to see you feeling happy. If you have any more questions or need further assistance in the future, feel free to reach out. Remember, your kindness and support can truly brighten someone’s day. Keep spreading positivity and joy. Take care and stay happy! ✔︎ ✔︎ You’re welcome! It’s important to acknowledge your feelings and know that it’s okay to experience a range of emotions. If you ever need someone to talk to or seek comfort, don’t hesitate to reach out. Remember, you are not alone, and there are people who care about you and want to support you. Take care of yourself and remember to be kind to yourself during this time. Sending you positive thoughts and strength. ✔︎ ✔︎ ✔︎ You’re welcome! I’m here to support you and offer guidance whenever you need it. Remember that you are a caring friend, and your efforts to comfort and support others are truly admirable. If you ever want to talk more or share your feelings, feel free to reach out. Keep spreading kindness and positivity, even during challenging times. Take care, and stay strong. Sending you virtual hugs and support! ✔︎ ✔︎ ✔︎
  • 11. 11 SUMMARY AND REMAINING ISSUES Developed a system for AI agents that sends emotional data from facial expressions with user inquiries to LLMs. Enabled the system of LLMs to respond differently based on emotions like happiness, anger, or sadness. Potential applications include receptionist tasks, university operations, sports psychology, and information security. Enhancing methods to summarize and interpret variable emotional data from user queries. Improving facial expression recognition accuracy, including for users wearing masks. Integrating speech recognition into the multimodal dialogue system.