Do Prompt Optimizers Break Requirements They Are Not Scored On? A Preregistered Study
cs.CL, cs.LG
Submitted: 2026-10-09
Updated: 2026-10-09
Comments: 8 pages, 7 tables. Preregistered study
License: http://creativecommons.org/licenses/by/4.0/
The gist: Prompt optimizers rewrite a prompt to raise one target metric, but prompts also state requirements the metric does not score, such as an output format, citations, or abstention.
Abstract
Prompt optimizers rewrite a prompt to raise one target metric, but prompts also state requirements the metric does not score, such as an output format, citations, or abstention. In a preregistered study, we run GEPA, MIPROv2, and TextGrad on HotpotQA, SQuAD 2.0, and IFEval and count per-item violations of unscored requirements with deterministic checks. By the preregistered criterion, all three optimizers produce regressions, substantially on HotpotQA, where net regression in citation validity reaches 10.7 to 41.6 points while exact match rises by 21 to 34 points. A post-hoc decomposition changes this reading. The optimized prompts elicit reasoning before the required JSON object, and under the 200-token output cap used throughout, 13.9% to 47.0% of responses end before any answer appears. Among parseable outputs, net regression is within 3 points of zero. With a 1,024-token cap, extraction failures disappear, content regression stays below 1 point, and exact match rises further. Two simple gates fail the preregistered criterion. The side effect is narrower than hypothesized: optimized prompts are more accurate and break an explicit output contract, and a lenient target metric does not show the cost.
Sources
- MO-CAPO: Multi-Objective Cost-Aware Prompt Optimization
- A Sober Look at Progress in Language Model Reasoning: Pitfalls and Paths to Reproducibility
- DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines
- Auto-Prompt Generation is Not Robust: Prompt Optimization Driven by Pseudo Gradient
- PrefPO: Pairwise Preference Prompt Optimization
- TextGrad: Automatic "Differentiation" via Text
- Instruction-Following Evaluation for Large Language Models
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering