Core Ideas
- APO 的核心落地建议
- Prompt optimization turns prompt writing into measurable search
- APO systems share a five-stage optimization anatomy
- APO quality depends on validation data and metric design
- Prompt optimization spaces can be discrete continuous or hybrid
- Few-shot prompt performance swings wildly with example choice and order
- Chain-of-thought pays off only for complex reasoning in large models
- Prompt explanations fail by being nonfactual rather than inconsistent
- Self-consistency sampling improves reliability through majority vote
Foundational Methods
- Automatic prompt engineering treats instructions as programs
- Textual gradients make prompt errors editable in natural language
- Seedless prompt induction lowers entry cost but still needs task examples
Applied Extensions
- Agent prompt optimization must search patterns as well as wording
- Human-in-the-loop prompt optimization preserves domain judgment
Related Sources
- Weng - Prompt Engineering
- Ramnath et al. - A Systematic Survey of Automatic Prompt Optimization Techniques
- Pryzant et al. - Automatic Prompt Optimization with Gradient Descent and Beam Search
- Zhou et al. - Large Language Models Are Human-Level Prompt Engineers
- Li et al. - A Survey of Automatic Prompt Engineering An Optimization Perspective
- Chernodub et al. - APIO Automatic Prompt Induction and Optimization
- Spiess et al. - AutoPDL Automatic Prompt Optimization for LLM Agents
- Li and Klinger - iPrOp Interactive Prompt Optimization
Reading Order
- Start with Ramnath et al. - A Systematic Survey of Automatic Prompt Optimization Techniques for the APO taxonomy.
- Read Zhou et al. - Large Language Models Are Human-Level Prompt Engineers for instruction generation and selection.
- Read Pryzant et al. - Automatic Prompt Optimization with Gradient Descent and Beam Search for textual-gradient prompt editing.
- Use Li et al. - A Survey of Automatic Prompt Engineering An Optimization Perspective to place APO inside broader discrete, continuous, and hybrid prompt optimization.
- Read APIO, AutoPDL, and iPrOp as extensions into seedless induction, agent prompt programs, and human-in-the-loop workflows.
Open Threads
- Which APO evaluation metrics are robust enough for subjective writing or research-assistant tasks?
- When should humans remain in the optimization loop rather than only review the final prompt?
- How much of agent behavior should be optimized as prompt text versus prompt program structure?