Probably approximately correct learning

From HandWiki
Short description: Framework for mathematical analysis of machine learning

In computational learning theory, probably approximately correct (PAC) learning is a framework for mathematical analysis of machine learning. It was proposed in 1984 by Leslie Valiant.[1]

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 (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 concepts to machine learning. In particular, the learner is expected to find efficient functions (time and space requirements bounded to a polynomial 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 bounds).

Definitions and terminology

In order to give the definition for something that is PAC-learnable, we first have to introduce some terminology.[2]

For the following definitions, two examples will be used. The first is the problem of character recognition given an array of [math]\displaystyle{ n }[/math] 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 [math]\displaystyle{ X }[/math] be a set called the instance space or the encoding of all the samples. In the character recognition problem, the instance space is [math]\displaystyle{ X=\{0,1\}^n }[/math]. In the interval problem the instance space, [math]\displaystyle{ X }[/math], is the set of all bounded intervals in [math]\displaystyle{ \mathbb{R} }[/math], where [math]\displaystyle{ \mathbb{R} }[/math] denotes the set of all real numbers.

A concept is a subset [math]\displaystyle{ c \subset X }[/math]. One concept is the set of all patterns of bits in [math]\displaystyle{ X=\{0,1\}^n }[/math] that encode a picture of the letter "P". An example concept from the second example is the set of open intervals, [math]\displaystyle{ \{ (a,b) \mid 0 \leq a \leq \pi/2, \pi \leq b \leq \sqrt{13} \} }[/math], each of which contains only the positive points. A concept class [math]\displaystyle{ C }[/math] is a collection of concepts over [math]\displaystyle{ X }[/math]. 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 [math]\displaystyle{ EX(c,D) }[/math] be a procedure that draws an example, [math]\displaystyle{ x }[/math], using a probability distribution [math]\displaystyle{ D }[/math] and gives the correct label [math]\displaystyle{ c(x) }[/math], that is 1 if [math]\displaystyle{ x \in c }[/math] and 0 otherwise.

Now, given [math]\displaystyle{ 0\lt \epsilon,\delta\lt 1 }[/math], assume there is an algorithm [math]\displaystyle{ A }[/math] and a polynomial [math]\displaystyle{ p }[/math] in [math]\displaystyle{ 1/\epsilon, 1/\delta }[/math] (and other relevant parameters of the class [math]\displaystyle{ C }[/math]) such that, given a sample of size [math]\displaystyle{ p }[/math] drawn according to [math]\displaystyle{ EX(c,D) }[/math], then, with probability of at least [math]\displaystyle{ 1-\delta }[/math], [math]\displaystyle{ A }[/math] outputs a hypothesis [math]\displaystyle{ h \in C }[/math] that has an average error less than or equal to [math]\displaystyle{ \epsilon }[/math] on [math]\displaystyle{ X }[/math] with the same distribution [math]\displaystyle{ D }[/math]. Further if the above statement for algorithm [math]\displaystyle{ A }[/math] is true for every concept [math]\displaystyle{ c \in C }[/math] and for every distribution [math]\displaystyle{ D }[/math] over [math]\displaystyle{ X }[/math], and for all [math]\displaystyle{ 0\lt \epsilon, \delta\lt 1 }[/math] then [math]\displaystyle{ C }[/math] is (efficiently) PAC learnable (or distribution-free PAC learnable). We can also say that [math]\displaystyle{ A }[/math] is a PAC learning algorithm for [math]\displaystyle{ C }[/math].

Equivalence

Under some regularity conditions these conditions are equivalent: [3]

  1. The concept class C is PAC learnable.
  2. The VC dimension of C is finite.
  3. C is a uniformly Glivenko-Cantelli class.[clarification needed]
  4. C is compressible in the sense of Littlestone and Warmuth

See also

References

  1. L. Valiant. A theory of the learnable. Communications of the ACM, 27, 1984.
  2. Kearns and Vazirani, pg. 1-12,
  3. Blumer, Anselm; Ehrenfeucht, Andrzej; David, Haussler; Manfred, Warmuth (October 1989). "Learnability and the Vapnik-Chervonenkis Dimension". Journal of the Association for Computing Machinery 36 (4): 929–965. doi:10.1145/76359.76371. 

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.
  • "Relating Data Compression and Learnability". June 10, 1986. http://www.cse.ucsc.edu/~manfred/pubs/T1.pdf. 
  • Moran, Shay; Yehudayoff, Amir (2015). "Sample compression schemes for VC classes". arXiv:1503.06960 [cs.LG].

External links