A Systematic Survey of Automatic Prompt Optimization Techniques
prompt-optimizationllmsurveyapoblack-box-optimization
Abstraction: EMNLP 2025 survey organizing 100+ automatic prompt optimization (APO) systems under a 5-part anatomy
Key points:
- APO = treat the prompt as the optimized object: no weight access, systematic search, human-readable artifact; formally intractable combinatorial search, all systems approximate.
- 5-part anatomy every system instantiates: (1) seed prompts (manual or instruction-induction from examples), (2) evaluation/feedback (task metrics, reward models, LLM critics, humans), (3) candidate generation, (4) filter/retain (bandits: UCB/UCT/LinUCB), (5) iteration depth.
- Candidate-generation families: textual gradients (ProTeGi/TextGrad), evolutionary (PromptBreeder self-referential mutation), MCTS (PromptAgent), token surgery (COPLE), metaprompting (OPRO), mixture-of-expert-prompts, program synthesis (DSPy/MIPRO/SAMMO).
- Theory ceiling: AlignPro upper-bounds prompt-optimization gains relative to an RLHF-optimal policy.
- Admitted mysteries: "evil twin" prompts (uninterpretable strings matching gold-prompt performance), gibberish delimiters that work, LLM self-reflection failing at error identification — the field optimizes atop mechanisms it does not understand.
- Cost asymmetry: task prompts ~10 min (ProTeGi) vs system prompts ~60 h (SPRIG); agentic multi-prompt optimization named the open frontier.
Connections: Prompt Engineering · Bandit Algorithms · Program Synthesis
Source: https://arxiv.org/abs/2502.16923