PAC Learning
Probably Approximately Correct learning is the theoretical framework that says how much data you need before a learning algorithm's error is small with high confidence, rather than just "eventually."
Before PAC learning, "can an algorithm learn this concept" had no precise meaning — you could always get lucky or unlucky with the training sample you happened to draw. Leslie Valiant's Probably Approximately Correct (PAC) framework fixed that by asking a more honest question: how much data does it take for a learner's error to be small (approximately correct) with high confidence (probably), rather than guaranteed in every possible case?
Formally, a concept class is PAC-learnable if, for any error tolerance and failure probability , there's a sample size — growing only polynomially as and shrink — after which the learner's true error is below with probability at least . In words: name how wrong you're willing to be and how often you're willing to accept getting unlucky, and the theory tells you how much data buys you that guarantee.
PAC learning turns "will this algorithm work" into a question with a number attached — a required sample size — rather than a vague promise, and that sample size scales with how complex the hypothesis class is, which is the theoretical seed of why overly flexible models need much more data to generalize reliably.
Worked example. For a finite hypothesis class of size , a standard PAC bound gives sample complexity . With 1,000 candidate hypotheses (), wanting 95% confidence (, ) of error below 10% (): examples. Tightening to 1% error instead multiplies the required sample roughly tenfold — a concrete illustration of why demanding much higher accuracy costs far more data, not just proportionally more.
Further reading
- Valiant, 'A Theory of the Learnable' (1984)