Failure-Guided Co-Evolution of Prompts and Training Data

Automatic prompt optimization (APO) improves language-model programs by revising prompts from task feedback, yet it typically holds its training data fixed. Repeatedly optimizing against the same instances confines feedback to weaknesses already represented in those data, leaving related failure conditions unexplored. We therefore view each failure as a dual signal: it indicates both how the prompt should be revised and what new training evidence should be synthesized. We introduce FORGE, a failure-guided framework that co-evolves prompts and training data. FORGE abstracts imperfect executions into reusable failure modes and synthesizes new training data through four complementary mutation strategies. Verified instances are fed back into prompt search, allowing updated prompts to expose the next data needs. Across eight heterogeneous benchmarks, FORGE improves the aggregate score over the unoptimized baseline by 16.52 percentage points and outperforms all evaluated APO baselines. The synthesized data also transfer beyond FORGE: in a transfer study, they improve all nine APO comparisons by 2--9 points and all three GRPO comparisons by 4--8 points under matched optimization budgets. These results establish failures as a shared interface between prompt optimization and data synthesis, and show the benefit of jointly adapting what a model is instructed to do and what it learns from.

Link
https://www.semanticscholar.org/paper/729fced90e7d852b710478e5e3515671596c2690
Found by
Semantic Scholar
Authors
Tian-Yu Yuan, Zhu-Zhong Qian
Categories
benchmark, evaluation, dataset
Published
2026-09-14
Last seen by the radar
2026-09-16
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat, training data; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2609.15209
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar