Generalized relative entropy

From formulasearchengine
Revision as of 22:39, 25 January 2014 by en>Anirudh215 (Modified links to arxiv)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In machine learning, the kernel embedding of distributions (also called the kernel mean or mean map) comprises a class of nonparametric methods in which a probability distribution is represented as an element of a reproducing kernel Hilbert space (RKHS).[1] A generalization of the individual data-point feature mapping done in classical kernel methods, the embedding of distributions into infinite-dimensional feature spaces can preserve all of the statistical features of arbitrary distributions, while allowing one to compare and manipulate distributions using Hilbert space operations such as inner products, distances, projections, linear transformations, and spectral analysis.[2] This learning framework is very general and can be applied to distributions over any space Ω on which a sensible kernel function (measuring similarity between elements of Ω) may be defined. For example, various kernels have been proposed for learning from data which are: vectors in d, discrete classes/categories, strings, graphs/networks, images, time series, manifolds, dynamical systems, and other structured objects.[3][4] The theory behind kernel embeddings of distributions has been primarily developed by Alex Smola, Le Song , Arthur Gretton, and Bernhard Schölkopf.

The analysis of distributions is fundamental in machine learning and statistics, and many algorithms in these fields rely on information theoretic approaches such as entropy, mutual information, or Kullback–Leibler divergence. However, to estimate these quantities, one must first either perform density estimation, or employ sophisticated space-partitioning/bias-correction strategies which are typically infeasible for high-dimensional data.[5] Commonly, methods for modeling complex distributions rely on parametric assumptions that may be unfounded or computationally challenging (e.g. Gaussian mixture models), while nonparametric methods like kernel density estimation (Note: the smoothing kernels in this context have a different interpretation than the kernels discussed here) or characteristic function representation (via the Fourier transform of the distribution) break down in high-dimensional settings.[2]

Methods based on the kernel embedding of distributions sidestep these problems and also possess the following advantages:[5]

  1. Data may be modeled without restrictive assumptions about the form of the distributions and relationships between variables
  2. Intermediate density estimation is not needed
  3. Practitioners may specify the properties of a distribution most relevant for their problem (incorporating prior knowledge via choice of the kernel)
  4. If a characteristic kernel is used, then the embedding can uniquely preserve all information about a distribution, while thanks to the kernel trick, computations on the potentially infinite-dimensional RKHS can be implemented in practice as simple Gram matrix operations
  5. Dimensionality-independent rates of convergence for the empirical kernel mean (estimated using samples from the distribution) to the kernel embedding of the true underlying distribution can be proven.
  6. Learning algorithms based on this framework exhibit good generalization ability and finite sample convergence, while often being simpler and more effective than information theoretic methods

Thus, learning via the kernel embedding of distributions offers a principled drop-in replacement for information theoretic approaches and is a framework which not only subsumes many popular methods in machine learning and statistics as special cases, but also can lead to entirely new learning algorithms.

Definitions

Let X denote a random variable with domain Ω and distribution P(X). Given a kernel k on Ω×Ω, the Moore-Aronszajn Theorem asserts the existence of a RKHS (a Hilbert space of functions f:Ω equipped with inner products , and norms ||||) in which the element k(x,) satisfies the reproducing property f,k(x,)=f(x)f,xΩ. One may alternatively consider k(x,) an implicit feature mapping ϕ(x) from Ω to (which is therefore also called the feature space), so that k(x,x)=ϕ(x),ϕ(x) can be viewed as a measure of similarity between points x,xΩ. While the similarity measure is linear in the feature space, it may be highly nonlinear in the original space depending on the choice of kernel.

Kernel embedding

The kernel embedding of the distribution P(X) in (also called the kernel mean or mean map) is given by:[1]

μX:=𝔼X[k(X,)]=𝔼X[ϕ(X)]=Ωϕ(x)dP(x)

A kernel is characteristic if the embedding μ:Ω is one-to-one. Each distribution can thus be uniquely represented in the RKHS and all statistical features of distributions are preserved by the kernel embedding if a characteristic kernel is used.

Empirical kernel embedding

Given n training examples {x1,,xn} drawn independently and identically distributed (i.i.d.) from P, the kernel embedding of P can be empirically estimated as

μ^X=1ni=1nϕ(xi)

Joint distribution embedding

If Y denotes another random variable (for simplicity, assume the domain of Y is also Ω with the same kernel k which satisfies ϕ(x)ϕ(y),ϕ(x)ϕ(y)=k(x,x)k(y,y)), then the joint distribution P(X,Y) can be mapped into a tensor product feature space via [2]

𝒞XY=𝔼XY[ϕ(X)ϕ(Y)]=Ω×Ωϕ(x)ϕ(y)dP(x,y)

By the equivalence between a tensor and a linear map, this joint embedding may be interpreted as an uncentered cross-covariance operator 𝒞XY: from which the cross-covariance of mean-zero functions f,g can be computed as [6]

CovXY(h(X),g(Y)):=𝔼XY[f(X)g(Y)]=f,𝒞XYg=fg,𝒞XY

Given n pairs of training examples {(x1,y1),,(xn,yn)} drawn i.i.d. from P, we can also empirically estimate the joint distribution kernel embedding via

𝒞^XY=1ni=1nϕ(xi)ϕ(yi)

Conditional distribution embedding

Given a conditional distribution P(YX), one can define the corresponding RKHS embedding as [2]

μYx=𝔼Yx[ϕ(Y)]=Ωϕ(y)dP(yx)

Note that the embedding of P(YX) thus defines a family of points in the RKHS indexed by the values x taken by conditioning variable X. By fixing X to a particular value, we obtain a single element in , and thus it is natural to define the operator

𝒞YX: as 𝒞YX=𝒞YX𝒞XX1

which given the feature mapping of x outputs the conditional embedding of Y given X=x. Assuming that for all g:𝔼YX[g(Y)], it can be shown that [6]

μYx=𝒞YXϕ(x)

This assumption is always true for finite domains with characteristic kernels, but may not necessarily hold for continuous domains.[2] Nevertheless, even in cases where the assumption fails, 𝒞YXϕ(x) may still be used to approximate the conditional kernel embedding μYx, and in practice, the inversion operator is replaced with a regularized version of itself (𝒞XX+λI)1 (where I denotes the identity matrix).

Given training examples {(x1,y1),,(xn,yn)}, the empirical kernel conditional embedding operator may be estimated as [2]

C^YX=Φ(K+λI)1ΥT

where Φ=(ϕ(yi),,(yn)),Υ=(ϕ(xi),,(xn)) are implicitly formed feature matrices, K=ΥTΥ is the Gram matrix for samples of X, and λ is a regularization parameter needed to avoid overfitting.

Thus, the empirical estimate of the kernel conditional embedding is given by a weighted sum of samples of Y in the feature space:

μ^Yx=i=1nβi(x)ϕ(yi)=Φβ(x) where β(x)=(K+λI)1Kx and Kx=(k(x1,x),,k(xn,x))T

Properties

  • The expectation of any function f in the RKHS can be computed as an inner product with the kernel embedding:
𝔼X[f(X)]=f,μX
  • In the presence of large sample sizes, manipulations of the n×n Gram matrix may be computationally demanding. Through use of a low-rank approximation of the Gram matrix (such as the incomplete Cholesky factorization), running time and memory requirements of kernel-embedding-based learning algorithms can be drastically reduced without suffering much loss in approximation accuracy.[2]

