SlideShare una empresa de Scribd logo
1 de 67
Descargar para leer sin conexión
Emotion
recognition
in artificial
intelligence
VALENTINA
FRANZONI
DEPARTMENT OF MATHEMATICS
AND COMPUTER SCIENCE
UNIVERSITY OF PERUGIA, ITALY
Milan & Paris
WiMLDS
online meetup
June, the 4th
2020
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
- Emotions and Artificial Intelligence
- Machine Learning and Data Science
approaches
- Errors, bias, and overconfidence
in artificial emotional models
- Open Challenges
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Seminar overview
Emotions and Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Research questions
 What are emotions?
 How can they be measured in
the brain?
 How can they be measured in
their expressions?
 How can they be represented
in computer science?
 Can they be recognized using
Artificial / Web Intelligence?
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Cognitive system input
+
Emotional (limbic) system input
=
Decision output
What is an «emotion»
Cognitive system
Emotional system
Cognitive system
Emotional system
situations
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
If there is a lion…
Cognitive system: “baby lion, maybe mother around.”
Emotional system: “AAAWW! CUTE!! I would like to touch it!”
Decision system: “better to watch from far.”
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
And what if…
Cognitive system: “lions running at me!”
Emotional system: “FEAR of death! RUN AWAY!”
Decision system: “EMERGENCY!”
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Emotions are something that get us to
act in a particular way.
The “qualia” (feeling) is not needed to
run, but it is needed to teach and plan
for the future. It’s the internal subjective
component of sense of perception,
arising from stimulation of the senses by
phenomena
What are emotions
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
- Primitives (modular)
- Fast (approximate)
- Executed automatically (reactive)
- Based on environment (adaptive)
- Temporary with learning (evolutionary)
- Can be collective and contagious
- NOT usual feelings or thoughts
- NOT sentiments
- NOT moods
Emotions in AI perspective
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Machine Learning and Data
Science Approaches
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
21 June-27 July 2017, Perugia
Emotions in Artificial Intelligence
Seminar series on Cyber-emotions
at the 6th Summer School
organized within Hong Kong
Baptist University and University of
Perugia, Italy
Organized by
Valentina Franzoni and Alfredo Milani
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Web-based proximity models
General idea:
Using search engines as a source of information about the
frequency of terms (such as Google page counts)
Observation:
• approximate the probability P(w1)=f(w1)/N where
f(w1) is the frequency, N =total of indexed objects
Ex. P(gatto)=0.000679
Advantage:
• Applicable to all proximity measures based on
probability or frequency
=cat
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Web-based proximity measures
to terms similarity P(x)=
f(x)
𝐍
and P(xy)=
f(xy)
𝐍
Based on probability P(x) of terms. Easy to compute by the
frequency of terms:
f(x), f(y) and f(xy) are the frequencies returned from a search
engine (e.g. Bing, Google, Yahoo, Wikipedia, Youtube) and N is
the total number of indexed documents.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Vector-space Emotion Recognition
Let E be a model of emotions EEkman={anger, disgust, fear,
joy, sadness, surprise}, then the emotional state of a term
t=“kill” is 6-dimensional vector of the proximity of t from
the basic emotions.
anger
sadness
disgust
joy
fear
surprise
kill
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Set Proximity Emotion Recognition
Goal: to assess the emotional load of a sentence S by
evaluating the proximity of the set of terms to a set of
basic emotions.
• S={t1, t2, …,tn} terms in the target sentence
• E ={e1, e2, …,em} emotional model
v_S= (all i) f[( ti , e1), ( ti , e2), …, ( ti , em)]
the location of S in vector space model is a
functionof proximities from the reference
emotions of all theelements of the sentence.
•  web based proximity measure
v_emax = max{SEL j1,n {(t1, e1),…, (tn, e1)},...,SEL j1,n {(t1, em),…,(tn, em)}}
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Set Proximity Emotion Recognition
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Emotive Face Recognition with CNN
 Ekman basic Emotion
 Fine-tune a pre-trained neural network (e.g., AlexNet, GoogleNet)
with a set of images related to the table of emotions (transfer
learning) and save the network
 Automatically detect the position of the person's face in the camera
(e.g., via OpenCV)
 Classify the emotions
 Valid also for dogs
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Emotive Face Recognition with CNN
➢ The system is reliable and
useful for the users
➢ CNN are an excellent tool for
processing images in a fast
and accurate way
➢ Even using a commodity
webcam results are very good
➢ The system is made by open
source, well documented and
maintained tools
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Emotions Modeling:
The Emotographic Iceberg
Facial Expression
Context
Awareness
Prior
Experience
Words Used Body Language Voice Characteristics
Senses
Understand
Emotion
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Computer-generated charisma:
Steve Jobs can take you anywhere!
Text-to-speech
synthesis: Synthetic
robot voice
combined with the
acoustic voice
profiles of Steve
Jobs
& Mark Zuckerberg
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Computer-generated charisma:
Steve Jobs can take you anywhere!
30 drivers (University students) knowing the path very well, convinced
or not to take a wrong way by the voices of Steve Jobs and Mark
Zuckerberg.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Computer-generated charisma:
Steve Jobs can take you anywhere!
When the navigation system uses SJ‘s tone of voice…
 26.7 % of all drivers do not abort the test drive at all but follow the
wrong instructions to the very end!
 Drivers show greater trust in the system (= no error) or they do not
blame the system but others!
Perception experiments with
prosodically manipulated TTS
systems are among the first
that clearly show the power
of charismatic speech
melody in perception = not
just on listener ratings but on
listener behavior!
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Errors, bias, and overconfidence
in artificial emotional models
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Confusion of Emotion Recognition
with Mood or Sentiment Analysis
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
• Emotions are not only feelings
• Emotions are not thoughts
• Emotions are not moods
• Emotions are transient: they come
immediately from a stimulus, reach
a peak and then gradually
degrade
Confusion of Emotion Recognition with
Mood or Sentiment Analysis
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Overestimation of the benefits of
emotional machines
Overconfidence in assuming the
emotional nature of “emotional”
machines
Naming «fear» an
if-then instruction
is functionally
imprecise…
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Underestimation of the effects of
well-designed emotional machines
Example: prosodic speech
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Underestimation of the effects of
well-designed emotional machines
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Duplication of concepts reinventing
the wheel
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Oversimplification of
human emotions
Human emotions can list
more than 130 variations.
+surprise=Ekman model
Plutchick model
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Acultural models
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Gendered models
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Open Challenges
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Ethical applications
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Emotion Recognition for Self-Aid
Possible future directions of multidisciplinary problem-
solving opportunities for in Affective Computing and
Emotion Recognition, as they emerge from the
experience of the ACER-EMORE Workshops Series.
RESEARCH PROBLEM
Enhance user consciousness of emotional states,
ultimately support the development of self-aid
applications.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Problems and solutions
▪ Relevant application domains:
 dependencies treatment (DT) (e.g., workaholism,
sexaholism)
 non-violent communication (NVC) for people in leading
roles using e-mail or chat communication
 empathy learning for parents and teachers in the circle-
of-security (COS) caring environment
▪ Suggested solutions:
 facial ER using Convolutional Neural Networks
 semantic text ER
▪ General framework for Emotion Recognition (ER) in
Self-aid in a human-centered approach.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Why Self-Aid applications?
Ethical goals. Emotion Recognition deeply involves the
user’s intimate believes and states, sometimes even
unknown to the same user who can be unaware of
his/her emotional state.
Sound and Incremental approach. The risk is to create a
lot of models and algorithms that reach the same goal
starting from the same primary resources, instead of
advancing the already existent methods and algorithms.
Practical and Helping applications. Find practical
applications to help human beings to live better:
▪ Shortage of funds
▪ Aids for the weakest
▪ Diminish pain
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
General Algorithm
 classifying emotions from sensors data
 ranking the relevance of the detected
emotions concerning the application goal and
the current context
 projecting the consequence of emotions
concerning a specific AC model
 eventually triggering a user emotional
