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 (f^\hat{f}) 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 f^\hat{f} depends on the assumed function class (H\mathscr{H}), the family of f^\hat{f} candidates used in the ridge formulation. We shall focus on the analysis of two settings:

Well-specified case (f∗∈Hf_{*}\in\mathscr{H}): In this case we assume that the regression function f∗f_{*} belongs to H\mathscr{H}. We focus on bounding the goodness of f^\hat{f} compared to f∗f_{*}. In other words, if R[f∗]\mathcal{R}[f_{*}] denotes the prediction error (expected risk) of f∗f_{*}, then our goal is to derive a finite-sample bound for the excess risk, E(f^,f∗)=R[f^]−R[f∗]\mathcal{E}(\hat{f},f_{*})=\mathcal{R}[\hat{f}]-\mathcal{R}[f_{*}] 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 (ll, N=Ni, ∀ iN=N_{i},\,\forall\,i) and the problem difficulty (see Theorem 5 and its corresponding remarks for more details).

Misspecified case (f∗∈L2\Hf_{*}\in L^{2}\backslash\mathscr{H}): Since in practise it might be hard to check whether f∗∈Hf_{*}\in\mathscr{H}, we also study the misspecified setting of f∗∈L2f_{*}\in L^{2}; the relevant case is when f∗∈L2\Hf_{*}\in L^{2}\backslash\mathscr{H}. In the misspecified setting the ’richness’ of H\mathscr{H} has crucial importance, in other words the size of DH2=inf⁡f∈H∥f∗−f∥22D_{\mathscr{H}}^{2}=\inf_{f\in\mathscr{H}}\|f_{*}-f\|_{2}^{2}, the approximation error from H\mathscr{H}. 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., E(f^,f∗)−DH2\mathcal{E}(\hat{f},f_{*})-D_{\mathscr{H}}^{2} can be driven to zero. Moreover, on smooth classes of f∗f_{*}-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 R[f^]−R[f∗]≤r(l,N,λ)\mathcal{R}[\hat{f}]-\mathcal{R}[f_{*}]\leq r(l,N,\lambda) bounds holding with high probability, where λ\lambda is the regularization parameter in the ridge problem (λ→0\lambda\rightarrow 0, l→∞l\rightarrow\infty, N=Ni→∞N=N_{i}\rightarrow\infty).

establish consistency and computational-statistical efficiency trade-off of the MERR estimator on a general prior family P(b,c)\mathcal{P}(b,c) as defined by Caponnetto and De Vito (2007), where bb captures the effective input dimension, and larger cc means smoother f∗f_{*} (1<b1<b, c∈(1,2]c\in(1,2]). In particular, when the number of samples per bag is chosen as N=lalog⁡(l)N=l^{a}\log(l) and a≥b(c+1)bc+1a\geq\frac{b(c+1)}{bc+1}, then the learning rate saturates at l−bcbc+1l^{-\frac{bc}{bc+1}}, which is known to be one-stage sampled minimax optimal (Caponnetto and De Vito, 2007). In other words, by choosing a=b(c+1)bc+1<2a=\frac{b(c+1)}{bc+1}<2, we suffer no loss in statistical performance compared with the best possible one-stage sampled estimator.

Note: the advantage of considering the P(b,c)\mathcal{P}(b,c) 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 bb 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 f∗∉Hf_{*}\notin\mathscr{H}. Particularly, by deriving finite-sample bounds on the excess risk we

prove that the MERR estimator can achieve the best possible approximation accuracy from H\mathscr{H}, i.e. the R[f^]−R[f∗]−DH2\mathcal{R}[\hat{f}]-\mathcal{R}[f_{*}]-D_{\mathscr{H}}^{2} quantity can be driven to zero (recall that DH=inf⁡f∈H∥f∗−f∥2D_{\mathscr{H}}=\inf_{f\in\mathscr{H}}\|f_{*}-f\|_{2}). Specifically, this result implies that if H\mathscr{H} is dense in L2L^{2} (DH=0D_{\mathscr{H}}=0), then the excess risk R[f^]−R[f∗]\mathcal{R}[\hat{f}]-\mathcal{R}[f_{*}] 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 (H\mathscr{H}) in the embedding L2L^{2} space. The fundamental challenge is whether it is possible to achieve the best possible performance dictated by H\mathscr{H}; or in the special case when further smoothness conditions hold on f∗f_{*}, 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 H\mathscr{H}. 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 H\mathscr{H} can be fully exploited, and convergence to the best approximation available from H\mathscr{H} 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 (N1,∥⋅∥N1)(N_{1},\left\|\cdot\right\|_{N_{1}}) and (N2,∥⋅∥N2)(N_{2},\left\|\cdot\right\|_{N_{2}}) denote two normed spaces, then L(N1,N2)\mathscr{L}(N_{1},N_{2}) stands for the space of N1→N2N_{1}\rightarrow N_{2} bounded linear operators; if N1=N2N_{1}=N_{2}, we will use the L(N1)=L(N1,N2)\mathscr{L}(N_{1})=\mathscr{L}(N_{1},N_{2}) shorthand. For M∈L(N1,N2)M\in\mathscr{L}(N_{1},N_{2}) the operator norm is defined as ∥M∥L(N1,N2)=sup⁡0≠h∈N1∥Mh∥N2/∥h∥N1\left\|M\right\|_{\mathscr{L}(N_{1},N_{2})}=\sup_{0\neq h\in N_{1}}\left\|Mh\right\|_{N_{2}}/\left\|h\right\|_{N_{1}}, Im(M)={Mn1}n1∈N1Im(M)=\{Mn_{1}\}_{n_{1}\in N_{1}} denotes the range of MM, Ker(M)={n1∈N1:Mn1=0}Ker(M)=\{n_{1}\in N_{1}:Mn_{1}=0\} is the null space of MM. Let K\mathscr{K} be a Hilbert space. The adjoint operator M∗∈L(K)M^{*}\in\mathscr{L}(\mathscr{K}) of an operator M∈L(K)M\in\mathscr{L}(\mathscr{K}) is the operator such that <Ma,b>K=<a,M∗b>K\left<Ma,b\right>_{\mathscr{K}}=\left<a,M^{*}b\right>_{\mathscr{K}} for all aa and bb in K\mathscr{K}. M∈L(K)M\in\mathscr{L}(\mathscr{K}) is called positive if <Ma,a>K≥0\left<Ma,a\right>_{\mathscr{K}}\geq 0 (∀a∈K\forall a\in\mathscr{K}), self-adjoint if M=M∗M=M^{*}, and trace class if ∑j∈J<∣M∣ej,ej>K<∞\sum_{j\in J}\left<|M|e_{j},e_{j}\right>_{\mathscr{K}}<\infty for an (ej)j∈J(e_{j})_{j\in J} ONB (orthonormal basis) of K\mathscr{K} (∣M∣:=(M∗M)12|M|:=(M^{*}M)^{\frac{1}{2}}), in which case Tr(M):=∑j∈J<Mej,ej>K<∞Tr(M):=\sum_{j\in J}\left<Me_{j},e_{j}\right>_{\mathscr{K}}<\infty; compact if cl[Ma:a∈K,∥a∥K≤1]cl\left[Ma:a\in\mathscr{K},\left\|a\right\|_{\mathscr{K}}\leq 1\right] is a compact set. Let K1\mathscr{K}_{1} and K2\mathscr{K}_{2} be Hilbert spaces. M∈L(K1,K2)M\in\mathscr{L}(\mathscr{K}_{1},\mathscr{K}_{2}) is called Hilbert-Schmidt if ∥M∥L2(K1,K2)2=Tr(M∗M)=∑j∈J<Mej,Mej>K2<∞\left\|M\right\|_{\mathscr{L}_{2}(\mathscr{K}_{1},\mathscr{K}_{2})}^{2}=Tr(M^{*}M)=\sum_{j\in J}\left<Me_{j},Me_{j}\right>_{\mathscr{K}_{2}}<\infty for some (ej)j∈J(e_{j})_{j\in J} ONB of K1\mathscr{K}_{1}. The space of Hilbert-Schmidt operators is denoted by L2(K1,K2)={M∈L(K1,K2):∥M∥L2(K1,K2)<∞}\mathscr{L}_{2}(\mathscr{K}_{1},\mathscr{K}_{2})=\{M\in\mathscr{L}(\mathscr{K}_{1},\mathscr{K}_{2}):\left\|M\right\|_{\mathscr{L}_{2}(\mathscr{K}_{1},\mathscr{K}_{2})}<\infty\}. We use the shorthand notation L2(K)=L2(K,K)\mathscr{L}_{2}(\mathscr{K})=\mathscr{L}_{2}(\mathscr{K},\mathscr{K}) if K:=K1=K2\mathscr{K}:=\mathscr{K}_{1}=\mathscr{K}_{2}; L2(K)\mathscr{L}_{2}(\mathscr{K}) is separable if and only if K\mathscr{K} is separable (Steinwart and Christmann, 2008, page 506). Trace class and Hilbert-Schmidt operators over a K\mathscr{K} 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 HH.The x↦μxx\mapsto\mu_{x} mapping is defined for all x∈M1+(X)x\in\mathscr{M}^{+}_{1}(\mathscr{X}) if kk is bounded, i.e., sup⁡u∈Xk(u,u)<∞\sup_{u\in\mathscr{X}}k(u,u)<\infty. Let YY be a separable Hilbert space, where the inner product is denoted by <⋅,⋅>Y\left<\cdot,\cdot\right>_{Y}; the associated norm is ∥⋅∥Y\left\|\cdot\right\|_{Y}. H=H(K)\mathscr{H}=\mathscr{H}(K) is the YY-valued RKHS (Pedrick, 1957; Micchelli and Pontil, 2005; Carmeli et al., 2006, 2010) of X→YX\rightarrow Y functions with K:X×X→L(Y)K:X\times X\rightarrow\mathscr{L}(Y) as the reproducing kernel (we will present some concrete examples of KK in Section 3; see Table 1); Kμx∈L(Y,H)K_{\mu_{x}}\in\mathscr{L}(Y,\mathscr{H}) is defined as

Further, f(μx)=Kμx∗ff(\mu_{x})=K_{\mu_{x}}^{*}f (∀μx∈X,f∈H)(\forall\mu_{x}\in X,f\in\mathscr{H}).

Regression function: Let ρ\rho be the μ\mu-induced probability measure on the Z=X×YZ=X\times Y product space, and let ρ(μx,y)=ρ(y∣μx)ρX(μx)\rho(\mu_{x},y)=\rho(y|\mu_{x})\rho_{X}(\mu_{x}) be the factorization of ρ\rho into conditional and marginal distributions.Our assumptions will guarantee the existence of ρ\rho (see Section 3). Since YY is a Polish space (because it is separable Hilbert) the ρ(y∣μa)\rho(y|\mu_{a}) conditional distribution (y∈Yy\in Y, μa∈X\mu_{a}\in X) is also well-defined (Steinwart and Christmann, 2008, Lemma A.3.16, page 487). The regression function of ρ\rho with respect to the (μx,y)(\mu_{x},y) pair is denoted by

2 Distribution Regression

We now formally define the distribution regression task. Let us assume that M1+(X)\mathscr{M}^{+}_{1}(\mathscr{X}) is endowed with S1=B(τw)\mathscr{S}_{1}=\mathcal{B}(\tau_{w}), the weak-topology generated σ\sigma-algebra; thus (M1+(X),S1)(\mathscr{M}^{+}_{1}(\mathscr{X}),\mathscr{S}_{1}) is a measurable space. In the distribution regression problem, we are given samples z^={({xi,n}n=1Ni,yi)}i=1l\hat{\mathbf{z}}=\{(\{x_{i,n}\}_{n=1}^{N_{i}},y_{i})\}_{i=1}^{l} with xi,1,…,xi,Ni∼i.i.d.xix_{i,1},\ldots,x_{i,N_{i}}\stackrel{{\scriptstyle i.i.d.}}{{\sim}}x_{i} where z={(xi,yi)}i=1l\mathbf{z}=\{(x_{i},y_{i})\}_{i=1}^{l} with xi∈M1+(X)x_{i}\in\mathscr{M}^{+}_{1}\left(\mathscr{X}\right) and yi∈Yy_{i}\in Y drawn i.i.d. from a joint meta distribution M\mathcal{M} defined on the measurable space (M1+(X)×Y,S1⊗B(Y))(\mathscr{M}^{+}_{1}(\mathscr{X})\times Y,\mathscr{S}_{1}\otimes\mathcal{B}(Y)), the product space enriched with the product σ\sigma-algebra. Unlike in classical supervised learning problems, the problem at hand involves two levels of randomness, wherein first z\mathbf{z} is drawn from M\mathcal{M}, and then z^\hat{\mathbf{z}} is generated by sampling points from xix_{i} for all i=1,…,li=1,\ldots,l. The goal is to learn the relation between the random distribution xx and response yy based on the observed z^\hat{\mathbf{z}}. For notational simplicity, we will assume that N=NiN=N_{i} (∀i\forall i).

In other words, the distribution x∈M1+(X)x\in\mathscr{M}^{+}_{1}\left(\mathscr{X}\right) is first mapped to X⊆HX\subseteq H by the mean embedding μ\mu, and the result is composed with ff, an element of the RKHS H\mathscr{H}.

which is minimized by the fρf_{\rho} regression function. The classical regularization approach is to optimize

instead of R\mathcal{R}, based on samples z\mathbf{z}. Since z\mathbf{z} is not available, we consider the objective function defined by the observable quantity z^\hat{\mathbf{z}},

where x^i=1N∑n=1Nδxi,n\hat{x}_{i}=\frac{1}{N}\sum_{n=1}^{N}\delta_{x_{i,n}} is the empirical distribution determined by {xi,n}i=1N\left\{x_{i,n}\right\}_{i=1}^{N}. The ridge regression objective function has an analytical solution: given training samples z^\hat{\mathbf{z}}, the prediction for a new tt test distribution is

where k=[K(μx^1,μt),…,K(μx^l,μt)]∈L(Y)1×l\mathbf{k}=\left[K(\mu_{\hat{x}_{1}},\mu_{t}),\ldots,K(\mu_{\hat{x}_{l}},\mu_{t})\right]\in\mathscr{L}(Y)^{1\times l}, K=[K(μx^i,μx^j)]∈L(Y)l×l\mathbf{K}=[K(\mu_{\hat{x}_{i}},\mu_{\hat{x}_{j}})]\in\mathscr{L}(Y)^{l\times l}, [y1;…;yl]∈Yl[y_{1};\ldots;y_{l}]\in Y^{l}.

It is important to note that the algorithm has access to the sample points only via their mean embeddings {μx^i}i=1l\{\mu_{\hat{x}_{i}}\}_{i=1}^{l} in Eq. (9).

There is a two-stage sampling difficulty to tackle: The transition from fρf_{\rho} to fzλf_{\mathbf{z}}^{\lambda} represents the fact that we have only ll distribution samples (z\mathbf{z}); the transition from fzλf_{\mathbf{z}}^{\lambda} to fz^λf_{\hat{\mathbf{z}}}^{\lambda} means that the xix_{i} distributions can be accessed only via samples (z^\hat{\mathbf{z}}).

While ridge regression can be performed using the kernel KGK_{\mathscr{G}}, the two-stage sampling makes it difficult to work with arbitrary KGK_{\mathscr{G}}. By contrast, our choice of KG(x,x′)=K(μx,μx′)K_{\mathscr{G}}(x,x^{\prime})=K(\mu_{x},\mu_{x^{\prime}}) enables us to handle the two-stage sampling by estimating μx\mu_{x} 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 X⊆H→YX\subseteq H\rightarrow Y regression tasks [see Eq. (7)] on a convex set XX with HH and YY 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 fρ∈Hf_{\rho}\in\mathscr{H} (the well-specified case) and fρ∈LρX2\Hf_{\rho}\in L^{2}_{\rho_{X}}\backslash\mathscr{H} (the misspecified case); second, to establish consistency (E(fz^λ,fρ)→0\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)\rightarrow 0, or in the misspecified case E(fz^λ,fρ)−DH2→0\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)-D_{\mathscr{H}}^{2}\rightarrow 0, where DH2:=inf⁡q∈H∥fρ−SK∗q∥ρ2D_{\mathscr{H}}^{2}:=\inf_{q\in\mathscr{H}}\left\|f_{\rho}-S_{K}^{*}q\right\|_{\rho}^{2} is the approximation error of fρf_{\rho} by a function in H\mathscr{H}); and third, to derive an exact computational-statistical efficiency trade-off as a function of the (l,N,λ)(l,N,\lambda) triplet, and of the difficulty of the problem.

Assumptions

In this section, we detail our assumptions on the (X,Y,k,K)(\mathscr{X},Y,k,K) 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 (X=μ(M1+(X))X=\mu\left(\mathscr{M}_{1}^{+}(\mathscr{X})\right)), whose properties as a function of X\mathscr{X} and HH must themselves be established.

(X,τ)(\mathscr{X},\tau) is a separable, topological space.

kk is bounded, in other words ∃Bk<∞\exists B_{k}<\infty such that sup⁡u∈Xk(u,u)≤Bk\sup_{u\in\mathscr{X}}k(u,u)\leq B_{k}, and continuous.

