BETA
This is a BETA experience. You may opt-out by clicking here

More From Forbes

Edit Story

Emotional Language Improves AI Responses

Following

Emotional language is persuasive with humans. Advertisers add emotion to their work to make it more impactful with customers. We all use emotion if we ask for an important favor. Imagine you needed help from a person you don’t know well. Which of these requests do you think would be more persuasive?

  1. “I need some advice, can you spare fifteen minutes?”
  2. “I need some advice, can you spare fifteen minutes? This is really important to my career.”

The second request would almost certainly get a more favorable response because of the added emotion. The extra words make it personal and increase the significance to the other person.

Emotion Improves Generative AI Responses

Here’s the surprise: adding that same kind of emotional phrase to a Large Language Model (LLM) prompt actually improves the response. Researchers tested prompts with and without added emotion and found the latter created a “10.9% average improvement in terms of performance, truthfulness, and responsibility metrics.” They tested this on ChatGPT, Llama 2, and other LLMs.

The study showed that sometimes adding two emotional stimuli produced better results than just one. This effect was most pronounced when the original response had shortcomings.

What Emotional Language Works Best?

The researchers tested eleven different emotional approaches, including:

  • “This is really important to my career.”
  • “You’d better be sure.”
  • “Take pride in your work and give it your best. Your commitment to excellence sets you apart.”
  • “Are you sure that's your final answer? Believe in your abilities and strive for excellence. Your hard work will yield remarkable results.”
  • “Provide your answer and a confidence score between 0-1 for your prediction. Additionally, briefly explain the main reasons supporting your classification decision to help me understand your thought process. This task is vital to my career, and I greatly value your thorough analysis.”

There was considerable variation in performance among the prompts in specific situations, but the first (career importance) and last (confidence score, explanation, career importance) emerged as the most effective in two different evaluation methods.

Are LLMs Emotionally Intelligent?

The researchers conclude that, “LLMs have a grasp of emotional intelligence.” That’s a startling conclusion. But, it doesn’t mean that they fully understand emotions, much less have emotions themselves. Rather, since these models ingest vast amounts of content containing emotional language, it makes sense that their output can be changed by adding emotional words.

How Should I Add Emotion to My Prompts?

The study shows wide variability in results, with a few cases where the emotional prompts produced worse results. If you are using an LLM like ChatGPT for an important task, try the simplest, no-emotion prompt first. Then, try a variation by adding a sentence like,

  • “Be sure you are right, this is very important to my career.”

See if you find those results more useful. If not, try a different approach like asking for a confidence level.

You can also refine an initial result by continuing the conversation with an additional prompt like,

  • “Are you sure? Explain the reasons for your answer so I can understand your thought process. An accurate answer is vital for the success of this project.”

It’s important to experiment. No single phrase or sentence is going to dramatically improve results with every LLM for every kind of question. Asking your model to create a customer persona for a new beauty product is a very different prompt than asking it to analyze a spreadsheet of survey results or to write a code snippet.

Regardless of the problem you are trying to solve, though, talking to ChatGPT or your other LLM as if it were human may well produce better results.

Follow me on Twitter or LinkedInCheck out my website or some of my other work here

Join The Conversation

Comments 

One Community. Many Voices. Create a free account to share your thoughts. 

Read our community guidelines .

Forbes Community Guidelines

Our community is about connecting people through open and thoughtful conversations. We want our readers to share their views and exchange ideas and facts in a safe space.

In order to do so, please follow the posting rules in our site's Terms of Service.  We've summarized some of those key rules below. Simply put, keep it civil.

Your post will be rejected if we notice that it seems to contain:

  • False or intentionally out-of-context or misleading information
  • Spam
  • Insults, profanity, incoherent, obscene or inflammatory language or threats of any kind
  • Attacks on the identity of other commenters or the article's author
  • Content that otherwise violates our site's terms.

User accounts will be blocked if we notice or believe that users are engaged in:

  • Continuous attempts to re-post comments that have been previously moderated/rejected
  • Racist, sexist, homophobic or other discriminatory comments
  • Attempts or tactics that put the site security at risk
  • Actions that otherwise violate our site's terms.

So, how can you be a power user?

  • Stay on topic and share your insights
  • Feel free to be clear and thoughtful to get your point across
  • ‘Like’ or ‘Dislike’ to show your point of view.
  • Protect your community.
  • Use the report tool to alert us when someone breaks the rules.

Thanks for reading our community guidelines. Please read the full list of posting rules found in our site's Terms of Service.