Apply to my task
arXiv:2512.03818 ★ 89 Dec 3, 2025

The Definition Beats the Tricks: What Actually Works in Classification Prompts

Key result

The paradox: everyone chases prompting techniques (personas like "you are a psychologist," chains of reasoning), but what really matters is the task definition. The gap between "find gratitude" and a precise definition of what gratitude is = 75% accuracy. Adding "you are an expert" or "let's go step by step" to a bad prompt = +2-5%. On a good prompt these techniques add nothing at all. The method lets you build classification prompts that work an order of magnitude better by iterating over wordings of the definition. The trick: write 5-10 versions of the construct definition by hand → test them on labeled data → take the best one and ask the model to generate 10 more variants → test again → the winner + 3-5 examples with answers. You can't predict the best wording in advance — only empirically.

01

TL;DR

How you define the task in the prompt matters more than any technique. Researchers tested thousands of prompt variants for text classification — from simple tasks (spotting gratitude) to hard ones (finding specific psychological patterns). They compared popular techniques: personas ("You are a psychologist"), chain-of-thought ("let's go step by step"), having the model auto-generate prompts, and few-shot examples.

Personas and CoT barely help. If the base prompt is poorly worded — a fuzzy definition, a vague task — no amount of "let's think step by step" or "you are an expert" will save it. The gap between a bad and a good prompt reached 75% in accuracy. Meanwhile, adding a persona or CoT to a bad prompt gave a boost of 2-5% at most. On a good prompt these techniques added nothing at all.

What works is iterating over wordings. The best results came when they: 1) wrote several versions of the construct definition by hand, 2) tested them on labeled data, 3) took the best version and asked the model to generate more variants, 4) tested again. Few-shot examples (3-5 of them) consistently gave a small boost. You can't predict the best wording in advance — only find it empirically.

Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.

02

Method Blueprint

STEP 1: Write 5-10 versions of the construct definition
→ Vary the wording, structure, emphasis

STEP 2: Test on 20-30 examples with known answers
→ Count the matches with the correct answers

STEP 3: Take the best version → ask the model to generate 10 more variants
→ "Rephrase this definition 10 different ways"

STEP 4: Test all the variants again
→ Pick the final winner

STEP 5 (optional): Add 3-5 few-shot examples
→ A small accuracy boost
03

Example

Task: You're pulling customer feedback on a product that contains specific improvement suggestions (not just "it's bad," but "add feature X" or "fix the bug with Y"). You need to filter hundreds of comments automatically.

Iteration 1 — A bad prompt:

Determine whether this review contains a constructive suggestion.

Text: [customer review]

Answer: Yes or No

Iteration 2 — Sharpened the definition:

A constructive suggestion is when the customer describes:
- A specific feature that should be added
- A specific bug or problem that should be fixed
- A specific change to the interface or how the product works

Does NOT count as a suggestion:
- General praise or criticism without details
- An emotional reaction without saying what to change

Does this review contain a constructive suggestion?

Text: [customer review]

Answer: Yes or No

Iteration 3 — Asked the model to rephrase the best version:

Here is my classification task. Generate 10 alternative wordings of the definition of a "constructive suggestion", varying the structure, emphasis and examples.

[paste the prompt from Iteration 2]

Result: The model gives you 10 variants. You test each one on your 20-30 reviews with known answers (that you labeled yourself), count the match rate and pick the best. The gap between the worst and best variant can be 30-50% accuracy on your data.

04

Why It Works

An LLM doesn't understand the task "in general" — it looks for patterns in your words. If you write "constructive suggestion" without a definition, the model pulls the meaning from its training data — and there it could mean anything. If you define it precisely ("a specific feature" + "a specific bug"), the model knows what to look for.

Popular techniques work by amplifying the base prompt. A persona ("you are a product manager") or CoT ("think step by step") tries to activate extra context from the training data. But if the base definition is blurry, the extra context is blurry too. It's like trying to sharpen a blurry photo — doesn't work. First you need a sharp photo (the definition), then you can polish the details.

You can't predict the best wording because we don't know exactly which patterns the model latched onto in its training data. The word "constructive" can activate one set of patterns, "actionable feedback" another. The only way to find out is to test on real examples.

Control knobs: - Definition structure (list of criteria vs description vs examples) → vary it and test what works - Negative examples ("Does NOT count") → sharpen the boundaries, especially for fuzzy concepts - Few-shot examples (0 vs 3-5) → add them to the final version for +5-10% accuracy - Number of test iterations (5 vs 50 variants) → more iterations = better odds of finding the best prompt

05

Practical Protocol

Step 1: Define the construct as concretely as possible

Instead of abstract words, give an operational definition — what specifically has to be present in the text.

❌ Bad: "toxic comment"
✅ Good: "the comment contains: an insult aimed at a specific person OR a call to violence OR discrimination based on a trait (gender, ethnicity, religion)"

Step 2: Build a test set

Label 20-50 examples by hand. This is your benchmark for comparing prompts. Without it you can't tell which prompt is better.

Step 3: Write 5-10 prompt variants by hand

Vary: - The order of the criteria - The level of detail - Adding/removing negative examples - The format (list vs prose vs table)

Step 4: Test every variant

Run each prompt through your test set. Count the match rate against your labels.

Testing prompt:

Here is my classification prompt:
[your prompt]

Apply it to these texts and output the results as CSV:

Text 1: [text]
Text 2: [text]
...

Response format:
number,result
1,Yes
2,No
...

Step 5: Auto-generate variants of the best prompt

Take the best version from Step 4:

You are helping optimize a text-classification prompt.

Here is the current prompt:
[best version]

It scored 75% accuracy on the test data.

Generate 10 alternative wordings:
- Keep the meaning and the criteria
- Vary the structure, order, examples
- Try different ways of explaining it
- You may add/remove details

Output each variant as a separate block, numbered.

Step 6: Test all the new variants again

Repeat the Step 4 process with the new prompts.

Step 7: Add few-shot examples to the final version

Take the winner and add 3-5 examples with correct answers:

[your best prompt]

Examples:

Text: "Terrible product, everything is bad!"
Answer: No

Text: "Please add an Export to Excel button — right now I have to copy everything by hand"
Answer: Yes

Text: "Bug: clicking 'Save' throws a 404 error"
Answer: Yes

Now classify this text:
[new text]
06

Limitations

⚠️ You need a labeled dataset: Without 20-50 examples with correct answers you can't compare prompts. You'll have to label them by hand.

⚠️ Iteration takes effort: To find the best prompt you need to test dozens of variants. That takes time, though it's a one-time investment.

⚠️ Doesn't work for very rare patterns: If the construct shows up in 2-3% of cases (positive meaning making in the study was at 17%), the model tends to answer "no" almost every time. You need special balancing techniques.

⚠️ Subjective constructs are harder: The more interpretive the task (not "is there a number" but "is there a deep psychological transformation"), the harder it is for the model and the more the precise definition matters.

07

How They Tested It

The team took three classification tasks, from easy to hard. Easy: find gratitude in Reddit posts (an emotion people recognize easily — 75% agreement between annotators). Medium: find negative core beliefs in texts written by people with mental health struggles ("I'm worthless," "the world is dangerous" — 82% agreement). Hard: find positive meaning making — when a person describes growth through trauma ("after my mom died I became stronger" — 70% agreement).

On each task they tested thousands of prompt combinations: base definitions (handwritten and model-generated), personas ("you are a psychologist"), chain-of-thought ("think step by step"), explanations inside few-shot examples, zero-shot vs few-shot. Everything was compared against labels from expert psychologists.

The results were surprising: popular techniques like CoT and personas gave at most a 2-5% boost, and only when the base prompt was bad. The best result came from a combination: write the definition by hand → test variants → take the best → ask the model to generate more variants → test again. The gap between the worst and best prompt reached 75% accuracy on the hard task and 16% on the easy one.

Why: the model looks for patterns in the words of the prompt. Fuzzy words, fuzzy patterns. "Let's think" doesn't make up for "I don't know what to look for." Interestingly, auto-generated prompts sometimes beat human ones — apparently the model stumbled onto wordings that resonated better with its training data. But the most reliable approach is to combine: the human supplies the meaning, the model generates variations, and empirical testing picks the winner.

08

Adaptations and Extrapolations

🔧 Technique: A/B-test definitions instead of a full sweep

If you don't have time for dozens of iterations, run a mini-test:

Here are two wordings of the same classification task.

Version A:
[first definition]

Version B:
[second definition]

Apply both to these 10 texts. For each text, output the result in this format:

Text 1:
- Version A: Yes/No
- Version B: Yes/No

