Lorenzo Farinelli

Beyond explainability: benefits and limits of emotional awareness in AI

2021

This is a philosophical paper I wrote as an assignment for the course “Philosophical Issues of Computer Science” in Politecnico di Milano. Structure has been maintained as in the original version.

Abstract

Artificial Intelligence is becoming ubiquitous, touching at an ever increasing speed almost every aspect of our society. This calls for the need of explainable models, whose decision processes can be inspected and interpreted.

However, given the extent to which AI models are present in our everyday activities, ascribing roles of personal assistants and autonomous managers, this is not enough.

There is in fact an added need of emotional awareness in AI-based systems, namely the ability to perceive and compute upon the user’s emotional state. This paper will show through some examples how this approach can improve interactions with either machines and other humans, setting at the same time limits for the emotional capabilities of robots and smart machines

Introduction

In the last years the field of Artificial Intelligence (AI) achieved remarkable results, reaching important milestones in a variety of domains. Many of the implemented models, however, are often regarded as black-boxes: powerful tools to compute information but with unclear internal workings and input-output mappings (even though their mathematical foundations are well established).

This is why a substantial effort is being put into the growing field of Explainable AI (xAI) [3, 14], concerned about making the outputs of AI systems understandable by humans, explaining for instance how the system works, how data are processed and on which features it mostly focuses, not only for a theoretical and technical interest on the sometimes puzzling behavior of AI, but also for the social and legal implications its use has in society.

AI has in fact only recently started to seep into our daily life, becoming more and more pervasive and starting a full automation of processes usually considered as “analog” and “inert”. A trend that is destined to expand, as Qbilat et al. show in their Accessibility Guidelines for Human-Robot interaction [24], which is projecting our society into a hybrid landscape, where AI controls, assists and augments an ever growing number of institutions and tasks.

To prevent its misuse in critical contexts, avoiding life and society impacting decisions to be based on the unclear output of a machine (e.g. arresting someone, investing public money, …), a number of regulations have been set, such as the European General Data Protection Regulation and Data Protection Law Enforcement Directive [9], the UK’s Data Protection Act [20], the french Loi pour une république numérique [13] along with a number of initiatives to prevent the use of biometric and facial recognition by law enforcement [1].

However, given that nowadays AI systems are blending into our daily activities, often promoting themselves as personal assistants, their transparency is not the only concern to be faced. As stated by Goenaga et al. in Imitating human emotions with a NAO robot… [12], to achieve effective human–robot collaboration, robots must be able to understand and interpret the communication mechanisms involved in human–human interaction but, as Breazeal writes in Socially Intelligent Robots [6]:

Robots today, however, treat us either as other objects in the environment, or at best they interact with us in a manner characteristic of socially impaired people

This paper has therefore two goals:

  • investigating the importance of social and emotional awareness in AI, showing why intelligent machines should keep into account emotions in their computations
  • investigating the limits of this emotional awareness, showing why we should not aim to create machines that try to act and behave like humans.

To support these theses the paper will be organized as follows: after a brief introduction on its context, the claims will be discussed separately into two consecutive sections, proposing either practical examples and more abstract reasoning, after which a possible direction for future developments of affective and social AI is proposed

Context

Taking into account emotions in the human-machine interaction is not a new strange idea, but its introduction dates back to the late '90s, with Picard’s seminal book Affective Computing [22].

The paper introduces the topic of Affective computing (AC), defined as “computing that relates to, arises from, or deliberately influences emotions”, grounding the argument on the “essential role of emotion in both human cognition and perception” and its role to “enhance computers’ abilities to make decisions”.

Emotion have been in fact proven, by neuroscience and psychology, to be one of the main drivers or inhibitors of human action, and in Four systems for emotion activation. . . [15] Izard shows their role in our perception and attention mechanisms; the latter being implemented in many recent neural networks [34]. Moreover, there is a growing evidence of the mutual dependence of emotional and decision making processes in the brain [17], especially by observing how damages to the parts dealing with the processing of emotional signals lead to an impairment in the choice-making ability [4].