Convergence of empirical kernel mean to the true distribution embedding

  • If k is defined such that f[0,1] for all f with ||f||1 (as is the case for the widely-used radial basis function kernels), then with probability at least 1δ:[5]
    Template:Spaces ||μXμ^X||=supf(0,1)|𝔼X[f(X)]1ni=1nf(xi)|2n𝔼X[trK]+log(2/δ)2n
    where (0,1) denotes the unit ball in and K is the Gram matrix whose i,jth entry is k(xi,xj).
  • The rate of convergence (in RKHS norm) of the empirical kernel embedding to its distribution counterpart is O(n1/2) and does not depend on the dimension of X.
  • Statistics based on kernel embeddings thus avoid the curse of dimensionality, and though the true underlying distribution is unknown in practice, one can (with high probability) obtain an approximation within O(n1/2) of the true kernel embedding based on a finite sample of size n.
  • For the embedding of conditional distributions, the empirical estimate can be seen as a weighted average of feature mappings (where the weights βi(x) depend on the value of the conditioning variable and capture the effect of the conditioning on the kernel embedding). In this case, the empirical estimate converges to the conditional distribution RKHS embedding with rate O(n1/4) if the regularization parameter λ is decreased as O(n1/2), though faster rates of convergence may be achieved by placing additional assumptions on the joint distribution.[2]

Universal kernels

  • If k induces a strictly positive definite kernel matrix for any set of distinct points, then it is a universal kernel.[5] For example, the widely-used Gaussian RBF kernel
k(x,x)=exp(12σ2||xx||2)

on compact subsets of d is universal.

  • If k is universal, then it is characteristic, i.e. the kernel embedding is one-to-one.[7]

Parameter selection for conditional distribution kernel embeddings

  • The empirical kernel conditional distribution embedding operator 𝒞^Y|X can alternatively be viewed as the solution of the following regularized least squares (function-valued) regression problem [8]
min𝒞:i=1n||ϕ(yi)𝒞ϕ(xi)||2+λ||𝒞||HS2 where ||||HS is the Hilbert-Schmidt norm.
  • One can thus select the regularization parameter λ by performing cross-validation based on the squared loss function of the regression problem.

Rules of probability as operations in the RKHS

This section illustrates how basic probabilistic rules may be reformulated as (multi)linear algebraic operations in the kernel embedding framework and is primarily based on the work of Song et al.[2][6] The following notation is adopted:

  • P(X,Y)= joint distribution over random variables X,Y
  • P(X)=ΩP(X,dy)= marginal distribution of X; P(Y)= marginal distribution of Y
  • P(YX)=P(X,Y)P(X)= conditional distribution of Y given X with corresponding conditional embedding operator 𝒞YX
  • π(Y)= prior distribution over Y
  • Q is used to distinguish distributions which incorporate the prior from distributions P which do not rely on the prior

In practice, all embeddings are empirically estimated from data {(x1,y1),,(xn,yn)} and it assumed that a set of samples {y~1,,y~n~} may be used to estimate the kernel embedding of the prior distribution π(Y).

Kernel sum rule

In probability theory, the marginal distribution of X can be computed by integrating out Y from the joint density (including the prior distribution on Y)

Q(X)=ΩP(XY)dπ(Y)

The analog of this rule in the kernel embedding framework states that μXπ, the RKHS embedding of Q(X), can be computed via

μXπ=𝔼Y[𝒞XYϕ(Y)]=𝒞XY𝔼Y[ϕ(Y)]=𝒞XYμYπ where μYπ is the kernel embedding of π(Y)

In practical implementations, the kernel sum rule takes the following form

μ^Xπ=𝒞^XYμ^Yπ=Υ(G+λI)1G~α

where μYπ=i=1n~αiϕ(y~i) is the empirical kernel embedding of the prior distribution, α=(α1,,αn~)T, Υ=(ϕ(x1),,ϕ(xn)), and G,G~ are Gram matrices with entries Gij=k(yi,yj),G~ij=k(yi,y~j) respectively.

Kernel chain rule

In probability theory, a joint distribution can be factorized into a product between conditional and marginal distributions

Q(X,Y)=P(XY)π(Y)

