mlsanityData to 14 Oct 2026

APEX: Automated Prompt Engineering eXpert with Dynamic Data Selection

arXiv 2606.11459 ↗First posted 9 Jun 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models are highly sensitive to prompt formulation, necessitating automatic prompt optimization to unlock their full potential. While evolutionary algorithms have emerged as the dominant paradigm, they suffer from a critical bottleneck: data efficiency. Current methods treat the development dataset as a static benchmark, wasting significant compute budget on uninformative data. In this work, we introduce APEX (Automatic Prompt Engineering eXpert), a novel framework that optimizes the data usage alongside the prompt search. APEX dynamically stratifies the dataset into Easy, Hard, and Mixed tiers based on the optimization lineage. By prioritizing the Mixed tier, which identifies the data where the LLM has mixed performance, we identify two high-leverage subsets: the addressable frontier for generating informative mutations and the rank-sensitive frontier for distinguishing candidate quality. We evaluate APEX across three diverse benchmarks: IFBench, SimpleQA Verified, and FACTS Grounding. Under a fixed budget of 5,000 evaluation calls, due to its data efficiency, APEX outperforms the initial prompt by an average of 11.2% on Gemini 2.5 Flash and 6.8% on Gemma 3 27B, demonstrating that a data-centric approach is key to efficient and effective prompt optimization.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 38 references that are in the map. First posted on arXiv 9 Jun 2026.

Builds on

30 of 38 references.

References · 30

  1. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  3. 2025Gemma 3 Technical Reportcited by 1,824
  4. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  5. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  6. 2023Large Language Models as Optimizerscited by 864
  7. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  8. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  9. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  10. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  11. 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
  12. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
18 more
  1. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
  2. 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 233
  3. 2025Generalizing Verifiable Instruction Followingcited by 194
  4. 2023Active Prompting with Chain-of-Thought for Large Language Modelscited by 154
  5. 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
  6. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  7. 2024What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functionscited by 94
  8. 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
  9. 2025SimpleQA Verified: A Reliable Factuality Benchmark to Measure Parametric Knowledgecited by 54
  10. 2023Prompt Engineering a Prompt Engineercited by 53
  11. 2025The FACTS Grounding Leaderboard: Benchmarking LLMs' Ability to Ground Responses to Long-Form Inputcited by 52
  12. 2024Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplarscited by 37
  13. 2023Language Models as Black-Box Optimizers for Vision-Language Modelscited by 36
  14. 2024Teach Better or Show Smarter? On Instructions and Exemplars in Automatic Prompt Optimizationcited by 29
  15. 2025Maestro: Self-Improving Text-to-Image Generation via Agent Orchestrationcited by 19
  16. 2023Automatic Engineering of Long Promptscited by 14
  17. 2024Data Advisor: Dynamic Data Curation for Safety Alignment of Large Language Modelscited by 13
  18. 2025Model Performance-Guided Evaluation Data Selection for Effective Prompt Optimizationcited by 5

Built on by

Not cited yet.