The {Kμa}μa∈X\{K_{\mu_{a}}\}_{\mu_{a}\in X} operator family is uniformly bounded in Hilbert-Schmidt norm and Hölder continuous in operator norm. Formally, ∃BK<∞\exists B_{K}<\infty such that

and ∃L>0\exists L>0, h∈(0,1]h\in(0,1] such that the mapping K(⋅):X→L(Y,H)K_{(\cdot)}:X\rightarrow\mathscr{L}(Y,\mathscr{H}) is Hölder continuous:

yy is bounded: ∃C<∞\exists C<\infty such that ∥y∥Y≤C\left\|y\right\|_{Y}\leq C 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 (fz^λf^{\lambda}_{\hat{\mathbf{z}}}) in Eq. (9), we derive finite-sample high probability upper bounds (see Theorems 2 and 7) for the excess risk E(fz^λ,fρ)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right), and in the misspecified setting, for the excess risk compared to the best attainable value from H\mathscr{H}, i.e., E(fz^λ,fρ)−DH2\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)-D_{\mathscr{H}}^{2}. 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 E\mathcal{E} 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 (fρ∈Hf_{\rho}\in\mathscr{H}) and present our first main result. We derive a high probability upper bound for the excess risk E(fz^λ,fρ)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right) 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 x={xi}i=1l\mathbf{x}=\{x_{i}\}_{i=1}^{l} and x^={{xi,n}n=1N}i=1l\hat{\mathbf{x}}=\{\{x_{i,n}\}_{n=1}^{N}\}_{i=1}^{l} as the ‘x-part’ of z\mathbf{z} and z^\hat{\mathbf{z}}, respectively. One can express fzλf_{\mathbf{z}}^{\lambda} [Eq. (8)] (Caponnetto and De Vito, 2007), and similarly fz^λf_{\hat{\mathbf{z}}}^{\lambda} [Eq. (9)], as

where Tμa=KμaKμa∗∈L(H)T_{\mu_{a}}=K_{\mu_{a}}K_{\mu_{a}}^{*}\in\mathscr{L}(\mathscr{H}) (μa∈X\mu_{a}\in X), Tx,Tx^:H→HT_{\mathbf{x}},T_{\hat{\mathbf{x}}}:\mathscr{H}\rightarrow\mathscr{H}, gz,gz^∈Hg_{\mathbf{z}},g_{\hat{\mathbf{z}}}\in\mathscr{H}. 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 (S1S_{1}, S2S_{2}, A(λ)\mathscr{A}(\lambda)) are identical to the terms in Caponnetto and De Vito (2007), hence the earlier bounds can be applied. The two new terms (S−1S_{-1}, S0S_{0}) 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 l≥2CηBKN(λ)/λl\geq 2C_{\eta}B_{K}\mathscr{N}(\lambda)/\lambda, λ≤∥T∥L(H)\lambda\leq\left\|T\right\|_{\mathscr{L}(\mathscr{H})} 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 P(b,c)\mathcal{P}(b,c) class is described by two parameters bb and cc: larger bb means faster decay of the eigenvalues of the covariance operator TT [in Eq. (17)], hence smaller effective input dimension; larger cc corresponds to a smoother regression function. Formally:

Definition of the P(b,c)\mathcal{P}(b,c) class: Let us fix the positive constants RR, α\alpha, β\beta. Then given 1<b1<b, c∈(1,2]c\in(1,2], the P(b,c)\mathcal{P}(b,c) class is the set of probability distributions ρ\rho on Z=X×YZ=X\times Y such that

a range space assumption is satisfied: ∃g∈H\exists g\in\mathscr{H} s.t. fρ=Tc−12gf_{\rho}=T^{\frac{c-1}{2}}g with ∥g∥H2≤R\left\|g\right\|_{\mathscr{H}}^{2}\leq R,

in the spectral decomposition of T=∑n=1∞λn<⋅,en>HenT=\sum_{n=1}^{\infty}\lambda_{n}\left<\cdot,e_{n}\right>_{\mathscr{H}}e_{n}, where (en)n=1∞(e_{n})_{n=1}^{\infty} is a basis of Ker(T)⊥Ker(T)^{\perp}, the eigenvalues of TT satisfy α≤nbλn≤β(∀n≥1)\alpha\leq n^{b}\lambda_{n}\leq\beta\quad(\forall n\geq 1).

We make few remarks about the P(b,c)\mathcal{P}(b,c) class:

Range space assumption on fρf_{\rho}: The smoothness of fρf_{\rho} 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 TT given above [λ1≥λ2≥…>0,lim⁡n→∞λn=0\lambda_{1}\geq\lambda_{2}\geq\ldots>0,\lim_{n\rightarrow\infty}\lambda_{n}=0], Tru=∑n=1∞(λn)r<u,en>Hen(r=c−12≥0,u∈H)T^{r}u=\sum_{n=1}^{\infty}(\lambda_{n})^{r}\left<u,e_{n}\right>_{\mathscr{H}}e_{n}\quad(r=\frac{c-1}{2}\geq 0,u\in\mathscr{H}) and

Specifically, in the limit as r→0r\rightarrow 0, we obtain fρ∈Im(T0)=Im(I)=Hf_{\rho}\in Im(T^{0})=Im(I)=\mathscr{H} (no constraint); larger values of rr give rise to faster decay of the (cn)n=1∞(c_{n})_{n=1}^{\infty} Fourier coefficients. This is the concrete meaning of fρ∈Im(Tr)f_{\rho}\in Im(T^{r}).

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 mim_{i} and identical variance (xi=N(mi,σ2Ix_{i}=N(m_{i},\sigma^{2}I)). When Gaussian kernels (kk) are used with linear KK, then K(μxi,μxj)=e−c∥mi−mj∥2K(\mu_{x_{i}},\mu_{x_{j}})=e^{-c\left\|m_{i}-m_{j}\right\|^{2}} (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 mim_{i}. The spectral decay of the Gram matrix will correspond to that of the Gaussian kernel, with points drawn from the meta-distribution over the mim_{i}. 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 P(b,c)\mathcal{P}(b,c) family, the behaviour of A(λ)\mathscr{A}(\lambda), B(λ)\mathscr{B}(\lambda) and N(λ)\mathscr{N}(\lambda) is known: A(λ)≤Rλc\mathscr{A}(\lambda)\leq R\lambda^{c}, B(λ)≤Rλc−1\mathscr{B}(\lambda)\leq R\lambda^{c-1}, N(λ)≤βbb−1λ−1b\mathscr{N}(\lambda)\leq\beta\frac{b}{b-1}\lambda^{-\frac{1}{b}}. Specializing Theorem 2 and retaining its assumptions, we get:

Suppose the conditions in Theorem 2 hold. Let ρ∈P(b,c)\rho\in\mathcal{P}(b,c), where 1<b1<b and c∈(1,2]c\in(1,2]. Then

Discarding the constants in Theorem 4, the study of convergence of the excess risk E(fz^λ,fρ)\mathcal{E}(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}) to boils down to finding NN and λ\lambda (as a function of ll) where N→∞N\rightarrow\infty, λ→0\lambda\rightarrow 0 and

as l→∞l\rightarrow\infty. Let us choose N=lahlog⁡(l)N=l^{\frac{a}{h}}\log(l); in this case Eq. (19) reduces to

One can assume that a>0a>0, otherwise r(l,λ)→0r(l,\lambda)\rightarrow 0 fails to hold; in other words, NN should grow faster than log⁡(l)\log(l). Matching the ‘bias’ (λs\lambda^{s}) and ‘variance’ (other) terms in r(l,λ)r(l,\lambda) to choose λ\lambda, 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; ρ∈P(b,c)\rho\in\mathcal{P}(b,c)) Suppose the conditions in Theorem 2 hold. Let ρ∈P(b,c)\rho\in\mathcal{P}(b,c) and N=lahlog⁡(l)N=l^{\frac{a}{h}}\log(l), where 0<a0<a, 1<b1<b, c∈(1,2]c\in(1,2]. If

a≤b(c+1)bc+1a\leq\frac{b(c+1)}{bc+1}, then E(fz^λ,fρ)=Op(l−acc+1)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)=\mathcal{O}_{p}\left(l^{-\frac{ac}{c+1}}\right) with λ=l−ac+1\lambda=l^{-\frac{a}{c+1}},

a≥b(c+1)bc+1a\geq\frac{b(c+1)}{bc+1} then E(fz^λ,fρ)=Op(l−bcbc+1)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)=\mathcal{O}_{p}\left(l^{-\frac{bc}{bc+1}}\right) with λ=l−bbc+1\lambda=l^{-\frac{b}{bc+1}}.

Theorem 5 formulates an exact computational-statistical efficiency trade-off for the choice of the bag size (NN) as a function of the number of distributions (ll) and problem difficulty (bb, cc).

aa-dependence: A smaller bag size (smaller aa; N=lahlog⁡(l)N=l^{\frac{a}{h}}\log(l)) means computational savings, but reduced statistical efficiency. It is not worth increasing aa above b(c+1)bc+1\frac{b(c+1)}{bc+1} since from that point the rate becomes r(l)=l−bcbc+1r(l)=l^{-\frac{bc}{bc+1}}; remarkably, this rate is minimax in the one-stage sampled setup (Caponnetto and De Vito, 2007). The sensible choice a=b(c+1)bc+1<2a=\frac{b(c+1)}{bc+1}<2 means that the one-stage sampled minimax rate can be achieved in the two-stage sampled setting with bag size NN sub-quadratic in ll.

hh-dependence: In accord with our ‘smoothness’ assumptions it is rewarding to use smoother KK kernels (larger h∈(0,1]h\in(0,1]) since this reduces the bag size [N=lahlog⁡(l)N=l^{\frac{a}{h}}\log(l)].

cc-dependence: The strictly decreasing property of c↦b(c+1)bc+1c\mapsto\frac{b(c+1)}{bc+1} implies that for ‘smoother’ problems (larger cc) fewer samples (NN) 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 S1S_{1} and S2S_{2} that hold with probability 1−η1-\eta are obtained. It is known that A(λ)≤Rλc\mathscr{A}(\lambda)\leq R\lambda^{c}.

Probabilistic bounds on ∥gz^−gz∥H2\|g_{\hat{\mathbf{z}}}-g_{\mathbf{z}}\|_{\mathscr{H}}^{2}, ∥Tx−Tx^∥L(H)2\|T_{\mathbf{x}}-T_{\hat{\mathbf{x}}}\|_{\mathscr{L}(\mathscr{H})}^{2}, ∥T(Tx^+λI)−1∥L(H)2\|\sqrt{T}(T_{\hat{\mathbf{x}}}+\lambda I)^{-1}\|_{\mathscr{L}(\mathscr{H})}^{2}, ∥fzλ∥H2\|f_{\mathbf{z}}^{\lambda}\|_{\mathscr{H}}^{2}: One can bound S−1S_{-1} and S0S_{0} as

For the terms on the r.h.s., we derive upper bounds [for the definition of α\alpha, see Eq. (24)]

The bounds hold under the following conditions:

∥gz^−gz∥H2\|g_{\hat{\mathbf{z}}}-g_{\mathbf{z}}\|_{\mathscr{H}}^{2} (see Section 7.1.1): if the empirical mean embeddings are close to their population counterparts, i.e.,

This event has probability 1−le−α1-le^{-\alpha} over all i=1,…,li=1,\ldots,l samples; see (Altun and Smola, 2006) and (Szabó et al., 2015, Section A.1.10).

∥Tx−Tx^∥L(H)2\|T_{\mathbf{x}}-T_{\hat{\mathbf{x}}}\|_{\mathscr{L}(\mathscr{H})}^{2} (see Section 7.1.2): (24) is assumed.

∥T(Tx^+λI)−1∥L(H)2\|\sqrt{T}(T_{\hat{\mathbf{x}}}+\lambda I)^{-1}\|_{\mathscr{L}(\mathscr{H})}^{2} (Szabó et al., 2015, Section A.1.11): (24), Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2}, and

∥fzλ∥H2\|f_{\mathbf{z}}^{\lambda}\|_{\mathscr{H}}^{2}: The bound is guaranteed to hold under the conditions of the bounds of S1S_{1} and S2S_{2}.8

Union bound: By applying an α=log⁡(l)+δ\alpha=\log(l)+\delta reparameterization, and combining the received upper bounds with Caponnetto and De Vito (2007)’s results for S1S_{1} and S2S_{2}, 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 S1S_{1}, S2S_{2}, Θ(λ,z)\Theta(\lambda,\mathbf{z}), ∥fzλ∥H2\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2} (Caponnetto and De Vito, 2007) and ∥μxi−μx^i∥H\left\|\mu_{x_{i}}-\mu_{\hat{x}_{i}}\right\|_{H} (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 (fρ∈LρX2\Hf_{\rho}\in L^{2}_{\rho_{X}}\backslash\mathscr{H}) 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 E(fz^λ,fρ)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right), 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 E(fz^λ,fρ)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right) can be driven to its smallest possible value determined by the “richness” of H\mathscr{H}:

The value of DHD_{\mathscr{H}} equals the approximation error of fρf_{\rho} by a function from H\mathscr{H}. Specifically, if H\mathscr{H} [precisely SK∗(H)={SK∗q:q∈H}⊆LρX2S_{K}^{*}(\mathscr{H})=\{S_{K}^{*}q:q\in\mathscr{H}\}\subseteq L^{2}_{\rho_{X}}] is dense in LρX2L^{2}_{\rho_{X}}, then DH=0D_{\mathscr{H}}=0.

The second, specialized result [Eq. (28)] under additional smoothness assumptions on fρf_{\rho} will give rise to a precise computational-statistical efficiency trade-off in terms of the problem difficulty (ss) and sample numbers (ll, NN); 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 q∈Hq\in\mathscr{H} with probability at least 1−η−e−δ1-\eta-e^{-\delta}

where Da(λ,q)=∥fρ−SK∗q∥ρ+max⁡(1,∥T∥L(H))λ12∥q∥HD_{a}(\lambda,q)=\|f_{\rho}-S_{K}^{*}q\|_{\rho}+\max(1,\|T\|_{\mathscr{L}(\mathscr{H})})\lambda^{\frac{1}{2}}\|q\|_{\mathscr{H}}.

We give a short insight into the assumptions of Theorem 7, followed by consequences of the theorem.

E(fz^λ,fρ)\sqrt{\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)}: 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 Da(λ,q)D_{a}(\lambda,q) 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 ∥fρ−SK∗q∥ρ\left\|f_{\rho}-S_{K}^{*}q\right\|_{\rho} in the last term was one):

By choosing N=l1/hlog⁡lN=l^{1/h}\log l, r(l,λ)\sqrt{r(l,\lambda)} is bounded by

Discarding the constants in Eq. (28) we get10

Our goal is to drive r(l,N,λ)r(l,N,\lambda) to zero with a suitable choice of the (l,N,λ)(l,N,\lambda) triplet under the stronger range space assumption. Since in Eq. (29) min⁡(1,s)\min(1,s) appears, one can assume without loss of generality that s∈(0,1]s\in(0,1]; consequently 1−s2∈[12,1)1-\frac{s}{2}\in\left[\frac{1}{2},1\right) and 1l12λ12≤1λ1−s2l12\frac{1}{l^{\frac{1}{2}}\lambda^{\frac{1}{2}}}\leq\frac{1}{\lambda^{1-\frac{s}{2}}l^{\frac{1}{2}}}. Let us choose N=l2a/hlog⁡(l)N=l^{2a/h}\log(l); in this case using the previous dominance note, Eq. (29) reduces to the study of

One can assume that a>0a>0, otherwise r(l,λ)→0r(l,\lambda)\rightarrow 0 fails to hold: in other words, NN should grow faster than log⁡(l)\log(l). Matching the ‘bias’ (λs\lambda^{s}) and ‘variance’ (other) terms in r(l,λ)r(l,\lambda) to choose λ\lambda, 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

a≤s+1s+2a\leq\frac{s+1}{s+2}, then E(fz^λ,fρ)=Op(l−2sas+1)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)=\mathcal{O}_{p}\left(l^{-\frac{2sa}{s+1}}\right) with λ=l−as+1\lambda=l^{-\frac{a}{s+1}},

a≥s+1s+2a\geq\frac{s+1}{s+2}, then E(fz^λ,fρ)=Op(l−2ss+2)\mathcal{E}\left(f^{\lambda}_{\hat{\mathbf{z}}},f_{\rho}\right)=\mathcal{O}_{p}\left(l^{-\frac{2s}{s+2}}\right) with λ=l−1s+2\lambda=l^{-\frac{1}{s+2}}.

Theorem 9 provides a complete computational-statistical efficiency trade-off description for the choice of the bag size (N)(N) as a number of the distributions (ll).

aa-dependence: A smaller value of ‘aa’ (smaller bags N=l2a/hlog⁡(l)N=l^{2a/h}\log(l)) leads to a computational advantage, but one looses in statistical efficiency. As ‘aa’ reaches s+1s+2\frac{s+1}{s+2}, the rate becomes r(l)=l−2ss+2r(l)=l^{-\frac{2s}{s+2}} and one does not gain from further increasing the value of aa. The sensible choice of a=s+1s+2≤23a=\frac{s+1}{s+2}\leq\frac{2}{3} means that NN can again be sub-quadratic (2a<43<22a<\frac{4}{3}<2) in ll.

