Research map / Large language models / Language, safety and interpretability
Unveiling In-Context Learning: A Coordinate System to Understand Its Working Mechanism
Anhao Zhao, Fanghua Ye, Jinlan Fu, Xiaoyu Shen
Southwest Jiaotong University · University College London · National University of Singapore · Eastern Institute of Technology
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 |
|---|---|---|---|
| add the test sample with correct label as a similar example to demonstrations (ablation) | LLMs (GPT2-XL to Falcon-40B) · SST-2, World Capitals, Colored Objects (first quadrant) | accuracy | Improved |
| add the test sample with incorrect label as a similar example (ablation) | LLMs (GPT2-XL to Falcon-40B) · SST-2, World Capitals, Colored Objects (first quadrant) | accuracy | Hurt |
| increase model size when similar example has incorrect label (ablation) | LLMs · first quadrant | accuracy | Improved |
| go from zero-shot with instruction to one-shot ICL (ablation) | LLMs · task-recognizable datasets (second quadrant) | accuracy | Improved |
| increase number of demonstration shots beyond one (ablation) | LLMs · task-recognizable datasets (second quadrant) | accuracy | No clear effect |
| one-shot ICL instead of zero-shot (ablation) | LLMs · TREC, emo (third quadrant) | accuracy | Hurt |
| increase model size (ablation) | LLMs · third/fourth quadrant, similar example with incorrect label | proportion copying similar example's label | Improved |
| add a task description instruction before one-shot ICL (ablation) | Llama-2-7B-chat · TREC | PIR: nearly zero -> 0.083 | Improved |
| increase number of shots in tasks where models cannot recognize the task (ablation) | LLMs · TREC, emo | accuracy | Improved |
Open problems this paper states
- “Models are limited to up to 40 billion parameters due to hardware constraints.” → Models stop at about 1B to 8B parameters, so larger ones are untested. (an open problem in reasoning mechanisms and failure modes)
Open problems in reasoning mechanisms and failure modes
Do mechanistic findings about reasoning and language in LLMs hold for larger models, other languages and other architectures?
- Only one model family or one architecture is tested. · 19 papers state it
- Models stop at about 1B to 8B parameters, so larger ones are untested. · 18 papers state it
- Effects are observed but the mechanism behind them is not explained. · 18 papers state it
Closest papers by meaning
- What In-Context Learning ``Learns'' In-Context: Disentangling Task Recognition and Task Learning (ACL 2023 · similarity 0.95)
- In-Context Learning Learns Label Relationships but Is Not Conventional Learning (ICLR 2024 · similarity 0.93)
- Dual Operating Modes of In-Context Learning (ICML 2024 · similarity 0.92)
- Capturing In-Context Learning Dynamics with Task Operators (NeurIPS 2026 · similarity 0.92)
- Revisiting In-context Learning Inference Circuit in Large Language Models (ICLR 2025 · similarity 0.91)
- Where does In-context Learning Happen in Large Language Models? (NeurIPS 2024 · similarity 0.91)
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.