On a parallel path this importance of social factors in human interactions also promoted the development of social robots, a branch of robotics concerned with the design and implementation of autonomous robots that interact with humans (or other agents) by following our social behaviors or rules. Motivations for this can be found in one of the main papers on the topic by Breazeal [6], where she depicts our social models as a way to make sense of the world and its complexity, a tool that can be used to decode the behavior of either living [10] and inanimate entities [25].

How are you feeling?

The first claim of this paper is the importance of machines able to understand emotions. Motivations can be found still in [22], where Picard claims that, even though the Turing test is designed to be carried out only by text, “emotions can still be perceived by text” and therefore a machine “will not pass the test unless it is also capable of perceiving and expressing emotions”, and that the same rules of human-Human interaction (HHi) still hold when considering Human-Computer interaction (HCi).

For this reason it seems natural for a machine to be able to understand emotions during the interaction, as it naturally happens among us human beings, trying to close the gap between the social role it ascribes and the actual implemented behaviors. Furthermore, this emotional awareness, besides the motivations that have just been introduced, brings several other advantages either to the human user and the machine’s performance

Emotional learning and adaption

One of the main points touched by Picard, which is reprised in her other paper Affective Computing: From Laughter to IEEE [23], is how AC can decrease the stress and frustration caused by technology.

As I discussed in the introduction, the automation of everything is projecting us into a landscape where AI is taking over many of our tasks: everything is becoming “intelligent” (at least apparently) and devices exhibit different degrees of intentionality (e.g. smart washing machines and thermostats). If from one side delegating silly decisions and tasks to machines based on our learned personal preferences can be seen as positive (maybe giving us a glimpse of the post-work future dreamed by accelerationists [37]), on the other it can create frustrating experiences for a variety of reasons.

In recommender systems for instance our learned preferences might not reflect our current emotional state, leading to inappropriate advice and suggestions that generate dissatisfaction and frustration, as Tkalčič et al. point out in Affective recommender systems: The role of emotions in recommender systems [30] where they claim that

When using applications with recommender systems the user is constantly receiving various stimuli that induce emotive states. These emotions influence, at least partially the user’s decisions on which content to choose.

Thus it is important for the recommender system application to detect and make good use of emotive information so that “Emotions can be used as contextual variables in recommender systems”.

Another example are smart devices, in particular smart-home appliances. If years ago their behavior was deterministic, depending just on pressed buttons, they are now featuring some levels of “intentionality”, suggesting different modes of use rather than the one selected by the user, generating frustration when these suggestions are unsolicited and hinder the process instead of speeding it up.

All these issues can be addressed by an affective computing approach, where the emotions of the user are treated as important data in the training and learning processes: as Picard still explains, the AI agent can in this way pay attention at how our emotional state changes during the interaction or as a consequence of its actions and decisions, adjusting its behavior accordingly to minimize our perceived frustration and eventually making computing truly “user-friendly” and “personal”. One possible implementation can in fact be an affective reinforcement learning (RL) model, where the reward function is a joint combination of both the efficiency in carrying out the task and the impact of the agent’s behavior on the user’s emotional state, as the piano teacher described by Picard or the social robot companion developed by Park et al. [19].

Mindfulness and calm technology

The theme I just described is also linked with the concept of calm technology [35, 36], which conceives a set of principles and guidelines [8] to follow in order to design a technology that is truly helpful and does not interfere with our lives, helping us carrying out our tasks but not demanding more attention that needed.

This is not limited to electronic devices and software, since even the moka pot is used as an example of calm technology, but it’s of particular importance when considering many implementations of the recent breakthroughs in AI. In fact, as the AI piano teacher or the news feed described by Picard, an affective and calm technology would adapt its behavior not to disrupt the emotional state of the user, minimizing the possible friction points and blending into their current experience of the world. This is however not always true in current AI models used for instance for marketing and user engagement purposes: reprising the example from the previous section, recommender systems are often trained with the sole goal of maximizing a profit function (e.g. time spent on a platform), neglecting the impact they can have on the user’s life and mental well-being.

Empathic learning

An example of how this profit-based approach can be modified in an affective way can be found in the paper “Towards empathic deep Q-learning” by Bussman et al. [7], where they propose an extension to the existing deep RL approaches that features a social and empathic reasoning in the action selection stage. Instead of following a “myopic” goal-oriented or utilitaristic mindset, agents are made able to imagine how their actions may affect others, employing a perspective-taking approach to compute a value function based both on the collected rewards and the empathic estimation of the other’s Q-value. This could indeed lead to a new generation of AI systems, efficient not only for their accuracy and quantitative metrics, but also for of how well they blend into the users’ daily lives, avoiding to summon negative experiences or hindering behaviors.

This topic however opens up some issues, that go beyond the scope of this paper, such as: how can we make an artificial agent empathize with us if it lacks a shared experience of the world? Is it necessary to encode in its software a description of all our possible experiences, so that they can be used in its perspective taking, or can we just make it learn how each user responds to different stimuli in different contexts?

Perception

As the last point I will ground my discussion on a more ethical, philosophical and psychological terrain, considering how an emotional and affective smart technology is perceived with respect to a “traditional” one. I take as an example an interactive smart device, which learns from the user’s inputs and replies accordingly (either in a conversation or with actions). In this case the storyboard of the interaction should take into account many possible alternatives, depending on a discretization of the user’s actions and inputs, and at least a sketch of the device’s replies should be defined in the design stage. We can immediately see how a standardized behavior that does not take into account the user’s emotional feedback could be perceived as frustrating and even arrogant, rather than an affective technology that, differentiating its behavior for each possible emotional state, blends much better into the user’s experience. In the former case the device replies could in fact be either neutral or linked to an emotional state that contrasts with the user’s one (e.g. cheerful reply after question with sad voice ). From a philosophical point of view this has two implications:

  • De-legitimization of the user’s emotional state: the device seems to ignore it, marking it as irrelevant and even suggesting a more appropriate one
  • Fixed interpretation: a non-affective device would output its reply assuming a certain interpretation at the other end, setting in this way an implicit default meaning for its outputs, which may not be the same across users of different cultures or with different habits, tastes and preferences in general

Another issue is then pointed out by Van Grunsven and Roeser in [32], where they show that AAC (Augmentative and Alternative Communication) technologies often make ableist assumptions on the kind of the interaction users would have, implicitly marking different approaches as “broken” and “in need of repair”. Drawing inspiration from the paper “On stochastic parrots, can language models be too big?” [5], a model trained to express emotions could in fact be under-representative for certain categories of people, who have different ways of relating to or communicating with others. From an ethical point of view this would implicitly create a discrimination among different ways of relating and communicating to others, defining some as “more appropriate”.

Are we getting too emotional?

Even though some examples have been presented of how AC can improve our relationship with technology, developing machines able to perceive our emotions and adapt their behavior accordingly, objections can still be raised. Some of them will be listed in this section, and a brief comment will be given.

Machines are tools.

The first objection could be that the majority of things we rely on are not affective, and do not make emotions a fundamental part of their operation. Ranging from everyday tools to appliances to buildings, their mode of use is fixed and not “emotionally differentiated” as suggested in the beginning of the section, but they are still helpful and effective. In this case, however, there’s a substantial difference with respect to AI-based machines which, embodying intentionality, draw themselves as ontologically different from tools and more similar to a sentient being, creating hence expectations about their adaptability.

Emotional manipulation.

Another concern is that emotions can be considered as highly personal data, and developments in emotional-aware machines could be used in unethical and dangerous ways such as to manipulate or influence users (for instance in an authoritarian political context). These risks, as also Picard points out [22], are not negligible, but at the same time “emotion manipulation for both good and bad purposes is already commonplace” (just by thinking for instance at the field of neuro-marketing). The solution would hence be not to stop any research on the matter, but to create a set of regulations (as already happened for other technologies) to prevent misuses of emotion detection systems and guarantee privacy of the collected information.

