TL;DR
Is the complexity of modern prompt optimizers actually necessary? This paper introduces Demonstration-Conditioned Prompt Search (DCPS), a minimal "generate-and-select" baseline that matches the performance of sophisticated RL and reflection-based methods on many tasks at a fraction of the cost. The authors argue that much of the reported gain in prompt optimization comes from simple sampling and validation rather than complex algorithmic mechanisms.
What Problem Does This Paper Address?
Automatic Prompt Optimization (APO) has become an arms race of complexity. Recent methods use Reinforcement Learning (RL), natural language reflection loops, and evolutionary algorithms to "evolve" the perfect prompt. However, these methods all share a common core: they generate multiple candidate prompts and select the best one based on validation performance.
The authors identify an attribution problem: it's unclear if the performance gains come from the "fancy" mechanisms (like policy gradients or trace reflection) or simply from having a larger sampling budget and a good selection rule. Without a proper control, we might be over-engineering solutions when a simpler approach would suffice.
Methods
The authors propose DCPS as a "mechanism-attribution control." It is a deliberately minimal four-stage pipeline:
- Demonstration Sampling: Randomly sample $k$ examples from the training set.
- Candidate Generation: Use a frozen LLM generator to propose prompts based on those examples (no parameter updates or reflection).
- Evaluation: Score each candidate on a validation subset.
- Selection: Keep the best-performing prompt(s).
The paper "audits" two major optimizer families by replacing their complex components with this DCPS logic:
- StablePrompt Audit: Replaces Proximal Policy Optimization (PPO) with DCPS while keeping the same sampling and selection structure.
- Compound AI Audit: Replaces the reflection, mutation, and Pareto evolution of systems like GEPA and MIPROv2 with simple greedy validation-based selection.
To compare efficiency, they introduce the Relative Cost-Efficiency Index (RCEI), which measures the relative error reduction achieved per log-unit of increased cost.
Datasets
The authors evaluate DCPS across a wide range of benchmarks:
- Text Classification: 6 subsets from GLUE and SuperGLUE (e.g., SST-2).
- Multi-task QA: MMLU (57 subjects).
- Instruction Induction: 24 tasks from Instruction Induction (II) and 18 from Big-Bench (BBII).
- Compound AI Benchmarks: HotpotQA, HoVer (multi-step retrieval), IFBench (verifiable instruction following), PUPA (privacy delegation), AIME-2025, and LiveBench-Math (reasoning).
Key Insights and Ideas
- The "Simplicity" Boundary: For structured tasks (classification, instruction following), simple proposal and selection recover almost all the gains of heavy optimizers. Complex mechanisms like PPO or reflection only show clear advantages in open-ended, reasoning-heavy settings.
- Budget as a Substitute for Complexity: On some tasks, simply increasing the search budget for the "dumb" DCPS baseline allows it to close the gap with "smart" RL-based optimizers.
- Prompt "Bloat": Complex optimizers tend to produce very long, "playbook-style" prompts. DCPS produces significantly shorter, more concise prompts that often generalize better because they don't overfit to specific failure traces.
- The Winner's Curse: The authors highlight a significant "validation-to-test gap." When you select the best prompt from a large pool based on a small validation set, you often overfit to that subset, leading to disappointing performance on truly held-out data.
Key Results
- StablePrompt vs. DCPS: On classification tasks, DCPS matched StablePrompt-PPO's accuracy within 0.5 percentage points but cost roughly one-third as much to run.
- Compound Systems: On GPT-4.1-mini, DCPS matched the macro accuracy of the state-of-the-art GEPA optimizer while using 55% fewer rollouts and achieving a 32% lower API cost.
- Efficiency: DCPS achieved the highest RCEI (cost-efficiency) among all optimized methods tested.
Limitations and Future Work
- Non-identical Settings: The audits were conducted in the "native" environments of the optimizers they were testing (e.g., using different backbones like Gemma or Qwen), which makes direct cross-family comparisons difficult.
- Optimization Capacity: DCPS is a "black-box" optimizer; it cannot localize errors in complex multi-module pipelines the way reflection-based methods can.
- Task Coverage: The authors note that more complex interactive tasks, code generation, and tool use remain untested and might still require the "heavy machinery" of advanced optimizers.
- Future Direction: The authors recommend that all future prompt optimization research should include a generate-and-select control (like DCPS) as a mandatory baseline.
Summary updated