feedback in order to call for a self-aid action, if
the detected emotion appears to affect the
application goals
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
General System Architecture
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
To start mastering Emotion Recognition, or for
collaboration proposals:
Valentina Franzoni
http://orcid.org/0000-0002-2972-7188
valentina.franzoni@dmi.unipg.it
http://dblp.uni-trier.de/pers/hd/f/Franzoni:Valentina
https://www.researchgate.net/profile/Valentina_Franzoni
Subscribe to (like) the Facebook page of our group:
https://www.facebook.com/affectivecomputing
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Appendix:
Achievement of our workshops
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
2 June 2017, Trieste
Emotions in Artificial Intelligence
International Multidisciplinary
workshop on Emotion Recognition
(EMORE) at the 17th International
Conference on Computational
Science and Its Applications
(ICCSA 2017)
Organized by:
Valentina Franzoni, Daniele Nardi, Alfredo Milani, Jordi Vallverdú
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Giulio Biondi, Valentina Franzoni, Valentina Poggioni:
A Deep Learning Semantic Approach to Emotion Recognition Using the IBM
Watson Bluemix Alchemy Language. ICCSA (3) 2017: 718-729
Valentina Franzoni, Giulio Biondi, Alfredo Milani:
A Web-Based System for Emotion Vector Extraction. ICCSA (3) 2017: 653-668
Matteo Riganelli, Valentina Franzoni, Osvaldo Gervasi, Sergio Tasso:
EmEx, a Tool for Automated Emotive Face Recognition Using Convolutional
Neural Networks. ICCSA (3) 2017: 692-704
Banu Yergesh, Gulmira Bekmanova, Altynbek Sharipbay, Manas Yergesh:
Ontology-Based Sentiment Analysis of Kazakh Sentences. ICCSA (3) 2017:669-
677
Zhiyi Ma, Marwa Mahmoud, Peter Robinson, Eduardo Dias, Lee Skrypchuk:
Automatic Detection of a Driver’s Complex Mental States. ICCSA (3) 2017:678-
691
Francesca D’Errico, Isabella Poggi:
“Humble” Politicians and Their Multimodal Communication. ICCSA (3) 2017:705-
717
Published in In Proceedings of ICCSA ’17, Trieste, Italy, July 3-6, 2017. LNCS.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
14 July 2017, Perugia University
Emotions in Artificial Intelligence
Valentina Franzoni, chair
Giulio Biondi, co-chair & techs
Jordi Vallverdú, Spain
Fabio Massimo Botti, Italy
Radoslaw Niewiadovmski, Poland
Alfredo Milani, Italy
Lalit Garg, Malta
Valentina Poggioni, Italy
Workgroup on Affective
Computing (remote kick-off)
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
23 August 2017, Leipzig
Emotions in Artificial Intelligence
International Workshop on
Affective Computing and Emotion
Recognition (ACER) at the
IEEE/WIC/ACM International
Conference on Web Intelligence
(WI 2017)
Organized by:
Valentina Franzoni, Jiming Liu, Alfredo Milani, Daniele Nardi, Roberto Basili
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Published in In Proceedings of WI ’17, Leipzig, Germany, August 23-26, 2017.
Valentina Franzoni, Alfredo Milani, Giulio Biondi:
SEMO: a semantic model for emotion recognition in web objects. WI 2017: 953-
958. DOI: 10.1145/3106426.3109417
Valentina Franzoni, Valentina Poggioni:
Emotional book classification from book blurbs. WI 2017: 931-938.
DOI: 10.1145/3106426.3109422
Juan Manuel Mayor Torres, Evgeny A. Stepanov: Enhanced face/audio emotion
recognition: video and instance level classification using ConvNets and
restricted Boltzmann Machines. 939-946. DOI: 10.1145/3106426.3109423
Valentina Franzoni, Alfredo Milani, Jordi Vallverdú:
Emotional affordances in human-machine interactive planning and
negotiation. WI 2017: 924-930 DOI: 10.1145/3106426.3109421
Alejandro Hernández-García, F. Fernández-Martínez, Fernando Díaz-de-María:
Emotion and attention: predicting electrodermal activity through video visual
descriptors. 914-923. DOI: 10.1145/3106426.3109418
Valentina Franzoni, Yuanxi Li, Paolo Mengoni: A path-based model for emotion
abstraction on facebook using sentiment analysis and taxonomy knowledge. WI
2017: 947-952. DOI: 10.1145/3106426.3109420
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
January 2018
Special issue on
Emotional Machines:
the Next Revolution
in the International Journal on
Web Intelligence (iOS press)
Guest editors:
Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdù
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Published in «Emotional Machines: the Next Revolution», Web Intelligence 2018
https://content.iospress.com/journals/web-intelligence/17/1
Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdú
Emotional machines: The next revolution (editorial)
https://content.iospress.com/art…/web-intelligence/web190395
Banu Yergesh, Gulmira Bekmanova, Altynbek Sharipbay
Sentiment analysis of Kazakh text and their polarity
Osvaldo Gervasi, Valentina Franzoni, Matteo riganelli, Sergio Tasso
Automating facial emotion recognition
Álvaro García-Faura, Alejandro Hernández-García, et al.
Emotion and attention: Audiovisual models for group-level skin response
recognition in short movies
Karan Sharma, Marius Wagner, Claudio Castellini, Egon L. Van den Broek et al.
A functional data analysis approach for continuous 2-D emotion annotations
Alessandro Ansani, Francesca D’Errico, Isabella Poggi
‘You will be judged by the music I hear’: A study on the influence of music on
moral judgement
Francesca D’Errico, Isabella Poggi
Tracking a leader’s humility and its emotions from body, face and voice
Andrea Gorrini, Luca Crociani, Giuseppe Vizzari, Stefania Baldini
Stress estimation in pedestrian crowds: Experimental data and simulations results
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
3 July 2018, Sidney, Australia
International Multidisciplinary
workshop on Emotion Recognition
(EMORE) at the 18th International
Conference on Computational
Science and Its Applications
(ICCSA 2018)
Organized by:
Valentina Franzoni, Alfredo Milani
Co-located with WCES
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
3 July 2019, Saint Petersburg,
Russia
International Multidisciplinary
workshop on Emotion Recognition
and Affective Computing
(ACER/EMORE) at the 19th
International Conference on
Computational Science and Its
Applications (ICCSA 2019)
Organized by:
Valentina Franzoni, Alfredo Milani, Giulio Biondi
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Valentina Franzoni, Alfredo Milani:
Emotion Recognition for Self-aid in Addiction Treatment, Psychotherapy, and
Nonviolent Communication. ICCSA (2) 2019: 391-404
Giulio Biondi, Valentina Franzoni, Osvaldo Gervasi, Damiano Perri:
An Approach for Improving Automatic Mouth Emotion Recognition. ICCSA (1)
2019: 649-664
Oliver Niebuhr, Jan Michalsky:
Computer-Generated Speaker Charisma and Its Effects on Human Actions in a
Car-Navigation System Experiment - or How Steve Jobs' Tone of Voice Can
Take You Anywhere. ICCSA (2) 2019: 375-390
Francesca D'Errico, Oliver Niebuhr, Isabella Poggi:
Humble Voices in Political Communication: A Speech Analysis Across Two
Cultures. ICCSA (2) 2019: 361-374
Chutisant Kerdvibulvech, Sheng-Uei Guan:
Affective Computing for Enhancing Affective Touch-Based Communication
Through Extended Reality. ICCSA (2) 2019: 351-360
Eoghan Furey, Juanita Blue:
The Emotographic Iceberg: Modelling Deep Emotional Affects Intelligent
Assistants & the IoT. ICCSA (7) 2019: 175-180
Published in In Proceedings of ICCSA’19, S.Petersburg Russia, July 3-6, 2019. LNCS.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
14 Oct 2019, Thessaloniki,
Greece
International workshop on
Affective Computing and
Emotion Recognition (ACER)
at ACM/IEEE/WIC Web
Intelligence Conference
(WI2019)
Organized by:
Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdù
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Valentina Franzoni, Jordi Vallverdú, Alfredo Milani:
Errors, Biases and Overconfidence in Artificial Emotional Modeling.
WI (Companion) 2019: 86-90
Valentina Franzoni, Alfredo Milani, Giulio Biondi, Francesco Micheli:
A Preliminary Work on Dog Emotion Recognition.
WI (Companion) 2019: 91-96
Sergio Angelastro, Berardina De Carolis, Stefano Ferilli:
Learning and Predicting User Pairwise Preferences from Emotions and Gaze
Behavior.
WI (Companion) 2019: 72-79
Berardina De Carolis, Francesca D'Errico, Nicola Macchiarulo, Giuseppe
Palestra:
"Engaged Faces": Measuring and Monitoring Student Engagement from Face
and Gaze Behavior.
WI (Companion) 2019: 80-85
Published in In Proceedings of WI ’19, Thessaloniki, Greece, October 14, 2019.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
6 Oct 2019, Bari, Italy
International Workshop on Socio-
Affective Technologies: an
interdisciplinary approach (SAT)
at IEEE Systems, Man, and
Cybernetics Conference
(SMC 2019)
Organized by:
Berardina De Carolis, Francesca D’Errico, Veronica Rossano
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
Valentina Franzoni, Giulio Biondi, Alfredo Milani: Crowd emotional sounds: spectrogram-
based analysis using convolutional neural network. SAT@SMC 2019: 32-36
Concetta Papapicco, Giuseppe Mininni: Impact memes: PhDs humor(e). SAT@SMC 2019:
1-6
Giovanni Boccia Artieri, Gevisa La Rocca: The election day of Pope Francis: between
sentiment and emotions online. SAT@SMC 2019: 7-12
Marinella Paciello, Francesca D'Errico, Giorgia Saleri: Moral struggles in social media
discussion: the case of sexist aggression. SAT@SMC 2019: 13-16
Francesca D'Errico, Manuel Martinez, Carmen D'Anna, Maurizio Schmid, Stella
Mastrobattista, Raffaella Parlongo, Christian Massom: 'Prosocial' virtual reality as tool for
monitoring engagement in intergroup helping situations. SAT@SMC 2019: 17-21
Fabrizio Balducci, Berardina De Carolis, Donato Impedovo, Giuseppe Pirlo: Touch
dynamics for affective states recognition: your smartphone knows how you feel since you
unlock it. SAT@SMC 2019: 22-26
Anne-Marie Brouwer, Ivo V. Stuldreher, Nattapong Thammasan: Shared attention
reflected in EEG, electrodermal activity and heart rate. SAT@SMC 2019: 27-31
Mauro Gaspari, Margherita Donnici: Weekend in Rome: a cognitive training exercise
based on planning. SAT@SMC 2019: 37-41
Berardina De Carolis, Giuseppe Palestra, Olimpia Pino: Facial expression recognition from
nao robot within a memory training program for individuals with mild cognitive
impairment. SAT@SMC 2019: 42-46
Published in In Proceedings of SAT ’19, Bari, Italy, October 6, 2019.
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
3 July 2020, Cagliari, Italy (online
for Covid-19)
International Multidisciplinary
workshop on Emotion Recognition
and Affective Computing
(ACER/EMORE) at the 20th
International Conference on
Computational Science and Its
Applications (ICCSA 2020)
Organized by:
Valentina Franzoni, Alfredo Milani, Giulio Biondi
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
These slides are distributed
under the Creative Commons
licence:
CC BY-SA 4.0
You can use, share and modify
them under the constraints to
cite the original author and
share with the same licence:
WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
https://creativecommons.org
/licenses/by-sa/4.0/deed.en

