atlas

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

Efficient Prompt Optimization Through the Lens of Best Arm Identification

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 2 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.

Frames prompt selection as fixed-budget best arm identification and proposes TRIPLE (SH/CR plus embedding-based clustering and GSE variants) to choose prompts under an explicit LLM-call budget, extended to few-shot example selection.

Problem

Prompt optimization's selection stage typically evaluates all candidate prompts on full dev data, incurring large LLM-access and evaluation costs; no principled method allocates a fixed budget across candidate prompts.

Approach

Connects prompt selection to fixed-budget best arm identification in multi-armed bandits, adapting BAI-FB algorithms (Sequential Halving, Continuously Reject, GSE) and adding prompt-embedding clustering and function approximation to share information across large candidate pools.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use TRIPLE-SH instead of UniformPrompt selection without embeddings · 30 prompts, budget 150, GPT-3.5performance: 15%Helped
Use TRIPLE-CR instead of UniformPrompt selection without embeddings · 30 prompts, budget 150, GPT-3.5performance: 12%Helped
Use TRIPLE-CLST instead of BO-EIPrompt selection with embeddings · 30 prompts, budget 150, GPT-3.5performance: 11%Helped
Use TRIPLE-GSE instead of BO-EIPrompt selection with embeddings · 30 prompts, budget 150, GPT-3.5performance: 10%Helped
Use TRIPLE-CLST instead of NeuralUCBPrompt selection with embeddings · 30 prompts, budget 150, GPT-3.5performance: 17%Helped
Use TRIPLE-GSE instead of NeuralUCBPrompt selection with embeddings · 30 prompts, budget 150, GPT-3.5performance: 17%Helped
Use TRIPLE-CLST instead of BO-EIPrompt selection with embeddings · 150 prompts, budget 100, GPT-3.5performance: 21%Helped
Use TRIPLE-GSE instead of BO-EIPrompt selection with embeddings · 150 prompts, budget 100, GPT-3.5performance: 28%Helped
Use TRIPLE-CLST instead of NeuralUCBPrompt selection with embeddings · 150 prompts, budget 100, GPT-3.5performance: 38%Helped
Use TRIPLE-GSE instead of NeuralUCBPrompt selection with embeddings · 150 prompts, budget 100, GPT-3.5performance: 45%Helped
Use TRIPLE-CR rather than Uniform when the budget is 10 evaluations per prompt on averagePrompt selection · 30 prompts, GPT-3.5performance: 9.7%Helped
Use TRIPLE-CLST rather than Uniform when the budget is 10 evaluations per prompt on averagePrompt selection · 30 prompts, GPT-3.5performance: 13.5%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Instruction-Induction BigBench

Benchmarks: Instruction-Induction BigBench

Metrics: exact match f1-score multiple choice accuracy average performance rank

Baselines: Uniform UCB BO-EI NeuralUCB Random APE APO

Builds on: APE APO Sequential Halving Continuously Reject GSE

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