Few-Shot Learning

Category: Foundations of ML/AI

A machine learning setting where models must learn to generalize from only a handful of labeled examples per class.

Full Explanation

Few-shot learning addresses scenarios where only a very small number of labeled examples (typically 2-10) are available for each class or task. This contrasts with traditional supervised learning, which often requires thousands of examples. Approaches to few-shot learning include metric learning (learning a similarity space), optimization-based methods (like MAML), and augmentation-based methods. In the era of large language models, few-shot learning has taken on new meaning through in-context learning, where models are given a few examples in the prompt. Few-shot learning is critical in domains where data collection is expensive or rare, such as rare disease diagnosis or novel object recognition.

Related Terms

More in Foundations of ML/AI

Explore More