Más contenido relacionado

Más de Paris Women in Machine Learning and Data Science

Más de Paris Women in Machine Learning and Data Science (20)

An age-old question, by Caroline Jean-Pierre
An age-old question, by Caroline Jean-PierreAn age-old question, by Caroline Jean-Pierre
An age-old question, by Caroline Jean-Pierre
 
Applying Churn Prediction Approaches to the Telecom Industry, by Joëlle Lautré
Applying Churn Prediction Approaches to the Telecom Industry, by Joëlle LautréApplying Churn Prediction Approaches to the Telecom Industry, by Joëlle Lautré
Applying Churn Prediction Approaches to the Telecom Industry, by Joëlle Lautré
 
How to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
How to supervise a thesis in NLP in the ChatGPT era? By Laure SoulierHow to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
How to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
 
Global Ambitions Local Realities, by Anna Abreu
Global Ambitions Local Realities, by Anna AbreuGlobal Ambitions Local Realities, by Anna Abreu
Global Ambitions Local Realities, by Anna Abreu
 
Plug-and-Play methods for inverse problems in imagine, by Julie Delon
Plug-and-Play methods for inverse problems in imagine, by Julie DelonPlug-and-Play methods for inverse problems in imagine, by Julie Delon
Plug-and-Play methods for inverse problems in imagine, by Julie Delon
 
Sales Forecasting as a Data Product by Francesca Iannuzzi
Sales Forecasting as a Data Product by Francesca IannuzziSales Forecasting as a Data Product by Francesca Iannuzzi
Sales Forecasting as a Data Product by Francesca Iannuzzi
 
Identifying and mitigating bias in machine learning, by Ruta Binkyte
Identifying and mitigating bias in machine learning, by Ruta BinkyteIdentifying and mitigating bias in machine learning, by Ruta Binkyte
Identifying and mitigating bias in machine learning, by Ruta Binkyte
 
“Turning your ML algorithms into full web apps in no time with Python" by Mar...
“Turning your ML algorithms into full web apps in no time with Python" by Mar...“Turning your ML algorithms into full web apps in no time with Python" by Mar...
“Turning your ML algorithms into full web apps in no time with Python" by Mar...
 
Nature Language Processing for proteins by Amélie Héliou, Software Engineer @...
Nature Language Processing for proteins by Amélie Héliou, Software Engineer @...Nature Language Processing for proteins by Amélie Héliou, Software Engineer @...
Nature Language Processing for proteins by Amélie Héliou, Software Engineer @...
 
Sandrine Henry presents the BechdelAI project
Sandrine Henry presents the BechdelAI projectSandrine Henry presents the BechdelAI project
Sandrine Henry presents the BechdelAI project
 
