Preprint
Machine Learning

EmotionPrompt

Cheng Li, Jin-Dong Wang, Yixuan Zhang, Kai-Jie Zhu, Wenxin Hou, Jian-Xun Lian, Fang Luo, Qiang Yang, Xing-Xu Xie
July 14, 2023277 citations

277

Citations

27

Influential Citations

—

Venue

2023

Year

Abstract

Emotional intelligence significantly impacts our daily behaviors and interactions. Although Large Language Models (LLMs) are increasingly viewed as a stride toward artificial general intelligence, exhibiting impressive performance in numerous tasks, it is still uncertain if LLMs can genuinely grasp psychological emotional stimuli. Understanding and responding to emotional cues gives humans a distinct advantage in problem-solving. In this paper, we take the first step towards exploring the ability of LLMs to understand emotional stimuli. To this end, we first conduct automatic experiments on 45 tasks using various LLMs, including Flan-T5-Large, Vicuna, Llama 2, BLOOM, ChatGPT, and GPT-4. Our tasks span deterministic and generative applications that represent comprehensive evaluation scenarios. Our automatic experiments show that LLMs have a grasp of emotional intelligence, and their performance can be improved with emotional prompts (which we call"EmotionPrompt"that combines the original prompt with emotional stimuli), e.g., 8.00% relative performance improvement in Instruction Induction and 115% in BIG-Bench. In addition to those deterministic tasks that can be automatically evaluated using existing metrics, we conducted a human study with 106 participants to assess the quality of generative tasks using both vanilla and emotional prompts. Our human study results demonstrate that EmotionPrompt significantly boosts the performance of generative tasks (10.9% average improvement in terms of performance, truthfulness, and responsibility metrics). We provide an in-depth discussion regarding why EmotionPrompt works for LLMs and the factors that may influence its performance. We posit that EmotionPrompt heralds a novel avenue for exploring interdisciplinary knowledge for human-LLMs interaction.

Analysis

Why This Paper Matters

Large language models (LLMs) have demonstrated remarkable capabilities across diverse tasks, yet whether they can genuinely grasp psychological emotional stimuli remains an open question. This paper takes a first step toward exploring LLMs' emotional intelligence by introducing EmotionPrompt, a simple yet effective technique that combines original prompts with emotional stimuli. The significance lies in bridging human-like emotional understanding with machine performance, potentially unlocking new ways to enhance LLM outputs without architectural changes.

The work is timely given the rapid adoption of LLMs in real-world applications where emotional context often matters. By showing that emotional prompts can boost performance across both deterministic and generative tasks, the authors challenge the notion that LLMs are purely logical processors. This has implications for prompt engineering, human-AI interaction, and the broader pursuit of artificial general intelligence.

Moreover, the paper's comprehensive evaluation across multiple models (including GPT-4 and ChatGPT) and 45 tasks provides robust evidence for the effectiveness of emotional stimuli. The inclusion of a human study further validates the approach on qualitative metrics like truthfulness and responsibility, which are critical for deployment.

Technical Contributions

  • EmotionPrompt method: A straightforward augmentation of prompts with emotional stimuli (e.g., phrases conveying urgency or encouragement) that requires no model fine-tuning.
  • Extensive empirical evaluation: Testing on 45 tasks spanning deterministic (e.g., Instruction Induction, BIG-Bench) and generative applications using six LLMs.
  • Human study design: A study with 106 participants assessing generative task quality on performance, truthfulness, and responsibility.
  • Analysis of influencing factors: Discussion of why EmotionPrompt works and what factors may modulate its effectiveness.

Results

The automatic experiments show substantial gains: 8.00% relative improvement in Instruction Induction and a striking 115% relative improvement in BIG-Bench. These improvements are consistent across various LLMs, indicating broad applicability. The human study corroborates these findings, with an average 10.9% improvement in performance, truthfulness, and responsibility metrics for generative tasks. While the abstract does not provide per-task breakdowns, the reported metrics suggest that emotional prompts can meaningfully enhance LLM outputs, particularly in tasks requiring nuanced judgment.

Significance

This work opens a novel avenue for interdisciplinary research at the intersection of psychology and AI. It suggests that LLMs may possess a form of emotional intelligence that can be leveraged through prompt design. Practically, EmotionPrompt offers a low-cost, model-agnostic technique for improving LLM performance, which could be readily adopted by practitioners. The findings also raise important questions about the nature of emotional understanding in LLMs and the ethical implications of using emotional manipulation in prompts. Overall, this paper lays the groundwork for future explorations of human-LLM interaction and emotional intelligence in artificial systems.