Supervised Learning
Machine learning approach in which a model learns to map inputs to outputs from examples that have been labeled with the correct answers.
In supervised learning, every training example comes with a target: an email marked spam or not spam, a photo tagged with its contents, a house described by its features and sale price. The model learns a function that predicts the target from the input, and its predictions are compared against the labels to measure error. When the target is a category the task is called classification; when it is a number, regression. Supervised learning is among the most widely deployed forms of machine learning in business and science.
Training proceeds by minimizing a loss function, typically with gradient descent for neural networks or with specialized algorithms for methods such as decision trees, random forests, support vector machines and logistic regression. Success depends heavily on the quality and quantity of labeled data, which can be expensive to produce because people must annotate it. Datasets like ImageNet, with over a million labeled images, showed how large labeled collections could drive rapid progress in deep learning.
Labels encode human judgments, so supervised models inherit any errors, inconsistencies or biases in how examples were labeled. The cost of labeling has pushed researchers toward alternatives: unsupervised and self-supervised learning extract signals from unlabeled data, semi-supervised learning combines a few labels with many unlabeled examples, and transfer learning reuses models trained elsewhere. Large language models blur the categories, since their pretraining predicts the next word, a supervised-style objective whose labels come for free from the text itself.
Key points
- Supervised learning requires examples paired with correct answers, known as labels.
- Classification predicts categories, while regression predicts continuous numerical values.
- Labeled data is often the most expensive ingredient, since people usually create the labels.
- Self-supervised pretraining of language models derives its labels automatically from raw text.
Related entries
Machine learning approach that finds structure, such as clusters or compact representations, in data that has no labels or target answers.
Reinforcement Learning
Machine learning approach in which an agent learns to choose actions by trial and error, guided by rewards and penalties from its environment.
Machine Learning
Branch of artificial intelligence in which computer systems improve at tasks by learning patterns from data rather than following explicitly programmed rules.
The collection of examples from which a machine learning model learns its parameters, shaping both what the model can do and the biases it carries.
ImageNet
Large database of labeled photographs organized by WordNet categories, whose recognition challenge helped launch the deep learning boom.
Technique of reusing a model trained on one task or dataset as the starting point for a different but related task, reducing data and compute needs.
Failure mode in which a model learns noise and quirks of its training data so closely that it performs poorly on data it has not seen.
Referenced by
Other entries that discuss or point to Supervised Learning.