Research map / Large language models / Language, safety and interpretability
Large Language Models Can be Lazy Learners: Analyze Shortcuts in In-Context Learning
Ruixiang Tang, Dehan Kong, Longtao Huang, Hui Xue
Rice University · Alibaba Group
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
1improved
3no clear effect
8hurt
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 |
|---|---|---|---|
| increase model size (GPT2-base to GPT2-large) | 4-shot ICL with shortcut prompts · SST2/MR/CR avg | accuracy drop: 1.04% -> 33.71% average drop | Hurt |
| increase OPT size 1.3B to 13B | ICL with word-trigger shortcut · SST2 | accuracy drop: -5.75 -> -20.63 | Hurt |
| use sentence trigger instead of common word trigger (ablation) | ICL with shortcut · SST2, MR, CR | accuracy drop: e.g. OPT-13B CR -24.39 -> -34.58 | Hurt |
| add shortcut trigger to prompts, test on clean data (ablation) | ICL · SST2, MR, CR | accuracy: difference less than 5% | No clear effect |
| place trigger at end of prompt vs beginning/random (ablation) | ICL with sentence trigger · SST2 | accuracy drop: largest drop at end, smallest at random position | Hurt |
| low injection rate (12.5%, one prompt) vs 50% (ablation) | 8-shot ICL · SST2 | accuracy drop: larger drop at 12.5% than at 50% | Hurt |
| repeat trigger 1, 2, 4, 8 times (ablation) | ICL with word trigger · SST2 | accuracy drop: drop increases with repetition | Hurt |
| increase number of shots (ablation) | ICL with sentence trigger · SST2 | accuracy drop: drop decreases with more shots | Improved |
| select good-quality prompt examples (ablation) | ICL with shortcut · SST2 | accuracy drop | No clear effect |
| use manual instead of minimal prompt templates (ablation) | ICL with shortcut · SST2 | accuracy drop | No clear effect |
| use style (Bible, Shakespeare) as trigger (ablation) | ICL · SST2 | accuracy drop | Hurt |
| use shortcut triggers in information extraction | ICL · MIT-D, ATIS-D | exact match: e.g. GPT2-large MIT-D word trigger -44.4 | 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
- Do LLMs Overcome Shortcut Learning? An Evaluation of Shortcut Challenges in Large Language Models (EMNLP 2024 · similarity 0.93)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.92)
- What In-Context Learning ``Learns'' In-Context: Disentangling Task Recognition and Task Learning (ACL 2023 · similarity 0.91)
- Where does In-context Learning Happen in Large Language Models? (NeurIPS 2024 · similarity 0.91)
- Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Tasks (ACL 2024 · similarity 0.91)
- Dual Operating Modes of In-Context Learning (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.