AI Paper Atlas

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

EMNLP 2023Large language models › Language, safety and interpretabilityapproach: In-context learning analysis1,101 citations (OpenAlex)

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 changedWhereMeasuredEffect
use ProTeGi instead of Monte-Carlo (MC) and RL baselinesprompt optimization · 4 tasks averageF1: +3.9% over MC, +8.2% over RLImproved
use ProTeGi instead of the original prompt p0 and AutoGPTprompt optimization · 4 tasks averageF1: +15.3% over p0, +15.2% over AutoGPTImproved
6 rounds of AutoGPT feedbackstarting prompt · Jailbreak, SarcasmF1Hurt
beam search instead of greedy DFS (ablation)ProTeGi · JailbreakF1: 0.82 -> 0.85Improved
beam search instead of flat enumeration (ablation)ProTeGi · LiarF1: 0.63 -> 0.67Improved
beam search instead of flat or greedy on Sarcasm (ablation)ProTeGi · SarcasmF1: 0.87/0.85 -> 0.88No 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 tasksF1No clear effect
swap base LLM from GPT-3 to GPT-4 (ablation)ProTeGi · JailbreakF1: 0.55 -> 0.88Improved
swap base LLM from ChatGPT to GPT-4 (ablation)ProTeGi · SarcasmF1: 0.86 -> 0.86No clear effect
ProTeGi vs MC with 6 queries per candidateprompt optimization · Jailbreak (accuracy)accuracy: 0.76 -> 0.81Improved

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy