<< Chapter < Page Chapter >> Page >

Minimum complexity penalized function

Recall the basic results of the last lectures: let X and Y denote the input and output spaces respectively. Let X X and Y X be random variables with unknown joint probability distribution P X Y . We would like to use X to “predict” Y . Consider a loss function 0 ( y 1 , y 2 ) 1 , y 1 , y 2 Y . This function is used to measure the accuracy of our prediction. Let F be a collection of candidate functions (models), f : X Y . The expected risk we incur is given by R ( f ) E X Y [ ( f ( X ) , Y ) ] . We have access only to a number of i.i.d. samples, { X i , Y i } i = 1 n . These allow us to compute the empirical risk R ^ n ( f ) 1 n i = 1 n ( f ( X i ) , Y i ) .

Assume in the following that F is countable. Assign a positive number c ( f ) to each f F such that f F 2 - c ( f ) 1 . If we use a prefix code to describe each element of F and define c ( f ) to be the codeword length (in bits) for each f F , the last inequality is automatically satisfied.

We define the minimum complexity penalized estimator as

f ^ n arg min f F R ^ n ( f ) + c ( f ) log 2 + 1 2 log n 2 n .

As we showed previously we have the bound

E [ R ( f ^ n ) ] min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n + 1 n .

The performance (risk) of f ^ n is on average better than

R ( f n * ) + c ( f n * ) log 2 + 1 2 log n 2 n + 1 n ,

where

f n * = arg min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n .

If it happens that the optimal function, that is

f * = arg min f measurable R ( f ) ,

is close to an f F with a small c ( f ) , then f ^ n will perform almost as well as the optimal function.

Suppose f * F , then

E [ R ( f ^ n ) ] R ( f * ) + c ( f * ) log 2 + 1 2 log n 2 n + 1 n .

Furthermore if c ( f * ) = O ( log n ) then

E [ R ( f ^ n ) ] R ( f * ) + O log n n ,

that is, only within a small O log n n offset of the optimal risk.

In general, we can also bound the excess risk E [ R ( f ^ n ) ] - R * , where R * is the Bayes risk,

R * = inf f measurable R ( f ) .

By subtracting R * (a constant) from both sides of the inequality

E [ R ( f ^ n ) ] min f F R ( f ) + c ( f ) log 2 + 1 2 log n 2 n + 1 n

we obtain

E [ R ( f ^ n ) ] - R * min f F R ( f ) - R * + c ( f ) log 2 + 1 2 log n 2 n + 1 n .

Note that two terms in this upper bound: R ( f ) - R * is a bound on the approximation error of a model f , and remainder is a bound on the estimation error associated with f . Thus, we see that complexity regularization automatically optimizes a balance between approximation and estimationerrors. In other words, complexity regularization is adaptive to the unknown tradeoff between approximation and estimation.

Classification

Consider the particularization of the above to a classification scenario. Let X = [ 0 , 1 ] d , Y = { 0 , 1 } and ( y ^ , y ) 1 { y ^ y } . Then R ( f ) = E X Y [ 1 { f ( X ) Y } ] = P ( f ( X ) Y ) . The Bayes risk is given by

R * = inf f measurable R ( f ) .

As it was observed before, the Bayes classifier ( i.e., a classifier that achieves the Bayes risk) is given by

f * ( x ) = 1 , P ( Y = 1 | X = x ) 1 2 0 , P ( Y = 1 | X = x ) < 1 2 .

This classifier can be expressed in a different way. Consider the set G * = { x : P ( Y = 1 | X = x ) 1 / 2 } . The Bayes classifier can written as f * ( x ) = 1 { x G * } . Therefore the classifier is characterized entirely by the set G * , if X G * then the “best” guess is that Y is one, and vice-versa. The boundary of this set corresponds to the points where the decision is harder.The boundary of G * is called the Bayes Decision Boundary . In [link] (a) this concept is illustrated. If η ( x ) = P ( Y = 1 | X = x ) is a continuous function then the Bayes decision boundary is simply given by { x : P ( Y = 1 | X = x ) = 1 / 2 } . Clearly the structure of the decision boundary provides importantinformation on the difficulty of the problem.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Statistical learning theory. OpenStax CNX. Apr 10, 2009 Download for free at http://cnx.org/content/col10532/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Statistical learning theory' conversation and receive update notifications?

Ask