hh-dependence: By using smoother KK kernels (larger h∈(0,1]h\in(0,1]) one can reduce the size of the bags: h↦2a/hh\mapsto 2a/h is decreasing in hh. This is compatible with our smoothness requirement on fρf_{\rho}.

ss-dependence: “Easier” tasks (larger ss) give rise to faster convergence. Indeed, in the r(l)=l−2ss+2r(l)=l^{-\frac{2s}{s+2}} rate the s↦2ss+2s\mapsto\frac{2s}{s+2} exponent is strictly increasing function of the problem difficulty (ss). For example, for extremely non-smooth regression problems (s≈0s\approx 0) the convergence can be arbitrary slow (lim⁡s→02ss+2=0\lim_{s\rightarrow 0}\frac{2s}{s+2}=0). In the smooth case (s=1s=1) lim⁡s→12ss+2=23\lim_{s\rightarrow 1}\frac{2s}{s+2}=\frac{2}{3} and one can achieve the r(l)=l−23r(l)=l^{-\frac{2}{3}} 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 ∥SK∗(fz^λ−fzλ)∥ρ\left\|S_{K}^{*}\left(f^{\lambda}_{\hat{\mathbf{z}}}-f^{\lambda}_{\mathbf{z}}\right)\right\|_{\rho}: UsingSee for example de Vito et al. (2006) on page 88 with the (H,G,A,T):=(H,LρX2,SK∗,T)(\mathscr{H},\mathscr{G},A,T):=(\mathscr{H},L^{2}_{\rho_{X}},S_{K}^{*},T) choice. the fact that

and the definitions of S−1S_{-1} and S0S_{0} [see Eqs. (15)-(16)], we obtain

through an application of triangle inequality. One can derive without a P(b,c)\mathcal{P}(b,c) 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 Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2} (which holds with probability 1−η1-\eta if [12BKlog⁡(2/η)/λ]2≤l\left[12B_{K}\log(2/\eta)/\lambda\right]^{2}\leq l), 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 fzλf^{\lambda}_{\mathbf{z}} and fλf^{\lambda} [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 gρ=SKfρg_{\rho}=S_{K}f_{\rho}. As it is known (Caponnetto and De Vito, 2007, page 348) ∥T(Tx+λI)−1∥L(H)≤1/λ\|\sqrt{T}(T_{\mathbf{x}}+\lambda I)^{-1}\|_{\mathscr{L}(\mathscr{H})}\leq 1/\sqrt{\lambda} provided that Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2}.

Bound on ∥gz−gρ∥H\left\|g_{\mathbf{z}}-g_{\rho}\right\|_{\mathscr{H}}, ∥T−Tx∥L(H)\left\|T-T_{\mathbf{x}}\right\|_{\mathscr{L}(\mathscr{H})}: By concentration arguments the bounds

hold with probability at least 1−η1-\eta, each (see Section 7.2.3, 7.2.4).

where we used at the last step that min⁡(1,s+1)=1\min(1,s+1)=1; this follows from s≥0s\geq 0.

Bound on ∥SK∗fλ−fρ∥ρ\left\|S_{K}^{*}f^{\lambda}-f_{\rho}\right\|_{\rho}:

No range space assumption: One can construct (Section 7.2.6) the bound

which holds for arbitrary q∈Hq\in\mathscr{H}.

Union bound: Applying an α=log⁡(l)+δ\alpha=\log(l)+\delta reparameterization, changing η\eta to η3\frac{\eta}{3} and combining the derived results (in case of the first statement with s=0s=0) 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 LρX2L^{2}_{\rho_{X}} error ∥SK∗(fz^λ−fzλ)∥ρ\left\|S_{K}^{*}\left(f^{\lambda}_{\hat{\mathbf{z}}}-f^{\lambda}_{\mathbf{z}}\right)\right\|_{\rho} to H\mathscr{H}, we could rely on our previous bounds for S−1S_{-1} and S0S_{0}. However, we were required to use a different concentration argument to guarantee Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2} since we no longer assume the P(b,c)\mathcal{P}(b,c) prior class.

In Step 4 the first term could be bounded by Caponnetto and De Vito (2007). Its Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2} 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 xix_{i} as functions. This is a highly non-standard setup, however, since these functions (xix_{i}) are defined on σ\sigma-algebras and are non-negative, σ\sigma-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 1717-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 K(⋅)K_{(\cdot)}, the boundedness of yiy_{i} (∥yi∥Y≤C\left\|y_{i}\right\|_{Y}\leq C) and (24), we obtain

with probability at least 1−le−α1-le^{-\alpha}, based on a union bound.

Using the definition of TxT_{\mathbf{x}} and Tx^T_{\hat{\mathbf{x}}}, and exploiting (with ∥⋅∥L(H)\|\cdot\|_{\mathscr{L}(\mathscr{H})}) that in a normed spaceEq. (35) holds since ∥⋅∥2\left\|\cdot\right\|^{2} is convex function, thus ∥1n∑i=1nfi∥2≤1n∑i=1n∥fi∥2\left\|\frac{1}{n}\sum_{i=1}^{n}f_{i}\right\|^{2}\leq\frac{1}{n}\sum_{i=1}^{n}\left\|f_{i}\right\|^{2}. (N,∥⋅∥)(N,\left\|\cdot\right\|), fi∈Nf_{i}\in N, (i=1,…,ni=1,\ldots,n)

To upper bound ∥Tμxi−Tμx^i∥L(H)2\|T_{\mu_{x_{i}}}-T_{\mu_{\hat{x}_{i}}}\|_{\mathscr{L}(\mathscr{H})}^{2}, let us see how Tμu=KμaKμa∗T_{\mu_{u}}=K_{\mu_{a}}K^{*}_{\mu_{a}} acts. The existence of an E≥0E\geq 0 constant satisfying ∥(Tμu−Tμv)(f)∥H≤E∥f∥H\left\|(T_{\mu_{u}}-T_{\mu_{v}})(f)\right\|_{\mathscr{H}}\leq E\left\|f\right\|_{\mathscr{H}} implies ∥Tμu−Tμv∥L(H)≤E\left\|T_{\mu_{u}}-T_{\mu_{v}}\right\|_{\mathscr{L}(\mathscr{H})}\leq E. We continue with the l.h.s. of this equation using Eq. (35):

By Eq. (45) and the Hölder continuity of K(⋅)K_{(\cdot)}, one arrives at

Hence ∥(Tμu−Tμv)(f)∥H2≤4BKL2∥μu−μv∥H2h∥f∥H2⇒E2=4BKL2∥μu−μv∥H2h\left\|(T_{\mu_{u}}-T_{\mu_{v}})(f)\right\|_{\mathscr{H}}^{2}\leq 4B_{K}L^{2}\left\|\mu_{u}-\mu_{v}\right\|_{H}^{2h}\left\|f\right\|_{\mathscr{H}}^{2}\hskip 2.84544pt\Rightarrow\hskip 2.84544ptE^{2}=4B_{K}L^{2}\left\|\mu_{u}-\mu_{v}\right\|_{H}^{2h}. 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 NN satisfies Eq. (25), (ii) (24) holds (which has probability at least 1−le−α=1−e−[α−log⁡(l)]=1−e−δ1-le^{-\alpha}=1-e^{-[\alpha-\log(l)]}=1-e^{-\delta} applying a union bound argument; α=log⁡(l)+δ\alpha=\log(l)+\delta), and (iii) Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2} is fulfilled [see Eq. (22)], then

By taking into account Caponnetto and De Vito (2007)’s bounds for S1S_{1} and S2S_{2}, S1≤32log⁡2(6η)[BKM2l2λ+Σ2N(λ)l]S_{1}\leq 32\log^{2}\left(\frac{6}{\eta}\right)\left[\frac{B_{K}M^{2}}{l^{2}\lambda}+\frac{\Sigma^{2}\mathscr{N}(\lambda)}{l}\right], S2≤8log⁡2(6η)[4BK2B(λ)l2λ+BKA(λ)lλ]S_{2}\leq 8\log^{2}\left(\frac{6}{\eta}\right)\left[\frac{4B_{K}^{2}\mathscr{B}(\lambda)}{l^{2}\lambda}+\frac{B_{K}\mathscr{A}(\lambda)}{l\lambda}\right], 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 ∥Tμxi∥L2(H)≤BK\|T_{\mu_{\mathbf{x}_{i}}}\|_{\mathscr{L}_{2}(\mathscr{H})}\leq B_{K} identity following from the boundedness of KK (Caponnetto and De Vito, 2007, page 341, Eq. (13)), and the spectral theorem. Consequently, by the Bernstein’s inequality (Lemma 7.3.1 with K=L2(H)\mathscr{K}=\mathscr{L}_{2}(\mathscr{H}), B=2BK/λB=2B_{K}/\lambda, σ=BK/λ\sigma=B_{K}/\lambda) we obtain that for ∀η∈(0,1)\forall\eta\in(0,1)

