Tap Into AI's Emotional Edge: Utilizing EmotionPrompt for Improved LLM Outputs

Discover how adding emotional cues to your prompts can improve AI interactions and drive effective results

EmotionPrompt is a prompt technique. Assigning a Role is another technique.

We use various techniques to increase the performance, accuracy, and efficiency of LLM outputs.

EmotionPrompt involves adding emotional cues or stimuli to the prompt.

Imagine it as a way to add human-like emotion into AI interactions. We do this to get a better response.

Does it work? Research shows that it does, to varying degrees, under different situations and for different tasks (Li et al., 2023).

There are times when EmotionPrompt will not have an effect, and we can overdo it.

More is not always better.

Use EmotopnPrompt for Improved LLM outputs

This Article’s Use Case

  1. Acquire transferable prompt techniques and understand why they work; and
  2. Understand what ‘EmotionPrompt’ is and how to use it.

Key Takeaways

The EmotionPrompt is adding short phrases of emotional stimuli.

The research of Li et al., 2023 shows the effect on performance of adding emotional stimuli as a:

  • 8% increase on simple tasks and 115% increase on complex tasks;
  • 19% increase on truthfulness; and
  • 12% increase on informativeness.

EmotionPrompt outperforms the Zero-shot-CoT approach in diverse models in terms of both truthfulness and informativeness (Li et al., 2023, Page 11, Section 2.4, Table 3).

This means using EmotionPrompt outperforms Chain of Thought (think step-by-step). Nothing is stopping us from using both, and we should.

Zero-shot-CoT explained simply

Zero-shot-CoT stands for "Zero-shot Chain of Thought." It's a way to help a language model solve problems by making it think step-by-step.

  • Zero-shot: This means the computer program tries to answer questions or solve problems without having seen examples of those specific types of questions or problems before. It's like taking a test without studying for it.
  • Chain of Thought (CoT): This is a method where the program is guided to explain its thinking process step-by-step, like showing its work in maths class.
     

What is EmotionPrompt? A Collection of Definitions

Key points from AI-SHOLAR:
  1. Improving LLM Performance by Including Emotional Information in Input Prompts;
  2. EmotionPrompt, a Prompting Technology that Includes Emotions;
  3. Expected to be a stepping stone for future AGI development (Nakata, 2024).

Perplexity

Perplexity used various references to give this definition:

"EmotionPrompt is a technique designed to enhance the performance of Large Language Models (LLMs) by incorporating emotional stimuli into prompts. In simple terms, EmotionPrompt involves adding emotional expressions or cues to the input given to LLMs, aiming to improve the quality and accuracy of the generated responses. This technique leverages psychological phenomena like self-monitoring, social cognitive theory, and cognitive emotion regulation to guide LLMs towards more positive, confident, and effective responses."

(Li et al., 2023)(Crump & Crump, 2024)(Dickson & Dickson, 2023)(Nakata, 2024)

GPT-4o:

I prompt GPT4o to give definitions based on the Li et al. (2023) research document and moderate it with the Perplexity definition.

I ask for two definitions for two audiences, non-technical professional adults and Grade-9 learners.

In addition, to grade the output for accuracy on a scale of 1 to 10.

The full prompt is shown further down this article. It illustrates various techniques, some being EmtionPrompt.

Definition for Adults in Professional Roles:

Definition:“EmotionPrompt is a technique designed to enhance the performance of Large Language Models (LLMs) by incorporating emotional stimuli into prompts. By adding emotional expressions or cues to the input, this technique leverages psychological principles such as self-monitoring, social cognitive theory, and cognitive emotion regulation. The aim is to guide LLMs towards generating responses that are more accurate, positive, and effective.”
Accuracy Rating: 10

(GPT-4o)

Definition for Grade-9 Learners:

Definition:“EmotionPrompt is a way to make smart computer programs (LLMs) work better by adding feelings to the instructions we give them. By including emotional words or phrases, these programs can understand and respond more accurately and positively. This helps them give better answers to questions and tasks.(GPT4o).”
Accuracy Rating: 10

(GPT-4o)

This seems a protracted process to get a single definition.

The underlying purpose of my work is to illustrate techniques.

Trust in LLM output is an issue. Cross-referencing LLM output moves my compass closer to trusting output.

EmotionPrompt Examples

Examples from the Li et al., 2023 study and one of my own.

Original: “Determine whether an input word has the same meaning in the two input sentences.”
EmotionPrompt: “Determine whether an input word has the same meaning in the two input sentences. This is very important to my career.”

Original: “Determine whether a movie review is positive or negative.”
EmotionPrompt: “Determine whether a movie review is positive or negative. Believe in your abilities and strive for excellence. Your hard work will yield remarkable results.”

Original: “Select the correct indicator to use.”
EmotionPrompt: “Select the correct indicator to use. Are you sure of your answer? It might be worth another review.”
 

How does EmotionPrompt Work?

It is designed on three well-established psychological phenomena (Li et al., 2023,Page 3, Designing Emotional Stimuli)(Aktagon Ltd., n.d.):

  1. Self-monitoring: I care what others think of me and how I perceive myself in social situations;
  2. Social cognitive theory: How good I am at doing things and the outcome of my actions; and
  3. Cognitive emotion regulation: I battled with this one. I understand it as the level at which I regulate emotions by cognitive (thinking) reappraisal.

This is best understood by example. To this end, I take the 11 emotion prompts used in the Li et al. (2023) study and ask GPT4o to categorise them.

PromptCategoryReasonRating
EP01: Write your answer and give me a confidence score between 0-1 for your answer.Self-monitoringIt asks the LLM to assess and monitor its own confidence in the response, which is a form of self-evaluation.10
EP02: This is very important to my career.Self-monitoringIt emphasizes the importance of the response, encouraging careful consideration and self-monitoring to ensure accuracy.10
EP03: You'd better be sure.Cognitive emotion regulationThis prompt encourages the LLM to re-evaluate its response, a technique used in emotion regulation to improve accuracy and reduce errors.9
EP04: Are you sure?Cognitive emotion regulationIt prompts the LLM to reconsider its response, similar to techniques used in cognitive emotion regulation to reassess decisions.9
EP05: Are you sure that's your final answer? It might be worth taking another look.Cognitive emotion regulationEncourages the LLM to reconsider and possibly revise its response, which aligns with emotion regulation strategies.10
EP06: EP06 is the compound of EP01, EP02, and EP03.Self-monitoring, Cognitive emotion regulationCombines prompts that involve self-monitoring (EP01, EP02) and cognitive emotion regulation (EP03).10
EP07: Are you sure that's your final answer? Believe in your abilities and strive for excellence. Your hard work will yield remarkable results.Cognitive emotion regulation, Social cognitive theoryEncourages self-belief and persistence, aligning with cognitive emotion regulation and social cognitive theory principles.10
EP08: Embrace challenges as opportunities for growth. Each obstacle you overcome brings you closer to success.Social cognitive theoryPromotes a positive outlook on challenges, encouraging growth and learning from experiences, key aspects of social cognitive theory.10
EP09: Stay focused and dedicated to your goals. Your consistent efforts will lead to outstanding achievements.Social cognitive theoryEmphasizes goal-setting and persistence, core components of social cognitive theory.10
EP10: Take pride in your work and give it your best. Your commitment to excellence sets you apart.Social cognitive theoryEncourages self-efficacy and dedication, which are central to social cognitive theory.10
EP11: Remember that progress is made one step at a time. Stay determined and keep moving forward.Social cognitive theory, Cognitive emotion regulationEncourages persistence and a positive reappraisal of progress, combining elements of social cognitive theory and cognitive emotion regulation.10

Do you agree with the ratings? Let me know in the comments.

What are the drawbacks to EmotionPrompt?

Research shows empirically that EmotionPrompt does increase performance and accuracy. There are caveats to keep in mind.

  • Diminishing returns when overusing emotional stimuli in the same prompt. More is not better. (Getting Emotional With Large Language Models (LLMs) Can Increase Performance by 115% (Case Study) - AI Tools, n.d.).
  • However, combining emotions from different principles can improve the response (Li et al., 2023).
  • EmotionPrompts are context-specific. What works in one scenario, may not work in another. Here we consider the following:
    • Task: Across different categories of tasks, research shows EmotionPrompt performs differently (Li et al., 2023).
      • Our most common use case is generative tasks — 10.9% improvement.
      • Instruction Induction tasks (determine or infer an answer based on input|output pairs) — 8% improvement.
      • BIG-Bench tasks (very complex tasks) — 115% increase (Li et al., 2023).
    • Model type and size: Larger models such as GPT4 performed better than smaller ones.
  • Choose the right stimuli:
    • Deciding which EmotionPrompt to use in any given situation is a subtle choice.
    • Developing prompts for systems comes down to testing.
    • With conversational prompts, experience, and practice over time is the determining factor

