Effective Dimension and Generalization of Kernel Learning
Tong Zhang IBM T.J. Watson Research Center Yorktown Heights, NY 10598
[email protected]
Abstract We investigate the generalization performance of some learning problems in Hilbert function Spaces. We introduce a concept of scalesensitive effective data dimension, and show that it characterizes the convergence rate of the underlying learning problem. Using this concept, we can naturally extend results for parametric estimation problems in finite dimensional spaces to nonparametric kernel learning methods. We derive upper bounds on the generalization performance and show that the resulting convergent rates are optimal under various circumstances.
1 Introduction
The goal of supervised learning is to predict an unobserved output value based on an observed input vector . This requires us to estimate a functional relationship from a set of training examples. Usually the quality of the predictor can be measured by a loss function . In machine learning, we assume that the data are drawn so that the expected true from an unknown underlying distribution. Our goal is to find loss of given below is as small as possible:
where we use to denote the expectation with respect to the true (but unknown) underlying distribution.
In this paper we focus on smooth convex loss functions that are second order differentiable with respect to the first component. In addition we assume that the second derivative is bounded both above and below (away from zero).1 For example, our analysis applies to important methods such as least squares regression (aka, Gaussian processes) and logistic regression in Hilbert spaces.
!
In order to obtain a good predictor from training data, it is necessary to start with a model of the functional relationship. In this paper, we consider models that are subsets in some Hilbert function space . Denote by the norm in . In particular, we consider models in a bounded convex subset of . We would like to find the best model in
"
&
"
# #%$
"
&
1 This boundedness assumption is not essential. However in this paper, in order to emphasize the main idea, we shall avoid using a more complex derivation that handles more general situations.
(1) In supervised learning, we construct an estimator ! of from a set of training examples ! ! " . Throughout the paper, we use symbol ! to denote empirical quantities based on the observed training data . Specifically, we use ! to defined as:
denote the empirical expectation with respect to the training samples, and
! !
# $% !
&
%
%
'
# # $
#$ # " " " "
"
" " It is clear that M can be regarded as a representing feature vector of in " . In the literature, the inner product N 8O PM Q M S R is often referred to as the kernel of " , and " as the reproducing kernel Hilbert space which is determined by the kernel function N T O . The purpose of this paper is to develop bounds on the true risk ! of any empirical esti mator ! compared to the optimal risk based on its observed risk ! ! . Specifically we seek a bound of the following form: ! VU 8 @GXW ! ! 6 ! @GKY ! Z [ where W is a positive constant that only depends on the loss function , and Z is a parameter that characterizes the effective data dimensionality for the learning problem. If ! is the empirical estimator that minimizes ! in & , then the second term on the right hand side is nonpositive. We are thus mainly interested in the third term. It will be shown a> . " that if " is a finite dimensional space, then the third term is \ ^ ]`_ where ] b ] is the dimension of " . If " is an infinite dimensional space (or when is large compared to ), one can adjust Z appropriately based on the sample size to get a bound \ c ] ! _ where the effective dimension ] ! at the optimal scale Z becomes samplesize dependent. hence even in the However the dimension will never grow faster than ] ! d \ f e # and _ge . worse case, Y ! Z [ converges to zero at a rate no worse than \ # A consequence of our analysis is to obtain convergence rates better than \ _`e . For empirical estimators with least squares loss, this issue has been considered in [1, 2, 4] among others. The approach in [1] wonâ€™t lead to the optimal rate of convergence for nonparametric classes. The O covering number based analysis in [2, 4] use the chaining
Assume that input belongs to a set ( . We make the reasonable assumption that is 32 pointwise continuous under the topology: ) +*,( ,  . /0'1 where 54 2 is in the sense that 76 82 4:9 . This assumption is equivalent to the condition ;
[email protected]? ?BADC FEHGJI ) K*L( , implying that each data point can be regarded as * a bounded linear functional M on such that ) : M . Since a Hilbert space is selfdual, we can represent M by an element in . Therefore ) we can define as M for all * , where denotes the inner product of . M *
argument [4] and ratio large deviation inequalities. However, it is known that chaining does not always lead to the optimal convergence rate, and for many problems covering numbers can be rather difficult to estimate. The effective dimension based analysis presented here, while restricted to learning problems in Hilbert spaces (kernel methods), addresses these issues.
2 Decomposition of loss function Consider a convex subset &ih " , which is closed under the uniform norm topology. Let be the optimal predictor j in & defined in (1). By differentiating (1) at the optimal
solution, and using the convexity of condition:
&
with respect to , we obtain the following first order
6 9 ) * & (2) where is the derivative of
with respect to . This inequality will be very important in our analysis.
(with respect to its first variable) is defined as: 6 6 6
Definition 2.1 The Bregman distance of
]
It is well known (and easy to check) that for a convex function, its Bregman divergence is always nonnegative. As mentioned in the introduction, we assume for simplicity that there _ U W , where is the exist positive constants W and W such that 9 E WJU second order derivative of with respect to the first variable. Using Taylor expansion of , it is easy to see that we have the following inequality for ] :
W Now, )
6 O U ]
UKW
6 O
(3)
* & , we consider the following decomposition: 6 8 ] G 6
Clearly by the nonnegativeness of Bregman divergence and (2), the two terms on the right hand side of the above equality are all nonnegative. This fact is very important in our approach. The above decomposition of gives the following decomposition of loss function:
6
]
G 6 '
We thus obtain from (3):
6 O G U 6 UVW 6 O G W
6 6 8 '
(4)
3 Empirical ratio inequality and generalization bounds
"
4 Given a positive definite selfadjoint operator structure on as:
"
The corresponding norm is # #
O .
Given a positive number Z , and let selfadjoint operator on :
"
"
, we define an inner product
be the identity operator, we define the following
M g M GXZ# %$ where we have used the matrix notation M M to denote the selfadjoint operator " 4 " defined as: M M & M M & '& M . In addition, we consider the inner product space ( ! on the set of selfadjoint operators on " , with the inner product defined) as ) + *, . 0 / 1! 1!* where / is the trace of a linear operator (sum of eigenvalues). The corresponding 2norm is denoted as # # . "!
We start our analysis with the following simple lemma:
, the following bounds are valid: 6 ;= ! U # ! M 6 [M #  O GXZ# # O$ $ O 6 O ! 6 2 ;= ! U # M M
M M # $ O GKZ# # O$ O O Proof Note that GZ# # $ 1! $ . Therefore let ! [M [ M , we obtain from CauchySchwartz inequality ! 6 U ! $ O ! O Lemma 3.1 For any function
6
This proves the first inequality.
!
To show the second inequality, we) simply observe that the left hand side is the largest 6 ' M M M M absolute eigenvalue of the operator , which is upper bounded ! ) O by / . Therefore the second inequality follows immediately from the definition of ( ! norm.
"
The importance of Lemma 3.1 is that it bounds the behavior of any estimator * (which can be sample dependent) in terms of the norm of the empirical mean of zeromean Hilbertspace valued random vectors. The convergence rate of the latter can be easily estimated from the variance of the random vectors, and therefore we have significantly simplified the problem. In order to estimate the variance of the random vectors on the right hand sides of Lemma 3.1, and hence characterize the behavior of the learning problem, we shall introduce the following notion of effective data dimensionality at a scale Z :
!
M
! M
#M # O

Some properties of ! are listed in Appendix A, which can be used to estimate the quantity. In particular for a finite dimensional space , ! is upper bounded by the dimensionality a`
of the space. Moreover the equality can be achieved by letting Z 4 9 as long as M M is full rank. Thus this quantity behaves like (scalesensitive) data dimension.
"
"
We also define the following quantities to measure the boundedness of the input data:
$
It is easy to see that
! U ;[