p1: Better Prompt Optimization with Fewer Prompts
This paper analyzes when prompt optimization succeeds, decomposing total reward variance into response variance from generation stochasticity and system-prompt variance reflecting quality differences. Optimization works when system-prompt variance dominates but fails when response variance does; more user prompts can hurt by reducing system-prompt variance on heterogeneous datasets. The authors propose $p1$, filtering user prompts to a small high-variance subset that distinguishes good from bad system prompts. On reasoning benchmarks, $p1$ improves optimization over full-dataset training and outperforms GEPA; just two AIME 24 prompts yield a system prompt generalizing to other benchmarks.