Thus, for Θ(λ,z)≤12\bm{\Theta}(\lambda,\mathbf{z})\leq\frac{1}{2} with probability 1−η1-\eta 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 ∥fzλ∥H2≤C2λ\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2}\leq\frac{C^{2}}{\lambda} bound; it holds without the P(b,c)\mathcal{P}(b,c) assumption by the definition of fzλf_{\mathbf{z}}^{\lambda} and the boundedness of yy since λ∥fzλ∥H2≤1l∑i=1l∥yi∥Y2≤C2\lambda\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2}\leq\frac{1}{l}\sum_{i=1}^{l}\left\|y_{i}\right\|_{Y}^{2}\leq C^{2}.

Remark: Notice that the price we pay for not assuming that the prior belongs to the P(b,c)\mathcal{P}(b,c) class (b>1b>1) is a slightly tighter 1λ2≤l\frac{1}{\lambda^{2}}\leq l constraint [Eq. (38)] instead of 1λ1+1b≤l\frac{1}{\lambda^{1+\frac{1}{b}}}\leq l in Eq. (19), and a somewhat looser ∥fzλ∥H2\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2} bound.

Using the analytical formula of fzλf^{\lambda}_{\mathbf{z}} [see Eq. (13)] and that of fλf^{\lambda} [see Eq.(17)]

one gets (T+λI)fλ=SKfρ(T+\lambda I)f^{\lambda}=S_{K}f_{\rho} ⇒\Rightarrow λfλ=SKfρ−Tfλ\lambda f^{\lambda}=S_{K}f_{\rho}-Tf^{\lambda} and

Let us rewrite (T+λI)−1(T+\lambda I)^{-1} by the (A+UV)−1=A−1−A−1U(I+VA−1U)−1VA−1(A+UV)^{-1}=A^{-1}-A^{-1}U\left(I+VA^{-1}U\right)^{-1}VA^{-1} 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 fλf^{\lambda} [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 MM be a bounded, self-adjoint compact operator on a separable Hilbert space K\mathscr{K}. Let a≥0a\geq 0, λ>0\lambda>0, and s≥0s\geq 0. Let f∈Kf\in\mathscr{K} such that f∈Im(Ms)f\in Im\left(M^{s}\right). If s+a>0s+a>0, then

Note: specifically for s=0s=0 we have Im(Ms)=Im(I)=KIm\left(M^{s}\right)=Im\left(I\right)=\mathscr{K}, 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 ρ\rho: The boundedness and continuity of kk imply the measurability of μ:(M1+(X),B(τw))→(H,B(H))\mu:(\mathscr{M}^{+}_{1}(\mathscr{X}),\mathcal{B}(\tau_{w}))\rightarrow(H,\mathcal{B}(H)). Let τ\tau denote the open sets on H=H(k)H=H(k), τ∣X={A∩X:A∈τ}\left.\tau\right|_{X}=\{A\cap X:A\in\tau\} the subspace topology on XX, and B(H)∣X={A∩X:A∈B(H)}\left.\mathcal{B}(H)\right|_{X}=\{A\cap X:A\in\mathcal{B}(H)\} the subspace σ\sigma-algebra on XX. By noting (Schwartz, 1998, Corollary 5.2.13) that B(τ∣X)=B(H)∣X={A∈B(H):A⊆X}⊆B(H)\mathcal{B}\left(\left.\tau\right|_{X}\right)=\left.\mathcal{B}(H)\right|_{X}=\{A\in\mathcal{B}(H):A\subseteq X\}\subseteq\mathcal{B}(H), the H-measurability of μ\mu guarantees the measurability of μ:(M1+(X),B(τw))→(X,B(H)∣X)\mu:(\mathscr{M}^{+}_{1}(\mathscr{X}),\mathcal{B}(\tau_{w}))\rightarrow(X,\left.\mathcal{B}(H)\right|_{X}), and hence the well-definedness of ρ\rho, the measure induced by M\mathscr{M} on X×YX\times Y; for further details see (Szabó et al., 2015, Section A.1.1).Note that the referred proof also holds for separable Hilbert YY, and by the simplified reasoning above the original X∈B(H)X\in\mathcal{B}(H) condition could be avoided.

Separability of XX: separability of X\mathscr{X} and the continuity of kk implies the separability of H=H(k)H=H(k) (Steinwart and Christmann, 2008, Lemma 4.33, page 130). Also, since X⊆HX\subseteq H, XX is separable.

Finiteness of BkB_{k}: If X\mathscr{X} is compact, then the continuity of kk implies Bk<∞B_{k}<\infty.

Finiteness of BKB_{K}, compact metricness of XX: Let X\mathscr{X} be a compact metric space. In this case M1+(X)\mathscr{M}^{+}_{1}(\mathscr{X}) is also compact metric (Parthasarathy, 1967, Theorem 6.4, page 55). Hence if μ:(M1+(X),τw)→H(k)\mu:(\mathscr{M}^{+}_{1}(\mathscr{X}),\tau_{w})\rightarrow H(k) is continuousFor example, if kk is universal, then μ\mu metrizes the weak topology τw\tau_{w} (Sriperumbudur et al., 2010, Theorem 23, page 1552), hence μ\mu is continuous. (not just measurable), then XX is compact metric and thus by the Hölder property of K(⋅)K_{(\cdot)}, it is continuous implying that BK<∞B_{K}<\infty.

KK 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 {K(μa,μa)}μa∈X\{K(\mu_{a},\mu_{a})\}_{\mu_{a}\in X} operators are trace class, specifically they are compact operators.

Separability of H\mathscr{H}: The separability of XX and the continuity of KK imply the separability of H\mathscr{H}. Indeed, since μa↦Kμa\mu_{a}\mapsto K_{\mu_{a}} 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 BKB_{K} the separability of H\mathscr{H} follows (Carmeli et al., 2006, Proposition 5.1, Corollary 5.2).

Our assumptions imply Caponnetto and De Vito (2007)’s conditions (not considering the P(b,c)\mathcal{P}(b,c) prior requirement). Indeed

YY is a separable Hilbert space by assumption; the same property also holds for H\mathscr{H} as we have seen.

The measurability of (μx,μt)↦<Kμxw,Kμtv>H(\mu_{x},\mu_{t})\mapsto\left<K_{\mu_{x}}w,K_{\mu_{t}}v\right>_{\mathscr{H}} for ∀w,v∈Y\forall w,v\in Y is guaranteed by the continuity of K(⋅)K_{(\cdot)} w.r.t. the strong topology.

The Polishness of X×YX\times Y was used by Caponnetto and De Vito (2007) to assure the existence of ρ(y∣μa)\rho(y|\mu_{a}); we guaranteed this existence under somewhat milder conditions (see footnote 7).

by the bilinearity of <⋅,⋅>H\left<\cdot,\cdot\right>_{H} and the reproducing property of kk.

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 X\mathscr{X} is a compact metric space and μ\mu is continuous, then the ΨK\Psi_{K} canonical feature maps, associated to KK-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 ∥fzλ∥H2\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2} 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 ∥fzλ∥H2\left\|f_{\mathbf{z}}^{\lambda}\right\|_{\mathscr{H}}^{2}; it is guaranteed to hold under the conditions of the bounds for S1S_{1} and S2S_{2} obtained in (Caponnetto and De Vito, 2007, Eq. (48), above Eq. (46), Eq. (43)); see (†)1({\dagger})_{1}, (†)2({\dagger})_{2}, (†)3({\dagger})_{3} below.

Applying the triangle inequality and the definition of B(λ)\mathscr{B}(\lambda) we get

fzλ−fλf_{\mathbf{z}}^{\lambda}-f^{\lambda} 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 λ\lambda is chosen to match the ’bias’ (λc\lambda^{c}) and a ’variance’ (other) term in r(l,λ)r(l,\lambda) [see Eq. (48)], guarantee that the matched terms dominate and the constraints in Eq. (48) are also satisfied; according to our assumptions 1<b1<b and c∈(1,2]c\in(1,2].

a∈(0,b(c+1)bc+1]a\in\left(0,\frac{b(c+1)}{bc+1}\right]: Since b(c+1)bc+1<2⇔b(1−c)<2\frac{b(c+1)}{bc+1}<2\Leftrightarrow b(1-c)<2 (⇐\Leftarrow b>1b>1, c>1c>1) one has 1l2λ≤1laλ\frac{1}{l^{2}\lambda}\leq\frac{1}{l^{a}\lambda}, and