Anastasiia Tryputen_War in Ukraine or how extraordinary courage reshapes geop...
Anastasiia Tryputen_War in Ukraine or how extraordinary courage reshapes geop...Anastasiia Tryputen_War in Ukraine or how extraordinary courage reshapes geop...
Anastasiia Tryputen_War in Ukraine or how extraordinary courage reshapes geop...
 
Khrystyna Grynko WiMLDS - From marketing to Tech.pdf
Khrystyna Grynko WiMLDS - From marketing to Tech.pdfKhrystyna Grynko WiMLDS - From marketing to Tech.pdf
Khrystyna Grynko WiMLDS - From marketing to Tech.pdf
 
Iana Iatsun_ML in production_20Dec2022.pdf
Iana Iatsun_ML in production_20Dec2022.pdfIana Iatsun_ML in production_20Dec2022.pdf
Iana Iatsun_ML in production_20Dec2022.pdf
 
41 WiMLDS Kyiv Paris Poznan.pdf
41 WiMLDS Kyiv Paris Poznan.pdf41 WiMLDS Kyiv Paris Poznan.pdf
41 WiMLDS Kyiv Paris Poznan.pdf
 
Emergency plan to secure winter: what are the measures set up by RTE?
Emergency plan to secure winter: what are the measures set up by RTE?Emergency plan to secure winter: what are the measures set up by RTE?
Emergency plan to secure winter: what are the measures set up by RTE?
 
New edge prediction and anomaly-detection in large computer networks
New edge prediction and anomaly-detection in large computer networksNew edge prediction and anomaly-detection in large computer networks
New edge prediction and anomaly-detection in large computer networks
 
transformers_multimodal_ehr.pdf
transformers_multimodal_ehr.pdftransformers_multimodal_ehr.pdf
transformers_multimodal_ehr.pdf
 
meetup_jussieu_sept2022.pdf
meetup_jussieu_sept2022.pdfmeetup_jussieu_sept2022.pdf
meetup_jussieu_sept2022.pdf
 
“NLP and Computer Vision Applications in Consumer Feedback Analysis” by Olesi...
“NLP and Computer Vision Applications in Consumer Feedback Analysis” by Olesi...“NLP and Computer Vision Applications in Consumer Feedback Analysis” by Olesi...
“NLP and Computer Vision Applications in Consumer Feedback Analysis” by Olesi...
 
"Blood flow simulation for clinical applications" by Dr Irene Vignon-Clemente...
"Blood flow simulation for clinical applications" by Dr Irene Vignon-Clemente..."Blood flow simulation for clinical applications" by Dr Irene Vignon-Clemente...
"Blood flow simulation for clinical applications" by Dr Irene Vignon-Clemente...
 

