When "A Helpful Assistant" Is Not Really Helpful: Personas in System Prompts Do Not Improve Performances of Large Language Models

Mingqian Zheng, Jiaxin Pei, Lajanugen Logeswaran, Moontae Lee, David Jurgens

Abstract

While persona-based prompting is a common practice in Large Language Model (LLM) engineering, its impact on factual accuracy remains poorly understood. This study evaluates 162 personas across multiple model families (Llama-3, Mistral, Qwen2.5) using the Massive Multitask Language Understanding (MMLU) dataset. Results indicate that assigning a persona generally fails to improve performance on objective tasks, often resulting in neutral or negative effects. Interestingly, framing the prompt for a specific audience is more effective than assigning a role to the model itself.

Introduction

If you’ve used ChatGPT or Claude, you’ve likely seen (or written) system prompts that begin with "You are a [Role]." This technique, known as persona-based prompting, is a staple of the AI industry. The assumption is that by "priming" the model with a specific identity or domain expertise, it will tap into relevant knowledge more effectively.

However, most evidence for this has been anecdotal or focused on subjective qualities like tone and style. This research addresses a more rigorous question: Does giving an LLM a persona actually make it smarter or more accurate when answering objective, factual questions? Or are we just adding "fluff" to our prompts?

Methods

The researchers conducted a massive, systematic evaluation to move beyond anecdotes:

  • The Personas: They curated a list of 162 roles, split into 112 occupations (e.g., "software engineer," "doctor") and 50 interpersonal roles (e.g., "mother," "coach").
  • The Models: They tested 9 open-source models from 4 major families: FLAN-T5, Llama-3, Mistral, and Qwen2.5, ranging from 3B to 72B parameters.
  • Datasets: The study utilized a balanced subset of the Massive Multitask Language Understanding (MMLU) dataset, covering 2,410 factual questions across 26 subjects.
  • Statistical Rigor: Instead of just looking at raw averages, they used mixed-effects regression models to account for the inherent variability between different LLMs.

Key Insights

The "Helpful Assistant" is Neutral at Best

In most cases, adding a persona had either no effect or a small negative effect on accuracy compared to a simple prompt with no role at all. The study found that for any given question, there is usually a "best" persona that yields the right answer, but this persona is highly idiosyncratic. A role that helps on one question might hurt on another, and even advanced classifiers could not predict the best role better than random chance.

Audience over Speaker

Interestingly, "Audience-Specific" prompts (telling the model who it is talking to) performed slightly better than "Speaker-Specific" prompts (telling the model who it is). This suggests that framing the context of the conversation might be more effective than forced role-play.

Comparison of accuracy gains between audience-specific and speaker-specific prompts.

Key Results

Performance Gap and Model Sensitivity

Across all models, the "No Role" control setting was consistently among the top performers. Larger models (like Llama-3-70B) actually showed more negative sensitivity to personas than smaller models. Qwen2.5-72B was the most "stubborn," showing almost no change in accuracy regardless of the persona used.

The distribution of persona effects (positive, negative, or none) across different model families.

Social Constructs and Predictors

Gender-neutral, in-domain, and work-related roles tended to perform better than gendered or "family" roles. However, the effect sizes were tiny. Traditional metrics like word frequency (how common the role name is) and prompt-question similarity were very weak predictors of whether a persona would work.

Limitations and Future Work

The authors acknowledge several constraints:

  1. Closed-Source Models: The study focused on open-source models. While these are representative, the behavior of proprietary models like GPT-4 remains an open question.
  2. Objective Tasks Only: The study only looked at factual accuracy. Personas are still highly valuable for stylistic tasks, such as writing in a specific tone.
  3. Prompt Diversity: There may be specific, highly engineered persona prompts (e.g., "Chain of Thought" combined with a persona) that perform better than the templates tested here.

Conclusion

If you're building a system where factual accuracy is the priority, the data suggests you should stop worrying about the "persona" in your system prompt. You are likely better off keeping instructions simple and focusing on the clarity of the task itself rather than the identity of the assistant.

Summary updated

BibTeX
@inproceedings{zheng2024when,
  author = {Mingqian Zheng and Jiaxin Pei and Lajanugen Logeswaran and Moontae Lee and David Jurgens},
  title = {{When "A Helpful Assistant" Is Not Really Helpful: Personas in System Prompts Do Not Improve Performances of Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.888},
}
Figure