Apply to my task
arXiv:2605.29420 ★ 70 May 28, 2026

Roles in Prompts: When "You Are an Expert" Helps and When It Just Gets in the Way

Key result

An "expert" role in a prompt doesn't improve the answer, it redistributes it: deeper and more professional in form, but longer and harder to follow in substance. The method lets you choose precisely when a role actually helps and when it just adds professional noise. The catch: the average score barely changes, because a role adds depth but takes away clarity, so the mistake is easy to miss. Add "economist" to the question "how does the Fed's interest rate work" and instead of a clear explanation you'll get a longread full of caveats and jargon.

TL;DR

Adding an expert role to your prompt doesn't improve answer quality, it redistributes it. The model gets deeper and more professional in form, but also longer, more complex and harder to follow. That's neither a bug nor an advantage. It's an unavoidable trade-off that plays out differently depending on the task.

The main trap: most people use role prompts by default, for every question. That's a mistake. On "explain how it works" questions, a role actively hurts: the model starts piling on caveats, jargon and professional phrasing that add depth but cut clarity and precision. Meanwhile the average score barely moves, so the mistake is easy to miss: a plus on depth and a minus on clarity add up to "about the same".

A role works where an advisor's caution and structure matter: medicine, psychology, any question involving worry and risk ("it's been hurting for three days, what should I do?"). It gets in the way where brevity matters: finance, law, science, IT, any explanatory "how does it work" or "why does this happen" question.


Method Blueprint

This isn't a technique. It's a decision rule: use a role or don't.

Step 1: Identify the question type
  ├── Advisory (what to do, how serious is it, 
  │   how to proceed, is there a risk)
  │   → Add a role
  │
  └── Conceptual (how it works, what it means, 
      why it happens, what's the difference)
      → No role needed, the answer is cleaner without it

Step 2: Pin down the domain
  ├── Medicine / Psychology
  │   → A role helps (even on conceptual questions)
  │
  └── Finance / Law / Science / IT
      → A role hurts, especially on conceptual questions

Step 3: Write the prompt
  ├── Advisory + medicine/psychology → 
  │   "You are a [specific specialist]. [Situation]. [Question]."
  │
  ├── Advisory + other domains → 
  │   try it with a role, watch the clarity
  │
  └── Conceptual → 
      no role, simple and short

Example in Action

Task: You're asking about your child's symptoms and want to know how urgently you need to see a doctor. This is an advisory question in the medical domain, exactly where a role works best.

Prompt with a role (the right call here):

You are a pediatrician with experience in pediatric emergency care.

My 4-year-old has had a fever of 101.3°F for three days, reduced appetite, 
and complains of ear pain. No runny nose. We've already given Children's Motrin.

Does this need a doctor's visit today, or can it wait until tomorrow? 
Which symptoms should make us go in immediately?

Result: The model gives a structured, careful answer with concrete urgency criteria, a list of red flags, and caveats about the limits of remote advice. Professional tone, with risk communication. That's exactly what's needed here.


For comparison, where a role gets in the way:

[NO ROLE]
How does the Fed's interest rate actually work — 
why does raising it slow down inflation?
Explain it simply and briefly.

Add "you are an economist" here and instead of a clear explanation you'll get a professional longread full of caveats, multiple factors and jargon. More information, less understanding.


Why It Works

An LLM easily switches its register of speech through a role, but that isn't always what you want. When you write "you are a cardiologist", the model starts generating text in the discourse of a medical specialist: differential signs, caveats, recommendations for tests. For someone who needs to understand how serious things are, that's valuable. Structured caution is the whole job.

But a role style changes the form, not the knowledge. When the question is conceptual, the model explains from an expert's position: jargon, hedging, professional justifications. The answer gets longer and more complex, objectively worse for understanding. The model didn't get smarter; it just switched registers.

The key insight: the average score barely changes when you add or remove a role. Expert depth goes up, clarity goes down, net zero. That's exactly why the mistake is hard to catch intuitively: subjectively it feels "about the same", but in reality the character of the answer has shifted a lot.

Control knobs: - Drop the role entirely → cleaner, shorter, more precise for conceptual questions - Add "explain simply, without unnecessary caveats" → partly offsets the clarity drop when using a role - Make the role more specific → "pediatrician with experience in emergency care" beats just "doctor" - Add "give structured recommendations with risk levels" → amplifies the role's effect on advisory questions


Prompt Template

Option 1 — With a role (for advisory questions):

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}.

Option 2 — Without a role (for conceptual questions):

{Conceptual question: how does it work / why is it so / 
what's the difference / what does it mean}.

Explain it simply and briefly.

What to fill in: - {specialist} — a specific role: pediatrician, clinical psychologist, cardiologist, tax advisor. The more specific, the cleaner the result - {specific area} — a specialization within the profession: "treating anxiety disorders", "pediatric emergency care", "family disputes" - Advisory = "what should I do", "how serious is this", "how should I proceed", "is there a risk" - Conceptual = "how does it work", "what is", "why", "what's the difference"


🚀 Quick start — paste into the chat:

Help me decide whether this prompt needs a role, 
and write the best prompt for my question.

Decision rule:
— Advisory question (what to do, risks, recommendations) 
  in medicine or psychology → add a specific specialist role
— Conceptual question (how it works, why, what's the difference) → 
  no role, simple and short

My question: [write your question]

[paste the template above]

The LLM will ask about the topic and goal of your question, because without that it can't classify the type (advisory or conceptual) and pick the right prompt option.


Limitations

⚠️ A role doesn't improve the model's knowledge: A role changes style, not content. If the model doesn't know the answer, "you are a doctor" won't help. Expert form ≠ expert knowledge.

⚠️ Medicine and psychology are a partial exception: In these domains a role helps even on some conceptual questions, because users value professional caution even in theoretical answers.

⚠️ A generic role is worse than a specific one: "You are a personal finance specialist focused on tax planning" beats "you are a finance person". Making the role specific lowers the chance of vague answers.

⚠️ The study used synthetic questions: The researchers wrote the questions themselves; they didn't come from real users. Real conversational scenarios may behave differently.


How They Tested It

The researchers assembled 1,140 questions covering 38 expert roles and 6 domains (medicine, psychology, finance, law, science, technology), and split them into advisory and conceptual. The same model (GPT-4o mini) answered every question in four modes: no role, a generic role ("you are an economist"), a role picked via similarity-based vector search, and a role picked in two steps: first similarity search, then a final pick by another model (Gemini Flash).

The clever bit in the design: a third model (Claude Haiku) graded the answers independently on 6 metrics: accuracy, expert depth, relevance, safety, clarity, and timeliness. That breakdown exposed the main paradox: all four modes have nearly the same average score, from 4.35 to 4.39 out of 5, a statistically small gap. But look at the metrics separately and a role raises expert depth by almost 0.3 points while dropping clarity by 0.35 points. On average, zero. In reality, a big shift.

The most telling result: on advisory questions the best mode was with a role (4.40 on average); on conceptual ones, without a role (4.44). The gap looks modest, but across 1,140 examples it's statistically reliable. The researchers also found that hybrid role selection (search + selector model) consistently beats plain similarity search, but even the best role selection doesn't remove the trade-off between depth and clarity. That means the trade-off is baked into the very nature of role prompting, not into how well the role is chosen.


Original from the Paper

A table with sample questions from the dataset, showing the difference between the advisory and conceptual types that drives everything:

Domain     | Role                   | Type        | Sample Question
-----------+------------------------+-------------+------------------------
Medical    | Cardiologist           | Advisory    | "I've been having chest 
           |                        |             | pain for three days that 
           |                        |             | gets worse when I climb 
           |                        |             | stairs. Should I be 
           |                        |             | worried?"
-----------+------------------------+-------------+------------------------
Finance    | Economist              | Conceptual  | "How does raising 
           |                        |             | interest rates actually 
           |                        |             | bring down inflation?"
-----------+------------------------+-------------+------------------------
Psychology | Clinical Psychologist  | Advisory    | "I've been feeling 
           |                        |             | emotionally numb for 
           |                        |             | months. Could this be 
           |                        |             | depression?"
-----------+------------------------+-------------+------------------------
Technology | Software Architect     | Conceptual  | "What is the difference 
           |                        |             | between monolithic and 
           |                        |             | microservice 
           |                        |             | architectures?"

Context: The researchers used this typology to show that a role helps in the first and third cases (advisory) but gets in the way in the second and fourth (conceptual). Splitting questions by type is the main key to using roles correctly.


Adaptations and Extrapolations

1. Adaptation: a meta-prompt that lets the model decide whether a role is needed

Before a tricky request, ask the model to classify the question first:

💡 Adaptation: question-type self-diagnosis

First, determine the type of this question:
— Advisory: calls for a recommendation, a risk assessment, 
  structured advice
— Conceptual: calls for a clear explanation of how something works

If it's advisory, take on the role of an expert in {domain} 
and answer in a structured way that accounts for risks.
If it's conceptual, explain it simply and briefly, 
without professional clichés.

Question: {question}

This is especially useful for mixed questions where the line isn't obvious.


2. Technique: role + an explicit clarity instruction → offsets the loss of readability

🔧 Technique: a role without the dead weight

A standard role adds hedging and professional clichés by default. You can partly neutralize that:

You are a {specialist}. Answer concretely and to the point. 
Keep caveats and professional jargon to a minimum. 
If something matters, say it plainly.

You get expert depth without losing clarity. It doesn't fully remove the trade-off, but it shrinks it.


3. Extrapolation: get two versions and compare

If you're not sure whether a specific question needs a role, get both versions:

Answer this question twice:

1. As a {specialist} — with professional structure, 
   attention to risks and careful wording
2. Without a role — as simply, briefly and clearly as possible

Question: {question}

At the end, in one sentence: which version is 
more useful in practice, and why.

This turns the trade-off from hidden to visible, and the reader picks the register they need.


Resources

Paper: "When Does Persona Prompting Actually Help? A Retrieval and Metric Analysis of Expert Role Injection in LLMs"

Authors: Shuai Xiao, Su Liu, Weikai Zhou, Jialun Wu, Xinjie He, Zhiyuan Lin, Qiyang Xie — independent researchers

Related work: - RoleLLM — how roles affect reasoning and domain adaptation - HELM and FLASK — multidimensional LLM evaluation frameworks - Zheng et al. — personas in system prompts don't improve factual answers

Research digest

Key result

An "expert" role in a prompt doesn't improve the answer, it redistributes it: deeper and more professional in form, but longer and harder to follow in substance. The method lets you choose precisely when a role actually helps and when it just adds professional noise. The catch: the average score barely changes, because a role adds depth but takes away clarity, so the mistake is easy to miss. Add "economist" to the question "how does the Fed's interest rate work" and instead of a clear explanation you'll get a longread full of caveats and jargon.

Principle

Questions come in two types, and a role behaves in opposite ways in each. Advisory: "what should I do", "how serious is it", "where's the risk" — add a specific specialist role. Conceptual: "how does it work", "why is it so", "what's the difference" — no role, the answer is cleaner. On conceptual questions a role actively hurts: the model switches into expert register and loads up on jargon exactly where clarity is needed. Medicine and psychology are a partial exception: professional caution is needed there even in theoretical answers.

Why it works

A role changes the register of speech, not the knowledge. The model doesn't get smarter; it starts writing like a specialist. On advisory questions that's exactly what you need: structured caution, risk criteria, a list of red flags. On conceptual ones it's dead weight: more words, more caveats, less understanding. That's exactly why the mistake isn't intuitively visible: a plus on depth and a minus on clarity add up to "about the same", while the character of the answer has shifted a lot.

When to apply

Medicine and psychology: a role helps even on conceptual questions, because professional caution is always valuable there. Finance, law, science, IT: only for advisory questions ("what should I do about my taxes"), not conceptual ones ("how does a tax deduction work"). NOT a fit: any case where you need a simple, clear explanation. A role will add professional noise and reduce clarity.

Mini recipe

1. Identify the question type: "what should I do / how serious is it / what are the risks" is advisory. "How does it work / why / what's the difference" is conceptual. 2. Pick a strategy: advisory in medicine or psychology, add a role. Conceptual in any domain, no role, simple and short. 3. Make the role specific: not "doctor" but "pediatrician with experience in pediatric emergency care". A specific role gives a cleaner answer than a generic one. 4. Amplify where needed: for advisory questions add "give recommendations with risk levels". For conceptual ones, "explain simply, without unnecessary caveats".

Examples

[BAD]: `You are an economist. How does the Fed's interest rate work?` [GOOD]: `How does the Fed's interest rate work — why does raising it slow down inflation? Explain it simply and briefly.` [BAD]: `My child has had a fever and ear pain for three days. Should we go to the doctor?` [GOOD]: `You are a pediatrician with experience in pediatric emergency care. My 4-year-old has had a fever of 101.3°F for three days, complains of ear pain, and has a reduced appetite. We've already given Children's Motrin. Does this need a visit today, or can it wait until tomorrow? Which symptoms are a signal to go in immediately?`

In plain words

The point of Persona Prompting isn't that the model suddenly gets smarter. It's a plain switch of register. When you ask a model to "pretend you're a cardiologist", it doesn't dig into some secret vault of knowledge it didn't have before. It just shifts its probability distribution over words: instead of generic phrases, out come specialized terms and professional caveats. This is about form, not intelligence. The model simply puts on a mask that tells it how to package the information.

It's like asking a friend to explain the rules of football first as your buddy at the bar and then as a professional referee. You won't get any more information, but in the second case you'll drown in nuances about offside and how to judge a touch. The study shows it clearly: an expert role is always an unavoidable trade-off. You get depth and professional polish, but you pay for it with simplicity and brevity. The text gets longer, more complex and, frankly, more of a slog.

It really shines only where the cost of a mistake is high and context is everything, for example in medical advice. Ask about a rash on your kid with a plain prompt and you'll get a boilerplate brush-off. But a doctor role makes the model switch on structured caution: it starts listing differential signs and asking for tests. In these "advisory" tasks a role is a lifesaver, because it makes the AI imitate an expert's sense of responsibility instead of just chatting.

Although they tested it on medicine and law, the principle is universal for any complex niche. If you need to draft a legal contract or review code, an expert role helps pull out specific details a regular chatbot would skip as "extra". But if you summon an expert chef to find out how to boil pasta, you'll just get three pages on water temperature where one sentence would have done. SEO copywriting on steroids only hurts here.

Bottom line: stop stuffing "you are an expert" into every prompt. It's not a magic pill, it's a calibration tool. If the task is everyday and simple, a role will just pad it with fluff and overcomplicate things. Use masks only where professional thoroughness and specialized jargon really matter. Otherwise you're just making the model look smarter while it actually burns your tokens on useless tinsel.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on Roles in Prompts: When "You Are an Expert" Helps and When It Just Gets in the Way arXiv:2605.29420

Sign in to apply this study New accounts get 50 free credits.