(1=)4(\boxed{1}=)\boxed{4}: [order of the 1st and 4th terms in Eq. (49) are the matched and the first term will be discarded]: 1l2+aλ3=λc⇔λ=l−2+a3+c\frac{1}{l^{2+a}\lambda^{3}}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{2+a}{3+c}}, and

\ovalbox3≥\ovalbox2\ovalbox{3}\geq\ovalbox{2} [the 3rd term dominates the 2nd in Eq. (50)]: −(2+a)c3+c≥−(a+1)+2+a3+c(2+1b)⇔(a+1)(c+3)≥(2+a)(c+2+1b)⇔a(1−1b)≥c+1+2b⇔a≥c+1+2b1−1b>2-\frac{(2+a)c}{3+c}\geq-(a+1)+\frac{2+a}{3+c}\left(2+\frac{1}{b}\right)\Leftrightarrow(a+1)(c+3)\geq(2+a)(c+2+\frac{1}{b})\Leftrightarrow a\left(1-\frac{1}{b}\right)\geq c+1+\frac{2}{b}\Leftrightarrow a\geq\frac{c+1+\frac{2}{b}}{1-\frac{1}{b}}>2, which contradicts to a≤b(c+1)bc+1<2a\leq\frac{b(c+1)}{bc+1}<2.

(2=)4(\boxed{2}=)\boxed{4}: 1laλ=λc⇔λ=l−ac+1\frac{1}{l^{a}\lambda}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{a}{c+1}}, and

\ovalbox3≥\ovalbox1\ovalbox{3}\geq\ovalbox{1}: −acc+1≥−(2+a)+3ac+1⇔(2+a)(c+1)≥a(c+3)⇔c+1≥a-\frac{ac}{c+1}\geq-(2+a)+\frac{3a}{c+1}\Leftrightarrow(2+a)(c+1)\geq a(c+3)\Leftrightarrow c+1\geq a; this property holds because c+1>2≥ac+1>2\geq a.

\ovalbox3≥\ovalbox2\ovalbox{3}\geq\ovalbox{2}: −acc+1≥−(a+1)+ac+1(2+1b)⇔(a+1)(c+1)≥a(c+2+1b)⇔c+1≥a(1+1b)⇔c+11+1b≥a-\frac{ac}{c+1}\geq-(a+1)+\frac{a}{c+1}\left(2+\frac{1}{b}\right)\Leftrightarrow(a+1)(c+1)\geq a\left(c+2+\frac{1}{b}\right)\Leftrightarrow c+1\geq a\left(1+\frac{1}{b}\right)\Leftrightarrow\frac{c+1}{1+\frac{1}{b}}\geq a; this holds since c+11+1b>b(c+1)bc+1≥a\frac{c+1}{1+\frac{1}{b}}>\frac{b(c+1)}{bc+1}\geq a.

\ovalbox3≥\ovalbox4\ovalbox{3}\geq\ovalbox{4}: −acc+1≥−1+ab(c+1)⇔b≥a-\frac{ac}{c+1}\geq-1+\frac{a}{b(c+1)}\Leftrightarrow b\geq a. Since b(c+1)bc+1≤b⇔1≤b\frac{b(c+1)}{bc+1}\leq b\Leftrightarrow 1\leq b, the required property holds by our a≤b(c+1)bc+1a\leq\frac{b(c+1)}{bc+1} assumption.

Constraint-1 in r(l)r(l): It is sufficient that 1−a(b+1)b(c+1)>0⇔a<b(c+1)b+11-\frac{a(b+1)}{b(c+1)}>0\Leftrightarrow a<\frac{b(c+1)}{b+1}; this holds since a≤b(c+1)bc+1<b(c+1)b+1a\leq\frac{b(c+1)}{bc+1}<\frac{b(c+1)}{b+1}.

Constraint-2 in r(l)r(l): It is enough to have a−2ac+1>0⇔c+1>2a-\frac{2a}{c+1}>0\Leftrightarrow c+1>2, which holds since c>1c>1.

To sum up, in this case λ=l−ac+1\lambda=l^{-\frac{a}{c+1}} and the rate is r(l)=l−acc+1→0r(l)=l^{-\frac{ac}{c+1}}\rightarrow 0.

(3=)4(\boxed{3}=)\boxed{4}: 1la+1λ2+1b=λc⇔λ=l−a+12+1b+c\frac{1}{l^{a+1}\lambda^{2+\frac{1}{b}}}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{a+1}{2+\frac{1}{b}+c}}, and

\ovalbox3≥\ovalbox2\ovalbox{3}\geq\ovalbox{2}: −c(a+1)2+1b+c≥−a+a+12+1b+c⇔a(2+1b+c)≥(a+1)(c+1)⇔a(1+1b)≥c+1⇔a≥c+11+1b-\frac{c(a+1)}{2+\frac{1}{b}+c}\geq-a+\frac{a+1}{2+\frac{1}{b}+c}\Leftrightarrow a\left(2+\frac{1}{b}+c\right)\geq(a+1)(c+1)\Leftrightarrow a(1+\frac{1}{b})\geq c+1\Leftrightarrow a\geq\frac{c+1}{1+\frac{1}{b}}. However, c+11+1b>b(c+1)bc+1\frac{c+1}{1+\frac{1}{b}}>\frac{b(c+1)}{bc+1} (⇔c>1\Leftrightarrow c>1) which contradicts to our a≤b(c+1)bc+1a\leq\frac{b(c+1)}{bc+1} assumption.

(5=)4(\boxed{5}=)\boxed{4}: λc=1lλ1b⇔λ=l−1c+1b\lambda^{c}=\frac{1}{l\lambda^{\frac{1}{b}}}\Leftrightarrow\lambda=l^{-\frac{1}{c+\frac{1}{b}}}, and

\ovalbox4≥\ovalbox2\ovalbox{4}\geq\ovalbox{2}: −cc+1b≥−a+1c+1b⇔a≥c+1c+1b-\frac{c}{c+\frac{1}{b}}\geq-a+\frac{1}{c+\frac{1}{b}}\Leftrightarrow a\geq\frac{c+1}{c+\frac{1}{b}}. As we have seen (3=4:\ovalbox3≥\ovalbox2\boxed{3}=\boxed{4}:\ovalbox{3}\geq\ovalbox{2}) this contradicts to our aa choice.

a∈(b(c+1)bc+1,∞)a\in\left(\frac{b(c+1)}{bc+1},\infty\right):

(6=)4(\boxed{6}=)\boxed{4}: Using the previous ’5=4\boxed{5}=\boxed{4}’ case, λc=1lλ1b⇔λ=l−1c+1b\lambda^{c}=\frac{1}{l\lambda^{\frac{1}{b}}}\Leftrightarrow\lambda=l^{-\frac{1}{c+\frac{1}{b}}}, and

\ovalbox4≥\ovalbox1\ovalbox{4}\geq\ovalbox{1}: −cc+1b≥−(2+a)+3c+1b⇔(2+a)(c+1b)≥c+3⇔a≥c+3c+1b−2=b(c+3)bc+1−2-\frac{c}{c+\frac{1}{b}}\geq-(2+a)+\frac{3}{c+\frac{1}{b}}\Leftrightarrow(2+a)\left(c+\frac{1}{b}\right)\geq c+3\Leftrightarrow a\geq\frac{c+3}{c+\frac{1}{b}}-2=\frac{b(c+3)}{bc+1}-2. This requirement holds by our aa choice since b(c+1)bc+1≥b(c+3)bc+1−2⇔bc+1≥b\frac{b(c+1)}{bc+1}\geq\frac{b(c+3)}{bc+1}-2\Leftrightarrow bc+1\geq b which is valid.

\ovalbox4≥\ovalbox2\ovalbox{4}\geq\ovalbox{2}: As we have seen (previous ’5=4\boxed{5}=\boxed{4}’) this means a≥b(c+1)bc+1a\geq\frac{b(c+1)}{bc+1} which holds by our aa choice.

\ovalbox4≥\ovalbox3\ovalbox{4}\geq\ovalbox{3}: −cc+1b≥−(a+1)+1c+1b(2+1b)⇔(a+1)(c+1b)≥2+1b+c⇔a≥2+1b+cc+1b−1=2b+1+bcbc+1−1-\frac{c}{c+\frac{1}{b}}\geq-(a+1)+\frac{1}{c+\frac{1}{b}}\left(2+\frac{1}{b}\right)\Leftrightarrow(a+1)\left(c+\frac{1}{b}\right)\geq 2+\frac{1}{b}+c\Leftrightarrow a\geq\frac{2+\frac{1}{b}+c}{c+\frac{1}{b}}-1=\frac{2b+1+bc}{bc+1}-1. This condition holds by our aa choice since 2b+1+bcbc+1−1≤b(c+1)bc+1⇔b≤bc\frac{2b+1+bc}{bc+1}-1\leq\frac{b(c+1)}{bc+1}\Leftrightarrow b\leq bc which is valid.

