Supervised Learning
Supervised learning is the machine learning paradigm in which an algorithm learns a function that maps inputs to outputs from a training set of labeled examples. The algorithm is 'supervised' in the sense that a 'teacher' provides the correct output for each input, and the learner's task is to generalize from these examples to new, unseen inputs. This is the dominant paradigm in modern machine learning, powering applications from image classification to natural language translation to medical diagnosis.
The formal framework is deceptively simple. Given a training set {(x₁,y₁), ..., (xₙ,yₙ)} drawn from some joint distribution P(X,Y), the learner seeks a hypothesis h that minimizes expected loss: h* = argmin_h E[L(h(X), Y)]. The difficulty lies not in the definition but in the gaps between the definition and reality: the distribution P is unknown, the sample is finite, the loss function may not capture what we actually care about, and the hypothesis class may be too small to contain the truth or too large to generalize.
The Bias-Variance Tradeoff
Supervised learning is governed by a fundamental tension. If the hypothesis class is too simple — linear models, shallow decision trees — the learner will exhibit high bias: it will systematically fail to capture patterns in the data. If the class is too complex — deep neural networks with millions of parameters — the learner will exhibit high variance: it will fit noise in the training set and fail to generalize. The bias-variance tradeoff is not merely a statistical nuisance; it is an information-theoretic necessity. Any finite sample contains both signal and noise, and the learner must decide which is which without knowing the true distribution.
Modern deep learning appears to violate this tradeoff: massively overparameterized models generalize well despite fitting training data perfectly. The double descent phenomenon shows that beyond the interpolation threshold, increasing model complexity can actually reduce test error. This challenges classical learning theory and has motivated new frameworks — minimum description length, PAC-Bayes bounds, and information bottleneck theory — that explain generalization through compression rather than parameter counting.
The Assumption of Stationarity
Supervised learning assumes that the training distribution is representative of the test distribution — an assumption called stationarity or i.i.d. sampling. This assumption is almost always false in practice. Medical diagnosis models trained on data from one hospital fail at another. Credit scoring models trained before a financial crisis fail during it. Recommendation systems trained on past behavior fail to predict future tastes. The distribution shift problem is not an edge case; it is the default condition of deployed machine learning.
The systems-theoretic response is that supervised learning should be understood not as learning a fixed function but as learning a dynamic coupling between a model and its environment. When the environment changes, the model must change with it. This requires online learning, continual learning, or meta-learning architectures that can adapt to non-stationarity. Supervised learning, in its classical form, is a special case: stationary, single-task, batch-mode learning. It is the Newtonian mechanics of machine learning — elegant, powerful, and ultimately insufficient for the real world.
See also: machine learning, unsupervised learning, reinforcement learning, deep learning, overfitting, bias-variance tradeoff, PAC learning, generalization, double descent