2023 · 24 citations · 21 references
ComputingComputer ScienceMachine LearningNatural Language ProcessingRobot LearningDeep LearningLanguage LearningLanguage ModelingLearning From DemonstrationBenchmark DatasetsControlled ExperimentsGround Truth LabelingImplicit LearningIn-context LearningLearning From Human DemonstrationModel Learning From DemonstrationsTask Learning From Demonstration
Large language models use in‑context learning to solve tasks from few demonstrations, yet whether this relies on recalling pre‑trained knowledge or on implicit learning remains unclear. This study aims to distinguish the two mechanisms by which demonstrations influence in‑context learning. The authors separate task recognition—using demonstrations to identify a task and apply pre‑trained priors—from task learning—acquiring new input‑label mappings—and design controlled experiments across GPT‑3, LLaMA, and OPT on diverse classification datasets. They find that task recognition alone yields non‑trivial performance that does not scale with model size or demonstration count, whereas task learning emerges with larger models and improves steadily with more demonstrations, revealing two distinct forces driving in‑context learning.
Large language models (LLMs) exploit in-context learning (ICL) to solve tasks with only a few demonstrations, but its mechanisms are not yet well-understood. Some works suggest that LLMs only recall already learned concepts from pre-training, while others hint that ICL performs implicit learning over demonstrations. We characterize two ways through which ICL leverages demonstrations. Task recognition (TR) captures the extent to which LLMs can recognize a task through demonstrations – even without ground-truth labels – and apply their pre-trained priors, whereas task learning (TL) is the ability to capture new input-label mappings unseen in pre-training. Using a wide range of classification datasets and three LLM families (GPT-3, LLaMA and OPT), we design controlled experiments to disentangle the roles of TR and TL in ICL. We show that (1) models can achieve non-trivial performance with only TR, and TR does not further improve with larger models or more demonstrations; (2) LLMs acquire TL as the model scales, and TL's performance consistently improves with more demonstrations in context. Our findings unravel two different forces behind ICL and we advocate for discriminating them in future ICL research due to their distinct nature.
21
Transformers: State-of-the-Art Natural Language Processing
Thomas Wolf, Lysandre Debut, Victor Sanh et al. · 2020 · 8K citations · Full text
Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
Richard Socher, Alex Perelygin, Jean Y. Wu et al. · 2013 · 6.8K citations · Full text
LLaMA: Open and Efficient Foundation Language Models
Hugo Touvron, Thibaut Lavril, Gautier Izacard et al. · arXiv (Cornell University) · 2023 · 3.9K citations · Full text
A large annotated corpus for learning natural language inference
Samuel R. Bowman, Gabor Angeli, Christopher Potts et al. · 2015 · 3.5K citations · Full text