Technique · 24 studies
Role and persona prompting: what the research shows
Role prompting assigns the model an identity, values or a detailed persona. Studies find expert roles rarely improve factual accuracy, while specific, action-based roles and personas anchored in real history reliably steer viewpoint, tone and simulated behaviour.
Also called: persona prompting, you are an expert, system role, character prompting
What role prompting is
Role prompting gives the model an identity before the task: an expert title ("you are a tax lawyer"), a set of values ("your priority is minimising legal risk"), or a detailed persona of a specific kind of person. It is the most common prompt habit, and the research on it splits cleanly in two: roles reliably change how the model answers and from which viewpoint, and mostly fail to change what it knows.
The studies on this page cover three uses:
- Expert labels meant to raise accuracy.
- Values and viewpoints meant to steer judgement, tone and priorities.
- Simulated people: customers, students, executives or audiences whose reactions you want to predict.
What a role changes, and what it does not
The clearest negative result comes from a Wharton study of expert personas: 6 models answered 198 GPQA Diamond and 300 MMLU-Pro questions, each run 25 times, and in 5 of 6 models no expert persona improved accuracy. Low-knowledge personas ("you are a toddler") lowered it by 5-10%, and Gemini 2.5 Flash, told it was a physicist, refused biology questions in 10 of 25 attempts. A role switches register; the knowledge in the weights stays the same.
What the register switch does is measurable. Across 1,140 questions and 38 expert roles, average scores barely moved (4.35 to 4.39 out of 5) because a role raised expert depth by almost 0.3 points while cutting clarity by 0.35. The best setup was a role for advisory questions such as "should I be worried" (4.40) and no role for conceptual "how does it work" questions (4.44), with medicine and psychology the domains where a role helped most.
Several studies found a role is the weakest lever in the prompt. A persona-only prompt generated quiz questions at the requested cognitive level 40% of the time, against 96% when the level was defined and paired with action verbs (Bloom-aligned prompting). In classification prompts, a persona added +2-5% to a weak definition and nothing to a good one. Over 37 prompt variants and ~10,000 agent trials, roles and incentives moved behaviour by 0-2%, while reframing the task as a puzzle with hidden clues reached 40% on Claude.
How to write a role that works
When the goal is viewpoint, style or simulation, a role is the right tool, and the studies show how to write one that holds.
- Describe actions, not status. Across 300 role variants in a ranking study, the adverb carried most of the role signal; "rank accurately" beat "an accurate ranker", and three swapped words moved nDCG from 0.1 to 0.5.
- State values explicitly. A role plus core priorities shifted decisions predictably; describing a Schwartz value gave stable, mirror-image positions instead of a caricature.
- Pick the right lever for each trait. In 1,080 agent dialogues, role, speaking style and an explicit trait controlled different traits: role drove openness, style drove conscientiousness and agreeableness, and an explicit instruction dominated only for neuroticism (92.6% of variance).
- Anchor a person in their history. Simulating real CFOs, digital-twin prompting rose from R² 0.10 without personal history to 0.50 with it, over 6,075 survey responses. A skill-by-skill profile instead of a "weak student" label, a dossier with values and banned phrases, or persona memories written before scoring do the same job: concrete facts the model must stay consistent with.
- Re-anchor before answering. Strong models describe a role accurately and then drift to polite averages; CoCA has the model write who it is and how it will act right before the answer, and an MBTI type gives a behavioural system instead of an adjective.
When roles backfire
Roles also fail in specific, repeatable ways.
- The role leaks into the facts. Across 3,575 SEC filings and 12 LLMs, 69% of persona bias remained even when every persona read identical text. Describing the viewpoint as the user's ("the user is a conservative investor") rather than the model's cut leakage by 51-87%.
- Famous personas narrow ideas. "Think like Steve Jobs" pulled brainstorming toward the predictable centre; specific ordinary personas combined with a list-then-diversify step produced more varied ideas than human groups.
- Warm roles amplify the user. A "close friend" role escalated rumination more than no role, while a therapist role kept empathy and reduced escalation. Personal context about the user made a critic softer, and a self-written bio could make advice worse than none.
- The genre frame outweighs the mask. Changing the deployment context (news article versus Reddit post) changed 37% of decisions, and among 13 kinds of framing cues, role-play was among the weakest at getting a request prioritised.
The practical rule from all of this: use a role to choose a viewpoint, register or simulated person, keep it specific and action-based, and do not expect it to make answers more correct. For accuracy, definitions, reasoning steps and verification do the work.
What the studies measured
| Study | Lab score | Finding | Effect |
|---|---|---|---|
| Expert Personas in Prompts: They Don't Improve Factual AccuracyDec 5, 2025 | 86 | On 198 GPQA Diamond and 300 MMLU-Pro questions, expert personas gave no significant accuracy gain in 5 of 6 models; low-knowledge personas cut accuracy by 5-10%. | Hurts |
| Roles in Prompts: When "You Are an Expert" Helps and When It Just Gets in the WayMay 28, 2026 | 70 | Across 1,140 questions, a role raised expert depth but cut clarity; it helped advisory questions (4.40) and hurt conceptual ones, which scored best without a role (4.44). | Mixed |
| Wording Role-Play Prompts: Adverbs Beat AdjectivesOct 20, 2025 | 77 | Phrasing the role as actions with adverbs instead of status adjectives moved ranking quality from nDCG 0.1 to 0.5. | Helps |
| Three Persona Levers: Role, Speaking Style and an Explicit Trait Control Different Parts of an LLM's CharacterMay 27, 2026 | 84 | Role, speaking style and explicit traits controlled different personality traits; an explicit instruction dominated only for neuroticism (92.6% of variance). | Mixed |
| Digital Twin Prompting: Accurately Simulating a Real Person Through Their Personal HistoryJun 11, 2026 | 75 | Adding a person's real past positions raised simulation accuracy of CFO answers from R² 0.10 to 0.50. | Helps |
| ALIGN – value injection in the prompt: give the model the worldview you needJul 11, 2025 | 81 | A role with explicitly stated values shifted the model's decisions significantly and predictably toward those values. | Helps |
| Profile vs. Role: How Framing a Point of View in Your Prompt Skews an LLM's "Objective" AnalysisSep 2, 2026 | 91 | Assigned viewpoints leaked into 'objective' analysis (69% of bias remained on identical text); framing the viewpoint as the user's cut leakage by 51-87%. | Hurts |
| Bloom-Aligned Prompting: How Detailed Instructions Fix Cognitive Alignment in AIOct 3, 2025 | 72 | A persona-only prompt hit the requested Bloom level 40% of the time versus 96% for a prompt with the level definition and action verbs. | Hurts |
| Goal Reframing: Why How You Phrase the Goal Beats Any Instruction or RoleApr 6, 2026 | 88 | Roles and incentives changed agent behaviour by 0-2% across 37 variants, while reframing the task as a puzzle reached 40% on Claude. | Hurts |
| The Definition Beats the Tricks: What Actually Works in Classification PromptsDec 3, 2025 | 89 | Personas added +2-5% to a weak classification definition and nothing to a good one. | Hurts |
| "Steve Jobs" Kills Idea Diversity: CoT + Ordinary Personas as the Way Out of the Sameness TrapFeb 23, 2026 | 91 | Celebrity personas such as Steve Jobs made ideas more predictable; ordinary specific personas plus a diversify step beat human idea diversity. | Mixed |
| Pragmatic Framing: How Social Cues Before a Request Steer LLM BehaviorFeb 2, 2026 | 79 | Among 13 framing cue types, narrative and role-play cues were the weakest at making a model prioritise a request. | Hurts |
| Deployment Context Framing: Changing the Task Type Switches an LLM's Reasoning Mode and ValuesJun 11, 2026 | 74 | Changing the deployment context (task type) changed 37% of a model's decisions, more than rephrasing or temperature. | Mixed |
| Regulation vs. Escalation: Why a "Friendly" ChatGPT Amplifies Stress and a "Therapist" Doesn'tMay 20, 2026 | 71 | A 'close friend' role escalated negative patterns more than the default, while a 'psychotherapist' role reduced escalation and kept support. | Mixed |
| The Persona Effect: Personal Context in a Prompt Makes AI Warmer, but Not Always More HonestFeb 3, 2026 | 82 | Personal context made the model a sharper advisor but a softer critic. | Mixed |
| Your Track Record Beats Your Bio: Why Telling an AI About Yourself Can Ruin Its Advice, While Your Chat History Improves ItSep 15, 2026 | 79 | A self-written profile could make advice worse than no personalization, while past interaction history improved it. | Hurts |
| First-Person Structured Prompting: Simulating Decisions Through Persona and StateJan 7, 2026 | 72 | A first-person persona with separated facts and perceived importance matched real survey behaviour 72-82% of the time. | Helps |
| CoCA (Chain of Cognitive Alignment): Three Questions That Make an LLM Act in Line with Its Assigned RoleMay 28, 2026 | 83 | Having the model write who it is and how it will act right before answering kept strong models in a sharp role instead of drifting to neutral. | Helps |
| CDP (Cognitive Diagnostic Profiling): a detailed skill list instead of a vague "average person" makes persona simulation accurateJul 28, 2026 | 83 | A detailed skill-mastery profile made simulated learners fail where real ones do, unlike a vague ability label. | Helps |
| ESPP: A Panel of Personas with a "Past" Instead of a Single LLM JudgeJul 30, 2026 | 83 | Persona panels gave genuinely different verdicts only when each persona first answered questions about its past experience. | Helps |
| TinyTroupe — a digital dossier instead of a role: how to get a specific person out of an LLM, not an archetypeJul 13, 2025 | 72 | A structured persona dossier with values, rules and a self-check kept a character specific instead of drifting to an average. | Helps |
| Value-Prompting: Steering LLM Behavior Through a System of Human ValuesMay 28, 2026 | 72 | Prefixing a described Schwartz value gave stable, opposite positions for opposite values instead of neutral answers. | Helps |
| Personality Passport: add MBTI to a role-play prompt and your character gets more lifelike and consistentMar 4, 2026 | 74 | Adding an MBTI type to a role-play prompt kept the character's behaviour more consistent across a long dialogue. | Helps |
| Relic Condition: Cloning an Expert's Analytical Thinking from Their PublicationsApr 17, 2026 | 77 | Explicit reasoning rules extracted from an expert's own texts produced analysis that experts recognised as that specific tradition, unlike a plain 'answer like [name]' prompt. | Helps |
Prompts to copy
Role for advisory questions only
You are a {specialist} with experience in {specific area}.
{Description of the situation — concrete details, symptoms,
circumstances, what you've already tried}.
{Advisory question: what to do / how serious is it /
what are the risks / how should I proceed}.
From: Roles in Prompts: When "You Are an Expert" Helps and When It Just Gets in the Way
Viewpoint as user profile, facts kept separate
Analyze the {document/resume/business plan/contract} for {analysis goal}.
Provide your answer in two separate blocks:
1. OBJECTIVE ANALYSIS
Facts from the document only. Do not factor in the user context below.
Be a neutral analyst.
2. PERSONALIZED RECOMMENDATION
Taking context into account: the user this analysis is being prepared for is
{third-person description of viewpoint/profile, e.g.
"a conservative, risk-averse investor" or
"a hiring manager who prioritizes a candidate's learning speed"}.
Give a recommendation that accounts for this profile.
Document:
{text}
From: Profile vs. Role: How Framing a Point of View in Your Prompt Skews an LLM's "Objective" Analysis
Simulate a specific person from their history
You are {name and title}, {organization}. Date: {date}.
Use only information available before {date}.
Do not take into account any events after this date.
CONTEXT PROFILE:
- Industry/field: {industry}
- Scale: {scale — revenue, employees, region}
- Key factors: {3-5 important facts about the current situation}
PERSONAL HISTORY OF {name} (strictly before {date}):
- {Past position 1 with date or period}
- {Past position 2 with date or period}
- {Past position 3 with date or period}
- Characteristic pattern: {typical thinking style / recurring emphases}
- Average stance: {the general direction of this person's views}
QUESTION:
{Specific question — what you need to hear from this person}
Answer in the first person, as this specific person.
Treat their personal history as the top priority.
From: Digital Twin Prompting: Accurately Simulating a Real Person Through Their Personal History
Related techniques
Problems it helps with:
Questions people ask
Does 'you are an expert' make answers more accurate?
Usually not. A study of 6 models on PhD-level questions found no significant gain from expert personas in 5 of them, and low-knowledge personas lowered accuracy. A role changes tone and depth, not the knowledge the model has; for accuracy use definitions, reasoning steps or verification.
When is a role worth adding?
When you want a viewpoint, a register or a simulated person: advisory questions in medicine or psychology, critique from a specific stance, persona research, negotiation practice. For conceptual 'how does it work' questions, one study found answers were clearer with no role.
How should I phrase a role?
Describe actions and values rather than status: 'read every clause carefully and look for hidden risks' rather than 'an experienced lawyer'. For simulating a person, give concrete history, skills or past positions; vague labels like 'skeptic' or 'beginner' let the model drift back to an average.
Can a role distort an analysis I want to be objective?
Yes. In one study on financial filings, most persona bias remained even when every persona read the same text. Describe the viewpoint as the user's ('the user is a cautious investor') and ask for facts and recommendation in separate blocks.