Simplicity Goes Far: Auditing Prompt Optimizers with Demonstration-Conditioned Prompt Search
Abstract
Automatic prompt optimization is growing more elaborate. Recent methods stack policy-gradient updates, trace reflection, and evolutionary search. These methods share a generate-and-select step; without controlling for it, reported gains may conflate the contributions of optimizer mechanisms and larger sampling budgets. We isolate this step as Demonstration-Conditioned Prompt Search (DCPS), repurposing the Automatic Prompt Engineer (APE) recipe as a mechanism-attribution control: it freezes the generator, conditions it on randomly sampled demonstrations, scores candidates on validation data, and keeps the best---no learned update, reflection, or evolution. Across two optimizer families, DCPS replaces Proximal Policy Optimization (PPO) in StablePrompt, matching classification accuracy within 0.5 pp at roughly one-third the measured cost; in DSPy-based compound AI systems, under the reported budgets, it matches GEPA's macro accuracy on GPT-4.1-mini while using 55% fewer rollouts at 32% lower measured API cost on average. The audit reveals a task-dependent pattern: proposal and selection recover much of heavier optimizers' performance on structured and instruction-following tasks, while additional mechanisms retain advantages in some open-ended and reasoning-heavy settings. We recommend benchmarking prompt optimizers against generate-and-select controls and reporting rollout counts, token usage, and dollar costs alongside accuracy. Code and artifacts: https://github.com/bhc6/DCPS.
Create a lesson
Related papers
Anchor and Check: Deterministic Cross-Prompt, Cross-Model Reconciliation for Auditable LLM Decisions
Shared title terminology · Sivakameswara Reddy Chejarla
Diagnosis is not a policy: a state-transition audit of caoability-conditioned test-time inference
Shared title terminology · Yuchong Hu, Zhao Zhang, Kainan Liu et al.
The Dual-Tier Sentiment Framework: Scalable Multimodal UX Attribution in Web Search
Shared title terminology · Yi Ding, Gaurav Kumar, Rui Min et al.
Auditable Financial Knowledge Graphs: Schema-Driven Construction and Intrinsic Quality Evaluation
Shared title terminology · Samarth Sarin, Lovepreet Singh, Dhagash Mehta
Recoverable Symbols, Unstable Execution: Auditing Internal Pathways and Decision Identity in Visual State Tracking
Shared title terminology · Ruiqi Liu, Jinming Li, Mo Wang et al.
EDAGoat: An EDA-Aware Agent for Project-Level GPU Optimization
Shared title terminology · Chengxi Li, Liang Xiao, Yutao Wang et al.