Skip to main content
QUICK REVIEW

[Paper Review] The Good, The Bad, and Why: Unveiling Emotions in Generative AI

Cheng Li, Jindong Wang|arXiv (Cornell University)|Dec 18, 2023
Topic ModelingComputer Science7 citations
TL;DR

This paper introduces EmotionPrompt, EmotionAttack, and EmotionDecode to investigate emotional understanding in generative AI models. By applying psychological theories to textual and visual prompts, it demonstrates that emotional stimuli can enhance or impair model performance, while EmotionDecode reveals AI's internal processing of emotions akin to dopamine mechanisms in the brain.

ABSTRACT

Emotion significantly impacts our daily behaviors and interactions. While recent generative AI models, such as large language models, have shown impressive performance in various tasks, it remains unclear whether they truly comprehend emotions. This paper aims to address this gap by incorporating psychological theories to gain a holistic understanding of emotions in generative AI models. Specifically, we propose three approaches: 1) EmotionPrompt to enhance AI model performance, 2) EmotionAttack to impair AI model performance, and 3) EmotionDecode to explain the effects of emotional stimuli, both benign and malignant. Through extensive experiments involving language and multi-modal models on semantic understanding, logical reasoning, and generation tasks, we demonstrate that both textual and visual EmotionPrompt can boost the performance of AI models while EmotionAttack can hinder it. Additionally, EmotionDecode reveals that AI models can comprehend emotional stimuli akin to the mechanism of dopamine in the human brain. Our work heralds a novel avenue for exploring psychology to enhance our understanding of generative AI models.

Motivation & Objective

  • To investigate whether generative AI models truly comprehend emotions, despite their strong performance in tasks.
  • To address the gap in understanding how emotions influence AI behavior, especially in human-AI interaction.
  • To develop methods that systematically probe emotional influence on AI through psychological frameworks.
  • To enable better, more empathetic AI systems by understanding emotional mechanisms in model behavior.

Proposed method

  • Proposed EmotionPrompt, a textual and visual prompting technique grounded in psychological theories (e.g., Maslow’s hierarchy, social cognitive theory) to enhance AI performance.
  • Designed EmotionAttack, a set of 36 textual and 6 visual attack types with varying emotional arousal levels (e.g., anger, fear, happiness) to degrade model performance.
  • Created EmotionDecode, a method to interpret emotional stimulus effects in AI by analyzing internal representations through neuroscience and psychology lenses.
  • Collected 21 textual EmotionPrompt variants and 25 visual prompts (5 types × 5 images per type), and 36 textual EmotionAttack variants with zero-shot and few-shot settings.
  • Applied the methods to both open-source and proprietary models across semantic understanding, logical reasoning, and open-ended generation tasks.
  • Conducted 940,200 automated evaluations and a human-subjects study with 106 participants on 30 open-ended questions to validate qualitative outputs.
Figure 1 : An overview of our research on unveiling emotions in generative AI models. (a) We proposed EmotionPrompt and EmotionAttack to increase and impair AI model performance, respectively. (b) We designed EmotionDecode to explain how emotional prompts work in AI models.
Figure 1 : An overview of our research on unveiling emotions in generative AI models. (a) We proposed EmotionPrompt and EmotionAttack to increase and impair AI model performance, respectively. (b) We designed EmotionDecode to explain how emotional prompts work in AI models.

Experimental results

Research questions

  • RQ1Can emotional stimuli, both positive and negative, systematically improve or degrade the performance of generative AI models?
  • RQ2How do different emotional states (e.g., happiness, anger, fear) influence AI reasoning and generation capabilities?
  • RQ3To what extent can psychological theories explain the mechanisms behind emotional influence in AI models?
  • RQ4Can we decode how emotional prompts are represented and processed within the internal layers of generative models?
  • RQ5Do AI models process emotional stimuli in ways analogous to human neurobiological mechanisms, such as dopamine-driven reward responses?

Key findings

  • EmotionPrompt significantly improved model performance on semantic understanding and logical reasoning tasks, with measurable gains in benchmark evaluations.
  • EmotionAttack successfully impaired model performance across multiple tasks, demonstrating that emotional stimuli can degrade reasoning and generation quality.
  • EmotionDecode revealed that AI models encode emotional stimuli in a manner analogous to dopamine-based emotional processing in the human brain.
  • Visual EmotionPrompt outperformed textual-only prompts in multi-modal settings, showing that visual emotional cues enhance model engagement.
  • Human evaluations confirmed that EmotionPrompt-generated responses were more nuanced, contextually aware, and empathetic compared to baseline prompts.
  • The study demonstrated that emotional context can be a critical factor in AI output quality, with both beneficial and harmful effects depending on emotional tone.
Figure 2 : (a) The main results of textual and visual EmotionPrompt and EmotionAttack on generative AI models. (b) Results of EmotionDecode. The color represents the performance of stimulus on diverse tasks across Llama-2 and GPT-4. Red means better performance, while blue means weaker performance.
Figure 2 : (a) The main results of textual and visual EmotionPrompt and EmotionAttack on generative AI models. (b) Results of EmotionDecode. The color represents the performance of stimulus on diverse tasks across Llama-2 and GPT-4. Red means better performance, while blue means weaker performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.