atlas

Research map / Large language models / Language, safety and interpretability

Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizers

AAAI 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Draws an analogy between gradient-based optimizers and LLM-based prompt optimization, systematically studies update direction and update method choices, and builds GPO, a prompt optimizer using relevance-retrieved trajectory, generation-based refinement, and cosine-decayed edit distance.

Problem

LLM-based prompt optimizers rely on ad hoc meta-prompt designs without principled guidelines; the paper seeks systematic understanding of what makes them effective.

Approach

Maps momentum and descent direction to trajectory and current-prompt information, and learning rate and descent to edit-distance control and refinement strategy; empirically finds relevance-retrieved trajectory, generation-based refinement and cosine-decay edit constraint work best and combines them into GPO.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GPO instead of the strongest listed baseline PE2Llama-2-7B-chat prompt optimization · BBHaccuracy: 33.43 -> 35.43Helped
Use GPO instead of the strongest listed baseline PE2Llama-2-7B-chat prompt optimization · MMLU Averageaccuracy: 38.07 -> 39.14Helped
Use relevance-based retrieval of past prompts and performance (ablation)LLM-based prompt optimizer · BBH liteexact match: 41.07 -> 42.53Helped
Add reflection to prompt and performance information (ablation)LLM-based prompt optimizer · BBH liteexact match: 41.07 -> 40.34Hurt
Summarize the optimization trajectory (ablation)LLM-based prompt optimizer · BBH liteexact match: 41.07 -> 41.03Hurt
Retrieve recent trajectory items (ablation)LLM-based prompt optimizer · BBH liteexact match: 41.07 -> 41.93Helped
Retrieve trajectory items based on performance importance (ablation)LLM-based prompt optimizer · BBH liteexact match: 41.07 -> 41.84Helped
Use generation-based rather than editing-based refinement (ablation)LLM-based prompt optimizer · BBH liteexact match: 42.95 -> 43.75Helped
Use cosine decay for the edit-distance constraint rather than no control (ablation)LLM-based prompt optimizer · BBH liteexact match: 42.61 -> 43.75Helped
Add warmup to the cosine-decay edit-distance constraint (ablation)LLM-based prompt optimizer · BBH liteexact match: 43.75 -> 41.29Hurt
Start optimization from an instructive initial prompt rather than the default prompt (ablation)GPO · BBH liteaccuracy: 31.25 / 43.75 -> 32.64 / 44.40Mixed
Optimize prompts with GPT-4 rather than GPT-3.5-turboGPO prompt optimizer · BBH liteaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: BIG-Bench Hard GSM8K MMLU WSC WebNLG MultiArith AQUA

Benchmarks: BIG-Bench Hard GSM8K MMLU WSC WebNLG MultiArith AQUA

Metrics: accuracy exact match ROUGE-L

Baselines: SGDM APE APO OPRO PE2 Empty Chain-of-thought

Builds on: OPRO APE APO PE2 SGDM

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