Learning Theory for Distribution Regression
Zoltan Szabo, Bharath Sriperumbudur, Barnabas Poczos, Arthur Gretton
Introduction
We address the learning problem of distribution regression in the two-stage sampled setting, where we only have bags of samples from the probability distributions: we regress from probability measures to real-valued (Póczos et al., 2013) responses, or more generally to vector-valued outputs (belonging to an arbitrary separable Hilbert space). Many classical problems in machine learning and statistics can be analysed in this framework. On the machine learning side, multiple instance learning (Dietterich et al., 1997; Ray and Page, 2001; Dooly et al., 2002) can be thought of in this way, where each instance in a labeled bag is an i.i.d. (independent identically distributed) sample from a distribution. On the statistical side, tasks might include point estimation of statistics on a distribution without closed form analytical expressions (e.g., its entropy or a hyperparameter).
Can the distribution regression problem be solved consistently under mild conditions? What is the exact computational-statistical efficiency trade-off implied by the two-stage sampling?
In our work the estimated mapping () is the analytical solution of a kernel ridge regression (KRR) problem.Beyond its simple analytical formula, kernel ridge regression also allows efficient distributed (Zhang et al., 2015; Richtárik and Takác̆, 2016), sketch (Alaoui and Mahoney, 2015; Yang et al., 2016) and Nyström based approximations (Rudi et al., 2015). The performance of depends on the assumed function class (), the family of candidates used in the ridge formulation. We shall focus on the analysis of two settings:
Well-specified case (): In this case we assume that the regression function belongs to . We focus on bounding the goodness of compared to . In other words, if denotes the prediction error (expected risk) of , then our goal is to derive a finite-sample bound for the excess risk, that holds with high probability. We make use of this bound to establish the consistency of the estimator (i.e., drive the excess risk to zero) and to derive the exact computational-statistical efficiency trade-off of the estimator as a function of the sample number (, ) and the problem difficulty (see Theorem 5 and its corresponding remarks for more details).
Misspecified case (): Since in practise it might be hard to check whether , we also study the misspecified setting of ; the relevant case is when . In the misspecified setting the ’richness’ of has crucial importance, in other words the size of , the approximation error from . Our main contributions consist of proving a finite-sample excess risk bound, using which we show that the proposed estimator can attain the ideal performance, i.e., can be driven to zero. Moreover, on smooth classes of -s, we give a simple and explicit description for the computational-statistical efficiency trade-off of our estimator (see Theorem 9 and its corresponding remarks for more details).
One can define kernel learning algorithms on bags based on set kernels (Gärtner et al., 2002) by computing the similarity of the sets/bags of samples representing the input distributions; set kernels are also called called multi-instance kernels or ensemble kernels, and are examples of convolution kernels (Haussler, 1999). In this case, the similarity of two sets is measured by the average pairwise point similarities between the sets. From a theoretical perspective, nothing is known about the consistency of set kernel based learning method since their introduction in 1999 (Haussler, 1999; Gärtner et al., 2002): i.e. in what sense (and with what rates) is the learning algorithm consistent, when the number of items per bag, and the number of bags, are allowed to increase?
It is possible, however, to view set kernels in a distribution setting, as they represent valid kernels between (mean) embeddings of empirical probability measures into a reproducing kernel Hilbert space (RKHS; Berlinet and Thomas-Agnan, 2004). The population limits are well-defined as being dot products between the embeddings of the generating distributions (Altun and Smola, 2006), and for characteristic kernels the distance between embeddings defines a metric on probability measures (Sriperumbudur et al., 2011; Gretton et al., 2012). When bounded kernels are used, mean embeddings exist for all probability measures (Fukumizu et al., 2004). When we consider the distribution regression setting, however, there is no reason to limit ourselves to set kernels. Embeddings of probability measures to RKHS are used by Christmann and Steinwart (2010) in defining a yet larger class of easily computable kernels on distributions, via operations performed on the embeddings and their distances. Note that the relation between set kernels and kernels on distributions was also applied by Muandet et al. (2012) for classification on distribution-valued inputs, however consistency was not studied in that work. We also note that motivated by the current paper, Lopez-Paz et al. (2015) have recently presented the first theoretical results about surrogate risk guarantees on a class (relying on uniformly bounded Lipschitz functionals) of soft distribution-classification problems.
Our contribution in this paper is to establish the learning theory of a simple, mean embedding based ridge regression (MERR) method for the distribution regression problem. This result applies both to the basic set kernels of Haussler (1999); Gärtner et al. (2002), the distribution kernels of Christmann and Steinwart (2010), and additional related kernels. We provide finite-sample excess risk bounds, prove consistency, and show how the two-stage sampled nature of the problem (bag size) governs the computational-statistical efficiency of the MERR estimator. More specifically, in the
derive finite-sample bounds on the excess risk: We construct bounds holding with high probability, where is the regularization parameter in the ridge problem (, , ).
establish consistency and computational-statistical efficiency trade-off of the MERR estimator on a general prior family as defined by Caponnetto and De Vito (2007), where captures the effective input dimension, and larger means smoother (, ). In particular, when the number of samples per bag is chosen as and , then the learning rate saturates at , which is known to be one-stage sampled minimax optimal (Caponnetto and De Vito, 2007). In other words, by choosing , we suffer no loss in statistical performance compared with the best possible one-stage sampled estimator.
Note: the advantage of considering the family is two-fold. It does not assume parametric distributions, yet certain complexity terms can be explicitly upper bounded in the family. This property will be exploited in our analysis. Moreover, (for special input distributions) the parameter can be related to the spectral decay of Gaussian Gram matrices, and existing analysis techniques (Steinwart and Christmann, 2008) may be used in interpreting these decay conditions.
misspecified case: We establish consistency and convergence rates even if . Particularly, by deriving finite-sample bounds on the excess risk we
prove that the MERR estimator can achieve the best possible approximation accuracy from , i.e. the quantity can be driven to zero (recall that ). Specifically, this result implies that if is dense in (), then the excess risk converges to zero.
Due to the differences in the assumptions made and the loss function used, a direct comparison of our theoretical result and that of Póczos et al. (2013) remains an open question, however we make three observations. First, our approach is more general, since we may regress from any probability measure defined on separable, topological domains endowed with kernels. Póczos et al.’s work is restricted to compact domains of finite dimensional Euclidean spaces, and requires the distributions to admit probability densities; distributions on strings, graphs, and other structured objects are disallowed. Second, in our analysis we will allow separable Hilbert space valued outputs, in contrast to the real-valued output considered by Póczos et al. (2013). Third, density estimates in high dimensional spaces suffer from slow convergence rates (Wasserman, 2006, Section 6.5). Our approach mitigates this problem, as it works directly on distribution embeddings, and does not make use of density estimation as an intermediate step.
The principal challenge in proving theoretical guarantees arises from the two-stage sampled nature of the inputs. In our analysis of the well-specified case, we make use of Caponnetto and De Vito (2007)’s results, which focus (only) on the one-stage sample setup. These results will make our analysis somewhat shorter (but still rather challenging) by giving upper bounds for some of the objective terms. Even the verification of these conditions requires care since the inputs in the ridge regression are themselves distribution embeddings (i.e., functions in a reproducing kernel Hilbert space).
In the misspecified case, RKHS methods alone are not sufficient to obtain excess risk bounds: one has to take into account the “richness” of the modelling RKHS class () in the embedding space. The fundamental challenge is whether it is possible to achieve the best possible performance dictated by ; or in the special case when further smoothness conditions hold on , what convergence rates can yet be attained, and what computational-statistical efficiency trade-off realized. The second smoothness property could be modelled for example by range spaces of (fractional) powers of integral operators associated to . Indeed, there exist several results along these lines with KRR for the case of real-valued outputs: see for example (Sun and Wu, 2009a, Theorem 1.1), (Sun and Wu, 2009b, Corollary 3.2), (Mendelson and Neeman, 2010, Theorem 3.7 with Assumption 3.2). The question of optimal rates has also been addressed for the semi-supervised KRR setting (Caponnetto, 2006, Theorem 1), and for clipped KRR estimators (Steinwart et al., 2009) with integral operators of rapidly decaying spectrum. Our results apply more generally to the two-stage sampled setting and to vector valued outputs belonging to separable Hilbert spaces. Moreover, we obtain a general consistency result without range space assumptions, showing that the modelling power of can be fully exploited, and convergence to the best approximation available from can be realized.Specializing our result, we get explicit rates and an exact computational-statistical efficiency description for MERR as a function of sample numbers and problem difficulty, for smooth regression functions.
There are numerous areas in machine learning and statistics, where estimating vector-valued functions has crucial importance. Often in statistics, one is not only confronted with the estimation of a scalar parameter, but with a vector of parameters. On the machine learning side, multi-task learning (Evgeniou et al., 2005), functional response regression (Kadri et al., 2016), or structured output prediction (Brouard et al., 2011; Kadri et al., 2013) fall under the same umbrella: they can be naturally phrased as learning vector-valued functions (Micchelli and Pontil, 2005). The idea underlying all these tasks is simple and intuitive: if multiple prediction problems have to be solved simultaneously, it might be beneficial to exploit their dependencies. Imagine for example that the task is to predict the motion of a dancer: taking into account the interrelation of the actor’s body parts is likely to lead to more accurate estimation, as opposed to predicting the individual parts one by one, independently. Successful real-world applications of a multi-task approach include for example preference modelling of users with similar demographics (Evgeniou et al., 2005), prediction of the daily precipitation profiles of weather stations (Kadri et al., 2010), acoustic-to-articulatory speech inversion (Kadri et al., 2016), identifying biomarkers capable of tracking the progress of Alzheimer’s disease (Zhou et al., 2013), personalized human activity recognition based on iPod/iPhone accelerometer data (Sun et al., 2013), finger trajectory prediction in brain-computer interfaces (Kadri et al., 2012) or ecological inference (Flaxman et al., 2015); for a recent review on multi-output prediction methods see (Álvarez et al., 2011; Borchani et al., 2015). A mathematically sound way of encoding prior information about the relation of the outputs can be realized by operator-valued kernels and the associated vector-valued RKHS-s (Pedrick, 1957; Micchelli and Pontil, 2005; Carmeli et al., 2006, 2010); this is the tool we use to allow vector-valued learning tasks.
Finally, we note that the current work extends our earlier conference paper (Szabó et al., 2015) in several important respects: we now show that the MERR method can attain the one-stage sampled minimax optimal rate; we generalize the analysis in the well-specified setting to allow outputs belonging to an arbitrary separable Hilbert spaces (in contrast to the original scalar-valued output domain); and we tackle the misspecified setting, obtaining finite sample guarantees, consistency, and computational-statistical efficiency trade-offs.
The paper is structured as follows: The distribution regression problem and the MERR technique are introduced in Section 2. Our assumptions are detailed in Section 3. We present our theoretical guarantees (finite-sample bounds on the excess risk, consistency, computational-statistical efficiency trade-offs) in Section 4: the well-specified case is considered in Section 4.1, and the misspecified setting is the focus of Section 4.2. Section 5 is devoted to an overview of existing heuristics for learning on distributions. Conclusions are drawn in Section 6. Section 7 contains proof details. In Section 8 we discuss our assumptions with concrete examples.
The Distribution Regression Problem
Below we first introduce our notation (Section 2.1), then formally define the distribution regression task (Section 2.2).
We use the following notations throughout the paper:
Functional analysis: Let and denote two normed spaces, then stands for the space of bounded linear operators; if , we will use the shorthand. For the operator norm is defined as , denotes the range of , is the null space of . Let be a Hilbert space. The adjoint operator of an operator is the operator such that for all and in . is called positive if (), self-adjoint if , and trace class if for an ONB (orthonormal basis) of (), in which case ; compact if is a compact set. Let and be Hilbert spaces. is called Hilbert-Schmidt if for some ONB of . The space of Hilbert-Schmidt operators is denoted by . We use the shorthand notation if ; is separable if and only if is separable (Steinwart and Christmann, 2008, page 506). Trace class and Hilbert-Schmidt operators over a Hilbert space are compact operators (Steinwart and Christmann, 2008, page 505-506); moreover,
the set of mean embeddings (Berlinet and Thomas-Agnan, 2004) of the distributions to the space .The mapping is defined for all if is bounded, i.e., . Let be a separable Hilbert space, where the inner product is denoted by ; the associated norm is . is the -valued RKHS (Pedrick, 1957; Micchelli and Pontil, 2005; Carmeli et al., 2006, 2010) of functions with as the reproducing kernel (we will present some concrete examples of in Section 3; see Table 1); is defined as
Further, .
Regression function: Let be the -induced probability measure on the product space, and let be the factorization of into conditional and marginal distributions.Our assumptions will guarantee the existence of (see Section 3). Since is a Polish space (because it is separable Hilbert) the conditional distribution (, ) is also well-defined (Steinwart and Christmann, 2008, Lemma A.3.16, page 487). The regression function of with respect to the pair is denoted by
2 Distribution Regression
We now formally define the distribution regression task. Let us assume that is endowed with , the weak-topology generated -algebra; thus is a measurable space. In the distribution regression problem, we are given samples with where with and drawn i.i.d. from a joint meta distribution defined on the measurable space , the product space enriched with the product -algebra. Unlike in classical supervised learning problems, the problem at hand involves two levels of randomness, wherein first is drawn from , and then is generated by sampling points from for all . The goal is to learn the relation between the random distribution and response based on the observed . For notational simplicity, we will assume that ().
In other words, the distribution is first mapped to by the mean embedding , and the result is composed with , an element of the RKHS .
which is minimized by the regression function. The classical regularization approach is to optimize
instead of , based on samples . Since is not available, we consider the objective function defined by the observable quantity ,
where is the empirical distribution determined by . The ridge regression objective function has an analytical solution: given training samples , the prediction for a new test distribution is
where , , .
It is important to note that the algorithm has access to the sample points only via their mean embeddings in Eq. (9).
There is a two-stage sampling difficulty to tackle: The transition from to represents the fact that we have only distribution samples (); the transition from to means that the distributions can be accessed only via samples ().
While ridge regression can be performed using the kernel , the two-stage sampling makes it difficult to work with arbitrary . By contrast, our choice of enables us to handle the two-stage sampling by estimating with an empirical estimator, and using it in the algorithm as shown above.
One could also formulate the problem (and get guarantees) for more abstract regression tasks [see Eq. (7)] on a convex set with and being general, separable Hilbert spaces. Since distribution regression is probably the most accessible example where two-stage sampling appears, and in order to keep the presentation simple, we do not consider such extended formulations in this work.
Our main goals in this paper are as follows: first, to analyse the excess risk
both when (the well-specified case) and (the misspecified case); second, to establish consistency (, or in the misspecified case , where is the approximation error of by a function in ); and third, to derive an exact computational-statistical efficiency trade-off as a function of the triplet, and of the difficulty of the problem.
Assumptions
In this section, we detail our assumptions on the quartet. Our analysis for the well-specified case uses existing ridge regression results (Caponnetto and De Vito, 2007) focusing on problem (8) where only a single-stage sampling is present, hence we have to verify the associated conditions. Though we make use of these results, the analysis still remains challenging; the available bounds can moderately shorten our proof. We must take particular care in verifying that Caponnetto and De Vito (2007)’s conditions are met, since they need to hold for the space of mean embeddings of the distributions (), whose properties as a function of and must themselves be established.
is a separable, topological space.
is bounded, in other words such that , and continuous.
The operator family is uniformly bounded in Hilbert-Schmidt norm and Hölder continuous in operator norm. Formally, such that
and , such that the mapping is Hölder continuous:
is bounded: such that almost surely.
These requirements hold under mild conditions: in Section 8, we provide insight into the consequences of our assumptions, with several concrete illustrations (e.g. regression with set- and RBF-type kernels).
Error Bounds, Consistency & Computational-Statistical Efficiency Trade-off
In this section, we present our analysis of the consistency of the mean embedding based ridge regression (MERR) method.
Given the estimator () in Eq. (9), we derive finite-sample high probability upper bounds (see Theorems 2 and 7) for the excess risk , and in the misspecified setting, for the excess risk compared to the best attainable value from , i.e., . We illustrate the bounds for particular classes of prior distributions, and work through special cases to obtain consistency conditions and computational-statistical efficiency trade-offs (see Theorems 4, 9 and the 3rd bullet of Remark 8). The main challenge is how to turn the convergence rates of the mean embeddings into those for an error of the predictor. Although the main ideas of the proofs can be summarized relatively briefly, the full details are more demanding. High-level ideas with the sketches of the proofs and the obtained results are presented in Section 4.1 (well-specified case) and Section 4.2 (misspecified case). The derivations of some technical details of Theorems 2 and 7 are available in Section 7.
We first focus on the well-specified case () and present our first main result. We derive a high probability upper bound for the excess risk of the MERR method (Theorem 2). The upper bound is instantiated for a general class of prior distributions (Theorem 4), which leads to a simple computational-statistical efficiency description (Theorem 5); this shows (among others) conditions when the MERR technique is able to achieve the one-stage sampled minimax optimal rate. We first give a high-level sketch of our convergence analysis and an intuitive interpretation of the results. An outline of the main proof ideas is given below, with technical details in Section 7.
Let us define and as the ‘x-part’ of and , respectively. One can express [Eq. (8)] (Caponnetto and De Vito, 2007), and similarly [Eq. (9)], as
where (), , . By these explicit expressions, one can decompose the excess risk into 5 terms (Szabó et al., 2015, Section A.1.8):
Three of the terms (, , ) are identical to the terms in Caponnetto and De Vito (2007), hence the earlier bounds can be applied. The two new terms (, ) resulting from two-stage sampling will be upper bounded by making use of the convergence of the empirical mean embeddings. These bounds will lead to the following results:
if , and N\geq\big{(}1+\sqrt{\log(l)+\delta}\big{)}^{2}2^{\frac{h+6}{h}}B_{k}(B_{K})^{\frac{1}{h}}L^{\frac{2}{h}}/\lambda^{\frac{2}{h}}.
Below we specialize our excess risk bound for a general prior class, which captures the difficulty of the regression problem as defined in Caponnetto and De Vito (2007). This class is described by two parameters and : larger means faster decay of the eigenvalues of the covariance operator [in Eq. (17)], hence smaller effective input dimension; larger corresponds to a smoother regression function. Formally:
Definition of the class: Let us fix the positive constants , , . Then given , , the class is the set of probability distributions on such that
a range space assumption is satisfied: s.t. with ,
in the spectral decomposition of , where is a basis of , the eigenvalues of satisfy .
We make few remarks about the class:
Range space assumption on : The smoothness of is expressed as a range space assumption, which is slightly different from the standard smoothness conditions appearing in non-parametric function estimation. By the spectral decomposition of given above [], and
Specifically, in the limit as , we obtain (no constraint); larger values of give rise to faster decay of the Fourier coefficients. This is the concrete meaning of .
Spectral decay condition: We can provide a simple illustration of when the spectral decay conditions hold, in the event that the distributions are normal with means and identical variance ()). When Gaussian kernels () are used with linear , then (Muandet et al., 2012, Table 1, line 2) (Gaussian, with arguments equal to the difference in means). Thus, this Gram matrix will correspond to the Gram matrix using a Gaussian kernel between points . The spectral decay of the Gram matrix will correspond to that of the Gaussian kernel, with points drawn from the meta-distribution over the . Thus, the source conditions are analysed in the same manner as for Gaussian Gram matrices: see e.g. Steinwart and Christmann (2008) for a discussion of these spectral decay properties.
In the family, the behaviour of , and is known: , , . Specializing Theorem 2 and retaining its assumptions, we get:
Suppose the conditions in Theorem 2 hold. Let , where and . Then
Discarding the constants in Theorem 4, the study of convergence of the excess risk to boils down to finding and (as a function of ) where , and
as . Let us choose ; in this case Eq. (19) reduces to
One can assume that , otherwise fails to hold; in other words, should grow faster than . Matching the ‘bias’ () and ‘variance’ (other) terms in to choose , and guaranteeing that the matched terms dominate and the constraints in Eq. (20) hold, one gets the following simple description for the computational-statistical efficiency trade-off:The derivations are available in the supplement.
(Computational-statistical efficiency trade-off; well-specified case; ) Suppose the conditions in Theorem 2 hold. Let and , where , , . If
, then with ,
then with .
Theorem 5 formulates an exact computational-statistical efficiency trade-off for the choice of the bag size () as a function of the number of distributions () and problem difficulty (, ).
-dependence: A smaller bag size (smaller ; ) means computational savings, but reduced statistical efficiency. It is not worth increasing above since from that point the rate becomes ; remarkably, this rate is minimax in the one-stage sampled setup (Caponnetto and De Vito, 2007). The sensible choice means that the one-stage sampled minimax rate can be achieved in the two-stage sampled setting with bag size sub-quadratic in .
-dependence: In accord with our ‘smoothness’ assumptions it is rewarding to use smoother kernels (larger ) since this reduces the bag size [].
-dependence: The strictly decreasing property of implies that for ‘smoother’ problems (larger ) fewer samples () are sufficient.
Below we elaborate on the sketched high-level idea and prove Theorem 2. Proof of Theorem 2 (detailed derivations of each step can be found in Section 7.1)
Decomposition of the excess risk: We have the following upper bound for the excess risk
using which upper bounds on and that hold with probability are obtained. It is known that .
Probabilistic bounds on , , , : One can bound and as
For the terms on the r.h.s., we derive upper bounds [for the definition of , see Eq. (24)]
The bounds hold under the following conditions:
(see Section 7.1.1): if the empirical mean embeddings are close to their population counterparts, i.e.,
This event has probability over all samples; see (Altun and Smola, 2006) and (Szabó et al., 2015, Section A.1.10).
(see Section 7.1.2): (24) is assumed.
(Szabó et al., 2015, Section A.1.11): (24), , and
: The bound is guaranteed to hold under the conditions of the bounds of and .8
Union bound: By applying an reparameterization, and combining the received upper bounds with Caponnetto and De Vito (2007)’s results for and , Theorem 2 follows (Section 7.1.3) with a union bound.
Finally, we note that existing results/ideas were used at two points to simplify our analysis: bounding , , , (Caponnetto and De Vito, 2007) and (Altun and Smola, 2006). We also corrected some constants in the previous works (Altun and Smola, 2006; Caponnetto and De Vito, 2007).
2 Results for the Misspecified Case
In this section, we focus on the misspecified case () and present our second main result, which was inspired by the proof technique of Sriperumbudur et al. (2014, Theorem 12). We derive a high probability upper bound for , i.e., the excess risk of the MERR method (Theorem 7) which gives rise to consistency results (3rd bullet of Remark 8) and precise computational-statistical efficiency trade-off (Theorem 9). Theorem 7 consists of two finite-sample bounds:
The first, more general bound [Eq. (27)] will be used to show consistency in the misspecified case (see the 3rd bullet of Remark 8), in other words that can be driven to its smallest possible value determined by the “richness” of :
The value of equals the approximation error of by a function from . Specifically, if [precisely ] is dense in , then .
The second, specialized result [Eq. (28)] under additional smoothness assumptions on will give rise to a precise computational-statistical efficiency trade-off in terms of the problem difficulty () and sample numbers (, ); this result can be seen as the misspecified analogue of Theorem 5.
After stating our results, the main ideas of the proof follow; further technical details are available in Section 7.2. Our main theorem for bounding the excess risk is as follows:
Then for arbitrary with probability at least
where .
We give a short insight into the assumptions of Theorem 7, followed by consequences of the theorem.
: Notice that in the bounds [(27), (28)], instead of the excess risk, its square root appears; this has technical reasons, as it is easier to have the quantity (without multiplicative constants) appear on the r.h.s. of Eq. (27) with this form.
Consistency in the misspecified case: The consequence of Theorem 7(1) is as follows. Discarding the constants in Eq. (27), we obtain the upper bound (notice that the constant multiplier of in the last term was one):
By choosing , is bounded by
Discarding the constants in Eq. (28) we get10
Our goal is to drive to zero with a suitable choice of the triplet under the stronger range space assumption. Since in Eq. (29) appears, one can assume without loss of generality that ; consequently and . Let us choose ; in this case using the previous dominance note, Eq. (29) reduces to the study of
One can assume that , otherwise fails to hold: in other words, should grow faster than . Matching the ‘bias’ () and ‘variance’ (other) terms in to choose , guaranteeing that the matched terms dominate and the constraint in Eq. (30) hold, one can arrive at the following computational-statistical efficiency trade-off:8
, then with ,
, then with .
Theorem 9 provides a complete computational-statistical efficiency trade-off description for the choice of the bag size as a number of the distributions ().
-dependence: A smaller value of ‘’ (smaller bags ) leads to a computational advantage, but one looses in statistical efficiency. As ‘’ reaches , the rate becomes and one does not gain from further increasing the value of . The sensible choice of means that can again be sub-quadratic () in .
-dependence: By using smoother kernels (larger ) one can reduce the size of the bags: is decreasing in . This is compatible with our smoothness requirement on .
-dependence: “Easier” tasks (larger ) give rise to faster convergence. Indeed, in the rate the exponent is strictly increasing function of the problem difficulty (). For example, for extremely non-smooth regression problems () the convergence can be arbitrary slow (). In the smooth case () and one can achieve the rate.
The main steps of the proof of Theorem 7 are as follows: Proof of Theorem 7 (the details of the derivation are available in Section 7.2) Steps 1-7 will be identical in both proofs,Importantly, with a slight modification of the more general, first part of Theorem 7, one can get the specialized second setting of the theorem (see Step 8). and we present them jointly.
Decomposition of the excess risk: By the triangle inequality, we have
Bound on : UsingSee for example de Vito et al. (2006) on page 88 with the choice. the fact that
and the definitions of and [see Eqs. (15)-(16)], we obtain
through an application of triangle inequality. One can derive without a prior assumption (Section 7.2.1) the upper boundSee the remark at the end of Section 7.2.1.
for the r.h.s. of Eq. (33) under the conditions that (which holds with probability if ), and that Eqs. (24)-(25) hold.
Decomposition of \big{\|}S_{K}^{*}f^{\lambda}_{\mathbf{z}}-f_{\rho}\big{\|}_{\rho}: By the triangle inequality and Eq. (32), we have
Decomposition of \big{\|}\sqrt{T}\left(f^{\lambda}_{\mathbf{z}}-f^{\lambda}\right)\big{\|}_{\mathscr{H}}: Making use of the analytical expressions for and [see Eq. (13) and Eq. (17)], and the operator Woodbury formula (Ding and Zhou, 2008, Theorem 2.1, page 724) we arrive at the decomposition (see Section 7.2.2)
where . As it is known (Caponnetto and De Vito, 2007, page 348) provided that .
Bound on , : By concentration arguments the bounds
hold with probability at least , each (see Section 7.2.3, 7.2.4).
where we used at the last step that ; this follows from .
Bound on :
No range space assumption: One can construct (Section 7.2.6) the bound
which holds for arbitrary .
Union bound: Applying an reparameterization, changing to and combining the derived results (in case of the first statement with ) with a union bound, Theorem 7 follows.
To contrast the derivation of the well- and the misspecified cases, we note that previous results [Section 4.1, or Caponnetto and De Vito (2007)’s bound] were used at two points:
In Step 2 by using Eq. (32) and transforming the error to , we could rely on our previous bounds for and . However, we were required to use a different concentration argument to guarantee since we no longer assume the prior class.
In Step 4 the first term could be bounded by Caponnetto and De Vito (2007). Its condition was guaranteed by Step 2; and see Section 7.2.1.
We note that our misspecified proof method was inspired by Sriperumbudur et al. (2014, Theorem 12), where the authors focused on the consistency of an infinite-dimensional exponential family estimator.
Related Work
In this section we discuss existing approaches and heuristic techniques to tackle learning problems on distributions.
Methods based on parametric assumptions: A number of methods have been proposed to compute the similarity of distributions or bags of samples. As a first approach, one could fit a parametric model to the bags, and estimate the similarity of the bags based on the obtained parameters. It is then possible to define learning algorithms on the basis of these similarities, which often take analytical form. Typical examples with explicit formulas include Gaussians, finite mixtures of Gaussians, and distributions from the exponential family (with known log-normalizer function and zero carrier measure, see Kondor and Jebara, 2003; Jebara et al., 2004; Wang et al., 2009; Nielsen and Nock, 2012). A major limitation of these methods, however, is that they apply quite simple parametric assumptions, which may not be sufficient or verifiable in practise.
Methods based on parametric assumption in a RKHS: A heuristic related to the parametric approach is to assume that the training distributions are Gaussians in a reproducing kernel Hilbert space (see for example Jebara et al., 2004; Zhou and Chellappa, 2006, and references therein). This assumption is algorithmically appealing, as many divergence measures for Gaussians can be computed in closed form using only inner products, making them straightforward to kernelize. A fundamental shortfall of kernelized Gaussian divergences is the lack of their consistency analysis in specific learning algorithms.
Kernels based techniques: A more theoretically grounded approach to learning on distributions has been to define positive definite kernels on the basis of statistical divergence measures on distributions, or by metrics on non-negative numbers; these can then be used in kernel algorithms. This category includes work on semigroup kernels (Cuturi et al., 2005), non-extensive information theoretical kernel constructions (Martins et al., 2009), and kernels based on Hilbertian metrics (Hein and Bousquet, 2005). For example, the intuition of semigroup kernels (Cuturi et al., 2005) is as follows: if two measures or sets of points overlap, then their sum is expected to be more concentrated. The value of dispersion can be measured by entropy or inverse generalized variance. In the second type of approach (Hein and Bousquet, 2005), homogeneous Hilbert metrics on the non-negative real line are used to define the similarity of probability distributions. While these techniques guarantee to provide valid kernels on certain restricted domains of measures, the performance of learning algorithms based on finite-sample estimates of these kernels remains a challenging open question. One might also plug into learning algorithms (based on similarities of distributions) consistent Rényi and Tsallis divergence estimates (Póczos et al., 2011, 2012), but these similarity indices are not kernels, and their consistency in specific learning tasks remains an open question.
Multi-instance learning: An alternative paradigm in learning when the inputs are “bags of objects” is to simply treat each input as a finite set: this leads to the multi-instance learning task (MIL, see Dietterich et al., 1997; Ray and Page, 2001; Dooly et al., 2002). In MIL one is given a set of labelled bags, and the task of the learner is to find the mapping from the bags to the labels. Many important examples fit into the MIL framework: for example, different configurations of a given molecule can be handled as a bag of shapes, images can be considered as a set of patches or regions of interest, a video can be seen as a collection of images, a document might be described as a bag of words or paragraphs, a web page can be identified by its links, a group of people on a social network can be captured by their friendship graphs, in a biological experiment a subject can be identified by his/her time series trials, or a customer might be characterized by his/her shopping records. The MIL approach has been applied in several domains; see the reviews from Babenko (2004); Zhou (2004); Foulds and Frank (2010); Amores (2013).
“Bag-of-objects” methods (MIL, not classification): Beyond classification, there exist several heuristics—without consistency guarantees—for many other multi-instance problems in the literature, including regression (Ray and Page, 2001; Dooly et al., 2002; Zhou et al., 2009; Kwok and Cheung, 2007), clustering (Zhang and Zhou, 2009; Zhang et al., 2009, 2011; Chen and Wu, 2012), ranking (Bergeron et al., 2008; Hu et al., 2008; Bergeron et al., 2012), outlier detection (Wu et al., 2010), transfer learning (Raykar et al., 2008; Zhang and Si, 2009), and feature selection, -weighting and -extraction (also called dimensionality reduction, low-dimensional embedding, manifold learning, see Raykar et al., 2008; Ping et al., 2010; Sun et al., 2010; Carter et al., 2011; Zafra et al., 2013; Chai et al., 2014a, b, and references therein).
Approaches using set metrics: Adapting the bag viewpoint of MIL, one can come up with set metric based learning algorithms.Often these “metrics” are only semi-metrics, as they do not satisfy the triangle inequality. Probably one of the most well-known set metrics is the Hausdorff metric (Edgar, 1995), which is defined for non-empty compact sets of metric spaces, specifically for sets containing finitely many points. There also exist other (semi)metric constructions on points sets (Eiter and Mannila, 1997; Ramon and Bruynooghe, 2001). Unfortunately, the classical Hausdorff metric is highly sensitive to outliers, seriously limiting its practical applicability. In order to mitigate this deficiency, several variants of the Hausdorff metric have been designed in the MIL literature, such as the maximal-, the minimal- and the ranked Hausdorff metrics, with successful applications in MIC (Wang and Zucker, 2000) and multi-instance outlier detection (Wu et al., 2010); and the average Hausdorff metric (Zhang and Zhou, 2009) and contextual Hausdorff dissimilarity (Chen and Wu, 2012), which have been found useful in multi-instance clustering. Unfortunately, these methods lack any theoretical guarantee when applied in specific learning problems.
Functional data analysis techniques: Finally, the distribution regression task might also be interpreted as a functional data analysis problem (Ramsay and Silverman, 2002, 2005; Müller, 2005), by considering the probability measures as functions. This is a highly non-standard setup, however, since these functions () are defined on -algebras and are non-negative, -additive.
Conclusion
We have established a learning theory of distribution regression, where the inputs are probability measures on separable, topological domains endowed with reproducing kernels, and the outputs are elements of a separable Hilbert space. We studied a ridge regression scheme defined on embeddings of the input distributions to a reproducing kernel Hilbert space, which has a simple analytical solution, as well as theoretically sound, efficient methods for approximation (Zhang et al., 2015; Richtárik and Takác̆, 2016; Alaoui and Mahoney, 2015; Yang et al., 2016; Rudi et al., 2015). We derived explicit bounds on the excess risk as a function of the number of samples and problem difficulty. We tackled both the well-specified case (when the regression function belongs to the assumed RKHS modelling class), and the more general misspecified setup. As a special case of our results, we proved the consistency of regression for set kernels (Haussler, 1999; Gärtner et al., 2002), which was a -year-old open problem, and for a recent kernel family (Christmann and Steinwart, 2010), which we have expanded upon (Table 1). We proved an exact computational-statistical efficiency trade-off for the MERR estimator: in the well-specified setting, we showed how to choose the bag size in the two-stage sampled setup to match the one-stage sampled minimax optimal rate (Caponnetto and De Vito, 2007); and in the misspecified setting, our rates approximate closely an asymptotically optimal estimator imposing stricter eigenvalue decay conditions (Steinwart et al., 2009). Several exciting open questions remain, including whether improved/optimal rates can be derived in the misspecified case, whether we can obtain consistency guarantees for non-point estimates, and how to handle non-ridge extensions.
Finally, we note that although the primary focus of the current paper was theoretical, we have applied the MERR method (Szabó et al., 2015, Section A.2) to supervised entropy learning and aerosol prediction based on multispectral satellite images.For code, see https://bitbucket.org/szzoli/ite/. In future work, we will address applications with vector-valued outputs.
Proofs
We provide proofs for our results detailed in Section 4: Section 7.1 (resp. Section 7.2) focuses on the well-specified case (resp. misspecified setting). The used lemmas are enlisted in Section 7.3.
We give proof details concerning the excess risk in the well-specified case (Theorem 2).
By (13), (14) we get g_{\hat{\mathbf{z}}}-g_{\mathbf{z}}=\frac{1}{l}\sum_{i=1}^{l}\big{(}K_{\mu_{\hat{x}_{i}}}-K_{\mu_{x_{i}}}\big{)}y_{i}; hence by applying the Hölder property of , the boundedness of () and (24), we obtain
with probability at least , based on a union bound.
Using the definition of and , and exploiting (with ) that in a normed spaceEq. (35) holds since is convex function, thus . , , ()
To upper bound , let us see how acts. The existence of an constant satisfying implies . We continue with the l.h.s. of this equation using Eq. (35):
By Eq. (45) and the Hölder continuity of , one arrives at
Hence . Exploiting this property in (36) with Eq. (24) we arrive to the bound
1.3 Proof: final union bound in Theorem 2
Until now, we obtained that if (i) the sample number satisfies Eq. (25), (ii) (24) holds (which has probability at least applying a union bound argument; ), and (iii) is fulfilled [see Eq. (22)], then
By taking into account Caponnetto and De Vito (2007)’s bounds for and , , , plugging all the expressions to (21), we obtain Theorem 2 with a union bound.
2 Proofs of the Misspecified Case
We present the proof details concerning the excess risk in the misspecified case (Theorem 7).
where we made use of (2), the identity following from the boundedness of (Caponnetto and De Vito, 2007, page 341, Eq. (13)), and the spectral theorem. Consequently, by the Bernstein’s inequality (Lemma 7.3.1 with , , ) we obtain that for
Thus, for with probability it is sufficient to have
Under these conditions, we arrived at the upper bound
where as opposed to Section 7.1.3 and Eq. (23) we used a slightly cruder bound; it holds without the assumption by the definition of and the boundedness of since .
Remark: Notice that the price we pay for not assuming that the prior belongs to the class () is a slightly tighter constraint [Eq. (38)] instead of in Eq. (19), and a somewhat looser bound.
Using the analytical formula of [see Eq. (13)] and that of [see Eq.(17)]
one gets and
Let us rewrite by the operator Woodbury formula (Ding and Zhou, 2008, Theorem 2.1, page 724)
where the CBS (Cauchy-Bunyakovsky-Schwarz) inequality was applied. Since
using Eq. (41) and the analytical expression for [see Eq. (39)] we have
Below we give upper bounds on these two terms.
exploiting the Parseval’s identity and that \big{(}\frac{\lambda_{i}}{\lambda_{i}+\lambda}-1\big{)}^{2}\leq 1.
Making use of the two derived bounds, we get \left\|S_{K}^{*}f^{\lambda}-f_{\rho}\right\|_{\rho}\leq\left\|f_{\rho}-S_{K}^{*}q\right\|_{\rho}+\max\big{(}1,\left\|T\right\|_{\mathscr{L}(\mathscr{H})}\big{)}\lambda^{\frac{1}{2}}\left\|q\right\|_{\mathscr{H}}.
3 Supplementary Lemmas
In this section, we list two lemmas used in the proofs.
3.2 Lemma on bounded, self-adjoint compact operators; Sriperumbudur et al. (2014, Proposition A.2, page 39)
Let be a bounded, self-adjoint compact operator on a separable Hilbert space . Let , , and . Let such that . If , then
Note: specifically for we have , in other words, there is no additional range space constraint.
Discussion of Our Assumptions
We give a short insight into the consequences of our assumptions (detailed in Section 3) and present some concrete examples.
Well-definedness of : The boundedness and continuity of imply the measurability of . Let denote the open sets on , the subspace topology on , and the subspace -algebra on . By noting (Schwartz, 1998, Corollary 5.2.13) that , the H-measurability of guarantees the measurability of , and hence the well-definedness of , the measure induced by on ; for further details see (Szabó et al., 2015, Section A.1.1).Note that the referred proof also holds for separable Hilbert , and by the simplified reasoning above the original condition could be avoided.
Separability of : separability of and the continuity of implies the separability of (Steinwart and Christmann, 2008, Lemma 4.33, page 130). Also, since , is separable.
Finiteness of : If is compact, then the continuity of implies .
Finiteness of , compact metricness of : Let be a compact metric space. In this case is also compact metric (Parthasarathy, 1967, Theorem 6.4, page 55). Hence if is continuousFor example, if is universal, then metrizes the weak topology (Sriperumbudur et al., 2010, Theorem 23, page 1552), hence is continuous. (not just measurable), then is compact metric and thus by the Hölder property of , it is continuous implying that .
properties: It is known (Caponnetto and De Vito, 2007, page 339-340) that
Remark: In terms of Eq. (44), the Eq. (11) assumption means that the operators are trace class, specifically they are compact operators.
Separability of : The separability of and the continuity of imply the separability of . Indeed, since is Hölder continuous w.r.t. the Hilbert-Schmidt norm it is also continuous. As a result it is continuous w.r.t. the operator norm, and thus also w.r.t. the strong topology. Using this property with the finiteness of the separability of follows (Carmeli et al., 2006, Proposition 5.1, Corollary 5.2).
Our assumptions imply Caponnetto and De Vito (2007)’s conditions (not considering the prior requirement). Indeed
is a separable Hilbert space by assumption; the same property also holds for as we have seen.
The measurability of for is guaranteed by the continuity of w.r.t. the strong topology.
The Polishness of was used by Caponnetto and De Vito (2007) to assure the existence of ; we guaranteed this existence under somewhat milder conditions (see footnote 7).
by the bilinearity of and the reproducing property of .
Remark: One can define many nonlinear kernels (see Table 1) on mean embedded distributions. These kernels are the natural extensions to distributions of the Gaussian (Christmann and Steinwart, 2010), exponential, Cauchy, generalized t-student and inverse multiquadric kernels. If is a compact metric space and is continuous, then the canonical feature maps, associated to -s in Table 1, can be shown to satisfy our Hölder continuity requirement [Eq. (12)]; for details, see (Szabó et al., 2015, Section A.1.5-A.1.6).
We would like to thank the anonymous reviewers for their highly valuable, constructive suggestions to improve the manuscript. This work was supported by the Gatsby Charitable Foundation, NSF grant 1247658, and DOE grant DE-SC001114. A part of the work was carried out while Bharath K. Sriperumbudur was a research fellow in the Statistical Laboratory, Department of Pure Mathematics and Mathematical Statistics at the University of Cambridge, UK.
References
This section contains the derivations of the bound (used in Theorem 2; see Section 9.1), Theorem 5 (Section 9.2) and Theorem 9 (Section 9.3).
Below we derive the stated Eq. (23) bound for ; it is guaranteed to hold under the conditions of the bounds for and obtained in (Caponnetto and De Vito, 2007, Eq. (48), above Eq. (46), Eq. (43)); see , , below.
Applying the triangle inequality and the definition of we get
can be decomposed (Caponnetto and De Vito, 2007, page 347) as
By (Caponnetto and De Vito, 2007, page 350)
2 Proof of Theorem 5
In the following is chosen to match the ’bias’ () and a ’variance’ (other) term in [see Eq. (48)], guarantee that the matched terms dominate and the constraints in Eq. (48) are also satisfied; according to our assumptions and .
: Since ( , ) one has , and
: [order of the 1st and 4th terms in Eq. (49) are the matched and the first term will be discarded]: , and
[the 3rd term dominates the 2nd in Eq. (50)]: , which contradicts to .
: , and
: ; this property holds because .
: ; this holds since .
: . Since , the required property holds by our assumption.
Constraint-1 in : It is sufficient that ; this holds since .
Constraint-2 in : It is enough to have , which holds since .
To sum up, in this case and the rate is .
: , and
: . However, () which contradicts to our assumption.
: , and
: . As we have seen () this contradicts to our choice.
:
: Using the previous ’’ case, , and
: . This requirement holds by our choice since which is valid.
: As we have seen (previous ’’) this means which holds by our choice.
: . This condition holds by our choice since which is valid.
: what we have already established.
Constraint-1 in : It is enough to have , which holds.
Constraint-2 in : It is sufficient that ; this is satisfied because .
To sum up, in this case , the rate is .
: Using the previous ’’ case, , and
: . However, holds, thus the requirement can not be satisfied due to the assumption.
: Using the previous ’’ case we have , and
: ; this contradicts to our choice.
: Using the previous ’’, , and
: . However, holds; thus, by the assumption the required property can not be satisfied.
: , and
: which does not hold.
3 Proof of Theorem 9
In the sequel we choose by matching terms in [Eq. (51)], guarantee that the matched terms dominate and the constraint in Eq. (51) holds; we proceed by matching the ’bias’ () and ’variance’ (other) terms; .
: , and
: .
Condition in : it is sufficient to have .
To sum up, if then leads to the rate ; specifically, if then .
: , and
: .
Condition in : it is sufficient to have which always holds.
To sum up, if then choosing the rate is .