The analog of this rule in the kernel embedding framework states that 𝒞XYπ, the joint embedding of Q(X,Y), can be factorized as a composition of conditional embedding operator with the auto-covariance operator associated with π(Y)

𝒞XYπ=𝒞XY𝒞YYπ where 𝒞XYπ=𝔼XY[ϕ(X)ϕ(Y)] and 𝒞YYπ=𝔼Y[ϕ(Y)ϕ(Y)]

In practical implementations, the kernel chain rule takes the following form

𝒞^XYπ=𝒞^XY𝒞^YYπ=Υ(G+λI)1G~diag(α)ΦT

Kernel Bayes' rule

In probability theory, a posterior distribution can be expressed in terms of a prior distribution and a likelihood function as

Q(Yx)=P(xY)π(Y)Q(x) where Q(x)=ΩP(xy)dπ(y)

The analog of this rule in the kernel embedding framework expresses the kernel embedding of the conditional distribution in terms of conditional embedding operators which are modified by the prior distribution

μYxπ=𝒞YXπϕ(x)=𝒞YXπ(𝒞XXπ)1ϕ(x) where from the chain rule: 𝒞YXπ=(𝒞XY𝒞YYπ)T.

In practical implementations, the kernel Bayes' rule takes the following form

μ^Yxπ=𝒞^YXπ((𝒞^XX)2+λ~I)1𝒞^XXπϕ(x)=Φ~ΛT((DK)2+λ~I)1KDKx

where Λ=(G+λ~I)1G~diag(α),D=diag((G+λ~I)1G~α). Two regularization parameters are used in this framework: λ for the estimation of 𝒞^YXπ,𝒞^XXπ=ΥDΥT and λ~ for the estimation of the final conditional embedding operator 𝒞^YXπ=𝒞^YXπ((𝒞^XXπ)2+λ~I)1𝒞^XXπ. The latter regularization is done on square of 𝒞^XXπ because D may not be positive definite.

Applications

Measuring distance between distributions

The maximum mean discrepancy (MMD) is a distance-measure between distributions P(X) and Q(Y) which is defined as the squared distance between their embeddings in the RKHS [5]

MMD(P,Q)=||μXμY||2

While most distance-measures between distributions such as the widely-used Kullback–Leibler divergence either require density estimation (either parametrically or nonparametrically) or space partitioning/bias correction strategies,[5] the MMD is easily estimated as an empirical mean which is concentrated around the true value of the MMD. The characterization of this distance as the maximum mean discrepancy refers to the fact that computing the MMD is equivalent to finding the RKHS function that maximizes the difference in expectations between the two probability distributions

MMD(P,Q)=sup||f||1(𝔼X[f(X)]𝔼Y[f(Y)])

Kernel two sample test

Given n training examples from P(X) and m samples from Q(Y), one can formulate a test statistic based on the empirical estimate of the MMD

MMD^(P,Q)=||1ni=1nϕ(xi)1mi=1mϕ(yi)||2=1nmi=1nj=1m[k(xi,xj)+k(yi,yj)2k(xi,yj)]

to obtain a two-sample test [9] of the null hypothesis that both samples stem from the same distribution (i.e. P=Q) against the broad alternative PQ.

Density estimation via kernel embeddings

Although learning algorithms in the kernel embedding framework circumvent the need for intermediate density estimation, one may nonetheless use the empirical embedding to perform density estimation based on n samples drawn from an underlying distribution PX*. This can be done by solving the following optimization problem [5][10]

maxPXH(PX) subject to ||μ^XμX[PX]||ϵ

