Failure-Guided Co-Evolution of Prompts and Training Data
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 43 references that are in the map. First posted on arXiv 14 Sep 2026.
Builds on
22 of 43 references.
References · 22
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,040
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
- 2024Magpie: Alignment Data Synthesis from Scratch by Prompting Aligned LLMs with Nothingcited by 346
- 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 344
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
- 2020HoVer: A Dataset for Many-Hop Fact Extraction And Claim Verificationcited by 201
- 2022FiNER: Financial Numeric Entity Recognition for XBRL Taggingcited by 50
10 more
- 2026Meta Context Engineering via Agentic Skill Evolutioncited by 49
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Datacited by 39
- 2025AutoPDL: Automatic Prompt Optimization for LLM Agentscited by 27
- 2024DataEnvGym: Data Generation Agents in Teacher Environments with Student Feedbackcited by 25
- 2025Procedural Environment Generation for Tool-Use Agentscited by 24
- 2024AMPO: Automatic Multi-Branched Prompt Optimizationcited by 11
- 2024DISCERN: Decoding Systematic Errors in Natural Language for Text Classifierscited by 8
- 2024Forewarned is Forearmed: Leveraging LLMs for Data Synthesis through Failure-Inducing Explorationcited by 7
- 2025SIPDO: Closed-Loop Prompt Optimization via Synthetic Data Feedbackcited by 7
- 2025Data-Prompt Co-Evolution: Growing Test Sets to Refine LLM Behaviorcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Error Taxonomy-Guided Prompt Optimization
- 2026Reflective Prompt Tuning through Language Model Function-Calling
- 2025Evolving Prompts In-Context: An Open-ended, Self-replicating Perspective
- 2026Why Prompt Optimization Works, and Why It Sometimes Doesn't: A Causal-Inspired Edit-Level Analysis
- 2025Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
- 2025Self-Supervised Prompt Optimization
- 2026Automatically Evolving Prompt Guidelines for Task-Specific Optimization
- 2026Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradients