Research map / Large language models / Instruction and fine-tuning
Few-shot Fine-tuning vs. In-context Learning: A Fair Comparison and Evaluation
Marius Mosbach, Tiago Pimentel, Shauli Ravfogel, Dietrich Klakow, Yanai Elazar
Saarland University · University of Cambridge · Bar-Ilan University · University of Washington · Allen Institute for Artificial Intelligence
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 |
|---|---|---|---|
| fine-tune a model of the same size as the ICL model instead of using ICL | OPT 6.7B, 16 examples · RTE OOD (HANS) | accuracy difference: +0.12 | Improved |
| fine-tune instead of ICL at largest size (30B) | OPT 30B, 16 examples · RTE and MNLI OOD (HANS) | accuracy difference: -0.02 (RTE), 0.00 (MNLI) | No clear effect |
| compare small fine-tuned model against much larger ICL model | OPT 125M FT vs 30B ICL · RTE OOD (HANS) | accuracy difference: -0.11 | Hurt |
| fine-tune a 6.7B model rather than use 30B ICL | OPT, 16 examples · RTE OOD (HANS) | accuracy difference: +0.02 | No clear effect |
| increase FT model size (ablation) | PBFT · MNLI and RTE OOD | OOD accuracy | Improved |
| select checkpoint by OOD performance instead of in-domain performance (ablation) | PBFT, 16 examples · RTE OOD (HANS) | OOD accuracy | Improved |
| train on more data (ablation) | PBFT small models · MNLI and RTE OOD | OOD accuracy | No clear effect |
| train on more data (ablation) | PBFT larger models · MNLI and RTE OOD | OOD accuracy | Improved |
| use pattern-based FT instead of vanilla FT with random classification head (ablation) | fine-tuning · RTE | accuracy | Improved |
| add LoRA on top of pattern-based FT (ablation) | PBFT · RTE | accuracy | No clear effect |
| evaluate OOD checkpoints on 50 examples instead of full set (ablation) | OPT 13B on MNLI, 128 examples · MNLI OOD (HANS) | Pearson correlation: 0.99 | No clear effect |
| use Pythia models instead of OPT | FT vs ICL · RTE OOD | accuracy difference | Improved |
Open problems in efficient LLM fine-tuning systems
Do efficient fine-tuning methods keep their gains on larger models, other languages and open-ended tasks, and what do they cost?
- Larger models than 8B to 30B were not tested. · 20 papers state it
- Experiments cover English or a few languages only. · 12 papers state it
- The method adds training, memory or inference cost. · 12 papers state it
Closest papers by meaning
- Fine-Tuning Without Forgetting In-Context Learning: A Theoretical Analysis of Linear Attention Models (ICML 2026 · similarity 0.94)
- Two-stage LLM Fine-tuning with Less Specialization and More Generalization (ICLR 2024 · similarity 0.91)
- Supervised Knowledge Makes Large Language Models Better In-context Learners (ICLR 2024 · similarity 0.90)
- Optimization Inspired Few-Shot Adaptation for Large Language Models (NeurIPS 2025 · similarity 0.90)
- Towards Few-Shot Adaptation of Foundation Models via Multitask Finetuning (ICLR 2024 · similarity 0.90)
- CorDA: Context-Oriented Decomposition Adaptation of Large Language Models for Task-Aware Parameter-Efficient Fine-tuning (NeurIPS 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.