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
Northeastern University · Technion - Israel Institute of Technology · Google DeepMind · New York University · Google
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.
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
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
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 changed | Where | Measured | Effect |
|---|---|---|---|
| add verbal chain-of-thought to the prompt (ablation) | GPT-3 text-davinci-001 · HANS non-entailment | accuracy: 82 -> 2 | Hurt |
| add verbal chain-of-thought to the prompt (ablation) | GPT-3.5 text-davinci-003 · HANS non-entailment | accuracy: 70 -> 48 | Hurt |
| add verbal chain-of-thought to the prompt (ablation) | GPT-3.5 text-davinci-002 · HANS entailment | accuracy: 72 -> 97 | Improved |
| add verbal chain-of-thought to the prompt (ablation) | CodeLlama · HANS non-entailment | accuracy: 69 -> 79 | Improved |
| add verbal chain-of-thought to the prompt (ablation) | Flan-PaLM · HANS non-entailment | accuracy: 39 -> 46 | Improved |
| add verbal chain-of-thought to the prompt (ablation) | most LLMs · HANS (label-averaged heuristics) | accuracy | Mixed |
| add chain-of-thought (verbal or code) prompts (ablation) | LLMs · Syntactic transformations, in-distribution vs OOD | accuracy | Mixed |
| add code pre-training (CodeLlama vs Llama 2) | Llama 2 · Question formation OOD | accuracy | Improved |
| add code pre-training | GPT-3.5 · Syntactic transformations OOD | accuracy | Improved |
| add code pre-training | LLMs · HANS | accuracy | No clear effect |
| add RLHF (text-davinci-003 vs text-davinci-002) | GPT-3.5 · Syntactic transformations OOD | accuracy | Hurt |
| replace meaningful variable names with nonce words in Code CoT (ablation) | GPT-3.5 code-davinci-002 · Question formation (8-shot) | accuracy: 97 -> 76 | Hurt |
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
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.91)
- Learning vs Retrieval: The Role of In-Context Examples in Regression with Large Language Models (NAACL 2025 · similarity 0.91)
- Skills-in-Context: Unlocking Compositionality in Large Language Models (EMNLP 2024 · similarity 0.91)
- In-Context Language Learning: Architectures and Algorithms (ICML 2024 · similarity 0.90)
- From Unstructured Data to In-Context Learning: Exploring What Tasks Can Be Learned and When (NeurIPS 2024 · similarity 0.90)
- In-context Vectors: Making In Context Learning More Effective and Controllable Through Latent Space Steering (ICML 2024 · similarity 0.90)
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.