Advanced · Research
One-Shot Learning
Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.
TL;DR. A machine learning scenario where a model learns to recognize new categories after observing only one training example.
Technical Definition
A machine learning scenario where a model learns to recognize new categories after observing only one training example.
How it works
One-shot learning is an extreme case of few-shot learning, where the goal is to generalize from a single instance of a new class. This is particularly challenging for AI but analogous to how humans can identify a new object after seeing it once. It often involves meta-learning techniques where the model learns how to compare and distinguish new examples, rather than learning the classes directly, making it relevant for tasks with scarce data.