• No results found

Uniform convergence and learnability

N/A
N/A
Protected

Academic year: 2020

Share "Uniform convergence and learnability"

Copied!
163
0
0

Loading.... (view fulltext now)

Full text

(1)

U n iform C onvergence and L earnability

by

Martin Henry George Anthony

London School of Economics

February 1991

A Dissertation for the Degree of

Doctor of Philosophy

of

(2)

UMI Number: U 541921

All rights reserved

INFORMATION TO ALL U SE R S

The quality of this reproduction is d ep en d en t upon the quality of the copy subm itted.

In the unlikely even t that the author did not sen d a com plete m anuscript

and there are m issing p a g e s, th e se will be noted. Also, if material had to be rem oved, a note will indicate the deletion.

Dissertation Publishing

UMI U541921

Published by ProQ uest LLC 2014. Copyright in the Dissertation held by the Author. Microform Edition © ProQ uest LLC.

All rights reserved. This work is protected against unauthorized copying under Title 17, United S ta tes C ode.

ProQ uest LLC

789 East E isenhow er Parkway P.O. Box 1346

(3)

F

(4)

A b stract

This thesis analyses some of the more m athem atical aspects of the P robably A pproxim ately Correct (PAC) model of com putational learning theory.

The m ain concern is w ith th e sample size required for valid learning in th e PAC model. A sufficient sample-size involving the Vapnik-Chervonenkis (VC) dimension of the hypothesis space is derived; this improves the best previously known bound of this nature.

Learnability results and sufficient sample-sizes can in many cases be derived from results of Vapnik on the uniform convergence (in probability) of relative frequencies of events to their probabilities, when the collection of events has finite VC dimension. Two simple new combinatorial proofs of each of two of Vapnik’s results are proved here and the results are then applied to th e theory of learning stochastic concepts, where again improved sample-size bounds are obtained.

The PAC model of learning is a distribution-free model; the resulting sam ple sizes are not perm itted to depend on the usually fixed b u t unknown probability distribution on the input space. Results of Ben-David, Benedek and M ansour are described, presenting a theory for distribution-dependent learnability. The conditions under which a feasible upper bound on sample-size can be obtained are investigated, introducing the concept of polynomial Xcr-finite dimension.

The theory thus far is then applied to the learnability of formal concepts, defined by Wille. A learning algorithm is also presented for this problem.

(5)
(6)

C on ten ts

A b s t r a c t ...2

C o n t e n t s ... 4

A c k n o w le d g e m e n ts ...6

D e c la r a tio n o f O r ig in a lity ... 7

P r e f a c e ... 8

1. P A C L e a rn in g a n d L e a r n a b i l i t y ... 12

1.1 Introduction ... 12

1.2 Probably Approximately Correct L e a rn in g ...12

1.3 Potential Learnability ... 16

1.4 T he Input Space and the Hypothesis Space ...17

1.5 Learnability: F urther Discussion ... 20

1.6 F inite Hypothesis Spaces ... 23

2. T h e V a p n ik -C h e rv o n e n k is D i m e n s i o n ... 25

2.1 Introduction ... 25

2.2 T he Vapnik-Chervonenkis Dimension ... 25

2.3 Examples ...35

3. B o u n d in g S a m p le -S iz e w ith t h e V C D i m e n s i o n ... 44

3.1 Introduction ... 44

3.2 Bounding the Probability of a Bad Training S a m p le ... 45

3.3 Learnability in Spaces of Finite VC D im e n sio n ...55

3.4 Lower Bounds on Necessary S am ple-S ize... 62

4. R e la tiv e F re q u e n c ie s a n d P r o b a b i l i t i e s ... 67

4.1 Introduction ... 67

4.2 P roof Techniques ... 70

4.3 Proofs ... 74

4.4 A Result of C hapter 3 ...82

5. S to c h a s tic C o n c e p ts ... 84

5.1 Introduction ... 84

(7)

5.3 Approxim ating Stochastic Concepts by Functions ... 88

5.4 Classification Noise and Semi-Consistent Learning ...96

6. N o n -U n ifo r m L e a r n a b ility ... 98

6.1 T he Notion of Non-Uniform L e a rn a b ility ... 98

6.2 D istribution-Independent Learnability ...100

6.3 D istribution-D ependent L e a rn a b ility ...101

7. L earn in g F orm al C o n c e p t s ... 115

7.1 Introduction ...115

7.2 Formal Concept Analysis ...116

7.3 T he Dimension of a C o n te x t ...121

7.4 Non-Uniform Learnability of Formal Concepts ...125

7.5 Learning Formal Concepts in a Finite Context ... 126

8. T h e L earn a b ility o f F u n c tio n s...128

8.1 Introduction ...128

8.2 Learnability Results for Function S p a c e s ... 129

9. A n A p p lic a tio n to A rtificia l N e u r a l N e tw o r k s ... 139

9.1 Introduction ...139

9.2 Artificial Neural Networks ...139

9.3 Previous Results ... 145

9.4 M ultiple O u tp u t Threshold N e tw o rk s ... 151

(8)

A ck now ledgem ent s

I have benefitted greatly from the kind assistance and encouragement of many people throughout my work on this thesis.

In particular, Prof. Norm an Biggs, my supervisor, has been a source of great encouragement. I am indebted to him for his help and his advice, always generously given whenever requested.

I also thank Dr. John Shawe-Taylor for his encouragement and enthusiasm , and for the many fruitful and enjoyable discussions we have had.

The M athem atics departm ents of Royal Holloway and Bedford New College (University of London) and the London School of Economics provided friendly, comfortable and stim ulating environments in which to work and contributed greatly to making my tim e as a research student so enjoyable. In particu ­ lar, I thank the postgraduate m athem aticians a t RHBNC and Dr. G raham Brightwell at LSE.

This work would not have been possible had the Science and Engineering Research Council not provided financial support for the first two years. I th an k the Council for this support, and for their generous financial assistance w ith a visit to the USA.

I am grateful to Prof. Lenny P itt of the University of Illinois for his hospitality and for giving so freely of his time.

I also wish to thank Mick Ganley, John Livingstone, Audrey M arshall, Colleen M cKenna and M ark Overend, a few of the friends and form er teachers who have provided me w ith great encouragement and support.

(9)

D e c la r a tio n o f O r ig in a lity

I declare th a t, w ith the exceptions detailed below, this thesis is my own unaided work.

I have tried to make it clear in the text when a result is not new or not due to me (even if th e proof is original). I have also attem p ted throughout to reference work th a t has m otivated my research. Some areas of this thesis are the result of jo in t work to which I m ade a very significant contribution.

C hapter 1 is due to me and is largely introductory.

C hapter 2 contains some stan d ard results. Dr. G raham Brightwell helped with the proof of Theorem 2.8. All other new results and new proofs, as specified in th e Preface, are due to me.

