scimeatlas

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

Strings from the Library of Babel: Random Sampling as a Strong Baseline for Prompt Optimisation

NAACL 2024Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach15 citations (OpenAlex)

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
4improved
7no clear effect
3hurt

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.

This paper tried a common change: Chain-of-thought prompting

use ZS-CoT separator instead of ``Answer:'' · 9 datasets, Mistral 7B · avg accuracy: 69.4 -> 57.4 Hurt

What 2,675 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace human separator ``Answer:'' with a random vocabulary separatorAnswer: baseline · 9 classification datasets, ChatGPTavg accuracy: 79.2 -> 81.9Improved
replace human separator ``Answer:'' with a random vocabulary separatorAnswer: baseline · 9 datasets, Mistral 7Bavg accuracy: 69.4 -> 75.5Improved
use a random string separator without selection (``Foo Bar'') instead of ``Answer:''Answer: baseline · 9 datasets, GPT2-Largeavg accuracy: 50.5 -> 46.9Hurt
use ZS-CoT separator instead of ``Answer:''Answer: baseline · 9 datasets, Mistral 7Bavg accuracy: 69.4 -> 57.4Hurt
use OPRO-ICL instead of Random VocabularyRandom Vocabulary · 9 datasets, Mistral 7Bavg accuracy: 75.5 -> 77.9No clear effect
add task context (training examples) to random separator generation (ablation)Random Vocabulary / w/o Context · 9 datasetsavg relative improvement: +0.3% over w/o Context, +0.9% over VocabularyNo clear effect
use coherent LM-sampled phrases instead of random vocabulary tokens (ablation)Random Vocabulary · 9 datasetsavg relative improvement: 0.5% relative differenceNo clear effect
random vocabulary separator vs EvoPromptRandom Vocabulary · 7 datasets, Alpaca-tuned LLaMAavg accuracy: 77.1 (EvoPrompt-DE) vs 73.7Hurt
use Random with Context vs EvoPrompt-GARandom w/ Context · 7 datasets, Alpaca-tuned LLaMAavg accuracy: 75.9 -> 76.0No clear effect
transfer best random separator across tasksrandom separators · cross-task, GPT2-XLaccuracy: 59.0 (Answer:) vs 59.4 (SST2 random)No clear effect
choose best random separator across contextsrandom separators · AGNews cross-context, GPT2-XLaccuracy: 50.6 -> 73.4Improved
replace human CoT with random vocabulary separator averageHuman CoT · GSM8K, Mistral 7Baccuracy: 38.3 vs 37.8No 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?

All 5 open problems and what was already tried →

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