Último

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Último (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

Emotion Recognition in Artificial Intelligence by Valentina Franzoni, Ph.D. in Engineering for Computer Science, Research Fellow in Artificial Intelligence, adjunct professor in Operative Systems

  • 1. Emotion recognition in artificial intelligence VALENTINA FRANZONI DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE UNIVERSITY OF PERUGIA, ITALY Milan & Paris WiMLDS online meetup June, the 4th 2020 WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 2. - Emotions and Artificial Intelligence - Machine Learning and Data Science approaches - Errors, bias, and overconfidence in artificial emotional models - Open Challenges WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence Seminar overview
  • 3. Emotions and Artificial Intelligence WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 4. Research questions  What are emotions?  How can they be measured in the brain?  How can they be measured in their expressions?  How can they be represented in computer science?  Can they be recognized using Artificial / Web Intelligence? WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 5. Cognitive system input + Emotional (limbic) system input = Decision output What is an «emotion» Cognitive system Emotional system Cognitive system Emotional system situations WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 6. If there is a lion… Cognitive system: “baby lion, maybe mother around.” Emotional system: “AAAWW! CUTE!! I would like to touch it!” Decision system: “better to watch from far.” WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 7. And what if… Cognitive system: “lions running at me!” Emotional system: “FEAR of death! RUN AWAY!” Decision system: “EMERGENCY!” WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 8. Emotions are something that get us to act in a particular way. The “qualia” (feeling) is not needed to run, but it is needed to teach and plan for the future. It’s the internal subjective component of sense of perception, arising from stimulation of the senses by phenomena What are emotions WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 9. - Primitives (modular) - Fast (approximate) - Executed automatically (reactive) - Based on environment (adaptive) - Temporary with learning (evolutionary) - Can be collective and contagious - NOT usual feelings or thoughts - NOT sentiments - NOT moods Emotions in AI perspective WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 10. Machine Learning and Data Science Approaches WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 11. 21 June-27 July 2017, Perugia Emotions in Artificial Intelligence Seminar series on Cyber-emotions at the 6th Summer School organized within Hong Kong Baptist University and University of Perugia, Italy Organized by Valentina Franzoni and Alfredo Milani WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 12. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 13. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 14. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 15. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 16. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 17. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 18. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 19. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 20. Web-based proximity models General idea: Using search engines as a source of information about the frequency of terms (such as Google page counts) Observation: • approximate the probability P(w1)=f(w1)/N where f(w1) is the frequency, N =total of indexed objects Ex. P(gatto)=0.000679 Advantage: • Applicable to all proximity measures based on probability or frequency =cat WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 21. Web-based proximity measures to terms similarity P(x)= f(x) 𝐍 and P(xy)= f(xy) 𝐍 Based on probability P(x) of terms. Easy to compute by the frequency of terms: f(x), f(y) and f(xy) are the frequencies returned from a search engine (e.g. Bing, Google, Yahoo, Wikipedia, Youtube) and N is the total number of indexed documents. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 22. Vector-space Emotion Recognition Let E be a model of emotions EEkman={anger, disgust, fear, joy, sadness, surprise}, then the emotional state of a term t=“kill” is 6-dimensional vector of the proximity of t from the basic emotions. anger sadness disgust joy fear surprise kill WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 23. Set Proximity Emotion Recognition Goal: to assess the emotional load of a sentence S by evaluating the proximity of the set of terms to a set of basic emotions. • S={t1, t2, …,tn} terms in the target sentence • E ={e1, e2, …,em} emotional model v_S= (all i) f[( ti , e1), ( ti , e2), …, ( ti , em)] the location of S in vector space model is a functionof proximities from the reference emotions of all theelements of the sentence. •  web based proximity measure v_emax = max{SEL j1,n {(t1, e1),…, (tn, e1)},...,SEL j1,n {(t1, em),…,(tn, em)}} WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 24. Set Proximity Emotion Recognition WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 25. Emotive Face Recognition with CNN  Ekman basic Emotion  Fine-tune a pre-trained neural network (e.g., AlexNet, GoogleNet) with a set of images related to the table of emotions (transfer learning) and save the network  Automatically detect the position of the person's face in the camera (e.g., via OpenCV)  Classify the emotions  Valid also for dogs WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 26. Emotive Face Recognition with CNN ➢ The system is reliable and useful for the users ➢ CNN are an excellent tool for processing images in a fast and accurate way ➢ Even using a commodity webcam results are very good ➢ The system is made by open source, well documented and maintained tools WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 27. Emotions Modeling: The Emotographic Iceberg Facial Expression Context Awareness Prior Experience Words Used Body Language Voice Characteristics Senses Understand Emotion WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 28. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 29. Computer-generated charisma: Steve Jobs can take you anywhere! Text-to-speech synthesis: Synthetic robot voice combined with the acoustic voice profiles of Steve Jobs & Mark Zuckerberg WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 30. Computer-generated charisma: Steve Jobs can take you anywhere! 30 drivers (University students) knowing the path very well, convinced or not to take a wrong way by the voices of Steve Jobs and Mark Zuckerberg. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 31. Computer-generated charisma: Steve Jobs can take you anywhere! When the navigation system uses SJ‘s tone of voice…  26.7 % of all drivers do not abort the test drive at all but follow the wrong instructions to the very end!  Drivers show greater trust in the system (= no error) or they do not blame the system but others! Perception experiments with prosodically manipulated TTS systems are among the first that clearly show the power of charismatic speech melody in perception = not just on listener ratings but on listener behavior! WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 32. Errors, bias, and overconfidence in artificial emotional models WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 33. Confusion of Emotion Recognition with Mood or Sentiment Analysis WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 34. • Emotions are not only feelings • Emotions are not thoughts • Emotions are not moods • Emotions are transient: they come immediately from a stimulus, reach a peak and then gradually degrade Confusion of Emotion Recognition with Mood or Sentiment Analysis WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 35. Overestimation of the benefits of emotional machines
  • 36. Overconfidence in assuming the emotional nature of “emotional” machines Naming «fear» an if-then instruction is functionally imprecise… WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 37. Underestimation of the effects of well-designed emotional machines Example: prosodic speech WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 38. Underestimation of the effects of well-designed emotional machines WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 39. Duplication of concepts reinventing the wheel WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 40. Oversimplification of human emotions Human emotions can list more than 130 variations. +surprise=Ekman model Plutchick model WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 41. Acultural models WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 42. Gendered models WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 43. Open Challenges WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 44. Ethical applications WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 45. Emotion Recognition for Self-Aid Possible future directions of multidisciplinary problem- solving opportunities for in Affective Computing and Emotion Recognition, as they emerge from the experience of the ACER-EMORE Workshops Series. RESEARCH PROBLEM Enhance user consciousness of emotional states, ultimately support the development of self-aid applications. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 46. Problems and solutions ▪ Relevant application domains:  dependencies treatment (DT) (e.g., workaholism, sexaholism)  non-violent communication (NVC) for people in leading roles using e-mail or chat communication  empathy learning for parents and teachers in the circle- of-security (COS) caring environment ▪ Suggested solutions:  facial ER using Convolutional Neural Networks  semantic text ER ▪ General framework for Emotion Recognition (ER) in Self-aid in a human-centered approach. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 47. Why Self-Aid applications? Ethical goals. Emotion Recognition deeply involves the user’s intimate believes and states, sometimes even unknown to the same user who can be unaware of his/her emotional state. Sound and Incremental approach. The risk is to create a lot of models and algorithms that reach the same goal starting from the same primary resources, instead of advancing the already existent methods and algorithms. Practical and Helping applications. Find practical applications to help human beings to live better: ▪ Shortage of funds ▪ Aids for the weakest ▪ Diminish pain WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 48. General Algorithm  classifying emotions from sensors data  ranking the relevance of the detected emotions concerning the application goal and the current context  projecting the consequence of emotions concerning a specific AC model  eventually triggering a user emotional feedback in order to call for a self-aid action, if the detected emotion appears to affect the application goals WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 49. General System Architecture WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 50. To start mastering Emotion Recognition, or for collaboration proposals: Valentina Franzoni http://orcid.org/0000-0002-2972-7188 valentina.franzoni@dmi.unipg.it http://dblp.uni-trier.de/pers/hd/f/Franzoni:Valentina https://www.researchgate.net/profile/Valentina_Franzoni Subscribe to (like) the Facebook page of our group: https://www.facebook.com/affectivecomputing WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 51. Appendix: Achievement of our workshops WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 52. 2 June 2017, Trieste Emotions in Artificial Intelligence International Multidisciplinary workshop on Emotion Recognition (EMORE) at the 17th International Conference on Computational Science and Its Applications (ICCSA 2017) Organized by: Valentina Franzoni, Daniele Nardi, Alfredo Milani, Jordi Vallverdú WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 53. Giulio Biondi, Valentina Franzoni, Valentina Poggioni: A Deep Learning Semantic Approach to Emotion Recognition Using the IBM Watson Bluemix Alchemy Language. ICCSA (3) 2017: 718-729 Valentina Franzoni, Giulio Biondi, Alfredo Milani: A Web-Based System for Emotion Vector Extraction. ICCSA (3) 2017: 653-668 Matteo Riganelli, Valentina Franzoni, Osvaldo Gervasi, Sergio Tasso: EmEx, a Tool for Automated Emotive Face Recognition Using Convolutional Neural Networks. ICCSA (3) 2017: 692-704 Banu Yergesh, Gulmira Bekmanova, Altynbek Sharipbay, Manas Yergesh: Ontology-Based Sentiment Analysis of Kazakh Sentences. ICCSA (3) 2017:669- 677 Zhiyi Ma, Marwa Mahmoud, Peter Robinson, Eduardo Dias, Lee Skrypchuk: Automatic Detection of a Driver’s Complex Mental States. ICCSA (3) 2017:678- 691 Francesca D’Errico, Isabella Poggi: “Humble” Politicians and Their Multimodal Communication. ICCSA (3) 2017:705- 717 Published in In Proceedings of ICCSA ’17, Trieste, Italy, July 3-6, 2017. LNCS. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 54. 14 July 2017, Perugia University Emotions in Artificial Intelligence Valentina Franzoni, chair Giulio Biondi, co-chair & techs Jordi Vallverdú, Spain Fabio Massimo Botti, Italy Radoslaw Niewiadovmski, Poland Alfredo Milani, Italy Lalit Garg, Malta Valentina Poggioni, Italy Workgroup on Affective Computing (remote kick-off) WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 55. 23 August 2017, Leipzig Emotions in Artificial Intelligence International Workshop on Affective Computing and Emotion Recognition (ACER) at the IEEE/WIC/ACM International Conference on Web Intelligence (WI 2017) Organized by: Valentina Franzoni, Jiming Liu, Alfredo Milani, Daniele Nardi, Roberto Basili WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 56. Published in In Proceedings of WI ’17, Leipzig, Germany, August 23-26, 2017. Valentina Franzoni, Alfredo Milani, Giulio Biondi: SEMO: a semantic model for emotion recognition in web objects. WI 2017: 953- 958. DOI: 10.1145/3106426.3109417 Valentina Franzoni, Valentina Poggioni: Emotional book classification from book blurbs. WI 2017: 931-938. DOI: 10.1145/3106426.3109422 Juan Manuel Mayor Torres, Evgeny A. Stepanov: Enhanced face/audio emotion recognition: video and instance level classification using ConvNets and restricted Boltzmann Machines. 939-946. DOI: 10.1145/3106426.3109423 Valentina Franzoni, Alfredo Milani, Jordi Vallverdú: Emotional affordances in human-machine interactive planning and negotiation. WI 2017: 924-930 DOI: 10.1145/3106426.3109421 Alejandro Hernández-García, F. Fernández-Martínez, Fernando Díaz-de-María: Emotion and attention: predicting electrodermal activity through video visual descriptors. 914-923. DOI: 10.1145/3106426.3109418 Valentina Franzoni, Yuanxi Li, Paolo Mengoni: A path-based model for emotion abstraction on facebook using sentiment analysis and taxonomy knowledge. WI 2017: 947-952. DOI: 10.1145/3106426.3109420 WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 57. January 2018 Special issue on Emotional Machines: the Next Revolution in the International Journal on Web Intelligence (iOS press) Guest editors: Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdù WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 58. Published in «Emotional Machines: the Next Revolution», Web Intelligence 2018 https://content.iospress.com/journals/web-intelligence/17/1 Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdú Emotional machines: The next revolution (editorial) https://content.iospress.com/art…/web-intelligence/web190395 Banu Yergesh, Gulmira Bekmanova, Altynbek Sharipbay Sentiment analysis of Kazakh text and their polarity Osvaldo Gervasi, Valentina Franzoni, Matteo riganelli, Sergio Tasso Automating facial emotion recognition Álvaro García-Faura, Alejandro Hernández-García, et al. Emotion and attention: Audiovisual models for group-level skin response recognition in short movies Karan Sharma, Marius Wagner, Claudio Castellini, Egon L. Van den Broek et al. A functional data analysis approach for continuous 2-D emotion annotations Alessandro Ansani, Francesca D’Errico, Isabella Poggi ‘You will be judged by the music I hear’: A study on the influence of music on moral judgement Francesca D’Errico, Isabella Poggi Tracking a leader’s humility and its emotions from body, face and voice Andrea Gorrini, Luca Crociani, Giuseppe Vizzari, Stefania Baldini Stress estimation in pedestrian crowds: Experimental data and simulations results WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 59. 3 July 2018, Sidney, Australia International Multidisciplinary workshop on Emotion Recognition (EMORE) at the 18th International Conference on Computational Science and Its Applications (ICCSA 2018) Organized by: Valentina Franzoni, Alfredo Milani Co-located with WCES WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 60. 3 July 2019, Saint Petersburg, Russia International Multidisciplinary workshop on Emotion Recognition and Affective Computing (ACER/EMORE) at the 19th International Conference on Computational Science and Its Applications (ICCSA 2019) Organized by: Valentina Franzoni, Alfredo Milani, Giulio Biondi WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 61. Valentina Franzoni, Alfredo Milani: Emotion Recognition for Self-aid in Addiction Treatment, Psychotherapy, and Nonviolent Communication. ICCSA (2) 2019: 391-404 Giulio Biondi, Valentina Franzoni, Osvaldo Gervasi, Damiano Perri: An Approach for Improving Automatic Mouth Emotion Recognition. ICCSA (1) 2019: 649-664 Oliver Niebuhr, Jan Michalsky: Computer-Generated Speaker Charisma and Its Effects on Human Actions in a Car-Navigation System Experiment - or How Steve Jobs' Tone of Voice Can Take You Anywhere. ICCSA (2) 2019: 375-390 Francesca D'Errico, Oliver Niebuhr, Isabella Poggi: Humble Voices in Political Communication: A Speech Analysis Across Two Cultures. ICCSA (2) 2019: 361-374 Chutisant Kerdvibulvech, Sheng-Uei Guan: Affective Computing for Enhancing Affective Touch-Based Communication Through Extended Reality. ICCSA (2) 2019: 351-360 Eoghan Furey, Juanita Blue: The Emotographic Iceberg: Modelling Deep Emotional Affects Intelligent Assistants & the IoT. ICCSA (7) 2019: 175-180 Published in In Proceedings of ICCSA’19, S.Petersburg Russia, July 3-6, 2019. LNCS. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 62. 14 Oct 2019, Thessaloniki, Greece International workshop on Affective Computing and Emotion Recognition (ACER) at ACM/IEEE/WIC Web Intelligence Conference (WI2019) Organized by: Valentina Franzoni, Alfredo Milani, Daniele Nardi, Jordi Vallverdù WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 63. Valentina Franzoni, Jordi Vallverdú, Alfredo Milani: Errors, Biases and Overconfidence in Artificial Emotional Modeling. WI (Companion) 2019: 86-90 Valentina Franzoni, Alfredo Milani, Giulio Biondi, Francesco Micheli: A Preliminary Work on Dog Emotion Recognition. WI (Companion) 2019: 91-96 Sergio Angelastro, Berardina De Carolis, Stefano Ferilli: Learning and Predicting User Pairwise Preferences from Emotions and Gaze Behavior. WI (Companion) 2019: 72-79 Berardina De Carolis, Francesca D'Errico, Nicola Macchiarulo, Giuseppe Palestra: "Engaged Faces": Measuring and Monitoring Student Engagement from Face and Gaze Behavior. WI (Companion) 2019: 80-85 Published in In Proceedings of WI ’19, Thessaloniki, Greece, October 14, 2019. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 64. 6 Oct 2019, Bari, Italy International Workshop on Socio- Affective Technologies: an interdisciplinary approach (SAT) at IEEE Systems, Man, and Cybernetics Conference (SMC 2019) Organized by: Berardina De Carolis, Francesca D’Errico, Veronica Rossano WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 65. Valentina Franzoni, Giulio Biondi, Alfredo Milani: Crowd emotional sounds: spectrogram- based analysis using convolutional neural network. SAT@SMC 2019: 32-36 Concetta Papapicco, Giuseppe Mininni: Impact memes: PhDs humor(e). SAT@SMC 2019: 1-6 Giovanni Boccia Artieri, Gevisa La Rocca: The election day of Pope Francis: between sentiment and emotions online. SAT@SMC 2019: 7-12 Marinella Paciello, Francesca D'Errico, Giorgia Saleri: Moral struggles in social media discussion: the case of sexist aggression. SAT@SMC 2019: 13-16 Francesca D'Errico, Manuel Martinez, Carmen D'Anna, Maurizio Schmid, Stella Mastrobattista, Raffaella Parlongo, Christian Massom: 'Prosocial' virtual reality as tool for monitoring engagement in intergroup helping situations. SAT@SMC 2019: 17-21 Fabrizio Balducci, Berardina De Carolis, Donato Impedovo, Giuseppe Pirlo: Touch dynamics for affective states recognition: your smartphone knows how you feel since you unlock it. SAT@SMC 2019: 22-26 Anne-Marie Brouwer, Ivo V. Stuldreher, Nattapong Thammasan: Shared attention reflected in EEG, electrodermal activity and heart rate. SAT@SMC 2019: 27-31 Mauro Gaspari, Margherita Donnici: Weekend in Rome: a cognitive training exercise based on planning. SAT@SMC 2019: 37-41 Berardina De Carolis, Giuseppe Palestra, Olimpia Pino: Facial expression recognition from nao robot within a memory training program for individuals with mild cognitive impairment. SAT@SMC 2019: 42-46 Published in In Proceedings of SAT ’19, Bari, Italy, October 6, 2019. WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 66. 3 July 2020, Cagliari, Italy (online for Covid-19) International Multidisciplinary workshop on Emotion Recognition and Affective Computing (ACER/EMORE) at the 20th International Conference on Computational Science and Its Applications (ICCSA 2020) Organized by: Valentina Franzoni, Alfredo Milani, Giulio Biondi WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence
  • 67. These slides are distributed under the Creative Commons licence: CC BY-SA 4.0 You can use, share and modify them under the constraints to cite the original author and share with the same licence: WiMLDS online meeting - June 2020 Valentina Franzoni – Emotion Recognition in Artificial Intelligence https://creativecommons.org /licenses/by-sa/4.0/deed.en