C hapter 3 extends joint work w ith Prof. Norm an Biggs and Dr. John Shawe- Taylor. T he new ideas were developed jointly, and a weaker upper bound on sufficient sample-size was found. I have extended the analysis. T he presenta­ tion and the sample-size bound here are due to me. Section 3.1 is introductory. Sections 3.2 and 3.3 are due to me, with the exception of Lemm a 3.1, which is due to Dr. G raham Brightwell. These sections are based upon the joint work w ith Dr. Shawe-Taylor and Prof. Biggs. Section 3.4 is due to me, except (as stated in th e text) for Theorem s 3.18 and 3.19.

C hapters 4 and 5 are due to me.

C hapter 6 is, in p a rt, joint work with Dr. John Shawe-Taylor. Sections 6.1 and 6.2 are introductory. In Section 6.3, th e proof of Proposition 6.6 is joint work w ith Dr. Shawe-Taylor. The subsection on hypothesis spaces of X a-finite dimension contains an account of work by Ben-David, Benedek and Mansour. The subsection on polynomial distribution-dependent learnability is joint work w ith Dr. Shawe-Taylor. T he discussion and examples after Theorem 6.13 are due to me.

Sections 7.1 and 7.2, w ith the exception of the last subsection, supply an account of stan d a rd notions of Formal Concept Analysis. T he subsection on Formal concepts and monomials is original and due to me. Initially I proved a weaker form of Theorem 7.9 of section 7.3, and this was circulated in a preprint w ritten jointly w ith Prof. Norman Biggs. I am grateful to Dr. Colin M cDiarmid for suggesting th a t the stronger statem ent holds w ith essentially the same proof. Theorem 7.11 is, as stated, a result of Dr. Dave Cohen. C hapter 8 is due to me.

(10)

D e c la r a tio n o f O r ig in a lity

I declare th at, w ith the exceptions detailed below, this thesis is my own unaided work.

I have tried to make it clear in the text when a result is not new or not due to me (even if the proof is original). I have also attem p ted throughout to reference work th a t has m otivated my research. Some areas of this thesis are the result of joint work to which I m ade a very significant contribution:

The upper bound on sufficient sample-size in C hapter 3 improves upon joint re­ search w ith Prof. Norm an Biggs and Dr. John Shawe-Taylor, and the analysis extends th a t work.

Proposition 6.6 and the treatm ent of polynomial JVcr-finite dimension is joint work w ith Dr. John Shawe-Taylor.

Section 9.4 is joint work w ith Dr. John Shawe-Taylor.

(11)

P reface

This thesis studies the sample complexity of V aliant’s Probably Approxim ately Correct model of learning, together w ith related problems in probability theory, and applies the results to the theory of form al concepts and to the theory of learning in artificial neural networks.

Chapters 1 and 2 are introductory. C hapter 1 introduces the idea of PAC learn­ ability and sets up the essential definitions. C hapter 2 discusses th e Vapnik- Chervonenkis dimension for collections of sets and Boolean-valued functions. It contains a new treatm ent of the VC dimension of half-spaces of Euclidean space, a new bound on the num ber of Boolean threshold functions on a given num ber of variables, and a result which extends a result of Haussler and Welzl concerning the VC dimension of a graph.

In C hapter 3, we obtain bounds on the sample-size required for learnability, these bounds depending on the Vapnik-Chervonenkis dimension of the hypoth­ esis space. First, a result is obtained which bounds the probability of present­ ing a “b ad ” training sample. This involves the expected values of the index functions, which we show exist if the hypothesis space is universally separable. The result is applied to obtain an upper bound on sufficient sample-size which is b e tte r th a n previously obtained bounds. We end the chapter by discussing lower bounds on necessary sample-size.

(12)

two results of Vapnik are given. We also give a quick and easy proof of a learnability result of Haussler, derived in the previous chapter as a corollary of the more general analysis presented there.

In C h ap ter 5, we apply the uniform convergence results to obtain results on the approxim ation of stochastic concepts by spaces of Boolean-valued functions of finite VC dimension. This idea is not new, b u t we discuss th e m easurability aspects and the resulting sample-size improves upon the best previously ob­ tained. We end the chapter w ith a brief discussion of possible applications of this theory.

We discuss non-uniform learnability in C hapter 6, describing sufficient condi­ tions on a hypothesis space for it to be learnable in a distribution-dependent m anner. An im portant problem is to guarantee not merely a finite b u t a feasibly small sufficient sample-size. The concept of polynomial X<7-finite di­ m ension w ith respect to a particular distribution is introduced and is shown to im ply distribution-dependent learnability w ith feasible sample-size.

In C h ap ter 7, we apply the theory of learnability to W ille’s form al concept analysis, showing th a t in contexts having certain boundedness properties, the set of form al concept extents has bounded VC dimension and is thus learn­ able. An algorithm for learning formal concept extents in a finite context is presented.

C hapter 8 discusses the generalizations of VC dimension and learnability to spaces of functions which have general range. We describe how a generalized VC dimension may be defined for such spaces and we define stochastic con­ cepts w ith range in some countable set. T he results of previous chapters are then applied to give learnability results for such functions and such stochastic concepts.

(13)
(14)

C hapter 1

PA C Learning and L earn ab ility

1.1

In trod u ction

In this introductory chapter we describe V aliant’s Probably Approxim ately Correct (PAC) model of learning. This is a stochastic model in which a hy­ pothesis, from a set of hypotheses, is chosen which is m eant to approxim ate to a target concept, usually also from the same set of hypotheses. It is shown th a t PAC learning can be achieved if there is an efficient consistent hypothesis finder and if the hypothesis space is potentially learnable.

We then formalise potential learnability further, describing the m easurability constraints to be imposed upon the spaces we consider. We end the chapter w ith a proof th a t any finite hypothesis space is potentially learnable.

1.2

P robably A pproxim ately C orrect Learning

M o tiv a tio n and in form al d efin itio n s

A few years ago Valiant [33, 34] described a com putational model of learning which Angluin [1] has called the Probably Approxim ately Correct (or PAC) learning model.

(15)

it by its characteristic function, and given a boolean-valued function, we may identify it w ith its support. A learner, which may be thought of as a machine or algorithm , has to choose a {0, l}-function (from a given set of functions) which is supposed to approxim ate to the concept. T he only inform ation given to th e learner is the set of functions available to choose from, a finite sequence of objects and inform ation as to whether each of th e objects in this sequence is a positive example or a negative example of the concept being learned. The PAC model is a stochastic model of learning in which it is required th a t, in a probabilistic sense to be m ade precise below, the learner generalizes well from the examples presented to it during the training procedure. T he description we give below is fram ed in term s of boolean-valued functions, b u t can be modified in the obvious way to refer to subsets of the set of inputs.

Roughly speaking, the idea of PAC learning is th a t a function

c: X - > { 0 , 1 )

(the target function or target concept) from H is PAC learnable by a set of functions H (the hypothesis space) if there is an algorithm C (the learning

algorithm) which takes as input a sequence of random ly chosen elements of X , labelled w ith the values of c on these elements (a training sample), and returns (a representation of) a hypothesis h E H such th a t the following holds:

