Skip to content
Field Atlas

Atlas / Mathematics / The Statistics Thread

Field · Emerged 1958 – 1995

Statistical Learning Theory

When can a rule learned from examples be trusted on cases it has never seen?

4 chapters5 min read7 turning points1 open problem

Branched from
Statistical Inference + Information Theory + Computational Complexity
Branched into
Not yet surveyed past here
Figures
Frank Rosenblatt, Marvin Minsky, Seymour Papert, Vladimir Vapnik, Alexey Chervonenkis, Leslie Valiant, David Rumelhart, Geoffrey Hinton, Corinna Cortes

In brief

Statistical learning theory asks when learning from examples works. A program is shown pictures labelled "cat" or "dog" and finds a rule that fits them. The question is whether the rule will also be right on new pictures. Fitting the examples is easy. Any list can be memorised. What matters is generalisation, and the theory says it depends on how flexible the family of candidate rules is, measured by a number called the VC dimension.

The subject began with the perceptron, a learning machine of 1958, and with the hard lessons of its limits. Vapnik and Chervonenkis gave the mathematics of generalisation in 1971, Valiant joined it to the theory of computation in 1984, and support vector machines of 1995 put the theory directly into practice. Then deep neural networks, with far more parameters than examples, began to generalise in ways the theory said they should not. Explaining why is its central open question.

Key ideas

GeneralisationEnters 1971

Performing well on new data drawn from the same source as the training examples. The gap between error on the training data and error on new data is what the theory bounds.

VC dimensionEnters 1971

The largest number of points that a family of rules can label in every possible way. Lines in the plane have VC dimension 3. Finite VC dimension is exactly what makes learning from enough examples possible.

PAC learningEnters 1984

"Probably approximately correct": a learner succeeds if, with high probability, it outputs a rule with small error, using a reasonable number of examples and a reasonable amount of computation.

MarginEnters 1992 – 1995

The width of the gap between two classes and the boundary separating them. A support vector machine picks the boundary with the widest margin, which controls generalisation even in very many dimensions.

Double descentEnters 2016 – 2019

As a model grows past the point where it fits the training data exactly, its error on new data can fall again, contradicting the classical picture of overfitting.

Chapter I

Machines That Learn

In 1958 Frank Rosenblatt announced the perceptron, a machine that learned to classify patterns by adjusting the weights on its inputs after each mistake. The press predicted machines that would walk, talk and be conscious. In 1969 Marvin Minsky and Seymour Papert proved what a single perceptron cannot do. It cannot tell whether two inputs differ, because no single straight boundary separates the cases. Multi-layer networks might, but nobody knew how to train them. Interest in neural networks collapsed for more than a decade. In 1986 David Rumelhart, Geoffrey Hinton and Ronald Williams showed that backpropagation, sending the error backwards through the layers, trains them.

Chapter II

The Mathematics of Generalisation

Meanwhile a theory of why learning works had been built in Moscow. Fitting examples is the problem of statistical inference, but with a twist: the learner chooses its rule from a huge family after seeing the data, so the usual error bars do not apply. In 1971 Vladimir Vapnik and Alexey Chervonenkis found the condition under which training error is a reliable guide to future error for every rule in the family at once. It depends on one number, the largest set of points the family can label in all possible ways.

In 1984 Leslie Valiant, a computer scientist at Harvard, asked a different question. Which concepts can be learned efficiently, with polynomially many examples and polynomial computation? His PAC model brought learning into computational complexity, and it turned out that some concepts are learnable from few examples yet impossible to learn efficiently if cryptography is secure. Five years later it was shown that the number of examples needed is set by the VC dimension, joining the two theories. At Bell Labs, Vapnik and Corinna Cortes turned the theory into the support vector machine in 1995, and for a decade it outperformed neural networks on many tasks.

Chapter III

A Closer Look: How Many Ways Can a Line Divide Points?

Take the simplest learner: it draws a straight line across the plane and labels points on one side "yes" and on the other "no". How flexible is this family?

Three points not on one line can be labelled in 23=82^3 = 8 ways, and a line achieves every one of them. All three "yes", or all "no": put the line off to one side. One point different from the other two: a line cuts that corner of the triangle off. So lines shatter three points. Four points never. If the four form a convex quadrilateral, the labelling that gives "yes" to one pair of opposite corners and "no" to the other pair cannot be made by a line, because the two diagonals cross. If one point lies inside the triangle of the other three, labelling it differently from all three is impossible. So the VC dimension of lines in the plane is 3.

