atlas

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

On the Worst Prompt Performance of Large Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Uncertainty quantification for LLMs · 16 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.

Introduces RobustAlpacaEval, a benchmark of 10 semantically equivalent paraphrases per AlpacaEval query, showing large gaps between worst and best prompt performance for LLMs and that worst prompts are hard to predict or fix.

Problem

LLM performance is highly sensitive to prompt phrasing, yet prior robustness studies only vary task-level instructions on task datasets, not case-level real-world user queries; the worst-case prompt performance is unexplored.

Approach

Shift robustness evaluation from task-level instructions to case-level user queries by generating semantically equivalent paraphrases of each query, and use worst-prompt performance as the lower-bound metric; also test whether worst prompts can be predicted (perplexity, Min-K% Prob, hidden-state probes, self-preference) and whether prompt engineering or swarm distillation can raise them.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use voting over all paraphrase prompts instead of a single promptLlama-2-70B-chat · RobustAlpacaEvalworst performance: 9.38 -> 31.36 (+21.98)Helped
Use voting over all paraphrase prompts instead of a single promptLlama-2-13B-chat · RobustAlpacaEvalaverage performance: 23.97 -> 17.26 (-6.71)Hurt
Use voting over all paraphrase prompts instead of a single promptLlama-2-7B-chat · RobustAlpacaEvalworst performance: 5.42 -> 22.35 (+16.93)Helped
Use voting over all paraphrase prompts instead of a single promptLlama-2-70B-chat · RobustAlpacaEvalbest performance: 54.86 -> 31.36 (-23.50)Hurt
Rewrite input prompts with model self-refinementLlama-2-7B/13B/70B-chat · RobustAlpacaEvalaverage performance: -10.04%, -13.15%, and -13.53%Hurt
Apply swarm distillation consistency regularizationLlama-2-7B/13B/70B-chat · RobustAlpacaEvalaverage performance: -0.21, -1.88, and -2.74Hurt
Increase model size within the Llama-2-chat familyLlama-2-chat · RobustAlpacaEvalaverage performance: 0.195 to 0.24, and finally to 0.292Helped
Increase model size within the Llama-2-chat familyLlama-2-chat · RobustAlpacaEvalstandard deviation: 0.133, 0.163, and 0.156Mixed
Predict prompt quality using prompt perplexityLlama-family models · RobustAlpacaEvalcorrelation with performanceNo clear effect
Predict prompt quality using Min-K% ProbLlama-family models · RobustAlpacaEvalcorrelation with performanceNo clear effect
Predict prompt quality using hidden-state probesLlama-2-7B-chat · RobustAlpacaEvalpairwise accuracy: 0.5No clear effect
Ask the model to choose which prompt will perform betterLlama-2-70B-chat · RobustAlpacaEvalprompt preference accuracy on worst-best pairs: 58.92No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: TinyAlpacaEval AlpacaEval alpaca-farm SFT set

Benchmarks: RobustAlpacaEval

Metrics: weighted win-rate worst performance best performance average performance standard deviation Kendall's W IoU of sensitive cases pairwise preference accuracy

Baselines: ChatGPT (gpt-3.5-turbo-1106) Gemma-1.1-2b-it Gemma-1.1-7b-it Mistral-7b-instruct Llama-2-7b-chat Llama-2-13b-chat Llama-2-70b-chat Self-refinement Voting

Builds on: AlpacaEval TinyAlpacaEval Swarm distillation Min-K% Prob

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