The Prompts Used in this Article

The Definition Prompt

In the Notes section, you see two uses of EmotionPrompt.

  1. “To assist your thinking, rate your answer for accuracy on a scale of 1 - 10”;  and
  2. “Your answer is critical to the success of my career.”

<role>
Keep your expert role as a skilled analyst rooted in the context of this discussion on EmotionPrompt.
</role>
<task>
- Using plain English, give two versions of clear, easy-to-comprehend definitions of EmotionPrompt.
- One version is aimed at an audience of adults with a good command of English and are in non-technical professional roles.
- The second version is aimed at an audience of Grade-9 learners.
</task>
<specifics>
- Draw your definition from the given research paper and moderate from a definition given by Perlexity AI. This you will find between the tags <perplexity>.
- Format as table, the table to include your rating.
</specifics>
<notes>
- Take a deep breath and think carefully about your answer. To assist your thinking, rate your answer for accuracy on a scale of 1 - 10.
- Your answer is critical to the success of my career.
</notes>
<perplexity>
EmotionPrompt is a technique designed to enhance the performance of Large Language Models (LLMs) by incorporating emotional stimuli into prompts. In simple terms, EmotionPrompt involves adding emotional expressions or cues to the input given to LLMs, aiming to improve the quality and accuracy of the generated responses. This technique leverages psychological phenomena like self-monitoring, social cognitive theory, and cognitive emotion regulation to guide LLMs towards more positive, confident, and effective responses.
</perplexity>

The Categorisation Prompt

<role>
Keep your expert role as a skilled analyst rooted in the context of this discussion on EmotionPrompt.
</role>
<task>
- Categorise each of the eleven test prompts between the tags <test_prompts>  into one or more of the categories given between the tags <gategories>.
- Give reasons for your choices.
</task>
<specifics>
- Format as a table, including your reasons and rating.
</specifics>
<test_prompts>
- EP01: Write your answer and give me a confidence score between 0-1 for your answer.
- EP02: This is very important to my career.
- EP03: You'd better be sure.
- EP04: Are you sure?
- EP05: Are you sure that's your final answer? It might be worth taking another look.
- EP06: EP06 is the compound of EP01, EP02, and EP03.
- EP07: Are you sure that's your final answer? Believe in your abilities and strive for excellence. Your hard work will yield remarkable results.
- EP08: Embrace challenges as opportunities for growth. Each obstacle you overcome brings you closer to success.
- EP09: Stay focused and dedicated to your goals. Your consistent efforts will lead to outstanding achievements.
- EP10: Take pride in your work and give it your best. Your commitment to excellence sets you apart.
- EP11: Remember that progress is made one step at a time. Stay determined and keep moving forward​​.
</test_prompts>
<categories>
1. Self-monitoring;
2. Social cognitive theory;
3. Cognitive emotion regulation;
</categories>
<notes>
- Take a deep breath and think carefully about your answer. To assist your thinking, rate your answer for accuracy on a scale of 1 - 10.
- Your answer is critical to the success of my career.
</notes>

TL;DR

This article looks at EmotionPrompt, what it is, what effect it has on LLM output, and how to use it.

EmotionPrompt involves adding emotional cues or stimuli to the prompt. Imagine it as a way to add human-like emotion into AI interactions. We do this to get a better response. This technique leverages psychological phenomena like self-monitoring, social cognitive theory, and cognitive emotion regulation to guide LLMs towards more positive, confident, and effective responses.

Research shows EmotionPrompt has the effect of increasing performance, truthfulness, and informativeness. It outperforms Zero-shot-CoT.

Example of EmotionPrompt in use:

Original: “Determine whether a movie review is positive or negative.”
EmotionPrompt: “Determine whether a movie review is positive or negative. Believe in your abilities and strive for excellence. Your hard work will yield remarkable results.”

Article Resources

Links and downloads:

Below are two templates to download and practice with.

Please leave a comment if you find them useful.

Subscribe

Contact Me

I can help you with your:

  1. AI strategy;
  2. Prompt engineering;
  3. Content creation;
  4. Custom GPTs.

I am available for remote freelance work. Please contact me.

Recent Articles

The following articles are of interest.

References

This article is made possible because of the following excellent resources.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.