In
computational learning theory, probably approximately correct (PAC) learning is a framework for mathematical analysis of
machine learning
Machine learning (ML) is a field of inquiry devoted to understanding and building methods that 'learn', that is, methods that leverage data to improve performance on some set of tasks. It is seen as a part of artificial intelligence.
Machine ...
. It was proposed in 1984 by
Leslie Valiant
Leslie Gabriel Valiant (born 28 March 1949) is a British American computer scientist and computational theorist. He was born to a chemical engineer father and a translator mother. He is currently the T. Jefferson Coolidge Professor of Compu ...
.
[L. Valiant. ]
A theory of the learnable.
' Communications of the ACM, 27, 1984.
In this framework, the learner receives samples and must select a generalization function (called the ''hypothesis'') from a certain class of possible functions. The goal is that, with high probability (the "probably" part), the selected function will have low
generalization error
For supervised learning applications in machine learning and statistical learning theory, generalization error (also known as the out-of-sample error or the risk) is a measure of how accurately an algorithm is able to predict outcome values for pre ...
(the "approximately correct" part). The learner must be able to learn the concept given any arbitrary approximation ratio, probability of success, or
distribution of the samples.
The model was later extended to treat noise (misclassified samples).
An important innovation of the PAC framework is the introduction of
computational complexity theory
In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and relating these classes to each other. A computational problem is a task solved ...
concepts to machine learning. In particular, the learner is expected to find efficient functions (time and space requirements bounded to a
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
of the example size), and the learner itself must implement an efficient procedure (requiring an example count bounded to a polynomial of the concept size, modified by the approximation and
likelihood
The likelihood function (often simply called the likelihood) represents the probability of random variable realizations conditional on particular values of the statistical parameters. Thus, when evaluated on a given sample, the likelihood funct ...
bounds).
Definitions and terminology
In order to give the definition for something that is PAC-learnable, we first have to introduce some terminology.
For the following definitions, two examples will be used. The first is the problem of
character recognition given an array of
bits encoding a binary-valued image. The other example is the problem of finding an interval that will correctly classify points within the interval as positive and the points outside of the range as negative.
Let
be a set called the ''instance space'' or the encoding of all the samples. In the character recognition problem, the instance space is
. In the interval problem the instance space,
, is the set of all bounded intervals in
, where
denotes the set of all
real numbers
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
.
A ''concept'' is a subset
. One concept is the set of all patterns of bits in
that encode a picture of the letter "P". An example concept from the second example is the set of open intervals,
, each of which contains only the positive points. A ''
concept class''
is a collection of concepts over
. This could be the set of all subsets of the array of bits that are
skeletonized 4-connected (width of the font is 1).
Let
be a procedure that draws an example,
, using a probability distribution
and gives the correct label
, that is 1 if
and 0 otherwise.
Now, given
, assume there is an algorithm
and a polynomial
in
(and other relevant parameters of the class
) such that, given a sample of size
drawn according to
, then, with probability of at least
,
outputs a hypothesis
that has an average error less than or equal to
on
with the same distribution
. Further if the above statement for algorithm
is true for every concept
and for every distribution
over
, and for all
then
is (efficiently) PAC learnable (or ''distribution-free PAC learnable''). We can also say that
is a PAC learning algorithm for
.
Equivalence
Under some regularity conditions these conditions are equivalent:
# The concept class ''C'' is PAC learnable.
# The
VC dimension of ''C'' is finite.
# ''C'' is a uniform
Glivenko–Cantelli class.
# ''C'' is
compressible in the sense of Littlestone and Warmuth
See also
*
Occam learning
*
Data mining
*
Error tolerance (PAC learning)
*
Sample complexity
References
Further reading
* M. Kearns, U. Vazirani.
An Introduction to Computational Learning Theory'' MIT Press, 1994. A textbook.
* M. Mohri, A. Rostamizadeh, and A. Talwalkar. ''Foundations of Machine Learning''. MIT Press, 2018. Chapter 2 contains a detailed treatment of PAC-learnability
Readable through open access from the publisher.
* D. Haussler
Overview of the Probably Approximately Correct (PAC) Learning Framework An introduction to the topic.
* L. Valiant
''Probably Approximately Correct.''Basic Books, 2013. In which Valiant argues that PAC learning describes how organisms evolve and learn.
*
* {{cite arXiv, eprint=1503.06960, last1=Moran, first1=Shay, last2=Yehudayoff, first2=Amir, title=Sample compression schemes for VC classes, year=2015, class=cs.LG
Computational learning theory