SeriesMachine Learning8 / 20

Computational Learning Theory

Module 8 of CS 7641 - Machine Learning @ Georgia Tech. Lesson 7 of Supervised Learning Series.

What is Computational Learning Theory?#

Definition#

Computational Learning Theory (CoLT) refers to the application of formal mathematical definitions to learning systems (machinelearningmastery.com). As part of CoLT, we are interested in…

CoLT is somewhat analogous to complexity analysis in computer science. For example, computing theory analyzes how algorithms use resources such as time and space. In the context of CoLT, resources such as time, space, and data are important considerations.

Inductive Learning and CoLT#

Recall that supervised learning is a form of Inductive Learning - given a set of specific instances, we would like to infer the general pattern underlying these instances.

Inductive learning involves a number of quantifiable components:

With regards to the last point, how are training instances generated? We have three possible scenarios:

  1. Learner asks questions of teacher to produce instances.
  2. Teacher selects instances to help learner.
  3. Instances are drawn from a fixed, natural distribution.

With regards to inductive learning and CoLT, we make the following definitions:

Computational Learning Subfields#

Version Spaces#

The Version Space for a machine learning problem is the set of all candidate hypotheses produced by the learning algorithm that are consistent with the true concept.

GIVEN:   cH   hH   SX   c(x)xS\text{GIVEN}: ~~~ c \in H ~~~ h \in H ~~~ S \in X ~~~ c(x) \forall x \in S

VERSION SPACE:   VS(S)={h  s.t. hH consistent with S}\text{VERSION SPACE}: ~~~ VS(S) = \begin{Bmatrix} h ~~ \text{s.t.} ~ h \in H ~ \text{consistent with } S \end{Bmatrix}

To be a member of the version space, the hypothesis should simply be consistent with the observed data. Consider the following example:

version-space

PAC Learning#

As part of any supervised learning problem, we have two main error values of interest:

errorD(h)=PrXD[c(x)h(x)]\text{error}_D(h) = \Pr_{X \sim D} \left [ c(x) \neq h(x) \right ]

Let us define ϵ\epsilon as our error goal, and δ\delta as our certainty goal.

0ϵ12     0δ120 \leq \epsilon \leq \frac{1}{2} ~~~~~ 0 \leq \delta \leq \frac{1}{2}

A class of concepts CC is considered PAC-Learnable via some learning algorithm LL if the learner LL will, with probability 1δ1 - \delta, output a hypothesis hHh \in H such that errorD(h)ϵ\text{error}_D(h) \leq \epsilon in time and samples polynomial in 1ϵ\frac{1}{\epsilon}, 1δ\frac{1}{\delta}, and nn. PAC stands for probably approximately correct - more specifically, 1ϵ1 - \epsilon correct!

A version space is considered epsilon-exhausted if all hypotheses within the version space have error lower than ϵ\epsilon.

hVS(S)   errorDϵ\forall h \in VS(S) ~~~ \text{error}_D \leq \epsilon

Haussler’s Theorem bounds true error as a function of sampled training examples.

Consistent on Single Instance:   PrXD[hi(x)=c(x)]1ϵ\text{Consistent on Single Instance}: ~~~ \Pr_{X \sim D} \left[ h_i(x) = c(x) \right] \leq 1 - \epsilon

Consistent on Sample of m Examples:   (1ϵ)m\text{Consistent on Sample of m Examples}: ~~~ \leq (1 - \epsilon)^{m}

At Least One h1,,hk Consistent on m Examples:   H×(1ϵ)m\text{At Least One} ~ h_1, \ldots, h_k ~\text{Consistent on m Examples}: ~~~ \leq |H| \times (1 - \epsilon)^m

Given some mathematical properties + rearrangement, we can solve for mm - the minimum number of training examples required to evaluate our version space - as follows:

m1ϵ(lnH+ln1δ)m \geq \frac{1}{\epsilon} \left( \ln |H| + \ln \frac{1}{\delta} \right)


(all images obtained from Georgia Tech ML course materials)

License

CC BY-NC-SA 4.0 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Related Posts