Supervised Learning
Supervised learning is the training approach where a model learns from input-output pairs — labeled examples where the correct answer is already known — and the entire learning signal comes from how wrong the model's prediction is relative to that known label. It's the dominant paradigm for production machine learning precisely because labels give a model a direct, unambiguous target to optimize against, which is why a clearly defined label is usually worth more to final model accuracy than a cleverer architecture. At a high level, a supervised training run looks like this:
The two basic supervised tasks, classification and regression, are distinguished by the shape of the label, not the algorithm. Classification predicts a discrete category — spam or not-spam, which of 1,000 ImageNet classes, defect or pass on a wafer inspection image — and typically uses cross-entropy loss. Regression predicts a continuous number — a house price, a chip's projected yield percentage, a sensor's next reading — and typically uses mean-squared-error or Huber loss. The same neural network architecture (a transformer, a convolutional network) can often be used for either task; what changes is the output layer's shape and the loss function, not the underlying model.
The real engineering risk in supervised learning is overfitting, not underfitting, once a model has enough capacity. A model with millions or billions of parameters can memorize the training set's labels almost perfectly while generalizing poorly to new data — the gap between training accuracy and held-out validation accuracy is the number that actually matters, not training accuracy alone. Regularization techniques (dropout, weight decay, early stopping) and the simple practice of holding out a validation and test set the model never trains on exist specifically to catch this before a model ships.
Labeled-data scarcity, not model architecture, is usually the real ceiling on supervised performance. This is why transfer learning dominates practical supervised learning today: instead of training from random initialization on a small labeled set, practitioners start from a model already pretrained on a massive unlabeled or weakly-labeled corpus (ImageNet pretraining for vision, a pretrained LLM for text) and fine-tune only the final layers or a small adapter on the task-specific labeled data — often needing orders of magnitude fewer labeled examples to reach the same accuracy than training from scratch would.
Read supervised learning as a direct trade of labeled-data cost for model accuracy, with the architecture mostly fixed: classification and regression are the same training loop pointed at a different label shape, and the real lever that separates a strong production model from a weak one is how much high-quality labeled data was available to supervise it — the same yield-limiting-input discipline that decides whether a fab's defect-classification data is actually usable for process control.