atlas

Research map / Large language models / Instruction and fine-tuning

Prompt Optimization with EASE? Efficient Ordering-aware Automated Selection of Exemplars

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 3 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.

Proposes EASE, an ordering-aware, query-efficient black-box exemplar selection method for ICL that uses a neural bandit (NeuralUCB) over MPNet embeddings of ordered exemplar sequences, with optimal-transport pruning, and can jointly optimize instructions.

Problem

Selecting a fixed, ordered set of in-context exemplars for black-box LLMs performs well across all test queries, without per-query retrieval or privacy exposure, while accounting for exemplar ordering and instruction interactions.

Approach

Treat exemplar selection as black-box optimization over ordered exemplar sequences, represent each sequence by a pre-trained embedding (so ordering changes the embedding), train a neural network surrogate, and pick candidates via NeuralUCB, with optimal-transport pre-filtering to make a large candidate pool tractable; the same framework extends to jointly choosing an instruction.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use EASE instead of Best-of-N for exemplar selectionGPT-3.5 Turbo ICL · Instruction Induction: auto_categorizationaccuracy: 20.0 ±0.0 -> 30.0 ±0.0Helped
Use EASE instead of Best-of-N for exemplar selectionGPT-3.5 Turbo ICL · Instruction Induction: object_countingaccuracy: 70.0 ±0.0 -> 73.3 ±1.7Helped
Use EASE instead of the strongest baselineGPT-3.5 Turbo ICL · LR, 0% noiseaccuracy: +8.3% in absolute accuracyHelped
Use EASE instead of Best-of-N for exemplar selectionGPT-3.5 Turbo ICL · LP-variant, 10% noiseaccuracy: 73.3 ±1.7 -> 80.0 ±2.9Helped
Use EASE instead of Best-of-N for exemplar selectionGPT-3.5 Turbo ICL · AG News Remap, 10% noiseaccuracy: 40.0 ±0.0 -> 51.7 ±1.7Helped
Jointly optimize the instruction with exemplars (ablation)EASE · Instruction Induction: auto_categorizationaccuracy: 30.0 ±0.0 -> 56.7 ±1.7Helped
Jointly optimize the instruction with exemplars (ablation)EASE · Instruction Induction: antonymsaccuracy: 90.0 ±0.0 -> 85.0 ±0.0Hurt
Jointly optimize the instruction with exemplars (ablation)EASE · LR, 10% noiseaccuracy: 73.3 ±1.7 -> 45.0 ±15.0Hurt
Jointly optimize the instruction with exemplars (ablation)EASE · Instruction Induction: diffaccuracy: 100.0 ±0.0 -> 100.0 ±0.0No clear effect
Replace task-specific EASE exemplar selection with joint instruction and exemplar optimization (ablation)EASE · Instruction Induction tasks overallaccuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: Instruction Induction AG News SST5 Linear regression (novel) Pig Latin variant (novel) AG News Remap (novel) SST5 Reverse (novel)

Benchmarks: Instruction Induction LR LP-variant AG News Remap SST5 Reverse

Metrics: accuracy (validation and test) standard error over 3 trials

Baselines: DPP MMD OT subset selection Cosine retrieval BM25 Active Inf Evo Best-of-N

Builds on: NeuralUCB APE Instruction Induction MPNet

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