cs.AIApr 2, 2026

Do Emotions in Prompts Matter? Effects of Emotional Framing on Large Language Models

Authors: Minda Zhao, Yutong Yang, Chufei Peng, Rachel Gonsalves, Weiyue Li, Ruyi Yang, Zhixi Liu, Mengyu Wang

Organizations: Harvard University. · Bryn Mawr College.

Abstract

Emotional tone is pervasive in human communication, yet its influence on large language model (LLM) behaviour remains unclear. Here, we examine how first-person emotional framing in user-side queries affect LLM performance across six benchmark domains, including mathematical reasoning, medical question answering, reading comprehension, commonsense reasoning and social inference. Across models and tasks, static emotional prefixes usually produce only small changes in accuracy, suggesting that affective phrasing is typically a mild perturbation rather than a reliable general-purpose intervention. This stability is not uniform: effects are more variable in socially grounded tasks, where emotional context more plausibly interacts with interpersonal reasoning. Additional analyses show that stronger emotional wording induces only modest extra change, and that human-written prefixes reproduce the same qualitative pattern as LLM-generated ones. We then introduce EmotionRL, an adaptive emotional prompting framework that selects emotional framing adaptively for each query. Although no single emotion is consistently beneficial, adaptive selection yields more reliable gains than fixed emotional prompting. Together, these findings show that emotional tone is neither a dominant driver of LLM performance nor irrelevant noise, but a weak and input-dependent signal that can be exploited through adaptive control.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. The Role of Emotional Stimuli and Intensity in Shaping Large Language Model Behavior

    Apr 7, 2026Ameen Patel, Felix Lee, Kyle Liang +1LLM PromptingLLM Safety

  2. Emotion is Not Just a Label: Latent Emotional Factors in LLM Processing

    Mar 10, 2026Benjamin Reichman, Adar Avsian, Samuel Webster +1Emotion Representation in Language ModelsLLM Interpretability

  3. Confirming Our Biases? Evaluating the Capabilities, Risks, and Societal Impact of Large Language Models

    Aug 7, 2026Mudar Adas, Polina Tsvilodub, Michael Franke +1Prompt SensitivityLLM Sycophancy