[10 texts to classify]

Compare the results with your labels and pick the better version. It's not optimal, but it beats not testing at all.

🔧 Technique: Ask the model to explain why it got it wrong

Once you've found the best prompt but accuracy still isn't 100%, take the misclassified cases:

Here is my classification prompt:
[prompt]

Here is a text you classified as "Yes", but the correct answer is "No":
[the text you got wrong]

Explain:
1. Why did you decide it was "Yes"?
2. Which parts of the text misled you?
3. How should I change the definition in the prompt to avoid errors like this?

Use the model's explanations to refine the definition — add negative examples, clarify the boundaries.

🔧 Technique: Chain-of-thought for debugging, not for production

In the study CoT didn't improve accuracy. But it's useful for understanding why the model classifies things the way it does:

[your prompt]

Before answering, explain your reasoning step by step:
1. What key elements do you see in the text?
2. Do they match the criteria in the definition?
3. What doubts do you have?

Then give your final answer: Yes or No

Use this while developing the prompt to understand the model's logic. Drop the CoT from the final version — it adds tokens without improving accuracy.

09

Resources

Improving Alignment Between Human and Machine Codes: An Empirical Assessment of Prompt Engineering for Construct Identification in Psychology

Authors: Kylie L. Anglin, Stephanie Milan, Brittney Hernandez, Claudia Ventura
University of Connecticut (Department of Educational Psychology, Department of Psychological Sciences)

Works referenced in the study: - Automatic Prompt Engineering (APE) method, Zhou et al. 2022 - Chain-of-Thought papers: Wei et al. 2022 (few-shot CoT), Kojima et al. 2022 (zero-shot CoT) - Explanatory prompting: Lampinen et al. 2022 - GoEmotions dataset: Demszky et al. 2020

Research digest

Key result

The paradox: everyone chases prompting techniques (personas like "you are a psychologist," chains of reasoning), but what really matters is the task definition. The gap between "find gratitude" and a precise definition of what gratitude is = 75% accuracy. Adding "you are an expert" or "let's go step by step" to a bad prompt = +2-5%. On a good prompt these techniques add nothing at all. The method lets you build classification prompts that work an order of magnitude better by iterating over wordings of the definition. The trick: write 5-10 versions of the construct definition by hand → test them on labeled data → take the best one and ask the model to generate 10 more variants → test again → the winner + 3-5 examples with answers. You can't predict the best wording in advance — only empirically.

Principle

Don't guess the wording — iterate over dozens of variants and test them. Instead of an abstract word, give an operational definition — concrete criteria for what must be present in the text. Not "toxic comment," but "an insult aimed at a specific person OR a call to violence OR discrimination based on a trait." The process: wrote 5-10 variants → ran them through 20-50 labeled examples → took the best (say, 70% match) → asked the model to rephrase it 10 ways → tested them all again → picked the final winner (80-85%) → added few-shot examples (+5-10%). The point: you can't predict which wording will activate the right patterns in the model's training data. The word "constructive" hooks one set of patterns, "actionable feedback" another. The only way to find out is to test on real examples.

Why it works

An LLM doesn't understand the task "in general" — it looks for patterns in your words. Wrote "constructive suggestion" without a definition? The model pulls the meaning from its training data — and there it could mean anything. Defined it precisely ("a specific feature" + "a specific bug") — the model knows what to look for. Popular techniques work by amplifying the base prompt. A persona ("you are a product manager") or CoT ("think step by step") tries to activate extra context from the training data. But if the base definition is blurry, the extra context is blurry too. It's like trying to sharpen a blurry photo — doesn't work. First you need a sharp photo (the definition), then you can polish the details. A study on thousands of prompt variants: the gap between the worst and best definition — up to 75% accuracy. Personas and CoT on a bad prompt = +2-5%. On a good prompt = 0%.

When to apply

Text classification → specifically tasks where you need to find a particular pattern (gratitude in reviews, constructive feedback, toxic comments, psychological constructs), especially when the base prompt gives low accuracy and you don't understand why. NOT suitable for very rare patterns (showing up in 2-3% of cases) — the model tends to answer "no" almost every time; you need special balancing techniques.

Mini recipe