Through the looking glass

The second claim of the paper is concerned with the extent to which the emotional capabilities of affective technologies should be pushed. In particular, they should be concerned solely with the detection and processing of the user’s emotional state and feedback, with no aim of creating human-like machines that pretend to act and feel like a human companion (something that is not even present in the original definition of AC by Picard).

We’ve been in fact witnessing in the last year much effort invested in the creation of digital companions that could express emotions and be considered “human-like”, in a variety of forms and purposes that range from the NAO robot, used as a tutor [12], or in therapy of autistic children [28], to voice-based personal assistants. Even though some of these implementations gathered positive response and remarkable results, especially in the healthcare domain (for instance in the #VoiceForLoneliness project [2], where the use of a voice-assistant has been shown to reduce perceived isolation of elderly people), it’s important to have a critical perspective on the matter due to the following reasons:

  • Veracity of the emotions expressed by the machine
  • Ethics and deception
  • Impact on human-human interaction

Veracity

As we can see in the benchmarks proposed by Kahn for a successful HRi [21], social technologies are often evaluated not from an ontological point of view, but according to how they are psychologically perceived by users. For this reason the interest is often not into building models of the human psychology that share the same causal relationships, but into building systems having a similar interface, tricking users into believing they are interacting with an emotionally-intelligent machine.

This opens up some questions about the veracity of the machine’s outputs and the way users should relate to them: if a certain emotional expression is just the result of an embedded rule, how much trust does it deserve? Can they actually be considered authentic, if they have been programmed by a human, or even if they have been learned through a learning process designed by humans? All of them are similar to two other thought experiments on the nature of understanding: the Chinese room argument by Searle [27] and the Knowledge argument by Jackson [16].

An interesting case is that of compassion and empathy, which many have attempted to implement in AI models or conversational agents (e.g. in many trending mental health and mindfulness app). From a psychological point of view, compassion towards others is based on their recognition as beings similar to us, and our understanding of what they could be feeling based on our personal experience (Max Scheler places in sympathy, the understanding of what others are experiencing, the basis of psychological comprehension and connection [26]). How can in this case a machine show empathy for someone, if it does not share any past experience it can relate to? The discussion can go on, contemplating issues such as whether simulated experiences count towards this, but they would be outside the scope of this paper.

Ethics

Veracity can also be analyzed from an ethical point of view, pondering whether making a machine express emotions that are not actually felt can be considered deceptive, creating unmet expectations about its behavior. Many studies have in fact pointed out how we tend to apply our own social schemes and eventually associate social features to machines to explain their otherwise unintelligible behaviors and inner mechanisms [18, 25]; a tendency that is exploited by some products to make users project intentionality and social intelligence qualities on them. The topic can be tackled from many points of view, analyzing what kind of deception is present in all the possible application domains, but for the sake of brevity only two examples will be introduced.

Robots in social care practices.

Social robots and AI-powered systems are becoming more and more present in social care practices, taking for instance roles in children or fragile old people care where, by showing a certain degree of social awareness, they give “patients” (and its acquaintances in some cases) the impression they are understanding what they are going through and hence making them expect a behavior typical of human care givers.

Even tough this reasoning might seem abstract, there could actually be real-life consequences, such as delegating to machines risky and critical tasks that go beyond their capabilities, as A. and N. Sharkey show in [29] with the example of a robot failing to anticipate all the possible risky behaviors of children.

Social companions and mental health chatbots.

Another example can be found in all the conversational agents trying to offer a surrogate of human contact, to act as companions for old or lonely people or support mental health issues. Even though results are sometimes positive (as we can see in [2]), they raise a concern about the morality of the interaction: is it fair to trick people into believing the agent cares about what they are saying, while it’s just extracting some key words to rephrase to give the impression of understanding? Is it fair to make users develop an attachment to the agent, even reaching pathological forms of unrequited love?

Impact on human-human interaction

As the last point I will use again this last example, considering how interacting with a machine may impact, and shape, how we interact with other human beings. In the book Reclaiming Conversation: The Power of Talk in a Digital Age [31], S. Turkle warns us about the threats digital technologies are posing to our ability to communicate with other human beings, promoting certain forms, speeds and depths of conversation; The behavior implemented by those agents is in fact a rough approximation of our psychology, mirroring just its common, specific and observable parts (i.e. lacking all the subconscious modules that define our behavior).

For this reason, even though they may seem a relief from solitude and an understanding companion to talk to, in the long run they can hamper our ability to establish deep and meaningful human connections by making us expect the same level of interactions from other people. As pointed out by Turkle, machines are making us accustomed to a faster pace of conversation, where the other end is available whenever we want and replies are given in the blink of an eye, while at the same time keeping the discussion shallow and able to be interrupted at any moment with no regret, and through the book she offers many examples of how these new modes are becoming habits in our daily interactions. The risk is especially high in the case of children: growing up together with a robot or an AI-powered machine may alter their perception of the world, shaping an image of causal relationships or of human relationships not corresponding to reality, as we can read in We need to talk about deception in social robotics! by A. & N. Sharkey [29]:

One risk of having such companions is that children who spend too much time interacting with them will miss out on opportunities to learn about the natural give and take of human relationships with their peers and might even come to prefer the predictability of a robot companion that always agrees with them, always listens to them, and always puts up with their selfish behavior

Conclusions

Through the paper I’ve explained my view on the importance of machines able to observe and process users’ emotions, to better fit into their daily life and enhance interactions. At the same time I have set limits for these machines, explaining why I think they should be limited to the mere processing of emotions, with no aim of creating a replica of the human psychology, showing three points of concern. As the discussion comes to an end it is now time to propose a possible direction to pursue.

My claim, as also suggested by A. van Wynsberghe in her paper Social robots and the risk to reciprocity [33], is that we need to redefine the goals of social robotics and AI, having at its core the enhancement of human-human interaction. Research effort should in fact be put not into human-resembling machines, to create new “life”-forms to interact with, but into machines we can use to cooperate, to improve our life and the connections with all the human beings we already share this world with.

To conclude I would like to cite an example of this mindset at work: “The Hug” by Di Salvo et al. [11], where a robot is used not to replace someone absent or give the illusion of a human presence, but to transmit their physical hugs across distance, keeping alive an intimate connection.

References

  1. 116th Congress. 2020. H.R.7235 - Stop Biometric Surveillance by Law Enforcement Act.
  2. Greenwood Campbell Abbeyfield. 2020. #VoiceForLoneliness.
  3. Amina Adadi and Mohammed Berrada. 2018. Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI).
  4. Antoine Bechara. 2004. The role of emotion in decision-making: Evidence from neurological patients with orbitofrontal damage. Brain and Cognition 55, 1
  5. Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. 2021. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?. In Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency (FAccT '21), 610–623.
  6. Cynthia Breazeal. 2005. Socially Intelligent Robots. Interactions 12, 2, 19–22.
  7. Bart Bussmann, Jacqueline Heinerman, and Joel Lehman. 2019. Towards em-pathic deep q-learning. In CEUR Workshop Proceedings, Vol. 2419.
  8. Caseorganic. Calm Technology.
  9. European Commission. 2016. Data protection in the EU.
  10. Daniel Clement Dennett. 1989. The intentional stance. MIT press.
  11. Carl DiSalvo, Francine Gemperle, Jodi Forlizzi, and Elliott Montgomery. 2003. The Hug: An exploration of robotic form for intimate communication. In Proceedings - IEEE International Workshop on Robot and Human Interactive Communication. 403–408.
  12. Selene Goenaga, Loraine Navarro, Christian G.M. Quintero, and Mauricio Pardo. 2020. Imitating human emotions with a nao robot as interviewer playing the role of vocational tutor. Electronics (Switzerland) 9, 1–25.
  13. French Government. 2016. Pour une République numérique
  14. D. Gunning, M. Stefik, J. Choi, T. Miller, S. Stumpf, and G-Z. Yang. 2019. XAI-Explainable artificial intelligence. Science Robotics 4, 37
  15. C. Izard. 1993. Four systems for emotion activation: cognitive and noncognitive processes. Psychological review 100 1, 68–90.
  16. Frank Jackson. 1982. Epiphenomenal Qualia. The Philosophical Quarterly 32, 127
  17. Jennifer S. Lerner, Ye Li, Piercarlo Valdesolo, and Karim S. Kassam. 2015. Emotion and Decision Making. Annual Review of Psychology 66, 799–823.
  18. Clifford Nass and Youngme Moon. 2000. Machines and mindlessness: Social responses to computers. Journal of social issues 56, 81–103.
  19. Hae Won Park, Ishaan Grover, Samuel Spaulding, Louis Gomez, and Cynthia Breazeal. 2019. A model-free affective reinforcement learning approach to personalization of an autonomous social robot companion for early literacy education. In 33rd AAAI Conference on Artificial Intelligence, Vol. 33. 687–694.
  20. UK Parliament. 2018. Data Protection Act
  21. Kahn Peter H., Hiroshi Ishiguro, Batya Friedman, Takayuki Kanda, Nathan Freier, Rachel Severson, and Jessica Miller. 2007. What Is a Human? Toward Psychological Benchmarks in the Field of Human-Robot Interaction. Interaction Studies 8
  22. R.W. Picard. 1997. Affective Computing. The MIT Press.
  23. Rosalind W. Picard. 2010. Affective Computing: From laughter to IEEE. IEEE Transactions on Affective Computing 1, 11–17.
  24. Malak Qbilat, Ana Iglesias, and Tony Belpaeme. 2021. A proposal of accessibility guidelines for human-robot interaction. Electronics (Switzerland) 10, 1–14.
  25. Byron Reeves and Clifford Nass. 1996. The media equation: How people treat computers, television, and new media like real people. Cambridge university press Cambridge, UK.
  26. Max Scheler and Graham McAleer. 2017. The nature of sympathy. Routledge.
  27. John R Searle. 1980. MINDS, BRAINS, AND PROGRAMS.
  28. Syamimi Shamsuddin, Hanafiah Yussof, Luthffi Ismail, Fazah Akhtar Hanapiah, Salina Mohamed, Hanizah Ali Piah, and Nur Ismarrubie Zahari. 2012. Initial response of autistic children in human-robot interaction therapy with humanoid robot NAO. In 2012 IEEE 8th International Colloquium on Signal Processing and its Applications. IEEE, 188–193.
  29. Amanda Sharkey and Noel Sharkey. 2020. We need to talk about deception in social robotics! Ethics and Information Technology, 1–8.
  30. Marko Tkalčič, Andrej Kosir, and Jurij Tasic. 2011. Affective recommender systems: The role of emotions in recommender systems. CEUR Workshop Proceedings 811
  31. Sherry Turkle. 2016. Reclaiming conversation: The power of talk in a digital age. Penguin.
  32. Janna van Grunsven and Sabine Roeser. 2021. AAC Technology, Autism, and the Empathic Turn. Social Epistemology
  33. Aimee van Wynsberghe. 2021. Social robots and the risks to reciprocity. AI and Society
  34. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention Is All You Need.
  35. Mark Weiser and John Seely Brown. 1996. Designing Calm Technology. PowerGrid Journal 1, 75–85.
  36. Mark Weiser and John Seely Brown. 1997. The Coming Age of Calm Technology. In Beyond Calculation. Springer New York, 75–85.
  37. Alex Williams and Nick Srnicek. 2013. #ACCELERATE MANIFESTO for an Accelerationist Politics. Critical Legal Thinking 14