For a sufficiently large training sample, there is high probability th a t the re­ sulting hypothesis is approximately equal to c.

The input space X is assumed to have a fixed probability measure / i defined

on it and, for a sample of length m, the probability referred to above is the product probability measure /xm on X m. This is the distribution from which the training sample is random ly drawn. Since the measure is generally un­ known, we require th a t the above condition holds for any probability m easure

(16)

concept, for neither of these is known by th e learner: In attem p tin g to learn some targ et concept from H, the learner has to be able to guarantee th a t if it takes a certain num ber of random ly drawn training examples, it will probably o u tp u t a good approxim ation to the target concept. This guarantee clearly cannot be m ade in general if the sufficient length of training sam ple depends on things unknown to the learner.

F orm al d efin itio n

We define the actual error erM(/i,c) of the hypothesis h w ith respect to c and

H to be the probability th a t on a further random ly chosen in p u t, h and c

disagree. T h a t is,

e r^(h, c) = fi{x £ X : h(x) ^ c(r)}.

(Assume for the m oment th a t this measure is defined; we address m easurability conditions later in the chapter).

We can formally define a training sample from X of a hypothesis from H .

Suppose th a t c £ H and th at

( r i , r 2, . .. , r m) £ X m .

Then th e training sample c(x) of c on x is the vector x labelled w ith the values of c ( r i ) , . . . , c (x m). T h a t is,

c(x) = ((a?!, c (z i)), (x 2,c (x2) ) , . • •, ( x m ,c ( x m))) .

Then th e above inform al description of PAC learning a p articu lar concept may be form alised and used to define the PAC learnability of the hypothesis space

H . (Recall th a t, by the above discussion, we require every hypothesis from H

(17)

D e f in itio n 1.1 The hypothesis space H is P A C learnable i f there is an algorithm C taking as input training samples from X o f hypotheses from H

such th a t the following holds: Given an accuracy parameter 0 < e < 1 and a confidence parameter 0 < S < 1, there is a positive integer mo = m o(e,6) (a sufficient sample-size) such that

m > m 0 = > p m {x £ X m : erM (£ (c (x )), c) < e} > 1 — 6,

for any probability measure p on X and for any c in H .

C o m p le x ity o f t h e le a r n in g a lg o r ith m

Usually, some complexity conditions m ust be imposed on the learning algo­ rithm C. For feasible com putation, C should ru n in a tim e which is polynomial in various param eters characterizing the complexity of the p articu lar learning problem. In particular, C should run in a tim e polynomial in 1/e and 1 /6,

where e and 6 are (respectively) the accuracy and confidence param eters. This complexity condition can be m et if C runs in a tim e polynomial in its input and if the sufficient sample-size mo(e, 6) is polynomial in 1/e and 1/S.

(18)

1.3

P o ten tia l L earnability

P o te n tia l lea rn a b ility and c o n s is te n t h y p o th e s is fin d ers

Informally, notice th a t H will certainly be PAC learnable if for any cH:

• W ith probability close to 1, any hypothesis from H consistent w ith c on sufficiently many randomly chosen inputs from X is approxim ately equal to c; and

• There is an algorithm C for finding a hypothesis from H consistent w ith c

on any training sample from X of a hypothesis from H . Such an algorithm is called a consistent hypothesis finder.

The first condition leads to the following definition of potential learnability.

D e fin itio n 1.2 The hypothesis space H is said to be potentially learnable i f given e > 0 and 6 > 0 there is an integer m 0 = m o(e,^) such th a t for all m > m o,

p m {( xi , X2, . . . , i m ) E X m : v/i H, t(x i) = h (x i)V i =*► erM(h) < e} > 1 — 6, for any probability measure p defined on X } o ^ k -^r <xM H □

We have not stipulated in this definition th a t m 0(e, 6) be polynom ial in 1/e and 1/6 (a desirable property, by the discussion in the previous section). In fact, as a consequence of results presented later, if H is potentially learnable then one can find a value of m 0(e, 6) which is polynom ial in 1/e and 1/6.

(19)

1.4

T h e Input Space and th e H y p o th e sis Space

We now specify the types of input space and hypothesis space we consider. These are obtained by imposing certain m easure-theoretic and non-triviality conditions.

T h e in p u t sp a c e as a p ro b a b ility sp a ce

Throughout, the input space X is assumed to be either finite, countably infinite or a subset of Euclidean space R n for some n. In the first two of these cases, we take the <7-algebra E to be 2X, the set of all subsets of X . If X is a subset of th e Euclidean space R n, we take E to be the Borel cr-algebra induced on

X ; th a t is

E = { £ n X : R e £ } ,

where B is th e cr-algebra of subsets of R n generated by the subsets open w ith respect to (for example) the standard Euclidean m etric. (A n alternative description of this la tte r <r-algebra is as the cr-algebra of subsets of X generated by th e subsets of X which are open w ith respect to th e induced Euclidean m etric on X .)

(20)

T h e h y p o th e s is s p a c e

We assume th a t i f is a set of E-m easurable functions from X to {0,1}. This is equivalent to demanding th a t for each h in i f , th e set fo- 1 ( l) belongs to E. W ith this m easurability condition, it is possible as earlier to define th e ( actual)

error of one hypothesis with respect to another hypothesis as th e m easure of th e set of inputs on which they disagree, this set being m easurable. T h a t is, th e error e r/i(/i, c) o f h £ H w ith respect to c G i f is

e r c) = n { x £ X : h (x) ^ c(r)} ,

the probability th a t h and c disagree on a random ly chosen input.

A hypothesis space i f is said to be trivial if it consists of ju st one hypothesis, or if it consists of two hypotheses h and g such th a t

h(x) = 1 '4=>- g(x) = 0.

T h a t is, a hypothesis space is trivial if it consists of one hypothesis or if it consists of two hypotheses which are complementary. Trivial hypothesis spaces are not interesting, and we assume throughout th a t any hypothesis space we discuss is non-trivial.

W e ll-b e h a v e d h y p o th e s is s p a c e s a n d u n iv e r s a l s e p a r a b ility

In order to discuss th e further m easure-theoretic conditions to be placed on th e hypothesis spaces, we need some definitions.

Let 0 < e < 1 and c £ H , and denote by B € the set of hypotheses from H

which have error greater th an e w ith respect to c. T h a t is,

B € = {h £ H : erp(h, c) > e] .

Given any positive integer m and any x = (x \, #2, • • •, x m ) £ X m, let erx(/i) = — \{i : h (xi) ^ c ( z j ) } | ,

m

th e observed error of h on x w ith respect to c.

(21)

D e fin itio n 1.3 W ith m ,c ,p ,e as above, define

Qm = Qm(c, p) = {x € X m : 3 h e B e w ith erx(h) = 0} .

Further, for a positive integer k and 0 < r < 1, let

Jm + k = J ^ +k( c ,r ,p ) = {xy € X m+* : G B t s.t. erx(h) = 0, ery(h) > re} .

It will become clear later why these sets are of interest. The analysis presented in C hapter 3 requires th a t for all m, Q m be a m easurable subset of X m (w ith respect to the product cr-algebra £ m) and th a t for all m ,k , «7m+* be a m ea­ surable subset of X m+k (w ith respect to E m+*). F urther, this m ust be tru e for all possible c, e, r and p. Ben-David (see [11]) has called hypotheses spaces w ith this property well-behaved.

D e fin itio n 1.4 T he hypothesis space H is well-behaved i f the sets Q m and

J m +k defined above are measurable subsets o f X m and X m+k (respectively)

for all c ,e ,m ,k ,r ,p .

This definition is an awkward one to have to work with. However, we can introduce a stronger restriction to place on H which will imply th a t H is well- behaved. This condition, known as universal separability, was introduced by Ben-David (see [11]).

D e fin itio n 1.5 T he hypothesis space H is universally separable i f there is a

countable subset Hq o f H such that any hypothesis in H is the pointw ise lim it

o f some sequence in Hq . In this case, we say that H is universally separable

by H 0.

Thus, H is universally separable by Hq if the following holds: Given h G H

there is a sequence (h{)°Z1 of hypotheses in Hq such th a t for every x £ X ,

there is n(x) for which

(22)

Ben-David proved (essentially) the following result. We om it th e proof, b u t see Blum er et al [11].

P r o p o s itio n 1.6 I f the hypothesis space H is universally separable then

H is well-behaved

Thus there is an easily-described condition on H which ensures th a t H is well-behaved and therefore th a t all necessary sets are m easurable.

1.5

Learnability: Further D iscu ssion

The aim of this section is to again formally define learnability and to develop fu rth er the notation and terminology th a t shall be used in later chapters.

W ith th e m easurability details behind us, we shall now suppose th a t all sets we wish to m easure axe indeed measurable. This is th e case if X and H are as described in the previous section.

A p p r o x im a tin g t h e t a r g e t c o n c e p t b y a h y p o th e s is

Above, we gave a n atu ral definition of how good an approxim ation a given hypothesis h is to th e target concept c. T he error erM(ft, c) of h w ith respect to c (and the underlying probability distribution p on the input space) is defined to be th e probability th a t h and c disagree on a random ly chosen input. We shall often use n o tatio n er^(h) when c is clear from the context.

Given a target concept c from H and x = (xi, #2, • • • 5 £ X m, we denote by H[x, c] the set of hypotheses from h which agree w ith c on x \, . . . , x m and we call this set th e set of hypotheses consistent w ith c on x. Thus,

H[x,c] — {h G H : h(x{) = c(xj) (1 < i < m)} = {h E H : erx(h) = 0} .

W hen the target concept c is clear from the context, we shall denote H[x, c]

(23)

Given any subset F of i f , we may define hazM(F , c), the haziness of F , to be

hazM (F, c) = sup (e rM( / ) : / G F } .

Again, if c is clear, we use the notation hazM(F ). Thus, hazAt(F ) is a m easure of the worst error with respect to c and fx th a t any hypothesis from F can have.

Given th a t the learner chooses a hypothesis consistent w ith the target con­ cept on the training sample, the definition of learnability is m otivated by the requirem ent th a t the sample-size m is large enough so th a t the sample is rep­ resentative of the target concept on the whole of the inp u t space. T h a t is, we wish to ensure th a t m is large enough so th a t there is a low probability th a t a training sample x of length m is “b ad ” . We can formalise this using the notation developed in this section:

The sample is “b ad ” if there is some hypothesis from H which is consistent w ith the target on the sample b ut has error larger th an e (the desired accuracy) w ith respect to the target concept (and the probability distribution on the input space). Thus, the set of bad samples of length m is precisely the set

g = {X6 r : 5 enF[ x, c] / i },

defined earlier.

We wish the event Q to have a low probability. The probability referred to here is the n atu ral product measure fxm on the product <r-algebra £ m. Given a (small) real num ber 8 strictly between 0 and 1, one could dem and th a t

r ( Q ) < «•

As earlier, we call 8 the confidence parameter and we call the quantity 1 — 8

the confidence.

(24)

D e fin itio n 1.7 T he hypothesis space H , defined over the in p u t space X

is learnable i f

• for every target concept c E H ,

• for every probabihty distribution p on (th e cr-algebra E o f subsets o f ) X ,

• for every accuracy param eter e and confidence param eter 8, (0 < e, 8 < 1), there is a sufficient sample-size mo = m 0(e ,8) such that

m > mo = > p m {x E X m : hazM ( H[x, c]) > e} < 8.

T h a t is, H is learnable if there is a sufficient sample size mo = mo(e, 8) such th a t given any targ et concept c from H and given any sample of m > mo inputs chosen according to any fixed distribution p on X , if h E H is consistent w ith

c on the sample then, w ith probability at least 1 — 8, h is an approxim ation to

c w ith error less th a n e.

In Definition 1.7, we usually omit explicit reference to any targ et concept c, since the defining property is required to hold for all c in H . Therefore, from now on, we shall w rite the last line of the definition as

p m {x E X m : haz/i(ff[x]) > e} < 8.

(25)

1.6

F in ite H y p o th esis Spaces

T he definition of learnability may at first sight look difficult to satisfy in gen­ eral, because although it must hold for any probability distribution on the input space and for any target concept from th e hypothesis space, the suffi­ cient sample-size m ust be independent of bo th the distribution and the target. We show here th a t any finite hypothesis space is learnable. This is th e easiest of the learnability results and can be regarded as “folklore” . T he r esult is n ot too surprising*- given a large enough -sample, w ith high probability th e sample contains moot of the significant inputs (th a t is, those w hich1 h a re-a hi-gh-proly- ability) and if-a h y pothesis h is found whieh agrees w ith th e targ et concept on th is-sam pley-it-should bo a good approxim ation to e .

Indeed, suppose th a t H is a finite set of {0, l}-valued functions defined on an input space X and th a t c E H . Let /i be any probability m easure defined on

X and suppose th a t h E H has error er^(h) > e w ith respect to c and fi; th a t is, h E B e. Since er/i(/i) > e, we have

f i { x E X : h(x) = c(r)} = 1 — e rM(/i) < 1 — e. Therefore

Hm {x e X m : h <E H[x]} < (1 - e)m. This holds for any h E B € and therefore

{x E X m : B e fl H[x] ^ 0} = //m {x E X m : 3h E B e such th a t h E H[x]}

<|JT| ( l - 6 ) ro.

Now, for any 0 < e < 1 and for any positive integer m, (1 — e)m < exp(—em). Therefore

pLm {x E X m : haz /i(LT[x]) > e} < \H\ exp ( —em).

Now,

'?)•

and so we have shown:

(26)

T h e o r e m 1.8 I f H is a finite hypothesis space then H is learn able. A suitable value o f m 0(e, 6) is

m 0(e, <S) =

M

1? )'

(27)

C hapter 2

T h e V apnik-C hervonenkis D im e n sio n

2.1

Introduction

We have seen th at any finite hypothesis space is learnable. A key problem is to determ ine which infinite hypothesis spaces are learnable. To this end, one can make use of the Vapnik-Chervonenkis dimension or VC dim ension, a com binatorial param eter associated with a hypothesis space. This param eter, introduced by Vapnik and Chervonenkis [36] and discussed in [19], can, in a sense, be regarded as a m easure of the expressive power of th e space.

2.2

T he V apnik-C hervonenkis D im en sion

S h a tte r in g

Suppose th a t H is a collection of subsets of the set X . For any finite subset S

of A , let S fl H be the collection

s n H = { S n h : h e H}

of subsets of X . We shall call the sets of S fl H the dichotomies o f S by H. We use this term as each h E H creates a dichotomy of S; a p a rtitio n of S into two parts. The set S is said to be shattered by H if the set of dichotomies of S

by H is the set of all subsets of S. Thus, S is sh attered by H if every subset

T of S can be expressed as

T = s n h ,

(28)

If i f is a set of {0, l}-valued functions, we say th a t a subset S of X is shattered by i f if 5 is shattered by the collection

H - \ i ) = { h - 1( i ) - . h e H }

of subsets of X . Alternatively, if S = { r i , . . . , r m}, then S is sh attered by i f if the vectors

yield all binary vectors of length m as h runs through i f . We may also define the shattering of a vector in X m . T he vector x = ( z i , . . . , £ m) G X m is shattered by i f if x i , X2t . .. , x m are distinct and if the set { r i , . . . , r m} is shattered by if ; th a t is, if any binary vector b of length m can be expressed in the form

b = ( /i ( z i ) ,.. . , h ( xm) ) , for some h G i f .

T h e in d e x fu n c tio n

For a collection of subsets i f of a set X and for any finite subset S of X , the num ber of possible dichotomies of 5 by i f is at most the num ber of distinct subsets of 5; th a t is, 2m where m = l^l. Further, S is shattered by i f precisely when the num ber of such dichotomies is 2m. Thus a useful quantity to m easure is the number of dichotomies of S by i f .

Fix the positive integer m, and for an m-subset 5 of X , let IIm>/f(5 ) be the num ber of dichotomies of 5 by i f . Thus

I W ( S ) = |{ S r U : f c e iy } |< 2 " \

(29)

from the set of all m-subsets of X to the integers between 1 and 2m. S is shattered by H if and only if IIm># (S ) = 2m. These functions, one for each positive integer m , can be subsumed by defining th e function

m = l X 7

from the set of all finite subsets of X to th e set of positive integers by

nH(S)

= I I|s |iH(S ) ( 5 C X , |5 | < oo).

Thus S is shattered by H if and only if II# (S ) = 2l5L II# (S ) is called the index of S in H and II# is the index function (for H).

Again, an analogous definition can be m ade for Boolean-valued functions de­ fined on X . Fix a positive integer m, and for any x = ( x i , X2, . . . , x m) £ X m, define the function

x* : H -► {0, l } m

by

x*(/i) = ( h ( x 1) , . . . , h ( x m)).

Then the image of H under x* is the set of all binary vectors expressible in the form ( h ( xi ) , . . . , h ( x m)) for some h £ H. W ith this in mind, we define

by

We then define

n m,H : X m —> {1, 2 , . . . , 2m}

n m>H(x) = |x*(J5T)|

(x

£ X m).

oo

n H :

(J

X m —> N m=1

by

n H(x) = n m,„(x)

(x 6

x m).
(30)

We rem ark th a t when H is a set of Boolean-valued functions defined on X , for a finite subset S of X , IIh (S ) is the cardinality of

H \ S = { h \ S : h e H ] ,

the set of functions in H restricted to dom ain S.

T h e g ro w th fu n c tio n and th e V C d im e n sio n

The Vapnik-Chervonenkis dimension, or VC dim ension, of a family H of sub­ sets of a set X is defined to be the supremum of the cardinalities of the subsets of X shattered by H. The definition allows for H to have infinite VC dim en­ sion if for each positive integer m, there is an m -subset of X sh attered by

H.

For a family H of boolean-valued functions defined on X , the VC dimension is infinite if given any positive integer m, there is some x = ( x i , £2, . . . , x m ) £ X m such th a t every binary vector b of length m can be expressed as

b = ( hi xi ) , . . . , h ( x m ))

for some h £ H. Otherwise, the VC dimension is the largest m for which this holds.

If H is a collection of subsets of a set X or a collection of boolean-valued functions defined on X , we define the growth function (o f H)

JlH : N -> N

by

IIH(m) = m ax { UH(x) : x £ X m} = s u p

IIm>H-The same notation is used for the growth function and the index function, b u t this should cause no confusion. Then the VC dimension of H is

(31)

where we take the supremum to be infinity if this set is unbounded. Clearly, if i f is a set of subsets of X and there is no m -subset of X sh attered by H then there is no (m + l)-subset of X shattered by H. An analogous observation holds for the case in which H is a set of functions. Therefore, th e VC dimension of H is either infinity or is th e least integer d such th a t

U H(d)

=

2d, U H( d + l ) ^ 2 d+\

T he following elementary observation (made, for example in [19]) applies when

H is finite.

P r o p o s itio n 2 . 1 Let H be a finite set o f subsets o f a set X (or, equivalently, o f Boolean-valued functions on X ) . Then H has a finite V C dimension o f at

m ost log2 \H\.

P r o o f If H shatters an 6-subset of X , then there are at least 29 distinct sets (or functions) in H, at least one for each dichotomy of th e sh attered set. Therefore

2’ < \ H \ ,

and hence

s < log2 \ H\ .

The result follows. □

The following observation will prove useful later in this chapter.

P r o p o s itio n 2 . 2 I f H is a set o f subsets o f a finite set X (or, equivalently, o f Boolean-valued functions defined on X ) , then

\H\ = Uh ( \ X\ ) .

P r o o f Two members of H are distinct if and only if they induce distinct dichotomies of X , and therefore \H\ is the num ber of dichotomies of X by H.

T h a t is,

(32)

The result follows since, clearly, II//(X ) = II//(|-X"|).

S a u e r ’s lem m a

As one might suspect, the growth function for a set H of sets or Boolean­ valued functions can be related to the VC dimension of H. We know th a t if

H has infinite VC dimension then, by definition, for all positive integers m , II# (ra ) = 2m. W hen H has finite VC dimension d then for all m less th a n or equal to d, II# (m) = 2m, and for all m greater th a n d, 11# (m ) < 2m. An interesting and useful result is th a t, although the values of II# (m ) for m < d

are the values of the exponential function 2m, the growth function is actually bounded by a polynomial function of m.

Before proving this result, known as Sauer’s Lemma, in the form we require, some preliminaries axe needed. (Actually, the result we seek is a corollary of a result of Sauer, b ut we will refer to it as Sauer’s Lemma).

Following Vapnik and Chervonenkis [36], for d, m > 1, we shall denote by $ (d , m ) the maximum num ber of components or cells into which it is possible to p artitio n d-dimensional Euclidean space by m eans of m hyperplanes.

It can be shown th at

f 2m if m < d , m ) ~ \ E t = o ( ? ) if ™ > d

-We extend the definition of $ according to this formula, defining $ (0 , m) = 1 for all m > 0 and $ (d , 0) = 1 for all d > 0. An im p o rtan t observation is th a t the function $ satisfies the relation

$(d , m) = $ (d , m —1) + $ (d — 1, m —1).

(33)

T h e o r e m 2.3 I fi f is a hypothesis space o f finite V C dimension d then for all positive integers m ,

nj j(to) < $ (d , m).

In particular, for m > d,

n , w s £ ( ” ) .

* = 0 x 7

P r o o f We prove the result for the case in which i f is a set of subsets of the space X . (The result for i f a set of Boolean-valued functions defined on X

follows immediately from this).

The result clearly holds tru e for d = 0, for in this case, for any positive integer m, b o th sides of the inequality are equal to 1. The result also clearly holds when m = 1 and d > 1, for we have IIh (1 ) < 2 = $ (d , 1). Assume therefore th a t m > 0, d > 0. Assume also, inductively, th a t if G is any hypothesis space of VC dimension at most d, then I I g ( ^ ) < $ (d , m ) and th a t if G is any hypothesis space of VC dimension at most d + 1 then I I g ( ^ ) 5: $ (d + 1, to). Now suppose th a t i f is a hypothesis space of subsets of X and th a t i f has VC dimension at most d + 1. Let S C X be an (m -f l)-subset of X and let

H s = s n H = { s n h : h e H }

be the set of dichotomies of S induced by i f . Clearly, by definition,

\Hs\ = Uh(S).

Choose x E 5 , and let

H s - x = {T \ {x} : T e H s } = {(5 fl h ) \ { x } : h e H ]

and

Then

(34)

To see this, observe th a t, under the m apping which removes x from th e sets of Hs , any two sets of the form T and T U {x} m ap to th e same set. T h a t is,

\Hs - x \ = \ { T \ { x } : T £ H s } \

= |ffs | -

|{I7

H s : x $ U, U = T \ {x} for some T € H s }|

= | H s | - | ^ s | .

Now,

\ H s ~ x \ = |{ ( S 'D /i) \{ x } : h e H } \

= \ { ( S \ { x } ) n h : h e H } \

=

n

„ ( s \ { x } )

< $ ( d + 1, m),

by induction, since S \ {#} is an m -set. Now consider

H S = { h e H s : x < ? h , h U { x } G #<?} C H s

as a hypothesis space of subsets of S \ {x}. Then, by Proposition 2.2,

\ Hs \ = n l i s ( s \ { x } ) .

We claim th a t the hypothesis space H5 has VC dimension at m ost d. To see this, suppose th a t R C S \ {x} is shattered by H s - Clearly, x £ R. For any subset A of R, there is h E H s such th a t A = R fl h. Now, x $ A , x £ h and

h U {rc} E H s , (by definition of H5). Therefore,

A = ( R U {x}) fl h

and

A U {x} = ( R U {x}) fl (h U {ar}) .

It follows th a t the set R U {re} is shattered by H s and \R \J {z}| < d + 1, since H s has VC dimension at most d + 1. Hence \R\ < d, and so H s has VC dimension at most d. By induction,

(35)

Therefore,

n H(S) =

\Hs - x \ + \Hs\

< <&(d + 1, m ) + $ (d , m ) — $ (d + 1 ,m + 1),

and the result follows. □

The result we seek is a corollary of this, and the following result from [11] takes us some way towards it.

P r o p o s itio n 2.4 For m > d > 1, we have . 2m d <S>(d,m) < — .

P r o o f If d = 1 then

$ (d , m) = m + 1 < 2m.

If m = d > 1 then $(d, m ) = 2d. Now, for d > 1, we have

( 1

+ d

d 1

1 + ~ ) > 1 + d — — 2, and therefore, making the obvious inductive hypothesis,

2d+1 < 2“*

< 2 { d + i V d *

= 2

d ) d\

(d + l) ''

(d + 1)! ’ verifying the result for m = d > 1.

Suppose th a t m > d > 1. Now,

$ (d + 1, m -f 1) = $ ( d + 1, m ) + $ (d , m ),

so it suffices to prove th a t

(36)

This is tru e if and only if

m M + ( 1 + d )m d < (m + l) d + 1 (d + m + 1)m d < (m -f l ) d+1

d + m + l (m + l ) d+1

m ~ m l

< ( . + i

f

m ) \ m j

,.)d+1 f d 4-1 \ /

1

+

and this last inequality follows from the binomial theorem . □

We shall call the following result Sauer’s Lemma.

T h e o r e m 2.5 [S a u e r’s L e m m a] I f H is a hypothesis space o f finite V C dimension d > 1 then for all positive integers m > d, we have

_ . . / e m \ d n « ( m ) C ( - J ) •

P r o o f In view of the preceeding two results, we have, for m > d,

m d

nH(m) < $ (d ,m ) < 2— , and therefore it suffices to show th a t for all m > d > 1,

\ e J

This can be proved using Stirling’s Approxim ation, b u t we shall give a simple proof by induction on d. The result clearly holds when d = 1. M aking the inductive hypothesis, for d > 1 we have

(d + 1)! = (d, + 1) d\ > (g? + 1) 2 • It suffices to prove th at

d V n f d + l \ d+1

(d + 1) 2 ( - ) > 2 This is tru e if and only if

l + d ) < e >

which is tru e for any d > 1. The result follows. □

(37)

2.3

E xam ples

R a y s on th e real line

We sta rt w ith a very simple example to illustrate the ideas of this chapter. A

ray on the real line is an interval of the form (—0 0, a] for some a £ R . It is trivial to see th a t if x and y are real numbers satisfying x < y, th en one cannot find a real number a such th a t y E ( —0 0, a] and x 0 ( —0 0, a]. T h a t is, if X is taken to be the real line and H is the set of all rays on the real line, then

V C d im (tf) < 2.

But H certainly shatters any singleton subset of X and therefore H has VC dimension 1.

Let

x i < x 2 < . . . < x m

be any m distinct real num bers and let

S = { x 1, x 2, . . . , x m } .

Then the dichotomies of S by H are the em pty set and the sets

{ # ! , . . . ,Xk} , (1 < k < m).

T h a t is IIH(S) = m + 1. Clearly, II//(m ) = m + 1 since any set of m distinct points on the real line has the same num ber of dichotomies by H. Com pare this w ith Theorem 2.3, which gives the result

n H(m) < 1 + m.

(38)

H a lf-s p a c e s o f E u c lid e a n s p a c e

If we allow the H of the previous example to additionally contain all intervals of the form [6, oo) for real numbers 6, then the VC dimension of th e resulting space H i is 2. This hypothesis space can be described as the set of all closed half-spaces of 1-dimensional Euclidean space.

Consider now the set H2 of closed half-spaces of R 2, and suppose th a t S is a set of four points in R 2. Observe th a t T C S is a dichotomy of S by H2 if and only if T and S \ T can be separated by a hyperplane (th a t is, a line). If any three of the points of S are collinear then the two of these points farthest from each other are not separable from the middle one by a hyperplane (line), and therefore not all subsets of S can be obtained as dichotomies of S by H.

So suppose then th a t no three points in S are collinear. Then there are two possibilities to consider; either all four points lie on th e boundary of the convex hull of S, or there is one point lying in the interior of the convex hull of S.

In the first case, two opposite points cannot be separated from th e other two points by a hyperplane, while in the second case, th e point lying inside the convex hull is not separable from the other three points by a hyperplane. In all cases, then, S is not shattered by the set of half-spaces and therefore H2 has VC dimension at most 3. But it has VC dimension at least 3 since any (non-degenerate) triangle of points can be shattered.

More generally, we have

T h e o r e m 2 .6 If H n is the set of half-spaces o f R n then H n has V C di­ mension n + 1.

P r o o f Firstly, we observe th a t for a finite set S of points of R n , the subset

(39)

lie strictly on the other side of the hyperplane. (Because S is finite, we can insist no points of T or S \ T lie on the hyperplane). We shall say th a t T and

S \ T are linearly separable if this condition holds. Now, open half-spaces are convex subsets of R n. It follows th a t if T and S \ T are linearly separable by the hyperplane L, then the convex hulls of T and S \ T lie strictly on different sides of L and therefore have no points in common. (We interpret the convex hull of the em pty set as the em pty set). Conversely, if T C S an d the convex hulls of T and S \ T do not intersect then T is a dichotomy of 5 by H n.

Now, R adon’s theorem [15] asserts th a t if S is any set of n + 2 points in 72- dimensional Euclidean space, then there is a partitio n of S into two non-em pty disjoint subsets S i and S2 such th a t the convex hulls of S \ and S2 intersect. It follows th a t S i and S2 are not linearly separable and therefore th a t S i and

S2 are not dichotomies of S by H n. Therefore H n has VC dimension at most n + 1.

Conversely, let o denote the origin and, for 1 < i < 72, let e* be the point

of R n w ith a 1 in position i and every other entry 0. T hen it is easy to see th a t for any T C S = {o,e1?. . . ,e n} , the convex hulls of T and S \ T have em pty intersection. Therefore, S is shattered by H n. Consequently, th e VC dimension of H n is at least 72+ 1, and the theorem follows. □

We now show th a t Theorem 2.3 is tight, and th a t equality is achieved for some hypothesis space of each finite VC dimension.

For any 72, let Gn be the set of all subsets of R ” of the form

gy = { x £ R n : (x, y) > 1},

where (x, y) denotes the inner product of x and y. We shall call the space Gn

(40)

T h e o r e m 2 .7 Let G n be the set o f all one-sided half-spaces o f R n , as defined above. Then for any positive integer m ,

HGn( m) = $ ( n ,m ) .

P r o o f The proof of this is as in [36]. Given any x £ R n , there is a p artitio n of G into those gy such th a t (x, y) > 1 and those gy such th a t (x, y) < 1, and an obvious corresponding p artitio n of R n. Let

S = { x i,. . . , x TO}

be any m-subset of R n. Then from S we obtain a p artitio n of R n by m

hyperplanes into a num ber of components or cells such th a t for all vectors y belonging to one particular cell, gy induces a particular dichotom y of S,

and this differs from the dichotomies induced by gz for z in any other cell. Thus the num ber of dichotomies of S by G is the num ber of distinct cells obtained, and I I g ( ^ ) is therefore the m axim um num ber of com ponents into which it is possible to p artition n-dimensional Euclidean space by m eans of m

hyperplanes. By definition, this is $(ra,m ). □

We now show

T h e o r e m 2.8 W ith G n as above, G n has V C dimension n.

(41)

hulls of S* and S%intersect, there is no closed half-space h of R n such th a t

S*C\h = S*. Let

S i = ST \ {o} = s t , s2 = s 2* \ {o}.

If, for some g 6 G, we have Si = S fl g, then s*

n 5

=

(ST

u

ST) n

g

=

(Si n

g)

U ((S

\

Si) n

g)

U

({o}

n

g)

= Si = ST,

since o $ g. This contradicts the above. It follows th a t th e set S is not shattered by G and, consequently, G has VC dimension at most n.

Conversely, let the points e i , e2, . . . , en be as before, and let

S = { e i,e2, . . . ,e n } .

Then we claim th a t S can be shattered by G. Indeed, consider S* = S U {o}. We saw in the course of proving the previous result th a t S* is shattered by the space of closed half-spaces of R n. Let T be any subset of S', and let

T* == T U {o}. Then there is hi E H n such th a t T = S* fl hi and there is

h2H n such th a t T* = S* fl /&2* Now, hi is a closed half-space of R n and o 0 hi, so hi E G. Therefore there is gi = hi E G such th a t T = S* fl g\.

Further, since T* is a dichotomy of S* by H n, there is a hyperplane L strictly separating T* from S* \ T * = S \ T . Therefore there is <72 £ G such th a t

S \ T = S fl </2- (We take g2 to be th a t half-space determ ined by L which does not contain the origin). It follows th a t S is sh attered by G and the VC

dimension of Gn is at least n. The theorem follows. □

Theorem 2.3 implies, since G n has VC dimension n, th a t IlGn( ^ ) is a t most $ ( n ,m ) . Therefore, the inequality of the theorem becomes an equality for the spaces ( j n , and the theorem is tight.

A •positive half-space of R n is a set of the form

(42)

for some y £ R n. We rem ark th a t in a m anner sim ilar to th a t of the proof of Theorem 2.8, one can easily show th a t the set of all positive half-spaces of R n has VC dimension n.

B o o le a n th resh o ld fu n c tio n s

A Boolean function

/ : {

0

,

1

}"

{

0

,

1

}

is called a Boolean threshold function or Boolean linear threshold function if there is a vector

w = (uq, w2,. • • , w n) £ R n and a constant 6 £ R such th a t

f ( xi , z 2, • • •, x n) = 1 WiZi 4- w2x 2 + . . . + w nx n > 0.

T h a t is, / returns a 1 if the weighted sum of th e inputs exceeds or equals a certain threshold, and returns a 0 otherwise. Geometrically, a Boolean thresh­ old function is determ ined by a closed half-space of R n ; the inputs for which / computes 1 are those vertices of the n-dim ensional u nit cube which lie on the side

{x : (x, w) > 8}

of the hyperplane

{x : (x, w) = 9} .

Thus the space Tn of Boolean threshold functions on n variables can be de­ scribed as the space of all closed half-spaces of R n, restricted to th e u nit cube. Therefore, the VC dimension of Tn, a restriction of a space of VC dimension n -f 1, is at most n -f-1.

But the set

(43)

described earlier is a subset of the set of vertices of the unit cube, and is shattered by the space of closed half-spaces of R n . It follows th a t Tn has VC dimension at least n + 1. Therefore the VC dimension of Tn is n + 1.

An interesting application of the VC dimension and Sauer’s Lemm a is to use these results to bound the num ber of Boolean threshold functions on n vari­ ables. For a simple lower bound, note th a t since T = Tn has VC dimension n -f 1, it follows from Proposition 2.1 th a t

\Tn\

> 2 n+1.

M uroga [24] has shown th a t

\Tn \ < 2n\

Using the powerful machinery described in this chapter, we can produce a significantly b etter upper bound.

T h e o r e m 2.9 T he set Tn o f Boolean threshold functions defined on {0,1}”

satisfies

| j ^ | _ q ^ 2 n 2+ 3 n - ( n + 1) lo8 2 ( n + 1) ^

P r o o f Let X = {0,1}” be the input space to T = Tn . T he VC dimension of T is 72 + 1 and therefore, by Proposition 2.2, we have

|T| = n r (|x|)

( ^ )

n + 1

/ e l-A I \ <

e2" ' n+1

n + 1

n

e \ / 2e \ „ 2 2” \72 + 1 / \72 + 1

_ Q ^ 2 n 2+ 3 n - ( n + 1) lo8 2 ( n + 1) ^

2

(44)

G rap h n eig h b o u rh o o d s

Following Haussler and Welzl [19] we may, as a fu rth er example on the VC dimension, define the VC dimension of a graph. Let G = ( V , E ) be a (simple, loopless) graph w ith vertex-set V and edge-set E . The neighbourhood of a vertex v is the set

N ( v ) = {u 6 V : {u,v} G E } U {v},

the set of all vertices at distance at most 1 from v. Denote by N ( G ) the set of all neighbourhoods of vertices of G,

N ( G ) = { N ( v ) : v e V } .

T hen N ( G), as a set of subsets of the set V, has a VC dimension, which we shall call the VC dimension of the graph G.

A graph G is said to be homeomorphic to a graph H if (an isomorphic copy of)

G can be obtained from H by the addition and removal of vertices of degree two (the incidence being changed in the obvious m anner). F urther, a subgraph H of the graph G = (V, E ) is a graph of the form H = (Vi, Ei ) , where V\ C V

and E i C E. We now show the following.

T h e o r e m 2.1 0 I f the graph G has V C dimension at least n, then G m ust contain a subgraph homeomorphic to the complete graph K n on n vertices.

P r o o f Suppose th a t S is a set of n vertices of G sh attered by N ( G ) and let

x , y be any two vertices in S and suppose th a t x and y are not adjacent in G.

Since S is shattered, the set {z,y} can be obtained as a dichotom y of S by

N( G) . Thus, there is a vertex w = w ( x , y ) such th a t

S fl N ( w ) = {x, y}.

(45)

adjacent in G. Thus, w is neither x nor y and so w is some vertex in V \ S

such th a t the only vertices of S adjacent to w axe x and y. This analysis holds for each pair of non-adjacent vertices in S. Let

V\ = S U { w( x , y ) : x , y € S, x , y not adjacent in G}

where, for any non-adjacent pair x, y of vertices from 5 , w ( x , y ) is, as above, any vertex of G such th a t N (w(x, y)) fl S = {#, y}. F urther, let E \ be the set of edges of G joining two vertices of S or a vertex of S and a vertex w(x, y) of

V\. T hen the subgraph H = ( h i , £*1) of G is homeomorphic to th e complete graph on n vertices; in £ , any two vertices of S are adjacent or there is a vertex of degree two in H adjacent to each of the two vertices. T he result

follows. □

(46)

C h ap ter 3

B ou n d in g Sam ple Size w ith th e V C D im en sio n

3.1

In trod u ction

(47)

3.2

B ounding th e P rob ab ility o f a B ad T raining Sam ple

D e fin itio n s

Recall the conditions placed on X and H in C hapter 1. We assume throughout th a t H is a non-trivial well-behaved hypothesis space defined on an in p u t space

X and th a t E is a a-algebra of subsets of X which will be th e power set of X

if X is countable and will be the induced Borel er-algebra if X is a subset of Euclidean space. Further, we assume th a t m, k are positive integers, c £ H is some target concept, e, r are real num bers strictly between 0 and 1 and fi is a m easure such th a t (X , E, fi) is a probability space. We denote by B ethe set

B e = {h £ H : e r ^ h ) > e}

of hypotheses from H which have error at least e w ith respect to targ et concept c. Q denotes the set

Q = = {xG X m : hazn(H[x]) > e} ,

and J denotes

J = J €m+* (c ,r,//) = {xy G X m+k : 3h G B es.t. erx(h) = 0, ery (h) > re} .

Notice th a t Q could equally well be described as

Q = { x G X m : 3h G #[x] s.t. er^{h) > e} .

(48)

M e a su r a b ility o f th e in d ex fu n c tio n

P a rt of our m ain bounding theorem involves th e expected value (or expecta-R>01Aa4m tion) of the index function, when this expected value exists. For anyjfunction, the expectation of th e function exists if and only if the function is measurable. We have seen th a t if H is universally separable then it is well-behaved. We now show th a t if H is universally separable th en th e index functions IImjBe and IImt H are E m-measurable.

We first need the following result, in which for

y = ( y i , y2, . . . , y m ) e { 0 , i } m

and h E i f , we define

h _1(y) = . , z m) e X m : h(xi) = y{ ( 1 < i < m)} .

L e m m a 3.1 Suppose that H is a universally separable hypothesis space defined on an in p u t space X and that Ho is as in the definition o f universal

separability T hen, for any y E {0, l } m, we have

U *_1(y) = U fc-,(y) €

h e H h e H0

P r o o f Suppose th a t

y = (yi,y

2

, . . . , ym)

and

x = ( x i , x 2, . . . , x m) e ( J fr- 1 (y).

h e H

Then there is h E H such th at

h(xi) — yi (1 < i < m).

By universal separability of H by Hq, there is a sequence of hypotheses in Ho such th a t h is the pointwise lim it of this sequence. Therefore, for each 1 < k < m, there is n(h) such th a t

(49)

Thus, for

n — m ax {n ( k) : 1 < i < k} , we have

X 6 ^ n ^ y )-Hence

(J

h ~ l (y) C

(J

/i_1(y),

heH heH0

and the reverse containm ent is obvious. Now,

fc_1(y) = ^-1({yi}) x ^-1({y

2

}) x ... x fc-1({ym})

e

s m,

and so

(J 7,-1 (y)> heH

as a countable union of measurable subsets of X m, is measurable. □

This has the following implication.

P r o p o s itio n 3.2 I f H is a universally separable hypothesis space over X then for each positive integer m , Hm,H Is a E m-measurable function.

P r o o f Fix y £ {0, l } m and let

f f -1(y) = U h~'(y) £ x m -heH

By the previous result, i7 _1(y) is a E m-m easurable subset of X m. Now, for x £ X m,

n m,ff(x) = y

where the sum m ation is over all y £ {0, l } m and where Ijj-i(y) is the charac­ teristic (or indicator)

References

Related documents