where the maximization is done over the entire space of distributions on Ω. Here, μX[PX] is the kernel embedding of the proposed density PX and H is an entropy-like quantity (e.g. Entropy, KL divergence, Bregman divergence). The distribution which solves this optimization may be interpreted as a compromise between fitting the empirical kernel means of the samples well, while still allocating a substantial portion of the probability mass to all regions of the probability space (much of which may not be represented in the training examples). In practice, a good approximate solution of the difficult optimization may be found by restricting the space of candidate densities to a mixture of M candidate distributions with regularized mixing proportions. Connections between the ideas underlying Gaussian processes and conditional random fields may be drawn with the estimation of conditional probability distributions in this fashion, if one views the feature mappings associated with the kernel as sufficient statistics in generalized (possibly infinite-dimensional) exponential families.[5]

Measuring dependence of random variables

A measure of the statistical dependence between random variables X and Y (from any domains on which sensible kernels can be defined) can be formulated based on the Hilbert–Schmidt Independence Criterion [11]

HSIC(X,Y)=||𝒞XYμXμY||2

and can be used as a principled replacement for mutual information, Pearson correlation or any other dependence measure used in learning algorithms. Most notably, HSIC can detect arbitrary dependencies (when a characteristic kernel is used in the embeddings, HSIC is zero if and only if the variables are independent), and can be used to measure dependence between different types of data (e.g. images and text captions). Given n i.i.d. samples of each random variable, a simple parameter-free unbiased estimator of HSIC which exhibits concentration about the true value can be computed in O(n(df2+dg2)) time,[5] where the Gram matrices of the two datasets are approximated using AAT,BBT with An×df,Bn×dg. The desirable properties of HSIC have led to the formulation of numerous algorithms which utilize this dependence measure for a variety of common machine learning tasks such as: feature selection (BAHSIC [12]), clustering (CLUHSIC [13]), and dimensionality reduction (MUHSIC [14]).

Kernel belief propagation

Belief propagation is a fundamental algorithm for inference in graphical models in which nodes repeatedly pass and receive messages corresponding to the evaluation of conditional expectations. In the kernel embedding framework, the messages may be represented as RKHS functions and the conditional distribution embeddings can be applied to efficiently compute message updates. Given n samples of random variables represented by nodes in a Markov Random Field, the incoming message to node t from node u can be expressed as mut()=i=1nβutiϕ(xti) if it assumed to lie in the RKHS. The kernel belief propagation update message from t to node s is then given by [2]

m^ts=(uN(t)sKtβut)T(Ks+λI)1ΥsTϕ(xs)

where denotes the element-wise vector product, N(t)s is the set of nodes connected to t excluding node s, βut=(βut1,,βutn), Kt,Ks are the Gram matrices of the samples from variables Xt,Xs, respectively, and Υs=(ϕ(xs1),,ϕ(xsn)) is the feature matrix for the samples from Xs.

Thus, if the incoming messages to node t are linear combinations of feature mapped samples from Xt, then the outgoing message from this node is also a linear combination of feature mapped samples from Xs. This RKHS function representation of message-passing updates therefore produces an efficient belief propagation algorithm in which the potentials are nonparametric functions inferred from the data so that arbitrary statistical relationships may be modeled.[2]

Nonparametric filtering in hidden Markov models

In the hidden Markov model (HMM), two key quantities of interest are the transition probabilities between hidden states P(StSt1) and the emission probabilities P(OtSt) for observations. Using the kernel conditional distribution embedding framework, these quantities may be expressed in terms of samples from the HMM. A serious limitation of the embedding methods in this domain is the need for training samples containing hidden states, as otherwise inference with arbitrary distributions in the HMM is not possible.

