The Research Report
Fewer Prompts Beat More
You have a big eval set. Hundreds of prompts. You run prompt optimization across all of them. The results are mediocre. So you add more prompts, thinking more data always helps.
That's exactly backwards.
A new paper called "Better Prompt Optimization with Fewer Prompts" proves that more user prompts hurt optimization on heterogeneous tasks. The method they propose, p1, filters down to a tiny subset of high-variance prompts. On AIME 24, training on just two prompts beats the full dataset. Two.
Why More Data Breaks Prompt Optimization
Prompt optimization works by comparing how different system prompts perform across a set of user prompts. The reward you measure has two sources of variance:
- Variance among responses. The model's own randomness. Same system prompt, same user prompt, different answers each time.
- Variance among system prompts. Actual quality differences between candidate system prompts. This is the signal you want.
Optimization works when system-prompt variance is larger than response variance. The signal outweighs the noise. But when you scale up to more user prompts on a heterogeneous dataset, something ugly happens. Different user prompts favor different system prompts. The system-prompt variance shrinks because no single system prompt looks uniformly better. The responses from different prompts pull in opposite directions. The signal collapses into noise.
More data does not average out this problem. It amplifies it.
The p1 Method
The researchers propose a fix that's almost embarrassingly simple. Instead of using all user prompts, filter to the ones that actually discriminate between good and bad system prompts. Specifically:
- Run a small set of candidate system prompts across your user prompts.
- For each user prompt, measure the variance in rewards across system prompts.
- Keep only the user prompts with the highest variance. These are the ones where system prompt choice actually matters.
- Optimize on that small subset.
That's p1. No model access needed. No architecture changes. Just filter your eval set before optimizing.
The Results
The results are striking. On AIME 24, a math reasoning benchmark, p1 selects just two user prompts and produces a system prompt that generalizes well across other reasoning benchmarks. Not just AIME 24. Other benchmarks entirely.
p1 also beats GEPA, a strong prompt optimization baseline, on reasoning tasks. GEPA trains on the full dataset. p1 trains on a filtered fraction. The fraction wins.
This generalization result matters. A system prompt optimized on two high-variance AIME prompts transfers to entirely different reasoning tasks. The selected prompts capture something fundamental about what makes a good reasoning prompt, rather than overfitting to the average of a large heterogeneous set.
What This Means for Your Workflow
If you do prompt optimization, you should change how you build eval sets:
- Stop assuming more is better. A large heterogeneous eval set dilutes the optimization signal. You are not building a training dataset. You are building a discriminative signal.
- Measure variance before optimizing. Run a few candidate system prompts across your user prompts. Find the ones where prompt choice matters most. Those are your optimization set.
- Keep a separate generalization set. The prompts you optimize on are not the prompts you evaluate on. Optimize on high-variance prompts. Evaluate on the full distribution.
- Try p1 on your own tasks. The filtering step is cheap. Run it, compare results against full-dataset optimization, and see if you get the same gains.
The broader lesson is clear. In prompt optimization, data quality matters more than data quantity. A handful of prompts that actually discriminate between good and bad system prompts beats hundreds that wash out the signal.
Citations
- Gao, Z. et al. "Better Prompt Optimization with Fewer Prompts." arXiv:2604.08801, April 9, 2026. https://arxiv.org/abs/2604.08801
- GEPA baseline referenced in the p1 paper. See citations within arXiv:2604.08801 for full GEPA details.
Suggested Title
Fewer Prompts Beat More: Why Your Eval Set Is Too Big
Word Count
496
Fact-check Notes
- The claim that p1 uses "as few as 2 prompts on AIME 24" comes from the source brief. Verify the exact number in the full paper. The abstract says "only two prompts from AIME 24" which confirms this.
- The claim that p1 "beats GEPA on reasoning benchmarks" matches the abstract wording "outperforms strong baselines such as GEPA." Verify which specific benchmarks in the full paper.
- The variance decomposition into "variance among responses" and "variance among system prompts" is described in the abstract. The full paper likely has formal definitions that should be checked for precision.
- The generalization claim (AIME-trained prompt working on other benchmarks) comes from the abstract. Verify which specific other benchmarks in the full paper.