scimeatlas

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

Learning To Retrieve Prompts for In-Context Learning

Ohad Rubin, Jonathan Herzig, Jonathan Berant

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

Tel Aviv University

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

14measured effects
10improved
2no clear effect
2hurt

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 changedWhereMeasuredEffect
train a dense prompt retriever on LM-scored positives/negatives (EPR) instead of using BM25GPT-Neo in-context learning · BREAK devLF-EM: 26.0 -> 31.9Improved
train EPR instead of using best baselineGPT-Neo · MTop devEM: 57.0 -> 64.2Improved
train EPR instead of using best baselineGPT-Neo · SMCalFlow devEM: 51.4 -> 54.3Improved
train EPR instead of BM25/CBRGPT-Neo · BREAK testNEM: BM25 17.6, CBR 18.4 -> 23.9Improved
label with LM probability (EPR) instead of BM25 scores (DR-BM25) (ablation)dense retriever · BREAK devLF-EM: 23.6 -> 31.9Improved
retrieve with BM25 instead of SBERT (ablation)unsupervised prompt retrieval · BREAK devLF-EM: 21.6 -> 26.0Improved
select prompts at test time by LM probability (BruteForce) instead of BM25 (ablation)unsupervised baseline · BREAK devLF-EM: 26.0 -> 7.7Hurt
use EPR in one-shot settingGPT-Neo · BREAK dev one-shotLF-EM: BM25 15.2, CBR 14.5 -> 23.0Improved
use EPR with larger inference LMs (GPT-3, Codex, GPT-J) trained with GPT-Neo scoringEPR · 1000-example dev subsetsEM / LF-EM: e.g. BREAK GPT-3 BM25 20.1 -> EPR 25.3Improved
score with GPT-J itself instead of GPT-Neo (ablation)EPR with GPT-J inference · BREAK devLF-EM: 31.5 -> 33.6Improved
score with Codex itself instead of GPT-Neo (ablation)EPR with Codex inference · BREAK devLF-EM: 29.5 -> 29.3No clear effect
vary k in {1,5,10} and L in {50,100} (ablation)EPR · BREAK/MTop/SMCalFlow devLF-EM / EM: e.g. SMCalFlow 54.3 (k=5) vs 52.2 (k=10), 51.0 (L=100)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?

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