深度研究智能体的反思式提示优化:用于衡量可迁移增益与提示层面过拟合的主题不重叠、多随机种子评估方案
摘要
该论文研究了对多智能体深度研究智能体的系统提示进行反思式提示进化(GEPA),采用主题不重叠、多随机种子的评估协议,发现分解式逐维度反馈是可迁移增益的关键因素,而压缩为单一标量奖励会导致负迁移。
arXiv:2610.12601v1 Announce Type: new
Abstract: Prompt optimization is an attractive alternative to reinforcement learning for adapting language-model agents, since it is cheap and produces human-readable artifacts. On factual tasks, however, it carries a failure mode that scalar-reward reinforcement learning does not. An optimizer that reads the training examples can write their answers into the prompt, so an in-distribution gain may be memorization rather than transferable behaviour. We apply reflective prompt evolution (GEPA) to the two system prompts of a multi-agent deep-research agent and evaluate it under a topic-disjoint split in which no topic is shared across train, validation, and test. Held-out citation reward rises by 0.079, from 0.702 to 0.781, with a bootstrap 95\% confidence interval of [0.051, 0.107], and the gain replicates across three seeds (mean 0.107). Nearly half of the winning prompt is a memorized answer key, yet a controlled ablation shows this content earns no reward even on the exact training questions it encodes. The large validation-minus-held-out gap is therefore small-sample selection under a noisy judge, not memorization. Varying the verifier isolates what makes the gain transfer. Decomposed per-dimension feedback is the causal ingredient, and collapsing it to a single scalar reward makes held-out transfer negative. The gain persists under an out-of-family judge and is largely reproduced by a hand-written version of the discovered recipe. Credible evaluation of prompt optimizers therefore requires held-out topics, multiple seeds, and verifier ablations. We release the candidate prompts, lineage diffs, figures, tables, and analysis.
查看缓存全文
缓存时间: 2026/10/12 06:47
# Reflective Prompt Optimization of a Deep-Research Agent: A Topic-Disjoint, Multi-Seed Protocol for Measuring Transferable Gains and Prompt-Level Overfitting
Source: [https://arxiv.org/html/2610.12601](https://arxiv.org/html/2610.12601)
###### Abstract
Prompt optimization is an attractive alternative to reinforcement learning for adapting language\-model agents, since it is cheap and produces human\-readable artifacts\. On factual tasks, however, it carries a failure mode that scalar\-reward reinforcement learning does not\. An optimizer that reads the training examples can write their answers into the prompt, so an in\-distribution gain may be memorization rather than transferable behaviour\. We apply reflective prompt evolution \(GEPA\) to the two system prompts of a multi\-agent deep\-research agent and evaluate it under a topic\-disjoint split in which no topic is shared across train, validation, and test\. Held\-out citation reward rises by 0\.079, from 0\.702 to 0\.781, with a bootstrap 95% confidence interval of \[0\.051, 0\.107\], and the gain replicates across three seeds \(mean 0\.107\)\. Nearly half of the winning prompt is a memorized answer key, yet a controlled ablation shows this content earns no reward even on the exact training questions it encodes\. The large validation\-minus\-held\-out gap is therefore small\-sample selection under a noisy judge, not memorization\. Varying the verifier isolates what makes the gain transfer\. Decomposed per\-dimension feedback is the causal ingredient, and collapsing it to a single scalar reward makes held\-out transfer negative\. The gain persists under an out\-of\-family judge and is largely reproduced by a hand\-written version of the discovered recipe\. Credible evaluation of prompt optimizers therefore requires held\-out topics, multiple seeds, and verifier ablations\. We release the candidate prompts, lineage diffs, figures, tables, and analysis\.
## 1Introduction
Language\-model agents are increasingly adapted to downstream tasks with reinforcement learning methods such as Group Relative Policy Optimization\[[Shao et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib9)\], which typically need thousands of rollouts and collapse a rich execution trace into a single scalar reward\. Prompt optimization is an attractive alternative because it is cheap, needs no training infrastructure, and produces human\-readable artifacts that practitioners can audit\. Frameworks such as DSPy\[[Khattab et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib23)\]have made this practical by treating a system as a program of language\-model calls and optimizing its prompts automatically, with instruction\-and\-demonstration search in MIPROv2\[[Opsahl\-Ong et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib10)\]and reflective prompt evolution in GEPA\[[Agrawal et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib1)\]\.
On factual tasks, prompt optimization has a failure mode that scalar\-reward reinforcement learning does not\. An optimizer that sees the training examples can copy their specific answers into the prompt, so the reported gain then reflects memorized lookups on seen topics rather than a transferable change in how the agent behaves\. This is a form of reward hacking\[[Skalse et al\., 2022](https://arxiv.org/html/2610.12601#bib.bib2),[Amodei et al\., 2016](https://arxiv.org/html/2610.12601#bib.bib3)\], in which the optimizer raises the measured reward without improving the behaviour that the reward is meant to track\. It is the primary risk when a reflective optimizer is allowed to read and rewrite prompts against a training signal\. The risk is sharpened when that signal is a rubric\-style reward scored by language\-model judges, which are themselves prone to hacking in reinforcement learning with verifiable rewards\[[Mahmoud et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib5),[Tyagi et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib6),[Wang et al\., 2026b](https://arxiv.org/html/2610.12601#bib.bib61)\], as ours is \(Section[3\.2](https://arxiv.org/html/2610.12601#S3.SS2)\)\. A study that reports only an in\-distribution gain therefore cannot tell the reader how much of that gain will survive on data the optimizer never saw, and closing that gap is the measurement problem we address\.
Our contribution is a generalization\-first protocol that separates the two\. We use a topic\-disjoint split in which no article family is shared across train, validation, and test, and a held\-out test set large enough for tight confidence intervals\. Under this design the held\-out gain reports only transferable behaviour, and the difference between the validation gain and the held\-out gain lets us test whether the apparent gain is memorization\. The optimizer we use as the instrument is GEPA, the Genetic\-Pareto reflective prompt evolution method of[Agrawal et al\. \[2025\]](https://arxiv.org/html/2610.12601#bib.bib1)\. GEPA feeds a language\-model reflector the full trajectory \(reasoning, tool calls, and tool outputs\) together with diagnostic textual feedback, so the reflector can diagnose why a candidate failed and propose a targeted rewrite\. It keeps a Pareto frontier of candidates so the search does not collapse to a local optimum\. Because GEPA reads execution traces, it can both discover transferable rules and copy specific facts into the prompt, which is exactly the mixture our protocol is designed to separate\. Our configuration follows recent practice\.[Decagon \[2026\]](https://arxiv.org/html/2610.12601#bib.bib11)report that a frontier reflection model is needed, that the optimization sample size has a sweet spot around 20 to 100 examples, and that prompts bloat without length regularization, and[GEPA Team \[2026\]](https://arxiv.org/html/2610.12601#bib.bib12)note that enlarging the reflection batch causes context overload\. We therefore use a strong reflector and keep the train and validation sets at 24 examples each, and we observe the bloat effect when GEPA’s Pareto selection rejects its two longest candidates\.
The object we optimize is a source\-attribution reward for deep\-research agents\[[Shi et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib60)\]\.[Onweller et al\. \[2026\]](https://arxiv.org/html/2610.12601#bib.bib13)show that deep\-research agents routinely emit citations that are present but not verified, where the cited page exists yet fails to support the specific claim\. They propose parsing and evaluation machinery for source attribution\. Our gated composite reward \(Section[3\.2](https://arxiv.org/html/2610.12601#S3.SS2)\) operationalizes those failure modes through the leverslink\_works,relevant\_content, andfact\_check, so optimizing against it targets a documented attribution\-quality gap\. The agent’s search behaviour is in turn shaped by its harness\[[Lumer et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib48)\], and[Sen et al\. \[2026a\]](https://arxiv.org/html/2610.12601#bib.bib14)show that harness design materially reshapes agentic search quality, which is why prompt edits that change how the researcher searches and cites can move the reward at all\. More broadly, structured\-retrieval agent systems\[[Sen et al\., 2026b](https://arxiv.org/html/2610.12601#bib.bib15)\]situate this work in the line of retrieval\-augmented agents\[[Lumer et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib47)\], though our task is single\-shot cited reporting rather than long\-horizon conversational memory\.
This paper makes the following contributions\.
- •A generalization\-first evaluation protocol, combining topic\-disjoint held\-out testing, a controlled topic\-shared ablation, and multi\-seed replication, that tests whether the validation\-minus\-test gap is memorization and finds that it is not\. The memorized answer key the optimizer writes does not improve the reward, and the gap is consistent with small\-sample selection under a noisy judge\.
- •A rigorous held\-out evaluation of reflective prompt optimization on a multi\-agent research system with a language\-model\-judge citation reward, with bootstrap confidence intervals and a paired significance test on 500 tasks, replicated across 3 optimization seeds \(mean held\-out gain 0\.107, significant in every run\)\.
- •A controlled verifier ablation identifying decomposed per\-dimension feedback as the causal ingredient behind transfer, since collapsing the reward to a single scalar drives held\-out transfer negative, while finer resolution and repeated scoring do not raise it and reward gaming tracks the weakest verifiers rather than the strongest\.
- •A per\-lever, error\-analyzed account of which prompt edits drove the transferable gain and where the residual failures concentrate, including a prompt autopsy showing that nearly half of the winning prompt by word count is a memorized answer key that does not improve the reward, even on the exact training questions it encodes\.
## 2Related work
#### Automatic prompt optimization\.
Automatic prompt optimization searches the natural\-language input space of a fixed model rather than its weights\. Early methods treat the language model as a black\-box optimizer that proposes and scores instructions, as in APE\[[Zhou et al\., 2023](https://arxiv.org/html/2610.12601#bib.bib17)\]and OPRO\[[Yang et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib18)\], and a parallel line borrows from evolutionary computation by mutating and recombining prompts, as in Promptbreeder\[[Fernando et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib19)\]and EvoPrompt\[[Guo et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib20)\]\. Later work makes the search more structured and sample\-efficient, including PromptWizard\[[Agarwal et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib21)\], the study of instructions and exemplars by[Wan et al\. \[2024\]](https://arxiv.org/html/2610.12601#bib.bib22), and the joint instruction\-and\-demonstration search of MIPROv2\[[Opsahl\-Ong et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib10)\]\. GEPA\[[Agrawal et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib1)\]extends this line by reflecting on full execution traces in natural language, and we use its reference implementation\[[GEPA\-AI, 2025](https://arxiv.org/html/2610.12601#bib.bib16)\]as the optimizer in this study\. A related text\-space optimizer, SkillOpt\[[Yang et al\., 2026c](https://arxiv.org/html/2610.12601#bib.bib8)\], trains a persistent skill document with bounded, validation\-gated edits and an update rule that explicitly forbids hardcoding task\-specific values, a design we return to in Section[6](https://arxiv.org/html/2610.12601#S6)\.
#### Optimizing multi\-module language\-model programs\.
Modern agents are multi\-module language\-model programs, so optimizing them is more than tuning a single instruction\[[Bai and Shi, 2026](https://arxiv.org/html/2610.12601#bib.bib58)\]\. The DSPy line frames these systems as declarative programs that can be compiled and optimized\[[Khattab et al\., 2022](https://arxiv.org/html/2610.12601#bib.bib24),[Khattab et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib23)\], and LangProbe\[[Tan et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib27)\]provides a benchmark for such programs\. Recent methods optimize across modules, whether by combining fine\-tuning with prompt search\[[Soylu et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib25)\], aligning local rewards to a global objective in Optimas\[[Wu et al\., 2025b](https://arxiv.org/html/2610.12601#bib.bib26)\], or composing policy gradients with prompt optimization in multi\-module GRPO\[[Ziems et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib28)\]\. Our system is a two\-module program, an orchestrator and a researcher, and we optimize both\.
#### Reflection and natural\-language feedback\.
A growing body of work treats natural\-language feedback, rather than a scalar, as the learning signal\. TextGrad backpropagates textual critiques through a system of language\-model calls\[[Yuksekgonul et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib29)\], and[Xu et al\. \[2025\]](https://arxiv.org/html/2610.12601#bib.bib30)give conditions under which such feedback provably improves a policy\. Related test\-time methods accumulate reusable lessons in an external memory, as in dynamic cheatsheets\[[Suzgun et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib31)\]and agent workflow memory\[[Wang et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib32)\]\. These build on prompting strategies that externalize reasoning and action, including chain\-of\-thought\[[Wei et al\., 2023](https://arxiv.org/html/2610.12601#bib.bib34)\]and ReAct\[[Yao et al\., 2023](https://arxiv.org/html/2610.12601#bib.bib33)\]\. Reflective prompt evolution inherits the premise that a written diagnosis carries more information than a single reward number\.
#### Reinforcement learning and verifiable rewards for agents\.
The alternative to prompt optimization is reinforcement learning on the model weights\. GRPO and its relatives are effective but sample\-hungry, often needing thousands of rollouts\[[Shao et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib9)\], and a line of work applies them to retrieval and search agents\[[Xu et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib59)\], including Search\-R1\[[Jin et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib35)\], ReSearch\[[Chen et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib36)\], R1\-Searcher\[[Song et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib37)\], and FrugalRAG\[[Java et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib38)\], with[Wu et al\. \[2025a\]](https://arxiv.org/html/2610.12601#bib.bib39)reducing wasteful searches\. Because these methods need a reward, verifiable\-reward engineering has become its own topic, from generalizing verifiable instruction following\[[Pyatkin et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib40)\]to verification pipelines such as VerIF\[[Peng et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib41)\]\. Rubric\-style rewards are especially prone to hacking, which has motivated policy\-aware rubric design\[[Tyagi et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib6),[Yang et al\., 2026a](https://arxiv.org/html/2610.12601#bib.bib62)\], direct characterizations of rubric reward hacking\[[Mahmoud et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib5),[Wang et al\., 2026b](https://arxiv.org/html/2610.12601#bib.bib61)\], and rubric\-free distillation alternatives\[[Rezaei et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib7)\]\. Our reward is a language\-model\-judged rubric rather than a programmatic verifier, and we optimize the prompt rather than the weights, which avoids rollout cost but introduces the leakage risk we measure\.
#### Citation faithfulness and source attribution\.
Our task is citation quality for deep\-research agents, where the concern is whether a cited source actually supports its claim\.[Onweller et al\. \[2026\]](https://arxiv.org/html/2610.12601#bib.bib13)document that such agents routinely emit citations that are present but unverified, and they provide parsing and evaluation machinery for source attribution that our reward operationalizes\. Faithfulness has also been pursued through training, whether by teaching contextual faithfulness with synthetic tasks and reinforcement learning\[[Si et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib42)\]or by detecting and mitigating hallucination in reasoning models\[[Sun et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib43)\], and it is measured by multi\-hop verification benchmarks such as HotpotQA\[[Yang et al\., 2018](https://arxiv.org/html/2610.12601#bib.bib44)\]and HoVer\[[Jiang et al\., 2020](https://arxiv.org/html/2610.12601#bib.bib45)\]\. The reliability of language\-model rubric verifiers for this exact setting, deep\-research source attribution, has itself been benchmarked against human labels\[[Leung et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib46)\], which informs the per\-dimension judge choices in our reward\. Because agent behaviour depends heavily on the surrounding harness\[[Sen et al\., 2026a](https://arxiv.org/html/2610.12601#bib.bib14),[Lumer et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib48)\]and retrieval structure\[[Sen et al\., 2026b](https://arxiv.org/html/2610.12601#bib.bib15),[Lumer et al\., 2025](https://arxiv.org/html/2610.12601#bib.bib47)\], prompt edits that change how an agent searches and cites can move citation quality without any weight update\. We differ from all of this work in what we measure\. Prior prompt\-optimization studies report in\-distribution gains, but on factual tasks such a gain conflates a transferable behavioural change with answers the optimizer memorized from the training examples, and our protocol separates the two, testing directly whether the reported gain survives on topics the optimizer never saw\.
## 3Method
### 3\.1System under optimization
The agent is a multi\-agent research system in which an orchestrator plans and delegates to a research sub\-agent\[[Lumer et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib48)\]that searches a frozen corpus with a search tool, consolidates citations, and writes a cited report\. We optimize the two system prompts\.
- •The orchestrator prompt, covering planning, delegation, synthesis, report structure, and citation rules\.
- •The researcher prompt, covering search strategy, evidence standards, and response format\.
### 3\.2Reward
The reward is a gated composite in\[0,1\]\[0,1\], unchanged by this study, designed around the source\-attribution failure modes documented for deep\-research agents\[[Onweller et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib13)\]\.
R=answer\_gate⋅\(CLOSE\\displaystyle R=\\texttt\{answer\\\_gate\}\\cdot\\big\(wlinklink\_works\+wrelrelevant\_content\\displaystyle w\_\{\\text\{link\}\}\\,\\texttt\{link\\\_works\}\+w\_\{\\text\{rel\}\}\\,\\texttt\{relevant\\\_content\}\(1\)OPEN\+wfactfact\_check\+wnumcitation\_numbering\)\\displaystyle\+w\_\{\\text\{fact\}\}\\,\\texttt\{fact\\\_check\}\+w\_\{\\text\{num\}\}\\,\\texttt\{citation\\\_numbering\}\\big\)
Theanswer\_gateis a correctness gate, so a wrong answer zeroes the whole reward regardless of citation quality, and it is evaluated by a tiered check that escalates from an exact substring match to a coverage test to a language\-model judgment \(Appendix[C](https://arxiv.org/html/2610.12601#A3)\)\. The citation levers are per\-citation scores averaged over a task\.
- •link\_worksis 1 when a cited URL exists in the corpus\.
- •relevant\_contentmeasures whether the cited source is about the claim\.
- •fact\_checkmeasures whether the cited source supports the specific claim and figures\.
- •citation\_numberingchecks that inline references are numbered and matched to a source list\.
The 4 weights and the verbatim judge prompts are given in Appendix[C](https://arxiv.org/html/2610.12601#A3)\.
### 3\.3GEPA configuration
We optimize both components with the open\-source GEPA implementation\[[GEPA\-AI, 2025](https://arxiv.org/html/2610.12601#bib.bib16)\], using Pareto candidate selection, a reflection minibatch size of 3, and a rollout budget of 240 metric calls\. GEPA is wired to the agent through a standard adapter with three functions\. A rollout function runs the agent with the candidate prompts, an evaluation function scores with the composite reward and renders textual feedback that names each lever and surfaces the weakest citations’ judge reasons, and a record function logs traces for the reflector\.
### 3\.4Topic\-disjoint split
Each task identifier encodes its source article, and questions from the same article share a slug\. We group tasks by slug and assign whole topic groups to test first, then validation, then train, which guarantees zero topic overlap across the 3 splits \(Table[1](https://arxiv.org/html/2610.12601#S3.T1)\)\. Train and validation are 24 tasks over 12 topics each, and test is 500 tasks over 254 topics\. The small train and validation sets sit within the 20 to 100 window reported for GEPA\[[Decagon, 2026](https://arxiv.org/html/2610.12601#bib.bib11)\]\. The 500\-task set is held\-out evaluation data, not optimization data\.
Table 1:Topic\-disjoint split\. No article family is shared across splits, so the held\-out test set discounts any answer the optimizer memorized from train\.
### 3\.5Ablation protocols
Beyond the main held\-out evaluation we run two sets of controlled experiments that each vary a single axis of the setup while holding the rest fixed\. The first varies the data split and the optimizer seed to test whether the gain is real and whether the validation\-minus\-held\-out gap is memorization, and the second varies the verifier to test which property of the reward signal makes the learned rules transfer\.
#### Split and seed\.
A*multi\-seed*protocol repeats the optimization with an identical configuration under 3 independent seeds and compares the held\-out gains, which separates the direction and significance of the effect from run\-to\-run variance in which candidate the optimizer selects\. A*topic\-shared*evaluation then measures whether the memorized answer key actually earns reward\. We hold the seed and the selected best prompt fixed, run no further search, and score both on questions drawn from the 12 training article families\. These questions are the 24 exact training questions the prompt could have memorized, plus 96 fresh in\-corpus questions on the same families \(8 per family, verbatim\-quote verified and deduplicated\)\. Because the frozen corpus is unchanged, link resolution and search behave identically\. We add no documents, only new questions over documents the agent can already retrieve\. Six families whose answers appear verbatim in the winning prompt are flagged, so the topic\-shared set decomposes into memorized and non\-memorized families \(leaky\_split\_manifest\.json\)\.
#### Verifier configurations\.
The second set of experiments holds the data, policy, reflector, and rollout budget fixed and varies only the verifier GEPA optimizes against\. The canonical verifier uses a fine\-grained reward, a single scoring pass, and per\-dimension decomposed textual feedback that names each citation lever\. From it we form 3 single\-knob variants: a*coarse*3\-level reward resolution,*3x repeated*scoring with judge averaging and a majority answer gate, and a*scalar*variant that collapses the per\-dimension feedback into one aggregate number\. We run each of the 4 configurations at 2 seeds, for 8 optimization runs\. We then re\-score every optimized prompt on a fixed held\-out set of 120 topic\-disjoint tasks with a single canonical verifier, so that transfer is comparable across configurations regardless of the verifier each was optimized under\. Per configuration we report the validation gain under its own verifier, the canonical held\-out gain \(transfer\), and their difference as a gaming gap\.
### 3\.6Models
The policy agent listed in Table[2](https://arxiv.org/html/2610.12601#S3.T2)is OpenAI GPT\-5\.4, the deployment target, and the reflector is OpenAI GPT\-5\.5 at high reasoning effort, consistent with the frontier reflector requirement reported by[Decagon \[2026\]](https://arxiv.org/html/2610.12601#bib.bib11)\. The reward’s citation judges are GPT\-5\-mini for source relevance and GPT\-5\.4\-mini for factual support, and the answer gate uses a language\-model judge in its final tier \(Appendix[C](https://arxiv.org/html/2610.12601#A3)\)\. These per\-dimension judge choices follow[Leung et al\. \[2026\]](https://arxiv.org/html/2610.12601#bib.bib46), who benchmark rubric language\-model verifiers against human labels for deep\-research source attribution and report that a small model suffices for source relevance while a stronger small model leads on factual support\.
Table 2:Models used in the study\. All identifiers are public vendor names and public API version strings\.
## 4Experiments
### 4\.1Experimental setup
After searching on the 24\-task validation set, we evaluate the seed prompt and the best prompt on the full 500\-task held\-out test set with a checkpointed and resumable runner, scoring every task with the same gated composite reward used during optimization\. We report the mean paired reward change with a bootstrap 95% confidence interval over tasks\[[Efron, 1979](https://arxiv.org/html/2610.12601#bib.bib54)\], a Wilcoxon signed\-rank test\[[Wilcoxon, 1945](https://arxiv.org/html/2610.12601#bib.bib55)\]and a pairedtt\-test for significance, the effect sizedzd\_\{z\}, and the win, tie, and loss counts\. For the lever\-level analysis we re\-score every candidate on validation, and we re\-score the seed and best prompts on a 200\-task held\-out subset with the reward’s per\-citation reasons enabled, which lets us decompose the reward and collect the material for the error analysis\.
### 4\.2Results
#### Optimization trajectory\.
Over 240 rollouts GEPA produced 7 candidates \(Table[3](https://arxiv.org/html/2610.12601#S4.T3)\), and validation reward climbs along the accepted frontier from 0\.672 at the seed to 0\.874 at the best candidate, discovered at rollout 156 \(Figure[1](https://arxiv.org/html/2610.12601#S4.F1)\)\. Both prompt components contributed, with the first gain coming from the researcher prompt and the two largest coming from the orchestrator prompt\. The last two candidates grew the prompts further and both regressed on validation, so Pareto selection kept the shorter candidate 4\. The rejection of the longer candidates 5 and 6 is in\-run evidence for the bloat effect that production users mitigate with length regularization\[[Decagon, 2026](https://arxiv.org/html/2610.12601#bib.bib11)\], supplied here by the Pareto objective without an explicit length penalty\.
Table 3:Candidate lineage\. Each candidate mutates exactly one component of its parent\.Δ\\Deltaparent is the change in validation reward relative to the candidate’s parent\. Candidate 4 \(bold\) is the best program\. The word counts show that candidates 5 and 6 grew longer and regressed\.Figure 1:Search trajectory\. Validation reward of the best program so far against the number of rollouts, with the seed baseline \(dashed\) and the held\-out test stars at the right\. GEPA finds the best program by rollout 156 of 240\. The held\-out test gain \(0\.702 to 0\.781\) is smaller than the validation gain, a gap we attribute to small\-sample selection under a noisy judge rather than to memorized reward \(Section[5](https://arxiv.org/html/2610.12601#S5)\)\.Figure 2:Each reward lever as its own line over the rollout budget, from a post\-hoc re\-evaluation on validation\. Factual support is the lowest lever and climbs most consistently\. The composite reward \(dashed\) peaks at candidate 4 and dips for the over\-grown candidates 5 and 6\.
#### Held\-out generalization\.
On the 500\-task, 254\-topic held\-out test set the optimized prompt beats the seed by 0\.079 with a tight bootstrap confidence interval and a highly significant Wilcoxon test \(Table[4](https://arxiv.org/html/2610.12601#S4.T4)\)\. Because this test set shares no topic with anything the optimizer saw, it is our headline held\-out estimate\. The gain is a net improvement rather than a clean sweep, with 287 tasks improving, 147 regressing, and 66 unchanged\. The per\-task reward distribution shifts tasks into the top bucket \(Figure[3](https://arxiv.org/html/2610.12601#S4.F3)\), the per\-topic change is right\-shifted with a positive mean \(Figure[3](https://arxiv.org/html/2610.12601#S4.F3)\), and the per\-topic scatter is denser above the line of equality \(Figure[4](https://arxiv.org/html/2610.12601#S4.F4)\)\.
Table 4:Held\-out test set, paired seed and optimized prompts \(topic\-disjoint, n=500\)\.
Figure 3:Left: reward\-bucket counts for seed and optimized across the 500 held\-out tasks\. The optimized prompt shifts tasks into the top bucket\. Right: distribution of the per\-topic paired reward change across the 254 held\-out topics, with mean marked\. 166 topics improve and 80 regress\.Figure 4:Per\-topic held\-out reward, with seed on the x\-axis and optimized on the y\-axis and the line of equality\. The band above the line is denser, consistent with a net positive but non\-uniform gain\.
#### Reward decomposition\.
The held\-out decomposition on 200 topic\-disjoint tasks \(Table[5](https://arxiv.org/html/2610.12601#S4.T5), Figure[5](https://arxiv.org/html/2610.12601#S4.F5)\) shows the improvement is broad across the 3 citation\-quality levers, each near 0\.09 with confidence\-interval\-separated bars, rather than concentrated in one\. Factual support is the largest gain and, at 0\.53 rising to 0\.62, still the lowest lever and the binding constraint, while the answer gate moves little and numbering is saturated\. The 24\-task validation set is too noisy to decompose reliably, so we report the decomposition on the 200\-task held\-out set\.
Table 5:Reward decomposition per lever, seed and best prompts\. Validation columns are n=24 and held\-out test columns are n=200\. Factual support is the largest held\-out gain and still the lowest lever\.Figure 5:Per\-lever means on the held\-out test subset \(n=200\) with bootstrap 95% confidence intervals\. Link accessibility, source relevance, and factual support all improve with separated intervals\. The answer gate barely changes and citation numbering is already at ceiling\.
### 4\.3Robustness across seeds
Repeating the optimization under 3 independent seeds shows the held\-out gain is a property of the method, not of one lucky run \(Table[6](https://arxiv.org/html/2610.12601#S4.T6)\)\. Every seed produces a positive held\-out gain whose bootstrap confidence interval excludes zero, with a mean of 0\.107 and a range of 0\.079 to 0\.130\. What is not stable is the validation\-minus\-held\-out gap, which ranges from 0\.034 to 0\.160, a factor of about 5\. A quantity that measured the memorized portion of the same selected prompt should not swing this much across seeds, so the spread is direct evidence that the gap reflects optimizer\-selection and judge variance rather than a stable memorization signal\.
Table 6:Multi\-seed robustness on the topic\-disjoint held\-out set \(n=500 per seed\)\. The held\-out gain is positive and significant in every run \(mean 0\.107, sd 0\.021\)\. The validation\-minus\-held\-out gap is not stable, ranging from 0\.034 to 0\.160\.
### 4\.4Does the memorized answer key earn reward?
The topic\-shared evaluation isolates the effect of the memorized answer key by scoring the fixed seed and best prompts on questions from the training families, with no further search \(Table[7](https://arxiv.org/html/2610.12601#S4.T7)\)\. On the 24 exact training questions, which is the best possible case for a memorized lookup, the best prompt beats the seed by only 0\.090\. That gain is statistically indistinguishable from the 0\.079 held\-out gain and nowhere near the 0\.202 validation gain, and the answer gate stays flat at 0\.92 for both prompts, so the memorized key does not even raise answer recall\. If memorization drove the validation gain, this exact\-leak number would approach 0\.202, but it does not\. On fresh same\-topic questions the memorized families gain less \(0\.071\) than the non\-memorized families \(0\.154\), so the answer\-key blocks behave as prompt bloat that slightly depresses performance rather than as a useful lookup table\. Several memorized entries do not even match the dataset’s gold answers, which reinforces that the key is not a reliable table of answers\. A topic\-shared split does inflate the apparent gain modestly \(0\.112 versus the 0\.079 disjoint gain\), but the inflation is the transfer of general citation discipline to same\-topic questions, not memorized reward, and it remains far below the validation gain\.
Table 7:Topic\-shared evaluation of the fixed seed and best prompts, no further search\. On the exact training questions the memorized answer key adds only 0\.090, indistinguishable from the disjoint held\-out gain and far below the 0\.202 validation gain, and it helps memorized families less than non\-memorized ones\. Each cell is a single rollout per task, so small cells \(n=12\) carry variance; the robust reading is the pattern\.
### 4\.5Which verifier property drives transfer?
This ablation varies the verifier while holding the data, policy, reflector, and budget fixed, and re\-scores every optimized prompt on one canonical held\-out verifier so the configurations are comparable \(Table[8](https://arxiv.org/html/2610.12601#S4.T8), Figure[6](https://arxiv.org/html/2610.12601#S4.F6)\)\. It varies three properties of the reward signal that supervises the search, its resolution, whether scoring is repeated, and whether the feedback is decomposed per dimension, and asks which of them determines what transfers and where reward gaming appears\. The canonical held\-out baseline is 0\.682 over 120 topic\-disjoint tasks, and each configuration is 2 seeds, so we read the cell means as directional rather than precise \(Section[6](https://arxiv.org/html/2610.12601#S6)\)\.
#### Decomposed feedback is what makes the gain transfer\.
Replacing the per\-dimension textual feedback with a single scalar reward drives held\-out transfer negative, from\+0\.075\+0\.075for the decomposed reference to−0\.021\-0\.021for the scalar variant\. Per seed the scalar reward either found no accepted improvement at all or raised validation while regressing on held\-out, so a reflector given only a scalar has nothing to diagnose and cannot discover transferable citation\-discipline rules\. The levers that carry the transferable gain in the main results,link\_works,relevant\_content, andfact\_check, are exactly the per\-dimension signals that the scalar variant discards\.
#### Finer or repeated scoring buys stability, not transfer\.
Along the reliability ordering of coarse, fine, and fine with 3x repetition, mean transfer is flat to declining at 0\.079, 0\.075, and 0\.059, so more granular or more repeated judging did not improve generalization at a fixed budget, and repetition cost 3x the judge calls\. Its one benefit was stability, since repeated scoring gave the tightest seed\-to\-seed spread at 0\.018, against 0\.037 for the reference and 0\.079 for the coarse verifier\.
#### Reward gaming tracks weak verifiers, and held\-out testing exposes it\.
The gaming gap, the difference between the validation gain and the held\-out transfer, is largest for the low\-information verifiers rather than the strongest one, at 0\.071 for coarse and 0\.061 for scalar on top of its negative transfer, against 0\.043 for the fine decomposed reference \(Figure[7](https://arxiv.org/html/2610.12601#S4.F7)\)\. Stronger verification therefore did not induce more gaming in this setting, low\-information verification did, and the held\-out re\-scoring is what reveals it, most starkly for the scalar cell where a positive validation delta hides a held\-out regression\.
Table 8:Verifier\-scaling ablation, means over 2 seeds, all re\-scored on one canonical held\-out verifier \(n=120, baseline 0\.682\)\. Transfer is the canonical held\-out gain and the gaming gap is the validation gain minus that transfer\. Only removing decomposed feedback \(scalar\) changes the sign of transfer\. Finer or repeated scoring does not raise it, and the gaming gap is largest for the weakest verifiers\.Figure 6:Held\-out transfer \(canonical verifier, n=120\) for each verifier configuration, mean of 2 seeds with the individual seeds overlaid\. Decomposed per\-dimension feedback transfers, while collapsing it to a scalar reward drives transfer negative\.Figure 7:Validation gain under each configuration’s own verifier against canonical held\-out transfer\. The gap between the two, the gaming gap, is largest for the coarse and scalar verifiers, and held\-out re\-scoring exposes it\.
### 4\.6A hand\-written recipe baseline
The transferable rules the optimizer found are describable, which raises the question of whether a practitioner could write them by hand and skip the search, so we test that directly\. We construct a*recipe*prompt equal to the best prompt with all memorized answer\-key content removed, dropping theKnown Benchmark FactsandKnown Prior Research Hintsblocks and the two answer\-bearing citation examples, and keeping only the describable rules of answer\-first structure, one claim per citation, verified page content, corpus\-only URLs, and sequential numbering\. We score this recipe against the seed and the best prompt on 100 held\-out tasks under the same policy, reward, and corpus \(Table[9](https://arxiv.org/html/2610.12601#S4.T9)\)\.
The recipe alone recovers 0\.047 of the 0\.083 total held\-out gain on these tasks, about 57%, so a practitioner who writes down the rules captures most of the improvement\. The full optimized prompt adds a further 0\.036, but this increment is not individually significant at 100 tasks \(95% confidence interval\[−0\.021,\+0\.096\]\[\-0\.021,\+0\.096\]\), consistent with the memorized answer key being inert \(Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)\)\. The total seed\-to\-best gain of 0\.083 is significant and matches the headline 0\.079 on the full 500\-task set\. The improvement is therefore largely a transferable, describable recipe, and reflective search adds only a small residual that we cannot separate from noise at this sample size\.
Table 9:Hand\-written recipe baseline on 100 held\-out tasks, where the recipe is the best prompt with all memorized answer\-key content removed\. Mean held\-out reward is 0\.684 \(seed\), 0\.731 \(recipe\), and 0\.767 \(best\)\. The describable recipe recovers about 57% of the total gain, and the residual from the full search is not individually significant at this sample size\.
### 4\.7Cost and latency
Because prompt optimization changes only the prompt, the optimized agent runs at inference with no added machinery, and we confirm it carries no latency penalty\. On 6 held\-out queries per prompt at concurrency one, the optimized prompt averaged 138\.8 seconds per query against 159\.9 for the seed, and output length was unchanged at about 3200 tokens\. The gain does cost input tokens, since mean total policy tokens rose about 32%, from 146\.0k to 193\.1k per query, almost entirely on the input side \(an added 47k\), because the optimized prompt retrieves and grounds more context per query\. GEPA’s search is a one\-time cost of 240 policy rollouts, on the order of 40M policy tokens, after which every query runs at the per\-query cost above with no recurring optimizer overhead\. These are small\-sample point estimates over 6 queries per prompt, reported for scale rather than as a powered comparison\.
### 4\.8Judge validation and self\-preference
The reward is scored by language\-model judges\[[Zheng et al\., 2023](https://arxiv.org/html/2610.12601#bib.bib52)\], so we check that they agree with a human and are not inflated by a shared provider family\[[Panickssery et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib53),[Pombal et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib63)\]\. One author labeled 48 held\-out \(attribution, citation\) pairs blind to the judge decision, and we re\-scored the same pairs with an out\-of\-family judge, Anthropic Claude Opus 4\.8 \(Table[10](https://arxiv.org/html/2610.12601#S4.T10)\)\. The in\-family factual\-support judge, which scores the binding reward lever, matched the human on 80\.0% of pairs \(Cohen’sκ=0\.60\\kappa=0\.60;[Cohen, 1960](https://arxiv.org/html/2610.12601#bib.bib56)\), and its disagreements are mildly lenient, accepting topically\-close sources on 7 of its 9 mismatches\. The relevance judge matched on 77\.8% \(κ=0\.23\\kappa=0\.23\), and all 10 of its disagreements are one\-directional under\-crediting, where it withholds relevance because the source does not also support the specific fact, so it never inflates the score\. The out\-of\-family judge agrees with the human as well as or better than the in\-family judge, on 91\.1% of relevance and 80\.0% of factual\-support decisions, and where the two families differ it is the in\-family judge that is the more lenient\. Re\-scoring the composite with the out\-of\-family judge on 12 held\-out tasks, the seed\-to\-best gain persists and is if anything larger, 0\.129 against 0\.069 in\-family on the same tasks, so the improvement is not an artifact of the judges’ provider family\. These are spot\-checks with 48 pairs and a single annotator, and they complement the larger judge\-versus\-human benchmark of[Leung et al\. \[2026\]](https://arxiv.org/html/2610.12601#bib.bib46)\.
Table 10:Judge validation on held\-out \(attribution, citation\) pairs\. The in\-family judges agree with a human annotator, most strongly on factual support, the binding lever\. An out\-of\-family judge \(Anthropic Claude Opus 4\.8\) agrees with the human as well as or better than the in\-family judge, and the seed\-to\-best gain persists under it \(\+0\.129\+0\.129against\+0\.069\+0\.069in\-family on 12 tasks\)\.
## 5Discussion
The winning lineage rewrote the researcher prompt once and the orchestrator twice\. Across these edits the reflector added topic\-independent rules, each targeting a different citation lever\. It moved the answer to the front of the report, split multi\-claim sentences so that one claim carries one citation, required the agent to verify that the cited page’s main content supports the specific claim, and restricted citations to corpus URLs\. These edits are what raise the 3 citation levers on held\-out data\.
The verifier ablation \(Section[4\.5](https://arxiv.org/html/2610.12601#S4.SS5)\) explains why the reflector could find these transferable rules at all\. Each of them answers a specific diagnostic the decomposed reward surfaces, that a link failed to resolve, that a cited page was off\-topic, or that a page did not support the claim, and the reflector rewrites the prompt to close the named failure\. When the same reward is collapsed to a single scalar the reflector loses that diagnostic channel, and transfer turns negative, so the mechanism behind the gain is the per\-dimension feedback rather than the optimizer’s search machinery on its own\. This also reframes the reward signal as the design variable that matters most, since a practitioner who reports only a scalar would both learn less and be more exposed to the gaming that the held\-out protocol exists to catch\.
The reflector also made a second kind of edit\. It wroteKnown Benchmark FactsandKnown Prior Research Hintssections that memorized specific training answers, for example a language count for one model, a product name for one company, and a policy date for one central bank\. This is a textbook case of prompt\-level overfitting\[[Fu et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib57)\], in which the optimizer copies specific training values into the prompt instead of learning a rule that generalizes, an attempted reward hack against the training signal\[[Skalse et al\., 2022](https://arxiv.org/html/2610.12601#bib.bib2),[Mahmoud et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib5)\]\. This memorization is not confined to the candidates that Pareto selection rejected\. It appears in the first accepted edit and grows to dominate the winning program, in which the memorized answer key is 52% of the orchestrator prompt and 39% of the researcher prompt by word count\. Nearly half of the deployed program is therefore a table of verbatim training questions paired with their exact answers and source URLs \(Table[11](https://arxiv.org/html/2610.12601#S5.T11)\)\. The natural reading is that this key is what inflates the validation score, but the topic\-shared ablation \(Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)\) shows it is not\. The memorized key adds only 0\.090 even on the exact training questions it encodes, which is indistinguishable from the transferable held\-out gain and far below the 0\.202 validation gain, and it helps the memorized families less than the non\-memorized ones\. The memorized content is therefore attempted reward hacking that does not pay off, raising the prompt’s length far more than its reward, and the validation\-minus\-held\-out gap is better explained by small\-sample selection under a noisy judge, which we take up next\.
Table 11:Share of each candidate prompt, by word count, occupied by memorizedKnown Benchmark FactsandKnown Prior Research Hintsanswer\-key sections that pair verbatim training questions with their answers\. Memorization enters at the first accepted edit and occupies nearly half of the selected best program \(candidate 4\)\. The topic\-shared ablation \(Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)\) shows this content does not improve the reward, even on the exact training questions it encodes\.Prompt bloat is a subtler symptom of the same pressure\. Past candidate 4 the reflector kept adding emphatic and lengthy instruction, more capitalizedCRITICALdirectives and more memorized\-fact dumps, growing the orchestrator prompt to 3261 words in candidate 6, yet both over\-grown candidates regressed on validation \(Table[3](https://arxiv.org/html/2610.12601#S4.T3)\)\. The extra instruction inflated length without improving behaviour, and GEPA’s Pareto selection rejected it, a useful partial guard against reward hacking by bloat, but only a validation\-time one\. It is the topic\-disjoint held\-out test, not the Pareto objective, that ultimately separates the transferable recipe from the memorized and over\-instructed content\.
### 5\.1Why the topic\-disjoint protocol is necessary
The protocol has three parts, and each catches a failure the others miss\. The topic\-disjoint split is what makes a held\-out score mean transfer, because no article family is shared across train, validation, and test, so a memorized training answer cannot inflate the held\-out number\. Held\-out evaluation then converts the apparent validation gain into a transfer estimate, and the gap between the two measures the part that does not transfer\. A practitioner who selected and reported on validation alone would have described a gain of 0\.202 when the transferable gain is 0\.079, an overstatement of about 2\.6 times\.
The gap is not, however, a stable measurement of memorized reward, and two results establish this\. Across the candidates the memorized answer\-key fraction and the validation reward rise together \(Pearsonr=0\.83r=0\.83\), from 0% at the seed to 48% at the selected best \(Table[11](https://arxiv.org/html/2610.12601#S5.T11), Table[3](https://arxiv.org/html/2610.12601#S4.T3)\), which invites the reading that the optimizer is buying validation reward with memorization\. That reading mistakes correlation for causation, because memorization and the transferable citation\-discipline edits were added along the same accepted lineage, so the two rise together\. The topic\-shared ablation \(Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)\) nonetheless shows the memorized content earns no reward even on the questions it encodes\. What remains true is that a validation\-only workflow surfaces the most\-memorized program as its best, so the practitioner not only mis\-sizes the gain but also ships the most overfitted prompt, even though that overfitting is chasing judge noise rather than memorized reward\.
The prompt autopsy supplies qualitative ground truth for the overfitting itself\. Reading the winning prompt confirms that itsKnown Benchmark Factssections pair specific training questions with their exact answers, for example a fixed language count for one model and a fixed policy date for one central bank\. The overfitting is therefore literal memorization rather than benign paraphrase\. The autopsy establishes that the memorized content is real and large, and the ablation establishes that it is non\-functional\. Together they separate a genuine prompt\-hygiene problem from the size of the transfer gap\.
The topic\-shared counterfactual is no longer only a prediction\. The ablation in Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)constructs same\-family questions and scores the fixed prompts on them, and it does not collapse the gap toward the validation number\. The apparent gain rises only to 0\.112, well short of the 0\.202 validation gain, and the memorized families gain less than the non\-memorized ones\. Because the gap is dominated by small\-sample selection under a noisy judge, we expect it to be largest not where memorization is heaviest but where the validation set is smallest and the judge noisiest\. We separately expect memorization pressure to be largest in narrow, stationary domains where the same entities recur \(Section[6](https://arxiv.org/html/2610.12601#S6)\)\.
### 5\.2Error analysis
After optimization, factual support is still the lowest lever at 0\.62 on the held\-out subset, and 59 of 200 tasks score below 0\.5 on it\. Table[12](https://arxiv.org/html/2610.12601#S5.T12)categorizes the weak citations by the judge’s stated reason\. The dominant theme is that the cited source does not support the specific claim, consistent with factual support being the binding lever\. The corpus\-only\-URL rule largely worked, since not\-in\-corpus URLs are nearly gone\.
Table 12:Fact\-check failure themes for the optimized prompt on the held\-out subset, from the per\-citation judge reasons\.The regressions are mostly answer\-gate flips, where the optimized prompt is more assertive because it puts the answer first, which usually helps but sometimes commits to a wrong specific answer where the seed hedged\. On the paired 200\-task subset the gate gained on 12 tasks and lost on 6\. The gate losses are the largest single\-task regressions, where a task can drop from near 0\.9 to 0, but they are outnumbered by the gate gains, and the mean factual\-support change on the subset is positive at 0\.095\.
## 6Limitations and Future Work
#### The reward is a language\-model judge, validated only at small scale here\.
Every number in this paper is measured by the composite reward, which is itself scored by language\-model judges\. A spot\-check of 48 held\-out pairs \(Section[4\.8](https://arxiv.org/html/2610.12601#S4.SS8)\) shows the judges agree with a human, most strongly on the binding factual\-support lever \(κ=0\.60\\kappa=0\.60\), and the per\-dimension judge models were validated more broadly against human labels in a companion benchmark\[[Leung et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib46)\]\. Our own check is single\-annotator and small, so a larger multi\-annotator study on the optimized outputs would strengthen it, but the reported gain is a gain against judges of demonstrated human agreement rather than an unaudited proxy\.
#### Self\-preference and same\-family bias\.
The policy, the reflector, and the citation judges are all from the same provider family, which risks the reflector learning to please the judge’s scoring idiosyncrasies and same\-family agreement inflating the measured reward\[[Panickssery et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib53),[Pombal et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib63)\]\. We check this directly in Section[4\.8](https://arxiv.org/html/2610.12601#S4.SS8), where an out\-of\-family judge agrees with the human as well as or better than the in\-family judge and the seed\-to\-best gain persists under it, so the improvement is not an artifact of the shared family\. The check uses one alternative model on a small sample, so a larger multi\-provider judge panel would strengthen it, though the current evidence points against a self\-preference confound\.
#### Constraining the optimizer against memorization\.
Our protocol detects prompt\-level overfitting but does not prevent it\. The reflector is free to write anything into the prompt, including the memorized answer key of Section[5](https://arxiv.org/html/2610.12601#S5), and the topic\-disjoint split only discounts that content at evaluation rather than stopping it at the source\. Here the memorized key turned out not to improve the reward, so constraining it is a matter of prompt hygiene and auditability rather than recovering lost accuracy, but in a domain where such content did transfer the same edit would be an active hazard\. A complementary direction is to constrain the update step itself\[[Fu et al\., 2026](https://arxiv.org/html/2610.12601#bib.bib57)\]\. SkillOpt\[[Yang et al\., 2026c](https://arxiv.org/html/2610.12601#bib.bib8)\]enforces generalizability inside the optimizer prompt, instructing the editor that edits must be generalizable and must not hardcode task\-specific values, filtering example\-specific proposals before they are applied, and accepting only bounded edits that pass a held\-out validation gate\. A generalization\-constrained, validation\-gated update rule of this kind could suppress memorized\-answer\-key edits during optimization instead of leaving them to be caught after the fact, and pairing such a rule with our protocol is a natural next step\.
#### Small\-sample validation and the winner’s curse\.
The optimizer selects its best candidate on 24 validation tasks scored by a stochastic judge, so the reported validation reward of the winner is subject to winner’s\-curse inflation\. Selecting the maximum over several noisy candidates favours the one that caught the most upward noise, a regressional\-Goodhart effect\[[Manheim and Garrabrant, 2018](https://arxiv.org/html/2610.12601#bib.bib51),[Gao et al\., 2023](https://arxiv.org/html/2610.12601#bib.bib4)\]\. This is the most likely source of the validation\-minus\-held\-out gap, consistent with the gap’s instability across seeds \(0\.034 to 0\.160, Section[4\.3](https://arxiv.org/html/2610.12601#S4.SS3)\) and with the ablation showing the memorized content earns no reward \(Section[4\.4](https://arxiv.org/html/2610.12601#S4.SS4)\)\. A larger validation set, an explicit selection penalty, or repeated scoring to average out judge noise would shrink the gap, but we did not run these and leave them for future work\.
#### Reward engineering as a complementary guard against hacking\.
A complementary intervention point is the reward function itself\. Verbatim answer injection is detectable at scoring time: a prompt\-content novelty penalty, subtracting a term proportional to token overlap between the candidate prompt and training questions, would directly penalize this strategy in\-run rather than catching it post\-hoc via the held\-out split\. In addition, a judge could be prompted to identify leakage\. More broadly, reward ensembles have shown promise in improving robustness against reward hacking\[[Coste et al\., 2024](https://arxiv.org/html/2610.12601#bib.bib50)\], and the same principle applies to prompt optimization: scoring candidates against multiple independent reward heads makes it harder to inflate any single proxy\. Designing more robust and tamper\-resistant reward functions and detecting misalignment via behavioral or distributional anomaly detection\[[Yang et al\., 2026b](https://arxiv.org/html/2610.12601#bib.bib64)\]are both active directions for mitigating reward hacking, and adapting these techniques to the prompt\-optimization setting, where the policy becomes the prompt instead of model weights, is a natural extension of the present work\[[Wang et al\., 2026a](https://arxiv.org/html/2610.12601#bib.bib49)\]\.
#### Three seeds, not many\.
The held\-out gain replicates across 3 independent seeds \(Section[4\.3](https://arxiv.org/html/2610.12601#S4.SS3)\), so its direction and significance are robust rather than a single lucky run\. What varies is the magnitude of the gain \(0\.079 to 0\.130\) and which candidate the optimizer selects, and 3 seeds is too few to characterize that spread precisely\. We therefore do not treat the validation\-minus\-held\-out gap as a stable estimate of anything\. It is a diagnostic that flags overfitting, not a calibrated measurement\.
#### The verifier ablation is directional\.
The verifier ablation \(Section[4\.5](https://arxiv.org/html/2610.12601#S4.SS5)\) runs each of the 4 configurations at only 2 seeds, and the seed\-to\-seed spreads are wide\. We therefore read the cell means as directional rather than as tight estimates and do not lean on the exact ordering among the decomposed cells\. The robust readings are the two that survive the spread\. Scalar feedback collapses transfer, and there is no reliability\-to\-transfer trend\. All cells are re\-scored by a single canonical verifier from one provider family on a 120\-task held\-out subset, so the transfer numbers inherit that judge’s biases, and confirming the mechanism with an out\-of\-family verifier and more seeds is the natural follow\-up\.
#### Reward under\-specification and corpus binding\.
The reward weights, the tiered answer\-gate definition, and the judge prompts are released with the artifact but should also be stated in the paper\. The search tool queries a frozen corpus, so the link\-accessibility and URL\-discipline conclusions are relative to that corpus\.
#### A single agent, task, and domain\.
We study one multi\-agent deep\-research agent on one citation task drawn from a single news corpus, so the size of the leakage and the exact transferable recipe are specific to this setting\. Whether reflective optimization leaks as heavily on other tasks, agents, and domains is open, and we expect the memorization pressure to be larger, not smaller, in narrow domains\. A domain with a small and recurring entity space, a fixed document template, or a reward that keys on a few specific facts gives the optimizer more opportunity to bake answers into the prompt and more reward for doing so\. Replicating the protocol on such a domain, with splits that are disjoint by entity or document source rather than by news topic, is the natural test of external validity\.
#### Held\-out monitoring for deployed prompt optimization\.
In this setting the gap was dominated by selection noise, but the same instrumentation is what would catch the more dangerous case in which memorized content does transfer\. Recomputing the held\-out gain on a schedule against a refreshed, entity\-disjoint set, and pairing it with a periodic prompt autopsy, gives two complementary signals for a deployed prompt\-optimized system\. The held\-out score tracks whether the gain still generalizes, and the autopsy flags when the optimizer has started baking specific entities into the prompt\. In a stationary domain a baked\-in answer keeps scoring well until the entity it names changes, at which point the held\-out score falls while the in\-distribution score does not\. Tracking these signals over time, rather than treating any single validation\-minus\-held\-out gap as a calibrated leakage measurement, is a concrete direction for keeping reflective optimization auditable in deployment\.
## 7Conclusion
Reflective prompt optimization delivered a statistically significant, generalizing improvement to a deep\-research agent’s citation reward\. The held\-out gain was 0\.079 on 500 topic\-disjoint tasks with no weight updates, it replicated across 3 seeds at a mean of 0\.107, and it spread across the citation\-quality levers rather than concentrating in one\. Factual support, the hardest lever, carried the largest share\. The methodological contribution is the protocol rather than the optimizer\. A topic\-disjoint held\-out test, a controlled topic\-shared ablation, multi\-seed replication, and a verifier ablation together let us ask whether the large validation\-minus\-held\-out gap is memorization, and the answer is that it is not\. The optimizer does write a literal memorized answer key, nearly half of the best prompt by word count, but that content earns no reward even on the exact training questions it encodes\. The validation over\-statement is therefore small\-sample selection under a noisy judge, not memorized reward\. Varying the verifier shows what does drive the gain\. Decomposed per\-dimension feedback is the causal ingredient, since a scalar reward drives held\-out transfer negative while finer or repeated scoring does not raise it\. The recipe the search discovered is a portable prompting pattern for citation\-faithful research agents, namely an answer\-first structure, one claim per citation, verified page content, and corpus\-only URLs\. A hand\-written version of this recipe recovers most of the held\-out gain, which confirms the improvement is a transferable rule set rather than a property of the search itself\. It complements rather than replaces reinforcement learning, and it generalizes only when the reward is decomposed and the evaluation is held\-out and multi\-seed\.
## References
- Agarwalet al\.\(2024\)E\. Agarwal, J\. Singh, V\. Dani, R\. Magazine, T\. Ganu, and A\. NambiPromptWizard: task\-aware prompt optimization framework\.Note:[https://arxiv\.org/abs/2405\.18369](https://arxiv.org/abs/2405.18369)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Agrawalet al\.\(2025\)L\. A\. Agrawal, S\. Tan, D\. Soylu, N\. Ziems, R\. Khare, K\. Opsahl\-Ong, A\. Singhvi, H\. Shandilya, M\. J\. Ryan, M\. Jiang, C\. Potts, K\. Sen, A\. G\. Dimakis, I\. Stoica, D\. Klein, M\. Zaharia, and O\. KhattabGEPA: reflective prompt evolution can outperform reinforcement learning\.arXiv preprint arXiv:2507\.19457\.Note:ICLR 2026 oral\. Code: https://github\.com/gepa\-ai/gepaExternal Links:[Link](https://arxiv.org/abs/2507.19457)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p1.1),[§1](https://arxiv.org/html/2610.12601#S1.p3.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Amodeiet al\.\(2016\)D\. Amodei, C\. Olah, J\. Steinhardt, P\. Christiano, J\. Schulman, and D\. ManéConcrete problems in AI safety\.arXiv preprint arXiv:1606\.06565\.External Links:[Link](https://arxiv.org/abs/1606.06565)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p2.1)\.
- Bai and Shi \(2026\)J\. Bai and L\. ShiMAS\-PromptBench: when does prompt optimization improve multi\-agent LLM systems?\.arXiv preprint arXiv:2606\.23664\.External Links:[Link](https://arxiv.org/abs/2606.23664)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Chenet al\.\(2025\)M\. Chen, L\. Sun, T\. Li, H\. Sun, Y\. Zhou, C\. Zhu, H\. Wang, J\. Z\. Pan, W\. Zhang, H\. Chen, F\. Yang, Z\. Zhou, and W\. ChenReSearch: learning to reason with search for LLMs via reinforcement learning\.Note:[https://arxiv\.org/abs/2503\.19470](https://arxiv.org/abs/2503.19470)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Cohen \(1960\)J\. CohenA coefficient of agreement for nominal scales\.Educational and Psychological Measurement20\(1\),pp\. 37–46\.Cited by:[§4\.8](https://arxiv.org/html/2610.12601#S4.SS8.p1.1)\.
- Costeet al\.\(2024\)T\. Coste, U\. Anwar, R\. Kirk, and D\. KruegerReward model ensembles help mitigate overoptimization\.InThe Twelfth International Conference on Learning Representations \(ICLR\),External Links:[Link](https://arxiv.org/abs/2310.02743)Cited by:[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px5.p1.1)\.
- Decagon \(2026\)DecagonOptimizing GEPA for production: a test\-driven approach to prompt engineering\.Note:[https://decagon\.ai/blog/optimizing\-gepa\-for\-production](https://decagon.ai/blog/optimizing-gepa-for-production)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p3.1),[§3\.4](https://arxiv.org/html/2610.12601#S3.SS4.p1.1),[§3\.6](https://arxiv.org/html/2610.12601#S3.SS6.p1.1),[§4\.2](https://arxiv.org/html/2610.12601#S4.SS2.SSS0.Px1.p1.1)\.
- Efron \(1979\)B\. EfronBootstrap methods: another look at the jackknife\.The Annals of Statistics7\(1\),pp\. 1–26\.Cited by:[§4\.1](https://arxiv.org/html/2610.12601#S4.SS1.p1.1)\.
- Fernandoet al\.\(2024\)C\. Fernando, D\. Banarse, H\. Michalewski, S\. Osindero, and T\. RocktäschelPromptbreeder: self\-referential self\-improvement via prompt evolution\.InProceedings of the 41st International Conference on Machine Learning \(ICML\),External Links:[Link](https://arxiv.org/abs/2309.16797)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Fuet al\.\(2026\)L\. Fu, Y\. Yu, Y\. Wang, Y\. Jin, H\. Jin, B\. A\. Prakash, and H\. WangTextReg: mitigating prompt distributional overfitting via regularized text\-space optimization\.arXiv preprint arXiv:2605\.21318\.External Links:[Link](https://arxiv.org/abs/2605.21318)Cited by:[§5](https://arxiv.org/html/2610.12601#S5.p3.1),[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px3.p1.1)\.
- Gaoet al\.\(2023\)L\. Gao, J\. Schulman, and J\. HiltonScaling laws for reward model overoptimization\.InProceedings of the 40th International Conference on Machine Learning \(ICML\),External Links:[Link](https://arxiv.org/abs/2210.10760)Cited by:[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px4.p1.1)\.
- GEPA Team \(2026\)GEPA TeamScaling GEPA with combee: parallel prompt learning for self\-improving agents\.Note:[https://gepa\-ai\.github\.io/gepa/blog/2026/04/09/gepa\-at\-scale\-with\-combee/](https://gepa-ai.github.io/gepa/blog/2026/04/09/gepa-at-scale-with-combee/)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p3.1)\.
- GEPA\-AI \(2025\)GEPA\-AIGEPA: optimize prompts, code, and more with AI\-powered reflective text evolution\.Note:[https://github\.com/gepa\-ai/gepa](https://github.com/gepa-ai/gepa)Software repositoryCited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1),[§3\.3](https://arxiv.org/html/2610.12601#S3.SS3.p1.1)\.
- Guoet al\.\(2024\)Q\. Guo, R\. Wang, J\. Guo, B\. Li, K\. Song, X\. Tan, G\. Liu, J\. Bian, and Y\. YangConnecting large language models with evolutionary algorithms yields powerful prompt optimizers\.InThe Twelfth International Conference on Learning Representations \(ICLR\),External Links:[Link](https://openreview.net/forum?id=ZG3RaNIsO8)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Javaet al\.\(2025\)A\. Java, S\. Koundinyan, N\. Natarajan, and A\. SharmaFrugalRAG: less is more in RL finetuning for multi\-hop question answering\.Note:[https://arxiv\.org/abs/2507\.07634](https://arxiv.org/abs/2507.07634)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Jianget al\.\(2020\)Y\. Jiang, S\. Bordia, Z\. Zhong, C\. Dognin, M\. Singh, and M\. BansalHoVer: a dataset for many\-hop fact extraction and claim verification\.InFindings of the Association for Computational Linguistics: EMNLP 2020,pp\. 3441–3460\.Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Jinet al\.\(2025\)B\. Jin, H\. Zeng, Z\. Yue, J\. Yoon, S\. Arik, D\. Wang, H\. Zamani, and J\. HanSearch\-r1: training LLMs to reason and leverage search engines with reinforcement learning\.Note:[https://arxiv\.org/abs/2503\.09516](https://arxiv.org/abs/2503.09516)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Khattabet al\.\(2022\)O\. Khattab, K\. Santhanam, X\. L\. Li, D\. Hall, P\. Liang, C\. Potts, and M\. ZahariaDemonstrate\-search\-predict: composing retrieval and language models for knowledge\-intensive NLP\.arXiv preprint arXiv:2212\.14024\.External Links:[Link](https://arxiv.org/abs/2212.14024)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Khattabet al\.\(2024\)O\. Khattab, A\. Singhvi, P\. Maheshwari, Z\. Zhang, K\. Santhanam, S\. Vardhamanan, S\. Haq, A\. Sharma, T\. T\. Joshi, H\. Moazam, H\. Miller, M\. Zaharia, and C\. PottsDSPy: compiling declarative language model calls into self\-improving pipelines\.InThe Twelfth International Conference on Learning Representations \(ICLR\),External Links:[Link](https://openreview.net/forum?id=sY5N0zY5Od)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p1.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Leunget al\.\(2026\)E\. Leung, E\. Lumer, C\. Feld, A\. Huber, V\. K\. Subbiah, and K\. PaulDo you need a frontier model as a citation verifier? benchmarking rubric LLMs for deep\-research source attribution\.External Links:2607\.08700,[Link](https://arxiv.org/abs/2607.08700)Cited by:[Appendix C](https://arxiv.org/html/2610.12601#A3.SS0.SSS0.Px3.p1.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1),[§3\.6](https://arxiv.org/html/2610.12601#S3.SS6.p1.1),[§4\.8](https://arxiv.org/html/2610.12601#S4.SS8.p1.1),[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px1.p1.1)\.
- Lumeret al\.\(2025\)E\. Lumer, A\. Cardenas, M\. Melich, M\. Mason, S\. Dieter, V\. K\. Subbiah, P\. H\. Basavaraju, and R\. HernandezComparison of text\-based and image\-based retrieval in multimodal retrieval augmented generation large language model systems\.arXiv preprint arXiv:2511\.16654\.External Links:[Link](https://arxiv.org/abs/2511.16654)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Lumeret al\.\(2026\)E\. Lumer, S\. Sen, K\. Paul, and V\. K\. SubbiahRecursive agent harnesses\.arXiv preprint arXiv:2606\.13643\.External Links:[Link](https://arxiv.org/abs/2606.13643)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1),[§3\.1](https://arxiv.org/html/2610.12601#S3.SS1.p1.1)\.
- Mahmoudet al\.\(2026\)A\. Mahmoud, M\. Rezaei, Z\. Wang, A\. Gunjal, B\. Liu, and Y\. HeReward hacking in rubric\-based reinforcement learning\.arXiv preprint arXiv:2605\.12474\.External Links:2605\.12474Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p2.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1),[§5](https://arxiv.org/html/2610.12601#S5.p3.1)\.
- Manheim and Garrabrant \(2018\)D\. Manheim and S\. GarrabrantCategorizing variants of Goodhart’s law\.arXiv preprint arXiv:1803\.04585\.External Links:[Link](https://arxiv.org/abs/1803.04585)Cited by:[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px4.p1.1)\.
- Onwelleret al\.\(2026\)H\. Onweller, E\. Lumer, A\. Huber, P\. Ramchandani, V\. K\. Subbiah, and C\. FeldCited but not verified: parsing and evaluating source attribution in LLM deep research agents\.arXiv preprint arXiv:2605\.06635\.External Links:[Link](https://arxiv.org/abs/2605.06635)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1),[§3\.2](https://arxiv.org/html/2610.12601#S3.SS2.p1.1)\.
- Opsahl\-Onget al\.\(2024\)K\. Opsahl\-Ong, M\. J\. Ryan, J\. Purtell, D\. Broman, C\. Potts, M\. Zaharia, and O\. KhattabOptimizing instructions and demonstrations for multi\-stage language model programs\.InProceedings of the 2024 Conference on Empirical Methods in Natural Language Processing \(EMNLP\),External Links:[Link](https://dspy.ai/)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p1.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Panicksseryet al\.\(2024\)A\. Panickssery, S\. R\. Bowman, and S\. FengLLM evaluators recognize and favor their own generations\.InAdvances in Neural Information Processing Systems \(NeurIPS\),External Links:[Link](https://arxiv.org/abs/2404.13076)Cited by:[§4\.8](https://arxiv.org/html/2610.12601#S4.SS8.p1.1),[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px2.p1.1)\.
- Penget al\.\(2025\)H\. Peng, Y\. Qi, X\. Wang, B\. Xu, L\. Hou, and J\. LiVerIF: verification engineering for reinforcement learning in instruction following\.Note:[https://arxiv\.org/abs/2506\.09942](https://arxiv.org/abs/2506.09942)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Pombalet al\.\(2026\)J\. Pombal, R\. Rei, and A\. F\. T\. MartinsSelf\-preference bias in rubric\-based evaluation of large language models\.arXiv preprint arXiv:2604\.06996\.External Links:[Link](https://arxiv.org/abs/2604.06996)Cited by:[§4\.8](https://arxiv.org/html/2610.12601#S4.SS8.p1.1),[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px2.p1.1)\.
- Pyatkinet al\.\(2025\)V\. Pyatkin, S\. Malik, V\. Graf, H\. Ivison, S\. Huang, P\. Dasigi, N\. Lambert, and H\. HajishirziGeneralizing verifiable instruction following\.Note:[https://arxiv\.org/abs/2507\.02833](https://arxiv.org/abs/2507.02833)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Rezaeiet al\.\(2026\)M\. Rezaei, A\. Mahmoud, Z\. Wang, U\. Tyagi, A\. Gosai, R\. Dumitru, A\. Sabharwal, B\. Liu, and Y\. HeRubric\-guided self\-distillation: post\-training without rubric verifiers\.arXiv preprint arXiv:2606\.12507\.External Links:2606\.12507Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Senet al\.\(2026a\)S\. Sen, A\. Kasturi, E\. Lumer, A\. Gulati, and V\. K\. SubbiahIs grep all you need? how agent harnesses reshape agentic search\.arXiv preprint arXiv:2605\.15184\.External Links:[Link](https://arxiv.org/abs/2605.15184)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Senet al\.\(2026b\)S\. Sen, E\. Lumer, A\. Gulati, and V\. K\. SubbiahChronos: temporal\-aware conversational agents with structured event retrieval for long\-term memory\.arXiv preprint arXiv:2603\.16862\.External Links:[Link](https://arxiv.org/abs/2603.16862)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Shaoet al\.\(2024\)Z\. Shao, P\. Wang, Q\. Zhu, R\. Xu, J\. Song, X\. Bi, H\. Zhang, M\. Zhang, Y\. K\. Li, Y\. Wu, and D\. GuoDeepSeekMath: pushing the limits of mathematical reasoning in open language models\.arXiv preprint arXiv:2402\.03300\.External Links:[Link](https://arxiv.org/abs/2402.03300)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p1.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Shiet al\.\(2025\)Z\. Shi, Y\. Chen, H\. Li, W\. Sun, S\. Ni, Y\. Lyu, R\. Fan, B\. Jin, Y\. Weng, M\. Zhu, Q\. Xie, X\. Guo, Q\. Yang, J\. Wu, J\. Zhao, X\. Tang, X\. Ma, C\. Wang, J\. Mao, Q\. Ai, J\. Huang, W\. Wang, Y\. Zhang, Y\. Yang, Z\. Tu, and Z\. RenDeep research: a systematic survey\.arXiv preprint arXiv:2512\.02038\.External Links:[Link](https://arxiv.org/abs/2512.02038)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p4.1)\.
- Siet al\.\(2025\)S\. Si, H\. Zhao, C\. Gao, Y\. Bai, Z\. Wang, B\. Gao, K\. Luo, W\. Li, Y\. Huang, G\. Chen, F\. Qi, M\. Zhang, B\. Chang, and M\. SunTeaching large language models to maintain contextual faithfulness via synthetic tasks and reinforcement learning\.Note:[https://arxiv\.org/abs/2505\.16483](https://arxiv.org/abs/2505.16483)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Skalseet al\.\(2022\)J\. Skalse, N\. H\. R\. Howe, D\. Krasheninnikov, and D\. KruegerDefining and characterizing reward hacking\.InAdvances in Neural Information Processing Systems \(NeurIPS\),External Links:[Link](https://arxiv.org/abs/2209.13085)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p2.1),[§5](https://arxiv.org/html/2610.12601#S5.p3.1)\.
- Songet al\.\(2025\)H\. Song, J\. Jiang, Y\. Min, J\. Chen, Z\. Chen, W\. X\. Zhao, L\. Fang, and J\. WenR1\-searcher: incentivizing the search capability in LLMs via reinforcement learning\.Note:[https://arxiv\.org/abs/2503\.05592](https://arxiv.org/abs/2503.05592)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Soyluet al\.\(2024\)D\. Soylu, C\. Potts, and O\. KhattabFine\-tuning and prompt optimization: two great steps that work better together\.Note:[https://arxiv\.org/abs/2407\.10930](https://arxiv.org/abs/2407.10930)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Sunet al\.\(2025\)Z\. Sun, Q\. Wang, H\. Wang, X\. Zhang, and J\. XuDetection and mitigation of hallucination in large reasoning models: a mechanistic perspective\.Note:[https://arxiv\.org/abs/2505\.12886](https://arxiv.org/abs/2505.12886)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Suzgunet al\.\(2025\)M\. Suzgun, M\. Yuksekgonul, F\. Bianchi, D\. Jurafsky, and J\. ZouDynamic cheatsheet: test\-time learning with adaptive memory\.Note:[https://arxiv\.org/abs/2504\.07952](https://arxiv.org/abs/2504.07952)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Tanet al\.\(2025\)S\. Tan, L\. A\. Agrawal, A\. Singhvi, L\. Lai, M\. J\. Ryan, D\. Klein, O\. Khattab, K\. Sen, and M\. ZahariaLangProBe: a language programs benchmark\.Note:[https://arxiv\.org/abs/2502\.20315](https://arxiv.org/abs/2502.20315)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Tyagiet al\.\(2026\)U\. Tyagi, X\. Guo, M\. Rezaei, D\. George, A\. Mahmoud, J\. Lee, B\. Liu, and Y\. HeNot every rubric teaches equally: policy\-aware rubric rewards for RLVR\.arXiv preprint arXiv:2605\.20164\.External Links:2605\.20164Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p2.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Wanet al\.\(2024\)X\. Wan, R\. Sun, H\. Nakhost, and S\. ArikTeach better or show smarter? on instructions and exemplars in automatic prompt optimization\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Vol\.37\.Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Wanget al\.\(2026a\)X\. Wang, M\. Tian, Y\. Zeng, Z\. Huang, J\. Yuan, B\. Chen, J\. Xu, M\. Zhou, W\. Liu, M\. Wu, Z\. Guo, Q\. Qian, Y\. Wang, F\. Zhang, R\. Yin, S\. Dou, C\. Lv, T\. Chen, K\. Song, X\. Tan, T\. Gui, X\. Zheng, and X\. HuangReward hacking in the era of large models: mechanisms, emergent misalignment, challenges\.arXiv preprint arXiv:2604\.13602\.External Links:[Link](https://arxiv.org/abs/2604.13602)Cited by:[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px5.p1.1)\.
- Wanget al\.\(2026b\)X\. Wang, Z\. Hao, S\. Hou, H\. Peng, J\. Li, and X\. WangReproducing, analyzing, and detecting reward hacking in rubric\-based reinforcement learning\.arXiv preprint arXiv:2606\.04923\.External Links:[Link](https://arxiv.org/abs/2606.04923)Cited by:[§1](https://arxiv.org/html/2610.12601#S1.p2.1),[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Wanget al\.\(2024\)Z\. Z\. Wang, J\. Mao, D\. Fried, and G\. NeubigAgent workflow memory\.Note:[https://arxiv\.org/abs/2409\.07429](https://arxiv.org/abs/2409.07429)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Weiet al\.\(2023\)J\. Wei, X\. Wang, D\. Schuurmans, M\. Bosma, B\. Ichter, F\. Xia, E\. Chi, Q\. Le, and D\. ZhouChain\-of\-thought prompting elicits reasoning in large language models\.Note:NeurIPS 2022[https://arxiv\.org/abs/2201\.11903](https://arxiv.org/abs/2201.11903)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Wilcoxon \(1945\)F\. WilcoxonIndividual comparisons by ranking methods\.Biometrics Bulletin1\(6\),pp\. 80–83\.Cited by:[§4\.1](https://arxiv.org/html/2610.12601#S4.SS1.p1.1)\.
- Wuet al\.\(2025a\)P\. Wu, M\. Zhang, X\. Zhang, X\. Du, and Z\. Z\. ChenSearch wisely: mitigating sub\-optimal agentic searches by reducing uncertainty\.Note:[https://arxiv\.org/abs/2505\.17281](https://arxiv.org/abs/2505.17281)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Wuet al\.\(2025b\)S\. Wu, P\. Sarthi, S\. Zhao, A\. Lee, H\. Shandilya, A\. M\. Grobelnik, N\. Choudhary, E\. Huang, K\. Subbian, L\. Zhang, D\. Yang, J\. Zou, and J\. LeskovecOptimas: optimizing compound AI systems with globally aligned local rewards\.Note:[https://arxiv\.org/abs/2507\.03041](https://arxiv.org/abs/2507.03041)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
- Xuet al\.\(2025\)W\. Xu, A\. Nie, R\. Zheng, A\. Modi, A\. Swaminathan, and C\. ChengFormalizing learning from language feedback with provable guarantees\.Note:[https://arxiv\.org/abs/2506\.10341](https://arxiv.org/abs/2506.10341)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Xuet al\.\(2026\)Y\. Xu, S\. Lu, J\. Cheng, M\. Wang, Q\. Xie, X\. Wang, R\. He, and J\. LiangHow to train your deep research agent? prompt, reward, and policy optimization in Search\-R1\.arXiv preprint arXiv:2602\.19526\.External Links:[Link](https://arxiv.org/abs/2602.19526)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Yanget al\.\(2024\)C\. Yang, X\. Wang, Y\. Lu, H\. Liu, Q\. V\. Le, D\. Zhou, and X\. ChenLarge language models as optimizers\.arXiv preprint arXiv:2309\.03409\.External Links:[Link](https://arxiv.org/abs/2309.03409)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Yanget al\.\(2026a\)M\. Yang, X\. Guo, U\. Tyagi, M\. Zhang, R\. Dumitru, S\. Hou, Y\. He, D\. Y\. Zhang, and Y\. LiuRubric dropout: a simple way to mitigate reward hacking in rubric\-as\-reward RL\.arXiv preprint arXiv:2608\.11669\.External Links:[Link](https://arxiv.org/abs/2608.11669)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px4.p1.1)\.
- Yanget al\.\(2026b\)R\. Yang, Y\. Liu, S\. Luo, H\. Jia, C\. Zhang, H\. Zheng, Y\. Yang, Y\. Huang, J\. Zhang, Y\. Qi, K\. Xu, C\. Ran, and B\. ChongHarness\-agnostic detection and immunization of reward hacking in self\-evolving language models\.arXiv preprint arXiv:2609\.04665\.External Links:[Link](https://arxiv.org/abs/2609.04665)Cited by:[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px5.p1.1)\.
- Yanget al\.\(2026c\)Y\. Yang, Z\. Gong, W\. Huang, Q\. Yang, Z\. Zhou, Z\. Huang, Y\. Li, X\. Gao, Q\. Dai, B\. Liu, K\. Qiu, Y\. Yang, D\. Chen, X\. Yang, and C\. LuoSkillOpt: executive strategy for self\-evolving agent skills\.arXiv preprint arXiv:2605\.23904\.External Links:2605\.23904Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1),[§6](https://arxiv.org/html/2610.12601#S6.SS0.SSS0.Px3.p1.1)\.
- Yanget al\.\(2018\)Z\. Yang, P\. Qi, S\. Zhang, Y\. Bengio, W\. W\. Cohen, R\. Salakhutdinov, and C\. D\. ManningHotpotQA: a dataset for diverse, explainable multi\-hop question answering\.InProceedings of the 2018 Conference on Empirical Methods in Natural Language Processing \(EMNLP\),Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px5.p1.1)\.
- Yaoet al\.\(2023\)S\. Yao, J\. Zhao, D\. Yu, N\. Du, I\. Shafran, K\. Narasimhan, and Y\. CaoReAct: synergizing reasoning and acting in language models\.Note:ICLR 2023[https://arxiv\.org/abs/2210\.03629](https://arxiv.org/abs/2210.03629)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Yuksekgonulet al\.\(2025\)M\. Yuksekgonul, F\. Bianchi, J\. Boen, S\. Liu, P\. Lu, Z\. Huang, C\. Guestrin, and J\. ZouOptimizing generative AI by backpropagating language model feedback\.Nature639,pp\. 609–616\.Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px3.p1.1)\.
- Zhenget al\.\(2023\)L\. Zheng, W\. Chiang, Y\. Sheng, S\. Zhuang, Z\. Wu, Y\. Zhuang, Z\. Lin, Z\. Li, D\. Li, E\. P\. Xing, H\. Zhang, J\. E\. Gonzalez, and I\. StoicaJudging LLM\-as\-a\-judge with MT\-Bench and chatbot arena\.InAdvances in Neural Information Processing Systems \(NeurIPS\), Datasets and Benchmarks Track,External Links:[Link](https://arxiv.org/abs/2306.05685)Cited by:[§4\.8](https://arxiv.org/html/2610.12601#S4.SS8.p1.1)\.
- Zhouet al\.\(2023\)Y\. Zhou, A\. I\. Muresanu, Z\. Han, K\. Paster, S\. Pitis, H\. Chan, and J\. BaLarge language models are human\-level prompt engineers\.InThe Eleventh International Conference on Learning Representations \(ICLR\),External Links:[Link](https://arxiv.org/abs/2211.01910)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px1.p1.1)\.
- Ziemset al\.\(2025\)N\. Ziems, D\. Soylu, L\. A\. Agrawal, I\. Miller, L\. Lai, C\. Qian, K\. Song, M\. Jiang, D\. Klein, M\. Zaharia, K\. D’Oosterlinck, C\. Potts, and O\. KhattabMulti\-module GRPO: composing policy gradients and prompt optimization for language model programs\.arXiv preprint arXiv:2508\.04660\.External Links:[Link](https://arxiv.org/abs/2508.04660)Cited by:[§2](https://arxiv.org/html/2610.12601#S2.SS0.SSS0.Px2.p1.1)\.
## Appendix AReproducibility
The analysis runs as a pipeline over the released artifact\. The optimization step runs the agent with the seed prompts on the train and validation splits and searches with GEPA under the configuration in Section[3\.3](https://arxiv.org/html/2610.12601#S3.SS3)\. The analysis step re\-scores every candidate on validation and re\-scores the seed and best prompts on the 200\-task held\-out subset with per\-citation reasons enabled\. The reporting step derives the prompt lineage and diffs, the paired held\-out statistics, the figures, the tables, and the error analysis\. The commands below are illustrative and use the released artifact layout\.
> \# 1\. Optimize \(the run analysed here\) optimize \-\-dataset dataset\.jsonl \-\-index corpus\.db \-\-out run/ \\ \-\-components both \-\-train\-size 24 \-\-val\-size 24 \-\-test\-size 500 \\ \-\-max\-metric\-calls 240 \-\-reflection\-effort high \# 2\. Re\-analysis \(trajectory, decomposition, error material\) analyze \-\-run\-dir run/ \-\-dataset dataset\.jsonl \-\-index corpus\.db \\ \-\-out data/ \-\-test\-decomp\-size 200 \# 3\. Lineage and diffs, paired stats, figures, tables, error analysis report \-\-run\-dir run/ \-\-data\-dir data/ \-\-out \.
## Appendix BArtifacts
We release the seed and all candidate prompts, their pairwise lineage diffs, the machine\-readable lineage indata/prompt\_lineage\.json, the per\-lever analysis data, the figures, and the tables, with the prompt\-evolution and error\-analysis write\-ups inanalysis/\(paths are given in theREADME\)\.
## Appendix CReward weights, answer gate, and judge prompts
This appendix specifies the gated composite reward of Equation \([1](https://arxiv.org/html/2610.12601#S3.E1)\) exactly as used in the run analysed here and in every re\-evaluation\.
#### Composite weights and aggregation\.
The four weights arewlink=0\.25w\_\{\\text\{link\}\}=0\.25,wrel=0\.30w\_\{\\text\{rel\}\}=0\.30,wfact=0\.30w\_\{\\text\{fact\}\}=0\.30, andwnum=0\.15w\_\{\\text\{num\}\}=0\.15, which sum to 1\.00\. Each oflink\_works,relevant\_content, andfact\_checkis the unweighted mean over every parsed \(attribution, citation\) pair in the report, and a report with no parseable citation pair scores 0 on all three\. Two levers are deterministic rather than model\-scored\.link\_worksis 1 when the cited URL resolves to content in the frozen corpus, andcitation\_numberingrewards inline\[n\]\(url\)citations numbered1\.\.N1\.\.Ncontiguously with a matchingSourceslist, penalizing gaps, duplicates, and mismatches\. All judges see frozen\-corpus content only, with no live web fetch at reward time\.
#### Answer gate\.
The gate is a stateless, cheapest\-first cascade returning\{0,1\}\\\{0,1\\\}\. Tier 1 is a deterministic number\-canonicalized substring match of the gold answer in the report \(thousands separators stripped, unit forms such as “41 billion”, “41bn”, and “41B” unified, quotes and dashes normalized, whitespace collapsed, lowercased\); a multi\-part gold answer joined by;or\|passes only if all parts are present\. Tier 2 is a deterministic coverage router on the fraction of the gold answer’s distinctive tokens present in the report, with a pass threshold of 1\.0 and a fail threshold of 0\.5\. Coverage at or above 1\.0 passes, coverage below 0\.5 fails with no language\-model call, and the near\-miss band in between escalates to Tier 3\. Tier 3 fires only in that near\-miss band and uses OpenAI GPT\-5\-mini \(gpt\-5\-mini\-2025\-08\-07, max 256 tokens, report truncated to 6000 characters\), reasoning before emitting a finalVERDICT: yesorVERDICT: noline\. Its verbatim prompt is:
> You judge whether a research REPORT answers the QUESTION with the same fact as the GOLD ANSWER\. Paraphrase, restatement, and rounding\-free equivalents count as the same fact; a different or absent fact does not\. First reason in 1\-3 short sentences about whether the report expresses the gold fact\. Then, on a FINAL separate line, output exactly ’VERDICT: yes’ or ’VERDICT: no’\. QUESTION: \{question\} GOLD ANSWER: \{truth\} REPORT: \{report\[:6000\]\}
#### Citation judges\.
The source\-relevance and factual\-support levers are binary \(0/10/1\) language\-model judges that return a structured\{score, reason\}object and see the cited URL’s corpus content truncated to 5000 characters\. Source relevance uses OpenAI GPT\-5\-mini \(gpt\-5\-mini\-2025\-08\-07\) and factual support uses OpenAI GPT\-5\.4\-mini \(gpt\-5\.4\-mini\-2026\-03\-17\), following the per\-dimension picks of[Leung et al\. \[2026\]](https://arxiv.org/html/2610.12601#bib.bib46)\. The verbatim system prompts are:
> Source relevance \(OpenAI GPT\-5\-mini\)\.You are an expert evaluator assessing content relevance\. Your task is to determine if the content at a URL is relevant to a given attribution text\. Consider whether the URL content discusses the same topic as the attribution, provides supporting information for its claims, and has a clear connection to it\. This is a binary evaluation: score = 1 if the content IS relevant, score = 0 if it is NOT\. Factual support \(OpenAI GPT\-5\.4\-mini\)\.You are an expert fact\-checker evaluating factual accuracy\. Your task is to determine if the factual claims in an attribution text are supported by the content at a URL\. Consider whether the specific facts, numbers, dates, and claims in the attribution are present in the URL content, whether they match or are consistent, and whether there are any contradictions\. This is a binary evaluation: score = 1 if the facts ARE supported, score = 0 if they are NOT \(contradicted, missing, or unverifiable\)\.
Each judge is called with the attribution text, the cited URL, and the truncated URL content, and is asked to evaluate relevance or factual support for that pair\.相似文章
GEPA:反思式提示演化可超越强化学习
GEPA 是一款提示优化器,利用自然语言反思从试错中学习,在多个任务中,以多达 35 倍的更少 rollout 次数超越了 GRPO 和 MIPROv2 等强化学习方法。
超越总体准确率:提示优化中的条目级转变
提出了反思反馈驱动的提示优化(RFDPO),通过追踪条目级别的恢复、回退和波动来评估自动提示优化,发现整体准确率可能掩盖大量变化,建议同时报告恢复、回归、变动率和在未见数据上的表现。
@rohanpaul_ai: 提示优化可能根本不需要搜索树。它可能更依赖于教师及其反馈的质量。
一篇论文测试了NPO,一种依赖教师反馈的提示优化方法,发现它在更少的运行次数下取得了与GEPA相当或更好的结果,尤其是使用像GPT-5.5这样的更强教师模型时,并且优化后的提示可以转移到其他学生模型。
基于环境的LLM游戏智能体自动提示优化
介绍了一个针对LLM游戏智能体的自动提示优化框架,该框架将观察-行动流水线分解为两个智能体,并通过环境回报引导的进化循环迭代优化提示。在BabyAI任务上评估,显著提高了成功率(例如,在PutNext上从0%提升到72.5%),且无需更新模型权重。
SePO:用于系统提示优化的自进化提示智能体
SePO(自进化提示优化)提出了一种自指涉提示智能体,通过进化搜索同时优化任务智能体的系统提示和自身的系统提示。在包括 AIME'25、ARC-AGI-1 和 GPQA 在内的五个基准测试中,SePO 的表现优于 Manual-CoT、TextGrad 和 MetaSPO。