1. Write an operational definition: instead of "toxic comment" → "an insult aimed at a specific person OR a call to violence OR discrimination based on a trait (gender, ethnicity, religion)." The more concrete the criteria, the better. 2. Label 20-50 examples by hand: this is your benchmark for comparing prompts. Without it you can't tell which prompt is better. 3. Write 5-10 prompt variants: vary the order of criteria, the level of detail, the format (list vs prose vs table). Add/remove negative examples ("Does NOT count"). 4. Test every variant: run them through the test set and count the match rate against your labels. Testing prompt: `Here is my prompt: [your prompt]. Apply it to these texts and output the results as CSV: number,result`. 5. Auto-generate variants: take the best version (say, 70% accuracy) → ask the model: `Generate 10 alternative wordings of this prompt: keep the meaning, vary the structure, order, examples. Output each variant as a separate block`. 6. Test all the new variants again: repeat the process from step 4. Pick the final winner. 7. Add 3-5 examples with answers: take the winner and add few-shot examples in the format `Text: [example] → Answer: Yes/No`. That gives +5-10% accuracy.

Examples

[BAD]: `Determine whether this review contains a constructive suggestion. Answer: Yes or No` — the model doesn't know what "constructive" means and will use its own interpretation from training data. [GOOD]: `A constructive suggestion is when the customer describes: a specific feature to add, a specific bug to fix, a specific interface change. Does NOT count: general praise/criticism without details, emotions without saying what to change. Does this review contain a constructive suggestion? Text: [review]. Answer: Yes or No` — an operational definition + negative examples. After testing the best version (say, 75% accuracy): `You are helping optimize a classification prompt. Here is the current prompt: [paste the best one]. It scored 75% accuracy on the test data. Generate 10 alternative wordings: keep the meaning and criteria, vary the structure, order, examples. Try different ways of explaining it. Output each variant as a separate block, numbered.`

In plain words

In Plain Words: 2512.03818

In Plain Words

Improving Alignment Between Human and Machine Codes: An Empirical Assessment ofPromptEngineeringfor Construct Identification in Psychology

The point is this: models aren't mind readers, they're statistical calculators that hang on your every word. When you ask a model to find a "psychological pattern" or "constructive feedback" in a text, it doesn't crack open a textbook — it reads tea leaves from its training data. The study showed that a precise task definition is the foundation, and without it every other bit of prompt voodoo turns into white noise. If you haven't spelled out for the model exactly what counts as a "constructive suggestion," it'll spit out random answers based on its own internal hallucinations.

It's like hiring an intern and telling them: "just do it right." The intern nods, does it their own way, and you both end up unhappy, because your two versions of "right" live in different universes. You can pin a "Senior Expert" badge on them or make them narrate every move out loud, but if they never understood what exactly the output should be, the result will be garbage. No amount of role-play replaces a clear instruction that says "right" means the report is delivered as a PDF with no typos.

The researchers ran thousands of tests and found that trendy techniques like Chain-of-Thought (let's go step by step) or Personas (pretend you're Freud) work hit-or-miss and often don't move the needle at all. What actually delivers are Few-shot examples (when you give 3-5 samples of right/wrong) and auto-generated prompts from the model itself, when it tries to tighten up your clumsy wording. But even that is secondary to a solid construct definition: once you spell out the criteria clearly, the model suddenly "gets smarter" right before your eyes.

Even though the experiments were run on psychology data, the principle is universal for any business. Whether it's sorting customer complaints, moderating chats or mining reviews for insights — the logic is the same everywhere. If you ask an AI to find "negativity," it may flag both furious criticism and a merely sad emoji. To keep the system from screwing up, you have to hard-code tight boundaries into the prompt: negativity is when the customer demands a refund or threatens to sue, and everything else is just venting. Keyword-stuffing your prompts won't cut it here — you have to work like a lawyer drafting contract terms.

Bottom line: stop wasting time on add-ons like "you're the best analyst in the world" or "I'll tip you $20". They don't work if the task itself is described like a pile of junk. A clear definition and a couple of examples are 90% of success in text classification. Build the logic and criteria first, and only then play around with "step-by-step thinking" — otherwise you'll just get very confident, beautifully formatted nonsense. Whoever knows how to write a spec for a machine gets valid data; everyone else keeps complaining that "the AI is being dumb."

ArXiv ID: 2512.03818 | Generated: 2026-01-02 17:03 | Nova Research

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 The Definition Beats the Tricks: What Actually Works in Classification Prompts arXiv:2512.03818

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