Summary

Pryzant et al. introduce ProTeGi / APO, a black-box prompt optimization method that uses LLM-generated natural-language critiques as “textual gradients.” The method evaluates a prompt on minibatches, asks an LLM to describe why the prompt failed, edits the prompt in the opposite semantic direction, and uses beam search plus bandit selection to retain promising candidates.

Key Takeaways

  • APO reframes prompt tuning as a measurable optimization loop over validation data, not as open-ended prompt brainstorming.
  • Natural-language gradients preserve interpretability because every optimization step can be inspected as a critique and an edit.
  • Beam search and bandit selection make the search more efficient than undirected prompt mutation.
  • The method assumes a clear task metric, a seed prompt, representative training examples, and access to an LLM API.
  • The reported gains show that vague task descriptions can be rewritten into more precise annotation instructions automatically.

Local PDF

Extracted Notes