The payoff is in counting. With nn points there are 2n2^n labellings, but a family of VC dimension dd can produce at most (n0)+(n1)+⋯+(nd)\binom{n}{0} + \binom{n}{1} + \cdots + \binom{n}{d} of them, a polynomial in nn, not an exponential. For lines, the exact count for nn points in general position is n(n−1)+2n(n-1) + 2, a result of Thomas Cover's from 1965:

Points nnAll labellings 2n2^nBound with d=3d = 3Achieved by lines
3888
4161514
5322622
101,02417692

With ten points, lines can produce only 92 of the 1,024 labellings. If a line fits ten points labelled at random, that would be a coincidence, and so a line that fits real data is probably capturing a real pattern. Vapnik and Chervonenkis turned this into a guarantee: once the number of examples is large compared with dd, training error and future error are close for every rule in the family. The same argument fails for a family that can fit every labelling. It can fit anything, so fitting proves nothing.

Chapter IV

The Deep Learning Puzzle

From 2012, deep neural networks trained by backpropagation on large data sets and fast hardware began to beat every other method at recognising images and speech, translating languages and, in 2020, predicting protein structures. They have millions or billions of parameters, far more than their training examples. In 2016 a team including Chiyuan Zhang showed that such networks can memorise pictures whose labels have been randomly shuffled, so by Vapnik's measure they can fit anything. Yet on real labels they generalise well. In 2019 Mikhail Belkin and colleagues showed that past the point of perfect fit, test error can fall a second time.

The classical theory is not wrong, but its bounds say nothing useful about these networks. Explanations under study involve the implicit preferences of the training algorithm, the margins and compressibility of the learned networks, links to information theory, and the structure of natural data. Why overparameterised networks generalise is the central open question of the field, and it matters, because such systems are now trusted with decisions far beyond recognising handwriting.

Applications

Where it is used

  • Structural biology↗ Biology · Protein Structure Prediction

    Predicting protein shapes

    AlphaFold 2, a deep network trained on the structures in the Protein Data Bank, predicted the shapes of proteins from their sequences with accuracy close to experiment in the 2020 CASP assessment, largely solving a fifty-year-old problem.

    › Sources (1)
    • Jumper, J. et al. (2021). Highly accurate protein structure prediction with AlphaFold. Nature 596: 583–589.
  • Condensed matter physics↗ Physics · Phase Transitions

    Learning phases of matter

    A neural network shown snapshots of a magnet model at different temperatures can learn to tell the ordered and disordered phases apart without being told what magnetisation is, and locates the critical temperature.

    › Sources (1)
    • Carrasquilla, J. & Melko, R. G. (2017). Machine learning phases of matter. Nature Physics 13: 431–434.
  • Pattern recognition

    Reading handwriting

    Convolutional neural networks trained by backpropagation read the handwritten amounts on bank cheques in the 1990s. The benchmark of handwritten digits built for that work became the standard first test of every new learning method.

    › Sources (1)
    • LeCun, Y., Bottou, L., Bengio, Y. & Haffner, P. (1998). Gradient-based learning applied to document recognition. Proceedings of the IEEE 86(11): 2278–2324.

Open problems

Where the map runs out

Open

Why do overparameterised networks generalise?

Open as of 2026; partial explanations exist for simplified models.

Modern neural networks have far more adjustable parameters than training examples. They can fit random noise perfectly, yet trained on real data they predict new cases well. What property of the networks, the data or the training method explains this, and can it be turned into a guarantee?

Why it is hard

Bounds based on the VC dimension or the number of parameters are vacuous for such networks, predicting error rates above 100%. The answer seems to depend on which of the many perfect fits the training algorithm happens to find, and on the structure of real data, and neither is easy to describe mathematically.

What resolving it unlocks

Guarantees for systems now used in medicine, science and transport, principled ways to design networks instead of trial and error, and an understanding of when they will fail.

› Sources (2)
  • Belkin, M. (2021). Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolation. Acta Numerica 30: 203–248.
  • Zhang, C., Bengio, S., Hardt, M., Recht, B. & Vinyals, O. (2021). Understanding deep learning (still) requires rethinking generalization. Communications of the ACM 64(3): 107–115.

Further reading

  1. Shalev-Shwartz, S. & Ben-David, S. (2014). Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press.

    A rigorous introduction to PAC learning and the VC dimension.

  2. Vapnik, V. N. (1995). The Nature of Statistical Learning Theory. Springer.

    The theory explained by its founder, with little heavy mathematics.

  3. Hastie, T., Tibshirani, R. & Friedman, J. (2009). The Elements of Statistical Learning (2nd ed.). Springer.

    The standard reference on learning methods from a statistical point of view.