Research map / Large language models / Language, safety and interpretability
Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, Pontus Stenetorp
University College London · Mishcon de Reya LLP
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| select top-4 prompt orders by GlobalE on a generated probing set | GPT-2 0.8B · SST-2 (4-shot) | accuracy: 74.5 -> 84.8 | Improved |
| select top-4 prompt orders by LocalE | GPT-2 0.8B · SST-2 (4-shot) | accuracy: 74.5 -> 81.1 | Improved |
| GlobalE selection averaged over eleven tasks | all GPT-2/GPT-3 models · eleven classification tasks | accuracy: 13% relative improvement | Improved |
| LocalE selection averaged over eleven tasks | all models · eleven classification tasks | accuracy: 9.6% relative improvement | Improved |
| GlobalE selection on largest model | GPT-3 175B · SST-2 (4-shot) | accuracy: 93.9 -> 93.9 | No clear effect |
| GlobalE selection on CB | GPT-3 175B · CB | accuracy: 75.1 -> 79.9 | Improved |
| GlobalE selection on RTE | GPT-2 0.8B · RTE | accuracy: 53.2 -> 53.5 | No clear effect |
| select prompts using validation split of the 4 training samples | GPT-2 0.1B-1.5B · SST-2 (4-shot) | accuracy: 58.9 -> 62.8 (0.1B) | Improved |
| use GlobalE instead of split-training-set selection (ablation) | GPT-2 0.8B · SST-2 (4-shot) | accuracy: 75.1 -> 84.8 | Improved |
| increase model size | GPT-2/GPT-3 · SST-2 order sensitivity | accuracy: std 10.3 (0.8B) -> 0.6 (175B) | Mixed |
| GlobalE selection with a different template (Template 3) | GPT-2 1.5B · SST-2 (template 3) | accuracy: 54.5 -> 67.2 | Improved |
| add more training samples (ablation) | GPT-2 family · SST-2 order variance | accuracy | No clear effect |
Open problems in in-context learning analysis
Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Demystifying Prompts in Language Models via Perplexity Estimation (EMNLP 2023 · similarity 0.92)
- Strings from the Library of Babel: Random Sampling as a Strong Baseline for Prompt Optimisation (NAACL 2024 · similarity 0.90)
- Exploring Lottery Prompts for Pre-trained Language Models (ACL 2023 · similarity 0.90)
- Distribution Prompting: Understanding the Expressivity of Language Models Through the Next-Token Distributions They Can Produce (EMNLP 2025 · similarity 0.89)
- Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting (ICLR 2024 · similarity 0.89)
- Order-Independence Without Fine Tuning (NeurIPS 2024 · similarity 0.88)
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.