scimeatlas

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

In-context Learning Generalizes, But Not Always Robustly: The Case of Syntax

Aaron Mueller, Albert Webson, Jackson Petty, Tal Linzen

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

Northeastern University · Technion - Israel Institute of Technology · Google DeepMind · New York University · Google

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

15measured effects
5improved
3no clear effect
5hurt
2mixed

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

add verbal chain-of-thought to the prompt · HANS non-entailment · accuracy: 82 -> 2 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
add verbal chain-of-thought to the prompt (ablation)GPT-3 text-davinci-001 · HANS non-entailmentaccuracy: 82 -> 2Hurt
add verbal chain-of-thought to the prompt (ablation)GPT-3.5 text-davinci-003 · HANS non-entailmentaccuracy: 70 -> 48Hurt
add verbal chain-of-thought to the prompt (ablation)GPT-3.5 text-davinci-002 · HANS entailmentaccuracy: 72 -> 97Improved
add verbal chain-of-thought to the prompt (ablation)CodeLlama · HANS non-entailmentaccuracy: 69 -> 79Improved
add verbal chain-of-thought to the prompt (ablation)Flan-PaLM · HANS non-entailmentaccuracy: 39 -> 46Improved
add verbal chain-of-thought to the prompt (ablation)most LLMs · HANS (label-averaged heuristics)accuracyMixed
add chain-of-thought (verbal or code) prompts (ablation)LLMs · Syntactic transformations, in-distribution vs OODaccuracyMixed
add code pre-training (CodeLlama vs Llama 2)Llama 2 · Question formation OODaccuracyImproved
add code pre-trainingGPT-3.5 · Syntactic transformations OODaccuracyImproved
add code pre-trainingLLMs · HANSaccuracyNo clear effect
add RLHF (text-davinci-003 vs text-davinci-002)GPT-3.5 · Syntactic transformations OODaccuracyHurt
replace meaningful variable names with nonce words in Code CoT (ablation)GPT-3.5 code-davinci-002 · Question formation (8-shot)accuracy: 97 -> 76Hurt

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