Research map / Large language models / Language, safety and interpretability
Automatic Prompt Optimization with ``Gradient Descent'' and Beam Search
Reid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee, Chenguang Zhu, Michael Zeng
Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
8improved
3no clear effect
2hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use ProTeGi instead of Monte-Carlo (MC) and RL baselines | prompt optimization · 4 tasks average | F1: +3.9% over MC, +8.2% over RL | Improved |
| use ProTeGi instead of the original prompt p0 and AutoGPT | prompt optimization · 4 tasks average | F1: +15.3% over p0, +15.2% over AutoGPT | Improved |
| 6 rounds of AutoGPT feedback | starting prompt · Jailbreak, Sarcasm | F1 | Hurt |
| beam search instead of greedy DFS (ablation) | ProTeGi · Jailbreak | F1: 0.82 -> 0.85 | Improved |
| beam search instead of flat enumeration (ablation) | ProTeGi · Liar | F1: 0.63 -> 0.67 | Improved |
| beam search instead of flat or greedy on Sarcasm (ablation) | ProTeGi · Sarcasm | F1: 0.87/0.85 -> 0.88 | No clear effect |
| bandit selection (UCB, UCB-E, SR, SH) instead of uniform budget spreading (ablation) | ProTeGi · Jailbreak (25 per prompt) | F1: 0.77 -> 0.83 (UCB) | Improved |
| UCB-style instead of successive rejects-style selection (ablation) | ProTeGi · Jailbreak (25 per prompt) | F1: 0.81 (SR) -> 0.83 (UCB) | Improved |
| more optimization steps beyond about 3 (ablation) | ProTeGi · all four tasks | F1 | No clear effect |
| swap base LLM from GPT-3 to GPT-4 (ablation) | ProTeGi · Jailbreak | F1: 0.55 -> 0.88 | Improved |
| swap base LLM from ChatGPT to GPT-4 (ablation) | ProTeGi · Sarcasm | F1: 0.86 -> 0.86 | No clear effect |
| ProTeGi vs MC with 6 queries per candidate | prompt optimization · Jailbreak (accuracy) | accuracy: 0.76 -> 0.81 | Improved |
Closest papers by meaning
- A Systematic Survey of Automatic Prompt Optimization Techniques (EMNLP 2025 · similarity 0.91)
- GReaTer: Gradients Over Reasoning Makes Smaller Language Models Strong Prompt Optimizers (ICLR 2025 · similarity 0.91)
- Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizers (AAAI 2025 · similarity 0.91)
- SOPL: A Sequential Optimal Learning Approach to Automated Prompt Engineering in Large Language Models (EMNLP 2025 · similarity 0.91)
- Large Language Models as Optimizers (ICLR 2024 · similarity 0.90)
- Self-Supervised Prompt Optimization (EMNLP 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