One common use of HMMs is filtering in which the goal is to estimate posterior distribution over the hidden state st at time step t given a history of previous observations ht=(o1,,ot) from the system. In filtering, a belief state P(St+1ht+1) is recursively maintained via a prediction step (where updates P(St+1ht)=𝔼Stht[P(St+1St)] are computed by marginalizing out the previous hidden state) followed by a conditioning step (where updates P(St+1ht,ot+1)P(ot+1St+1)P(St+1ht) are computed by applying Bayes' rule to condition on a new observation).[2] The RKHS embedding of the belief state at time t+1 can be recursively expressed as

μSt+1ht+1=𝒞St+1Ot+1π(𝒞Ot+1Ot+1π)1ϕ(ot+1)

by computing the embeddings of the prediction step via the kernel sum rule and the embedding of the conditioning step via kernel Bayes' rule. Assuming a training sample (s~1,,s~T,o~1,,o~T) is given, one can in practice estimate μ^St+1ht+1=i=1Tαitϕ(s~t) and filtering with kernel embeddings is thus implemented recursively using the following updates for the weights α=(α1,,αT) [2]

Dt+1=diag((G+λI)1G~αt)
αt+1=Dt+1K((Dt+1K)2+λ~I)1Dt+1Kot+1

where G,K denote the Gram matrices of s~1,,s~T and o~1,,o~T respectively, G~ is a transfer Gram matrix defined as G~ij=k(s~i,s~j+1), and Kot+1=(k(o~1,ot+1),,k(o~T,ot+1))T.

Support measure machines

The support measure machine (SMM) is a generalization of the support vector machine (SVM) in which the training examples are probability distributions paired with labels {Pi,yi}i=1n,yi{+1,1}.[15] SMMs solve the standard SVM dual optimization problem using the following expected kernel

K(P(X),Q(Z))=μX,μZ=𝔼XZ[k(x,z)]

which is computable in closed form for many common specific distributions Pi (such as the Gaussian distribution) combined with popular embedding kernels k (e.g. the Gaussian kernel or polynomial kernel), or can be accurately empirically estimated from i.i.d. samples {xi}i=1nP(X),{zj}j=1mQ(Z) via

K^(X,Z)=1nmi=1nj=1mk(xi,zj)

Under certain choices of the embedding kernel k, the SMM applied to training examples {Pi,yi}i=1n is equivalent to a SVM trained on samples {xi,yi}i=1n, and thus the SMM can be viewed as a flexible SVM in which a different data-dependent kernel (specified by the assumed form of the distribution Pi) may be placed on each training point.[15]

Domain adaptation under covariate, target, and conditional shift

The goal of domain adaptation is the formulation of learning algorithms which generalize well when the training and test data have different distributions. Given training examples {(xitr,yitr)}i=1n and a test set {(xjte,yjte)}j=1m where the yjte are unknown, three types of differences are commonly assumed between the distribution of the training examples Ptr(X,Y) and the test distribution Pte(X,Y):[16][17]

  1. Covariate Shift in which the marginal distribution of the covariates changes across domains: Ptr(X)Pte(X)
  2. Target Shift in which the marginal distribution of the outputs changes across domains: Ptr(Y)Pte(Y)
  3. Conditional Shift in which P(Y) remains the same across domains, but the conditional distributions differ: Ptr(XY)Pte(XY). In general, the presence of conditional shift leads to an ill-posed problem, and the additional assumption that P(XY) changes only under location-scale (LS) transformations on X is commonly imposed to make the problem tractable.

By utilizing the kernel embedding of marginal and conditional distributions, practical approaches to deal with the presence of these types of differences between training and test domains can be formulated. Covariate shift may be accounted for by reweighting examples via estimates of the ratio Pte(X)/Ptr(X) obtained directly from the kernel embeddings of the marginal distributions of X in each domain without any need for explicit estimation of the distributions.[17] Target shift, which cannot be similarly dealt with since no samples from Y are available in the test domain, is accounted for by weighting training examples using the vector β*(ytr) which solves the following optimization problem (where in practice, empirical approximations must be used) [16]

minβ(y)||𝒞(XY)tr𝔼Ytr[β(y)ϕ(y)]μXte||2 subject to β(y)0,𝔼Ytr[β(y)]=1

To deal with location scale conditional shift, one can perform a LS transformation of the training points to obtain new transformed training data Xnew=XtrW+B (where denotes the element-wise vector product). To ensure similar distributions between the new transformed training samples and the test data, W,B are estimated by minimizing the following empirical kernel embedding distance [16]

||μ^Xnewμ^Xte||2=||𝒞^(XY)newμ^Ytrμ^Xte||2

In general, the kernel embedding methods for dealing with LS conditional shift and target shift may be combined to find a reweighted transformation of the training data which mimics the test distribution, and these methods may perform well even in the presence of conditional shifts other than location-scale changes.[16]

Domain generalization via invariant feature representation

Given N sets of training examples sampled i.i.d. from distributions P(1)(X,Y),P(2)(X,Y),,P(N)(X,Y), the goal of domain generalization is to formulate learning algorithms which perform well on test examples sampled from a previously unseen domain P*(X,Y) where no data from the test domain is available at training time. If conditional distributions P(YX) are assumed to be relatively similar across all domains, then a learner capable of domain generalization must estimate a functional relationship between the variables which is robust to changes in the marginals P(X). Based on kernel embeddings of these distributions, Domain Invariant Component Analysis (DICA) is a method which determines the transformation of the training data that minimizes the difference between marginal distributions while preserving a common conditional distribution shared between all training domains.[18] DICA thus extracts invariants, features that transfer across domains, and may be viewed as a generalization of many popular dimension-reduction methods such as kernel principal component analysis, transfer component analysis, and covariance operator inverse regression.[18]

Defining a probability distribution 𝒫 on the RKHS with 𝒫(μX(i)Y(i))=1/N for i=1,,N, DICA measures dissimilarity between domains via distributional variance which is computed as

V(𝒫)=1Ntr(G)1N2i,j=1NGij where Gij=μX(i),μX(j)

so G is a N×N Gram matrix over the distributions from which the training data are sampled. Finding an orthogonal transform onto a low-dimensional subspace B (in the feature space) which minimizes the distributional variance, DICA simultaneously ensures that B aligns with the bases of a central subspace C for which Y becomes independent of X given CTX across all domains. In the absence of target values Y, an unsupervised version of DICA may be formulated which finds a low-dimensional subspace that minimizes distributional variance while simultaneously maximizing the variance of X (in the feature space) across all domains (rather than preserving a central subspace).[18]

Example

In this simple example, which is taken from Song et al.,[2] X,Y are assumed to be discrete random variables which take values in the set {1,,K} and the kernel is chosen to be the Kronecker delta function, so k(x,x)=δ(x,x). The feature map corresponding to this kernel is the standard basis vector ϕ(x)=ex. The kernel embeddings of such a distributions are thus vectors of marginal probabilities while the embeddings of joint distributions in this setting are K×K matrices specifying joint probability tables, and the explicit form of these embeddings is

μX=𝔼X[ex]=(P(X=1)P(X=K))
𝒞XY=𝔼XY[eXeY]=(P(X=s,Y=t))s,t{1,,K}

The conditional distribution embedding operator 𝒞YX=𝒞YX𝒞XX1 is in this setting a conditional probability table

𝒞YX=(P(Y=sX=t))s,t{1,,K}
and 𝒞XX=(P(X=1)00P(X=K))

Thus, the embeddings of the conditional distribution under a fixed value of X may be computed as

μYx=𝒞YXϕ(x)=(P(Y=1X=x)P(Y=KX=x))

In this discrete-valued setting with the Kronecker delta kernel, the kernel sum rule becomes

(Q(X=1)P(X=N))μYπ=(P(X=sY=t))𝒞XY(π(Y=1)pi(Y=N))μYπ

The kernel chain rule in this case is given by

(Q(X=s,Y=t))𝒞XYπ=(P(X=sY=t))𝒞XY(π(Y=1)00π(Y=K))𝒞YYπ

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. 1.0 1.1 A. Smola, A. Gretton, L. Song, B. Schölkopf. (2007). A Hilbert Space Embedding for Distributions. Algorithmic Learning Theory: 18th International Conference. Springer: 13–31.
  2. 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2.07 2.08 2.09 2.10 2.11 2.12 2.13 L. Song, K. Fukumizu, F. Dinuzzo, A. Gretton (2013). Kernel Embeddings of Conditional Distributions: A unified kernel framework for nonparametric inference in graphical models. IEEE Signal Processing Magazine 30: 98–111.
  3. J. Shawe-Taylor, N. Christianini. (2004). Kernel Methods for Pattern Analysis. Cambridge University Press, Cambridge, UK.
  4. T. Hofmann, B. Schölkopf, A. Smola. (2008). Kernel Methods in Machine Learning. The Annals of Statistics 36(3):1171–1220.
  5. 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 L. Song. (2008) Learning via Hilbert Space Embedding of Distributions. PhD Thesis, University of Sidney.
  6. 6.0 6.1 6.2 L. Song, J. Huang, A. J. Smola, K. Fukumizu. (2009). Hilbert space embeddings of conditional distributions. Proc. Int. Conf. Machine Learning. Montreal, Canada: 961-968.
  7. A. Gretton, K. Borgwardt, M. Rasch, B. Schölkopf, A. Smola. (2007). A kernel method for the two-sample-problem. Advances in Neural Information Processing Systems 19, MIT Press, Cambridge, MA.
  8. S. Grunewalder, G. Lever, L. Baldassarre, S. Patterson, A. Gretton, M. Pontil. (2012). Conditional mean embeddings as regressors. Proc. Int. Conf. Machine Learning: 1823–1830.
  9. A. Gretton, K. Borgwardt, M. Rasch, B. Schölkopf, A. Smola. (2012). A kernel two-sample test. Journal of Machine Learning Research, 13: 723-773.
  10. M. Dudík, S. J. Phillips, R. E. Schapire. (2007). Maximum Entropy Distribution Estimation with Generalized Regularization and an Application to Species Distribution Modeling. Journal of Machine Learning Research, 8: 1217-1260.
  11. A. Gretton, O. Bousquet, A. Smola, B. Schölkopf. (2005). Measuring statistical dependence with Hilbert–Schmidt norms. Proc. Intl. Conf. on Algorithmic Learning Theory: 63–78.
  12. L. Song, A. Smola , A. Gretton, K. Borgwardt, J. Bedo. (2007). Supervised feature selection via dependence estimation. Proc. Intl. Conf. Machine Learning, Omnipress: 823–830.
  13. L. Song, A. Smola, A. Gretton, K. Borgwardt. (2007). A dependence maximization view of clustering. Proc. Intl. Conf. Machine Learning. Omnipress: 815–822.
  14. L. Song, A. Smola, K. Borgwardt, A. Gretton. (2007). Colored maximum variance unfolding. Neural Information Processing Systems.
  15. 15.0 15.1 K. Muandet, K. Fukumizu, F. Dinuzzo, B. Schölkopf. (2012). Learning from Distributions via Support Measure Machines. Advances in Neural Information Processing Systems: 10–18.
  16. 16.0 16.1 16.2 16.3 K. Zhang, B. Schölkopf, K. Muandet, Z. Wang. (2013). Domain adaptation under target and conditional shift. Journal of Machine Learning Research, 28(3): 819–827.
  17. 17.0 17.1 A. Gretton, A. Smola, J. Huang, M. Schmittfull, K. Borgwardt, B. Schölkopf. (2008). Covariate shift and local learning by distribution matching. In J. Quinonero-Candela, M. Sugiyama, A. Schwaighofer, N. Lawrence (eds.). Dataset shift in machine learning, MIT Press, Cambridge, MA: 131–160.
  18. 18.0 18.1 18.2 K. Muandet, D. Balduzzi, B. Schölkopf. (2013).Domain Generalization Via Invariant Feature Representation. 30th International Conference on Machine Learning.