Few-shot learning refers to the ability to learn or adapt to a new task from a very small number of examples (typically 1-100). For language models, few-shot learning occurs through in-context learning, where a few task demonstrations are provided in the model's input prompt.
Key papers
-
Zeng & Gao (2024) — JustiLM: Few-shot Justification Generation for Explainable Fact-Checking of Real-world Claims — Applies few-shot learning to justification generation for fact-checking; demonstrates that distillation from fact-check articles allows small models (~3B parameters) to match performance of larger models (Llama2 70B, GPT-4) in few-shot settings; shows that combining retrieval-augmented generation with distillation enables effective few-shot learning without large training corpora.
-
Language Models are Few-Shot Learners — Foundational work demonstrating that scaling up language models dramatically improves few-shot learning performance without task-specific fine-tuning