\ovalbox4≥\ovalbox5\ovalbox{4}\geq\ovalbox{5}: −cc+1b≥−2+1c+1b⇔2(c+1b)≥c+1⇔2≥b(c+1)bc+1-\frac{c}{c+\frac{1}{b}}\geq-2+\frac{1}{c+\frac{1}{b}}\Leftrightarrow 2\left(c+\frac{1}{b}\right)\geq c+1\Leftrightarrow 2\geq\frac{b(c+1)}{bc+1} what we have already established.

Constraint-1 in r(l)r(l): It is enough to have 1−1c+1bb+1b>0⇔1>b+1bc+1⇔bc>b1-\frac{1}{c+\frac{1}{b}}\frac{b+1}{b}>0\Leftrightarrow 1>\frac{b+1}{bc+1}\Leftrightarrow bc>b, which holds.

Constraint-2 in r(l)r(l): It is sufficient that a−2c+1b>0⇔a>2c+1b=2bbc+1a-\frac{2}{c+\frac{1}{b}}>0\Leftrightarrow a>\frac{2}{c+\frac{1}{b}}=\frac{2b}{bc+1}; this is satisfied because a>b(c+1)bc+1>2bbc+1a>\frac{b(c+1)}{bc+1}>\frac{2b}{bc+1}.

To sum up, in this case λ=l−1c+1b=l−bbc+1\lambda=l^{-\frac{1}{c+\frac{1}{b}}}=l^{-\frac{b}{bc+1}}, the rate is r(l)=l−bcbc+1r(l)=l^{-\frac{bc}{bc+1}}.

(1=)4(\boxed{1}=)\boxed{4}: Using the previous ’\ovalbox1=\ovalbox4\ovalbox{1}=\ovalbox{4}’ case, 1l2+aλ3=λc⇔λ=l−2+a3+c\frac{1}{l^{2+a}\lambda^{3}}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{2+a}{3+c}}, and

\ovalbox3≥\ovalbox5\ovalbox{3}\geq\ovalbox{5}: −(2+a)c3+c≥−1+2+a(3+c)b⇔(3+c)b≥(2+a)(1+bc)⇔(3+c)b1+bc−2≥a-\frac{(2+a)c}{3+c}\geq-1+\frac{2+a}{(3+c)b}\Leftrightarrow(3+c)b\geq(2+a)(1+bc)\Leftrightarrow\frac{(3+c)b}{1+bc}-2\geq a. However, (3+c)b1+bc−2≤b(c+1)bc+1⇔b≤bc+1\frac{(3+c)b}{1+bc}-2\leq\frac{b(c+1)}{bc+1}\Leftrightarrow b\leq bc+1 holds, thus the requirement can not be satisfied due to the b(c+1)bc+1<a\frac{b(c+1)}{bc+1}<a assumption.

(2=)4(\boxed{2}=)\boxed{4}: Using the previous ’2=4\boxed{2}=\boxed{4}’ case we have 1laλ=λc⇔λ=l−ac+1\frac{1}{l^{a}\lambda}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{a}{c+1}}, and

\ovalbox3≥\ovalbox5\ovalbox{3}\geq\ovalbox{5}: −acc+1≥−1+ab(c+1)⇔b(c+1)≥a(1+bc)⇔b(c+1)bc+1≥a-\frac{ac}{c+1}\geq-1+\frac{a}{b(c+1)}\Leftrightarrow b(c+1)\geq a(1+bc)\Leftrightarrow\frac{b(c+1)}{bc+1}\geq a; this contradicts to our b(c+1)bc+1<a\frac{b(c+1)}{bc+1}<a choice.

(3=)4(\boxed{3}=)\boxed{4}: Using the previous ’3=4\boxed{3}=\boxed{4}’, 1la+1λ2+1b=λc⇔λ=l−a+12+1b+c\frac{1}{l^{a+1}\lambda^{2+\frac{1}{b}}}=\lambda^{c}\Leftrightarrow\lambda=l^{-\frac{a+1}{2+\frac{1}{b}+c}}, and

\ovalbox3≥\ovalbox5\ovalbox{3}\geq\ovalbox{5}: −c(a+1)2+1b+c≥−1+a+12+1b+c1b⇔2b+1+bc≥(a+1)(1+bc)⇔2b1+bc−1≥a-\frac{c(a+1)}{2+\frac{1}{b}+c}\geq-1+\frac{a+1}{2+\frac{1}{b}+c}\frac{1}{b}\Leftrightarrow 2b+1+bc\geq(a+1)(1+bc)\Leftrightarrow\frac{2b}{1+bc}-1\geq a. However, b(c+1)bc+1≥2b1+bc−1⇔2bc+1≥b\frac{b(c+1)}{bc+1}\geq\frac{2b}{1+bc}-1\Leftrightarrow 2bc+1\geq b holds; thus, by the a>b(c+1)bc+1a>\frac{b(c+1)}{bc+1} assumption the required property can not be satisfied.

(5=)4(\boxed{5}=)\boxed{4}: λc=1l2λ⇔λ=l−2c+1\lambda^{c}=\frac{1}{l^{2}\lambda}\Leftrightarrow\lambda=l^{-\frac{2}{c+1}}, and

\ovalbox4≥\ovalbox5\ovalbox{4}\geq\ovalbox{5}: −2cc+1≥−1+2b(c+1)⇔1≥2+2bcb(c+1)⇔b≥bc+2-\frac{2c}{c+1}\geq-1+\frac{2}{b(c+1)}\Leftrightarrow 1\geq\frac{2+2bc}{b(c+1)}\Leftrightarrow b\geq bc+2 which does not hold.

3 Proof of Theorem 9

In the sequel we choose λ\lambda by matching 22 terms in r(l,λ)\sqrt{r(l,\lambda)} [Eq. (51)], guarantee that the matched terms dominate and the constraint in Eq. (51) holds; we proceed by matching the ’bias’ (λs\lambda^{s}) and ’variance’ (other) terms; s∈(0,1]s\in(0,1].

(1=)3(\boxed{1}=)\boxed{3}: 1laλ=λs⇔λ=l−as+1\frac{1}{l^{a}\lambda}=\lambda^{s}\Leftrightarrow\lambda=l^{-\frac{a}{s+1}}, and

\ovalbox2≥\ovalbox1\ovalbox{2}\geq\ovalbox{1}: −sas+1≥−12+as+1(1−s2)⇔s+1≥a(2+s)⇔s+1s+2≥a-\frac{sa}{s+1}\geq-\frac{1}{2}+\frac{a}{s+1}(1-\frac{s}{2})\Leftrightarrow s+1\geq a(2+s)\Leftrightarrow\frac{s+1}{s+2}\geq a.

Condition in r(l)r(l): it is sufficient to have 1−2as+1>0⇔s+12>a1-\frac{2a}{s+1}>0\Leftrightarrow\frac{s+1}{2}>a.

To sum up, if a≤s+1s+2(<s+12)a\leq\frac{s+1}{s+2}\left(<\frac{s+1}{2}\right) then λ=l−as+1\lambda=l^{-\frac{a}{s+1}} leads to the rate r(l)=l−sas+1\sqrt{r(l)}=l^{-\frac{sa}{s+1}}; specifically, if a=s+1s+2a=\frac{s+1}{s+2} then r(l)=l−ss+2\sqrt{r(l)}=l^{-\frac{s}{s+2}}.

(2=)3(\boxed{2}=)\boxed{3}: 1λ1−s2l12=λs⇔λ=l−121+s2=−1s+2\frac{1}{\lambda^{1-\frac{s}{2}}l^{\frac{1}{2}}}=\lambda^{s}\Leftrightarrow\lambda=l^{\frac{-\frac{1}{2}}{1+\frac{s}{2}}=-\frac{1}{s+2}}, and

\ovalbox2≥\ovalbox1\ovalbox{2}\geq\ovalbox{1}: −ss+2≥−a+1s+2⇔a≥s+1s+2-\frac{s}{s+2}\geq-a+\frac{1}{s+2}\Leftrightarrow a\geq\frac{s+1}{s+2}.

Condition in r(l)r(l): it is sufficient to have 1−2s+2>0⇔s>01-\frac{2}{s+2}>0\Leftrightarrow s>0 which always holds.

To sum up, if s+1s+2≤a\frac{s+1}{s+2}\leq a then choosing λ=l−1s+2\lambda=l^{-\frac{1}{s+2}} the rate is r(l)=l−ss+2→0\sqrt{r(l)}=l^{-\frac{s}{s+2}}\rightarrow 0.