提示优化器是否会违反其未被评分的要求?一项预先注册的研究
Do Prompt Optimizers Break Requirements They Are Not Scored On? A Preregistered Study
AI总结:
本研究通过预先注册实验发现,GEPA、MIPROv2和TextGrad等提示优化器虽提升了目标指标,却违反了未被评分的输出格式等要求,且输出token上限会影响违规程度。
摘要:
提示优化器会重写提示以提升某一目标指标,但提示也包含该指标未评分的要求,如输出格式、引用或弃权(不执行)。在一项预先注册的研究中,我们在HotpotQA、SQuAD 2.0和IFEval上运行GEPA、MIPROv2和TextGrad,通过确定性检查统计每个样本违反未评分要求的情况。根据预先注册的标准,所有三个优化器均出现性能倒退,在HotpotQA上尤为显著,其中引用有效性的净倒退达10.7至41.6个百分点,而精确匹配度上升21至34个百分点。事后分解改变了这一结论:优化后的提示在要求的JSON对象之前引出推理,在全程使用的200-token输出上限下,13.9%至47.0%的响应在出现任何答案前就已结束。在可解析的输出中,净倒退在0的3个百分点以内。若使用1024-token上限,提取失败消失,内容倒退保持在1个百分点以下,精确匹配度进一步上升。两个简单的门控机制未通过预先注册的标准。副作用比假设的更窄:优化后的提示更准确,但违反了明确的输出约定,而宽松的目标指标未显示出该成本。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。