• 検索結果がありません。

Injective Hilbert Space Embeddings of Probability Measures

N/A
N/A
Protected

Academic year: 2021

シェア "Injective Hilbert Space Embeddings of Probability Measures"

Copied!
12
0
0

読み込み中.... (全文を見る)

全文

(1)

Injective Hilbert Space Embeddings of Probability Measures

Bharath K. Sriperumbudur1∗, Arthur Gretton2, Kenji Fukumizu3, Gert Lanckriet1and Bernhard Sch¨olkopf2

1Department of ECE, UC San Diego, La Jolla, CA 92093, USA.

2MPI for Biological Cybernetics, Spemannstraße 38, 72076 T¨ubingen, Germany.

3Institute of Statistical Mathematics, 4-6-7 Minami-Azabu, Minato-ku, Tokyo 106-8569, Japan.

[email protected], {arthur,bernhard.schoelkopf}@tuebingen.mpg.de [email protected], [email protected]

Abstract

A Hilbert space embedding for probability mea- sures has recently been proposed, with applications including dimensionality reduction, homogeneity testing and independence testing. This embedding represents any probability measure as a mean ele- ment in a reproducing kernel Hilbert space (RKHS).

The embedding function has been proven to be in- jective when the reproducing kernel is universal.

In this case, the embedding induces a metric on the space of probability distributions defined on com- pact metric spaces.

In the present work, we consider more broadly the problem of specifying characteristic kernels, de- fined as kernels for which the RKHS embedding of probability measures is injective. In particular, characteristic kernels can include non-universal ker- nels. We restrict ourselves to translation-invariant kernels on Euclidean space, and define the asso- ciated metric on probability measures in terms of the Fourier spectrum of the kernel and characteris- tic functions of these measures. The support of the kernel spectrum is important in finding whether a kernel is characteristic: in particular, the embed- ding is injective if and only if the kernel spectrum has the entire domain as its support. Characteristic kernels may nonetheless have difficulty in distin- guishing certain distributions on the basis of finite samples, again due to the interaction of the ker- nel spectrum and the characteristic functions of the measures.

1 Introduction

The concept of distance between probability measures is a fundamental one and has many applications in probability theory and statistics. In probability theory, this notion is

∗The author wishes to acknowledge the support from the Max Planck Institute (MPI) for Biological Cybernetics, National Science Foundation (grant DMS-MSPA 0625409), the Fair Isaac Corpora- tion and the University of California MICRO program. Part of this work was done while the author was an intern at MPI.

The authors thank anonymous reviewers for their comments to im- prove the paper.

used to metrize the weak convergence (convergence in dis- tribution) of probability measures defined on a metric space.

Formally, letSbe the set of all Borel probability measures defined on a metric measurable space(M, ρ,Mρ)and letγ be its metric, i.e.,(S, γ)is a metric space. ThenPnis said to converge weakly toPif and only ifγ(Pn, P)n→∞−→ 0, where P,{Pn}n≥1∈S. WhenM is separable, examples forγin- clude theL´evy-Prohorov distanceand thedual-bounded Lip- schitz distance(Dudley metric) [Dud02, Chapter 11]. Other popular examples forγinclude theMonge-Wasserstein dis- tance, total variation distance and theHellinger distance, which yield a stronger notion of convergence of probability measures [Sho00, Chapter 19].

In statistics, the notion of distance between probability measures is used in a variety of applications, including ho- mogeneity tests (the two-sample problem), independence te- sts, and goodness-of-fit tests. The two-sample problem in- volves testing the null hypothesisH0 : P = Qversus the alternativeH1 : P 6= Q, using random samples{Xl}ml=1 and{Yl}nl=1 drawn i.i.d. from distributionsP andQon a measurable space(M,M). Ifγis a metric (or more gener- ally a semi-metric1) onS, thenγ(P, Q)can be used as a test statistic to address the two-sample problem. This is because γ(P, Q)takes the unique and distinctive value of zero only whenP =Q. Thus, the two-sample problem can be reduced to testingH0 : γ(P, Q) = 0versusH1 : γ(P, Q)>0. The problems of testing independence and goodness-of-fit can be posed in an analogous form.

Several recent studies on kernel methods have focused on applications in distribution comparison: the advantage being that kernels represent a linear way of dealing with higher order statistics. For instance, in homogeneity testing, dif- ferences in higher order moments are encoded in mean dif- ferences computed in the right reproducing kernel Hilbert space (RKHS) [GBR+07]; in kernel ICA [BJ02, GHS+05], general nonlinear dependencies show up as linear correla- tions once they are computed in a suitable RKHS. Instru- mental to these studies is the notion of a Hilbert space em- bedding for probability measures [SGSS07], which involves representing any probability measure as a mean element in an RKHS(H, k), wherekis the reproducing kernel [Aro50,

1Given a setM, ametricforMis a functionρ:M×M→R+

such that(i)∀x, ρ(x, x) = 0,(ii)∀x, y, ρ(x, y) = ρ(y, x),(iii)

∀x, y, z, ρ(x, z)≤ρ(x, y) +ρ(y, z), and(iv)ρ(x, y) = 0⇒x= y[Dud02, Chapter 2]. A semi-metric only satisfies(i),(ii)and(iv).

(2)

SS02]. For this reason, the RKHSs used have to be “suffi- ciently large” to capture all nonlinearities that are relevant to the problem at hand, so that differences in embeddings cor- respond to differences of interest in the distributions. The question of how to choose such RKHSs is the central focus of the present paper.

Recently, Fukumizuet al.[FGSS08] introduced the con- cept of acharacteristic kernel, this being an RKHS kernel for which the mappingΠ :S→ Hfrom the space of Borel probability measuresSto the associated RKHSHis injec- tive (His denoted as a characteristic RKHS). Clearly, a char- acteristic RKHS is sufficiently large in the sense we have de- scribed: in this caseγ(P, Q) = 0impliesP =Q, whereγis the induced metric onSbyΠ, defined as the RKHS distance between the mappings ofP andQ. Under what conditions, then, isΠinjective? As discussed in [GBR+07, SGSS07], whenMis compact, the RKHS is characteristic when its ker- nel is universal in the sense of Steinwart [Ste02, Definition 4]: the induced RKHS should be dense in the Banach space of bounded continuous functions with respect to the supre- mum norm (examples include the Gaussian and Laplacian kernels). Fukumizuet al.[FGSS08, Lemma 1] considered injectivity for non-compactM, and showedΠto be injective if the direct sum ofHandRis dense in the Banach space ofp-power (p≥1) integrable functions (we denote RKHSs satisfying this criterion asF-characteristic). In addition, for M =Rd, Fukumizuet al. provide sufficient conditions on the Fourier spectrum of a translation-invariant kernel for it to be characteristic [FGSS08, Theorem 2]. Using this result, popular kernels like Gaussian and Laplacian can be shown to be characteristic on all ofRd.

In the present study, we provide an alternative means of determining whether kernels are characteristic, for the case of translation-invariant kernels onRd. This addresses sev- eral limitations of the previous work: in particular, it can be difficult to verify the conditions that a universal or F- characteristic kernel must satisfy; and universality is in any case an overly restrictive condition because universal kernels assumeM to be compact. In other words, they induce a met- ric only on the space of probability measures that are com- pactly supported onM. In addition, there are compactly sup- ported kernels which are not universal, e.g. B2n+1-splines, which can be shown to be characteristic. We provide simple verifiable rules in terms of the Fourier spectrum of the ker- nel that characterize the injective behavior ofΠ, and derive a relationship between the family of kernels and the family of probability measures for whichγ(P, Q) = 0impliesP =Q.

In particular, we show that a translation-invariant kernel on Rdis characteristic if and only if its Fourier spectrum has the entire domain as its support.

We begin our presentation in§2 with an overview of ter- minology and notation. In §3, we briefly describe the ap- proach of Hilbert space embedding of probability measures.

Assuming the kernel to be translation-invariant inRd, in§4, we deduce conditions on the kernel and the set of probabil- ity measures for which the RKHS is characteristic. We show that the support of the kernel spectrum is crucial:His char- acteristic if and only if the kernel spectrum has the entire do- main as its support. We note, however, that even using such a kernel does not guarantee that one can easily distinguish dis-

tributions based on finite samples. In particular, we provide two illustrations in§5 where interactions between the kernel spectrum and the characteristic functions of the probability measures can result in an arbitrarily smallγ(P, Q) =² > 0 for non-trivial differences in distributionsP 6=Q. Proofs of the main theorems and related lemmas are provided in§6.

The results presented in this paper use tools fromdistribu- tion theoryand Fourier analysis: the related technical results are collected in Appendix A.

2 Notation

ForM ⊂ Rd andµa Borel measure onM,Lp(M, µ)de- notes the Banach space of p-power (p ≥ 1) µ-integrable functions. We will also useLp(M)forLp(M, µ)anddxfor dµ(x)ifµis the Lebesgue measure onM. Cb(M)denotes the space of all bounded, continuous functions onM. The space of allq-continuously differentiable functions onM is denoted byCq(M),0 ≤ q≤ ∞. Forx ∈C,xrepresents the complex conjugate ofx. We denote as i the complex number√

−1.

The set of all compactly supported functions inC∞(Rd) is denoted byDd and the space of rapidly decreasing func- tions in Rd is denoted by Sd. For an open setU ⊂ Rd, Dd(U)denotes the subspace ofDd consisting of the func- tions with support contained inU. The space of linear con- tinuous functionals onDd(resp.Sd) is denoted byDd0(resp.

Sd0) and an element of such a space is called as adistribu- tion(resp. tempered distribution). mddenotes the normal- ized Lebesgue measure defined bydmd(x) = (2π)−d2dx.

fˆandfˇrepresent the Fourier transform and inverse Fourier transform off respectively.

For a measurable function f and a signed measure P, P f := R

f dP = R

Mf(x)dP(x). δx represents the Dirac measure atx. The symbolδis overloaded to represent the Dirac measure, the Dirac-delta function, and the Kronocker- delta, which should be distinguishable from the context.

3 Maximum Mean Discrepancy

We briefly review the theory of RKHS embedding of prob- ability measures proposed by Smolaet al.[SGSS07]. We lead to these embeddings by first introducing the maximum mean discrepancy (MMD), which is based on the following result [Dud02, Lemma 9.3.2], related to the weak conver- gence of probability measures on metric spaces.

Lemma 1 ([Dud02]) Let(M, ρ)be a metric space with Borel probability measuresP andQdefined onM. ThenP =Q if and only ifP f=Qf,∀f ∈Cb(M).

Originally, Grettonet al.[GBR+07] defined the maximum mean discrepancy as follows.

Definition 2 (Maximum Mean Discrepancy) LetF ={f| f : M → R}and let P, Qbe Borel probability measures defined on(M, ρ). Then the maximum mean discrepancy is defined as

γF(P, Q) = sup

f∈F

|P f−Qf|. (1)

(3)

With this definition, one can derive various metrics (men- tioned in§1) that are used to define the weak convergence of probability measures on metric spaces. To start with, it is easy to verify that, independent ofF,γF in Eq. (1) is a pseudometric2onS. Therefore, the choice ofF determines whether or not γF(P, Q) = 0 implies P = Q. In other words, F determines the metric property ofγF on S. By Lemma 1,γFis a metric onSwhenF =Cb(M). WhenF is the set of bounded,ρ-uniformly continuous functions on M, by the Portmanteau theorem [Sho00, Chapter 19, The- orem 1.1], γF is not only a metric on Sbut also metrizes the weak topology on S. γF is a Dudley metric[Sho00, Chapter 19, Definition 2.2] whenF = {f : kfkBL ≤ 1}

wherekfkBL=kfk∞+kfkLwithkfk∞:= sup{|f(x)|: x ∈ M} andkfkL := sup{|f(x)−f(y)|/ρ(x, y) : x 6=

y inM}. kfkL is called the Lipschitz seminorm of a real- valued function f on M. By the Kantorovich-Rubinstein theorem [Dud02, Theorem 11.8.2], when (M, ρ) is sepa- rable,γF equals theMonge-Wasserstein distance forF = {f : kfkL ≤ 1}. γF is the total variation metric when F ={f :kfk∞ ≤1}while it is theKolmogorov distance whenF = {1(−∞,t] : t ∈ Rd}. IfF = {eihω,.i : ω ∈ Rd}, thenγF(P, Q)reduces to finding the maximal differ- ence between the characteristic functions ofP andQ. By the uniqueness theorem for characteristic functions [Dud02, Theorem 9.5.1], we haveγF(P, Q) = 0 ⇔ φP =φQ ⇔ P =Q, whereφP andφQrepresent the characteristic func- tions ofPandQ, respectively.3 Therefore, the function class F ={eihω,.i : ω∈Rd}induces a metric onS. Grettonet al.[GBR+07, Theorem 3] showedγF to be a metric onS whenFis chosen to be a unit ball in a universal RKHSH.

This choice ofF yields an injective map,Π : S → H, as proposed by Smolaet al.[SGSS07]. A similar injective map can also be obtained by choosingF to be a unit ball in an RKHS induced by kernels satisfying the criteria in [FGSS08, Lemma 1, Theorem 2] (which we denote F-characteristic kernels).

We henceforth assume F to be a unit ball in an RKHS (H, k)(not necessarily universal orF-characteristic) defined on(M,M)withk : M ×M → R, i.e., F = {f ∈ H : kfkH≤1}. The following result provides a different repre- sentation forγF defined in Eq. (1) by exploiting the repro- ducing property ofH, and will be used later in deriving our main results.

Theorem 3 LetFbe a unit ball in an RKHS(H, k)defined on a measurable space(M,M)withkmeasurable and bou- nded. Then

γF(P, Q) =kP k−QkkH, (2) wherek.kHrepresents the RKHS norm.

Proof: LetTP : H → Rbe a linear functional defined as TP[f] := R

Mf(x)dP(x) withkTPk := supf∈H|TkfkP[f]|

H .

2A pseudometric only satisfies (i)-(iii) of the properties of a metric (see footnote 1). Unlike a metric space(M, ρ), points in a pseudometric space need not be distinguishable: one may have ρ(x, y) = 0forx6=y[Dud02, Chapter 2].

3The characteristic function of a probability measure,P onRd is defined asφ(ω) :=R

RdeiωTxdP(x), ∀ω∈Rd.

Consider

|TP[f]| =

¯¯

¯¯ Z

M

f(x)dP(x)

¯¯

¯¯≤ Z

M

|f(x)|dP(x)

= Z

M

|hf, k(·, x)iH|dP(x)≤√

CkfkH, where we have exploited the reproducing property and bound- edness of the kernel to showTP is a bounded linear func- tional onH. Here,C >0is the bound onk, i.e.,|k(x, y)| ≤ C <∞, ∀x, y ∈M. Therefore, by the Riesz representation theorem [RS72, Theorem II.4], there exists a uniqueλP ∈ H such thatTP[f] =hf, λPiH,∀f ∈ H. Letf =k(·, u)for someu∈M. Then,TP[k(·, u)] =hk(·, u), λPiH=λP(u), which implies λP = TP[k] = P k = R

Mk(·, x)dP(x).

Therefore, with |P f −Qf| = |hf, λP −λQiH|, we have γF(P, Q) = supkfkH≤1|P f−Qf| = kλP −λQkH = kP k−QkkH.

The representation ofγF in Eq. (2) yields the embedding, Π[P] =R

Mk(·, x)dP(x)as proposed in [SGSS07, FGSS08], which is injective whenkis characteristic. While the repre- sentation ofγF in Eq. (2) holds irrespective of the charac- teristic property ofk, it need not be a metric onS, asΠis not guaranteed to be injective. The obvious question to ask is “For what class of kernels isΠinjective?”. To understand this in detail, we are interested in the following questions which we address in this paper.

Q1. LetD (Sbe a set of Borel probability measures de- fined on(M,M). LetKbe a family of positive definite kernels defined onM. What are the conditions on D andKfor whichΠ :D→ Hk, P 7→R

Mk(·, x)dP(x) is injective, i.e.,γF(P, Q) = 0 ⇔ P =QforP, Q∈ D? Here,Hkrepresents the RKHS induced byk∈ K.

Q2. What are the conditions onK so thatΠis injective on S?

Note that Q1 is a restriction of Q2 to D. The idea is that the kernels that do not makeγF as a metric onSmay make it as a metric on some restricted class of probability mea- sures, D ( S. Our next step, therefore, is to characterize the relationship between classes of kernels and probability measures, which is addressed in the following section.

4 Characteristic Kernels & Main Theorems

In this section, we present main results related to the behav- ior of MMD. We start with the following definition of char- acteristic kernels, which was recently introduced by Fuku- mizuet al.[FGSS08] in the context of measuring conditional (in)dependence using positive definite kernels.

Definition 4 (Characteristic kernel) A positive definite ker- nelkis characteristic to a setDof probability measures de- fined on(M,M)ifγF(P, Q) = 0 ⇔ P =QforP, Q∈D.

Remark 5 Equivalently,kis said to be characteristic toD if the map, Π : D → H, P 7→ R

Mk(·, x)dP(x), is in- jective. WhenM =Rd, the notion of characteristic kernel is a generalization of the characteristic function,φP(ω) = R

RdeiωTxdP(x),∀ω ∈Rd, which is the expectation of the

(4)

complex-valued positive definite kernel, k(ω, x) = eiωTx. Thus, the definition of a characteristic kernel generalizes the well-known property of the characteristic function thatφP

uniquely determines a Borel probability measureP onRd. See [FGSS08] for more details.

It is obvious from Definition 4 that universal kernels defined on a compactM andF-characteristic kernels onMare char- acteristic to the family of all probability measures defined on (M,M). The characteristic property of the kernel re- lates the family of positive definite kernels and the family of probability measures. We would like to characterize the positive definite kernels that are characteristic toS. Among the kernels that are not characteristic toS, we would like to determine those kernels that are characteristic to some appro- priately chosen subsetD, ofS. Intuitively, the smaller the setD, larger is the family of kernels that are characteristic to D. To this end, we make the following assumption.

Assumption 1 k(x, y) = ψ(x−y)whereψis a bounded continuous real-valued positive definite function4 on M = Rd.

The above assumption means thatkis translation-invariant inRd. A whole family of such kernels can be generated as the Fourier transform of a finite non-negative Borel measure, given by the following result due to Bochner, which we quote from [Wen05, Theorem 6.6].

Theorem 6 (Bochner) A continuous functionψ :Rd →C is positive definite if and only if it is the Fourier transform of a finite nonnegative Borel measureΛonRd, i.e.

ψ(x) = Z

Rd

e−ixTωdΛ(ω), ∀x∈Rd. (3) Since the translation-invariant kernels in Rd are character- ized by the Bochner’s theorem, it is theoretically interesting to ask which subset in the Fourier images gives characteristic kernels. Before we describe such kernelskthat are charac- teristic toS, in the following example, we show that there exist kernels that are not characteristic toS. Here,Srepre- sents the family of all Borel probability measures defined on (Rd,B(Rd)), where B(Rd)represents the Borel σ-algebra defined by open sets inRd(see Assumption 1).

Example 1 (Trivial kernel) Letk(x, y) = ψ(x−y) = C,

∀x, y ∈ Rd withC > 0. It can be shown thatψ is the Fourier transform ofΛ =Cδ0with support{0}.

Consider P k = R

Rdk(·, x)dP(x) = CR

Rd dP(x) = C. SinceP k = C irrespective of P ∈ S, the mapΠ is not injective. In addition,γF(P, Q) = 0for anyP, Q∈S.

Therefore, the trivial kernel,kis not characteristic toS.

4.1 Main theorems

The following theorem characterizes all translation-invariant kernels inRdthat are characteristic toS.

4LetM be a nonempty set. A functionψ :M →Ris called positive definite if and only ifPn

j,l=1cjclψ(xj−xl)≥0,∀xj∈ M,∀cj∈R,∀n∈N.

Theorem 7 LetFbe a unit ball in an RKHS(H, k)defined onRd. Supposeksatisfies Assumption 1. Thenkis a char- acteristic kernel to the family,S, of all probability measures defined onRdif and only if supp(Λ) =Rd.

We provide a sketch of the proof of the above theorem, which is proved in§6.2.1 using a number of intermediate lemmas.

The first step is to derive an alternate representation forγFin Eq. (2) under Assumption 1. Lemma 13 provides the Fourier representation ofγF in terms of the kernel spectrum,Λand the characteristic functions ofP andQ. The advantage of this representation over the one in Eq. (2) is that it is easy to obtain necessary and sufficient conditions for the existence ofP 6= Q, P, Q ∈ Ssuch thatγF(P, Q) = 0, which are captured in Lemma 15. We then show that if supp(Λ) =Rd, the conditions mentioned in Lemma 15 are violated, mean- ing@P 6=Qsuch thatγF(P, Q) = 0, thereby proving the sufficient condition in Theorem 7. Proving the converse is equivalent to proving thatkis not characteristic toSwhen supp(Λ)( Rd. So, when supp(Λ)( Rd, the result is proved using Lemma 19, which shows the existence ofP6=Qsuch thatγF(P, Q) = 0.

Theorem 7 shows that the embedding functionΠ, asso- ciated with a positive definite translation-invariant kernel in Rdis injective if and only if the kernel spectrum has the en- tire domain as its support. Therefore, this result provides a simple verifiable rule forΠto be injective, unlike the re- sults in [SGSS07, FGSS08] where the universality andF- characteristic properties of a given kernel are not easy to ver- ify. In addition, the universality andF-characteristic proper- ties are sufficient conditions for a kernel to induce an injec- tive mapΠ, whereas Theorem 7 provides supp(Λ) =Rd as the necessary and sufficient condition. Therefore, we have answered question Q2 posed in§3. Examples of kernels that are characteristic toSinclude the Gaussian, Laplacian and B2n+1-splines. In fact, the whole family of compactly sup- ported translation-invariant kernels onRdare characteristic toS, as shown by the following corollary of Theorem 7.

Corollary 8 LetFbe a unit ball in an RKHS(H, k)defined on Rd. Suppose k satisfies Assumption 1 and supp(ψ) is compact. Thenkis a characteristic kernel toS.

Proof: Since supp(ψ) is compact in Rd, by Lemma 25, which is a corollary of the Paley-Wiener theorem (see also [GW99, Theorem 31.5.2, Proposition 31.5.4]), we deduce that supp(Λ) =Rd. Therefore, the result follows from The- orem 7.

The above result is interesting in practice because of the computational advantage in dealing with compactly supported kernels. By Theorem 7, it is clear that kernels with supp(Λ)( Rdare not characteristic toS. However, they can be charac- teristic to someD(S(see Q1 in§3). The following result addresses this setting.

Theorem 9 Let F be a unit ball in an RKHS (H, k) de- fined onRd. LetD be the set of all compactly supported probability measures onRdwith characteristic functions in L1(Rd)∪L2(Rd). Suppose k satisfies Assumption 1 and supp(Λ) ( Rdhas a non-empty interior. Thenkis a char- acteristic kernel toD.

(5)

ψ(x),Ω =supp(Λ) D Characteristic γF Reference

Ω =Rd S Yes Metric Theorem 7

supp(ψ)is compact S Yes Metric Corollary 8

Ω( Rdhas a {P :supp(P)is compact,

non-empty interior φP ∈L1(Rd)∪L2(Rd)} Yes Metric Theorem 9

Ω( Rd S No Pseudometric Theorem 7

Table 1:ksatisfies Assumption 1 and is the Fourier transform of a finite nonnegative Borel measureΛonRd.Sis the set of all probability measures defined on(Rd,B(Rd)).Prepresents a probability measure inRdandφP is its characteristic function. If kis characteristic toS, then(S, γF)is a metric space, whereFis a unit ball in an RKHS(H, k).

The proof is given in §6.2.2 and the strategy is similar to that of Theorem 7, where the Fourier representation ofγF

(see Lemma 13) is used to derive necessary and sufficient conditions for the existence of P 6= Q, P, Q ∈ D such that γF(P, Q) = 0 (see Lemma 17). We then show that if supp(Λ) ( Rd has a non-empty interior, the conditions mentioned in Lemma 17 are violated, which means@P 6=

Q, P, Q∈Dsuch thatγF(P, Q) = 0, thereby proving the result.

Although, by Theorem 7, the kernels with supp(Λ)( Rd are not characteristic toS, Theorem 9 shows that there ex- istsD ( Sto which a subset of these kernels are charac- teristic. This type of result is not available for the meth- ods studied in [SGSS07, FGSS08]. An example of a kernel that satisfies the conditions in Theorem 9 is the Sinc kernel, ψ(x) = sin(σx)x which has supp(Λ) = [−σ, σ]. The condi- tion that supp(Λ) ( Rd has a non-empty interior is impor- tant for Theorem 9 to hold. If supp(Λ)has an empty interior (examples include periodic kernels), then one can construct P 6=Q, P, Q∈Dsuch thatγF(P, Q) = 0. See§6.2.2 for the related discussion and an example.

We have shown that the support of the Fourier spectrum of a positive definite translation-invariant kernel inRdchar- acterizes the injective or non-injective behavior ofΠ. In par- ticular, supp(Λ) = Rd is the necessary and sufficient con- dition for the mapΠ to be injective onS, which answers question Q2 posed in§3. We also showed that kernels with supp(Λ) ( Rd can be characteristic to someD ( S even though they are not characteristic to S, which in turn an- swers question Q1 in§3. A summary of these results is given in Table 1.

4.2 A result on periodic kernels and discrete probability measures

Proposition 10 LetFbe a unit ball in an RKHS(H, k)de- fined onRdwhereksatisfies Assumption 1. LetD ={P : P = P∞

n=1βnδxn,P∞

n=1βn = 1, βn ≥ 0,∀n} be the set of probability measures defined onM0 = {x1, x2. . .}

( Rd. Then∃P 6=Q,P, Q∈Dsuch thatγF(P, Q) = 0if the following conditions hold:

(i) ψisτ-periodic5inRd, i.e.,ψ(x) =ψ(x+η•τ), η∈ Zd, τ∈Rd+,

(ii) xs−xt=lst•τ, lst∈Zd,∀s, t,

where•represents the Hadamard multiplication.

Proof: Let ψ be τ-periodic in Rd and xs −xt = lst • τ, lst ∈ Zd,∀s, t. Consider P, Q ∈ D given by P = P∞

n=1p˜nδxn and Q = P∞

n=1q˜nδxn such that p˜n,q˜n ≥ 0,∀n; P∞

n=1p˜n = 1, P∞

n=1q˜n = 1. ThenγF(P, Q) = kP k−QkkH =kR

Rdψ(.−x)d(P−Q)(x)kH=kP∞

n=1(˜pn

−˜qn)ψ(.−xn)kH = kP∞

n=1(˜pn−q˜n)ψ(.−x1−ln1 • τ)kH =kψ(.−x1)P∞

n=1(˜pn−q˜n)kH= 0. This holds for anyP, Q∈D.

The converse of Proposition 10, if true, would make the re- sult more interesting. This is because any non-periodic trans- lation invariant kernel on Rd would then be characteristic to the set of discrete probability measures on Rd. In or- der to prove the converse, we would need to show that(i) and (ii) in Proposition 10 hold when γF(P, Q) = 0 for P 6= Q, P, Q ∈ D. However, this is not true as the triv- ial kernel yieldsγF(P, Q) = 0 for anyP, Q ∈ Sand not justP, Q∈D.

Let us consider γF(P, Q) = 0for P, Q ∈ D. This is equivalent tokP∞

n=1(˜pn−q˜n)ψ(.−xn)kH= 0. Squaring on both sides and using the reproducing property ofk, we getP∞

s,t=1r˜tr˜sψ(xs−xt) = 0where{˜rn = ˜pn−q˜n}∞n=1 satisfyP∞

s=1˜rs = 0and{˜rs}∞s=1 ∈ [−1,1]. So, to prove the converse, we need to characterize allψ, {˜rn}∞n=1 and {xn}∞n=1that satisfyR ={P∞

s,t=1r˜tr˜sψ(xs−xt) = 0 : P∞

s=1˜rs= 0,{˜rs}∞s=1∈[−1,1]}, which is not easy. How- ever, choosing some ψ, {˜rn}∞n=1 and{xn}∞n=1 is easy, as shown in Proposition 10. Suppose there exists a class, K of positive definite translation-invariant kernels inRd with supp(Λ)( Rdand a class,E⊂Dof probability measures that jointly violateR, then anyk∈ Kis characteristic toE.

5A τ-periodic ψ in R is the Fourier transform of Λ = P∞

n=−∞αnδ2πn

τ , whereδ2πn

τ is the Dirac measure at2πnτ , n∈Z withαn ≥ 0andP∞

n=−∞αn <∞. Thus, supp(Λ) = {2πnτ : αn > 0, n ∈ Z} ( R. {αn}∞−∞are called the Fourier series coefficients ofψ.

(6)

−8 −6 −4 −2 0 2 4 6 8 10−4

10−3 10−2 10−1

ν γ2 F,u(m,m)

Uniform Gaussian

(a)

−8 −6 −4 −2 0 2 4 6 8

0.05 0.1 0.15 0.2 0.25 0.3

ν γ2 F,u(m,m)

Uniform Gaussian

(b)

Figure 1: Behavior of the empirical estimate ofγF2(P, Q)w.r.t. ν for the (a)B1-spline kernel and (b) Gaussian kernel. P is constructed fromQas defined in Eq. (4). “Uniform” corresponds toQ=U[−1,1]and “Gaussian” corresponds toQ=N(0,2).

m= 1000samples are generated fromP andQto estimateγF2(P, Q)throughγF,u2 (m, m). See Example 2 for details.

5 Dissimilar Distributions with Small Mean Discrepancy

So far, we have studied the behavior ofγF and have shown that it depends on the support of the spectrum of the ker- nel. As mentioned in§1, applications like homogeneity test- ing exploit the metric property ofγFto distinguish between probability distributions. Since the metric nature of γF is guaranteed only for kernels with supp(Λ) =Rd, tests based on other kernels can fail to distinguish between different prob- ability distributions. However, in the following, we show that the characteristic kernels, while guaranteeingγFto be a metric onS, may nonetheless have difficulty in distinguish- ing certain distributions on the basis of finite samples. Be- fore proving the result, we motivate it through the following example.

Example 2 LetPbe defined as

p(x) =q(x) +αq(x) sin(νπx), (4) whereqis a symmetric probability density function withα∈ R, ν∈ R\{0}. Consider aB1-spline kernel onRgiven by k(x, y) =ψ(x−y)where

ψ(x) =

½ 1− |x|, |x| ≤1

0, otherwise , (5)

with its Fourier transform given byΨ(ω) = 2√√π2sinω22ω2 (see footnote 10 for the definition ofΨ). Sinceψis characteristic toS,γF(P, Q)>0(see Theorem 7). However, it would be of interest to study the behavior ofγF(P, Q)as a function of ν. We do this through an unbiased, consistent estimator6 of γF2(P, Q)as proposed by Gretton et al. [GBR+07, Lemma 7].

6Starting from the expression for γF in Eq. (2), we get γF2(P, Q) = EX,X0∼Pk(X, X0) − 2EX∼P,Y∼Qk(X, Y) + EY,Y0∼Qk(Y, Y0), where X, X0 are independent random vari- ables with distribution P and Y, Y0 are independent random variables with distribution Q. An unbiased empirical estimate of γF2, denoted as γF,u2 (m, m) is given by γF,u2 (m, m) =

1 m(m−1)

Pm

l6=jh(Zl, Zj), which is a one-sampleU-statistic with h(Zl, Zj) := k(Xl, Xj) +k(Yl, Yj)−k(Xl, Yj)−k(Xj, Yl), where Z1, . . . , Zm are m i.i.d. random variables with Zj :=

(Xj, Yj)(see [GBR+07, Lemma 7]).

Figure 1(a) shows the behavior of the empirical estimate ofγF2(P, Q)as a function ofν forq = U[−1,1]and q = N(0,2) using the B1-spline kernel in Eq. (5). Since the Gaussian kernel,k(x, y) =e−(x−y)2is also a characteristic kernel, its effect on the behavior ofγF,u2 (m, m)is shown in Figure 1(b) in comparison to that of theB1-spline kernel.

From Figure 1, we observe two circumstances under whi- ch the mean discrepancy may be small. First,γ2F,u(m, m) decays with increasing|ν|, and can be made as small as de- sired by choosing a sufficiently large |ν|. Second, in Fig- ure 1(a),γF,u2 (m, m)has troughs atν = ωπ0 whereω0 = {ω : Ψ(ω) = 0}. Since γ2F,u(m, m) is a consistent esti- mate ofγF2(P, Q), one would expect similar behavior from γ2F(P, Q). This means that though theB1-spline kernel is characteristic toS, in practice, it becomes harder to distin- guish betweenP andQwith finite samples, whenPis con- structed as in Eq. (4) withν = ωπ0. In fact, one can observe from a straightforward spectral argument that the troughs in γ2F(P, Q)can be made arbitrarily deep by wideningq, when qis Gaussian.

For characteristic kernels, although γF(P, Q) > 0 when P 6= Q, Example 2 demonstrates that one can construct distributions such thatγ2F,u(m, m)is indistinguishable from zero with high probability, for a given sample sizem. Below, in Theorem 12, we investigate the decay mode of MMD for large|ν|(see Example 2) by explicitly constructingP 6=Q such that|P ϕl−Qϕl|is large for some largel, butγF(P, Q) is arbitrarily small, making it hard to detect a non-zero value of thepopulationMMD on the basis of a finite sample. Here, ϕl∈L2(M)represents the bounded orthonormal eigenfunc- tions of a positive definite integral operator7associated with k.

Consider the formulation of MMD in Eq. (1). The con- struction of P for a givenQ such that γF(P, Q)is small, though not zero, can be intuitively seen by re-writing Eq. (1) as

γF(P, Q) = sup

f∈H

|P f−Qf|

kfkH . (6)

7See [SS02, Theorem 2.10] for definition of positive definite integral operator and its corresponding eigenfunctions.

(7)

WhenP 6= Q,|P f −Qf|can be large for somef ∈ H.

However,γF(P, Q)can be made small by selectingP such that the maximization of|P f−Qfkfk |

H overHrequires anf with largekfkH. More specifically, higher order eigenfunctions of the kernel (ϕl for largel) have large RKHS norms, and so if they are prominent inP, Q (i.e., highly non-smooth distributions), one can expect γF(P, Q) to be small even when there exists anlfor which|P ϕl−Qϕl|is large. To this end, we need the following lemma, which we quote from [GSB+04, Lemma 6].

Lemma 11 ([GSB+04]) LetF be a unit ball in an RKHS (H, k) defined on compact M. Let ϕl ∈ L2(M) be or- thonormal eigenfunctions (assumed to be absolutely bounded), andλlbe the corresponding eigenvalues (arranged in a de- creasing order for increasingl) of a positive definite integral operator associated withk. Assumeλ−1l increases superlin- early withl. Then forf ∈ Fwheref(x) :=P∞

j=1f˜jϕj(x), we have{|f˜j|}∞j=1∈`1and for every² >0,∃l0 ∈Nsuch that|f˜l|< ²ifl > l0.

Theorem 12 (P 6=Qcan give small MMD) Assume the con- ditions in Lemma 11 hold. Then there exists a probability distributionP 6=Qdefined onM for which|P ϕl−Qϕl|>

β−²for some non-trivialβand arbitrarily small² >0, yet for whichγF(P, Q)< ηfor an arbitrarily smallη >0.

Proof: Let us construct p(x) = q(x) +αle(x) +βϕl(x) wheree(x) =1M(x). ForPto be a probability distribution, the following conditions need to be satisfied:

Z

M

[αle(x) +βϕl(x)]dx= 0, (7)

x∈Mmin[q(x) +αle(x) +βϕl(x)]≥0. (8) Expandinge(x)andf(x)in the orthonormal basis{ϕl}∞l=1, we get e(x) = P∞

l=1e˜lϕl(x) andf(x) = P∞

l=1f˜lϕl(x), where˜el := he, ϕliL2(M)andf˜l := hf, ϕliL2(M). There- fore,P f−Qf =R

Mf(x)[αle(x) +βϕl(x)]dxreduces to P f−Qf =αl

X∞

j=1

˜

ejf˜j+βf˜l, (9) where we used the fact that8hϕj, ϕtiL2(M)=δjt.Rewriting Eq. (7) and substituting fore(x)givesR

M[αle(x)+βϕl(x)]dx

=R

Me(x)[αle(x) +βϕl(x)]dx=αl

P∞

j=1˜e2j+βe˜l = 0, which implies

αl=−Pβ∞˜el

j=1˜e2j. (10) Now, let us considerP ϕt−Qϕt=αle˜t+βδtl. Substituting forαlgives

P ϕt−Qϕt=βδtl−βP˜e∞te˜l

j=1˜e2j =βδtl−βτtl, (11) whereτtl := Pe˜∞t˜el

j=1e˜2j. By Lemma 11, {|˜el|}∞l=1 ∈ `1 ⇒ P∞

j=1˜e2j < ∞, and choosing large enoughl gives|τtl| <

8Hereδis used in the Kronecker sense.

²,∀t,for any arbitrary² >0. Therefore,|P ϕt−Qϕt| >

β−²fort=land|P ϕt−Qϕt|< ²fort6=l. By appealing to Lemma 1, we therefore establish that P 6= Q. In the following we prove thatγF(P, Q)can be arbitrarily small, though non-zero.

Recall thatγF(P, Q) = supkfkH≤1|P f−Qf|. Substi- tuting forαlin Eq. (9), we have

γF(P, Q) = sup



β X∞

j=1

νjlf˜j : X∞

j=1

f˜j2 λj ≤1



, (12) where we used the definition of RKHS norm askfkH :=

P∞

j=1 f˜j2

λj andνjl:=δjl−τjl. Eq. (12) is a convex quadratic program in{f˜j}∞j=1. Solving the Lagrangian yieldsf˜j =

νjlλj

√P∞

j=1νjl2λj. Therefore,γF(P, Q) = βqP∞

j=1νjl2λj = βq

λl−2τllλl+P∞

j=1τjl2λj→0asl→ ∞because (i)by choosing sufficiently largel,|τjl| < ²,∀j,for any arbitrary² >0,

(ii)λl→0asl→ ∞[SS02, Theorem 2.10].

6 Proofs of the Main Theorems

In this section, we prove the main theorems in Section 4.

6.1 Preliminary lemmas

Using the Fourier characterization ofψgiven by Eq. (3), un- der Assumption 1, we derive the following result that pro- vides the Fourier representation of MMD. This result re- quires tools fromdistribution theoryrelated to the Fourier transforms of distributions.9 We refer the reader to [Rud91, Chapters 6,7] for the detailed treatment of distribution the- ory. Another good and basic reference on distribution theory is [Str03].

Lemma 13 (Fourier representation of MMD) LetF be a unit ball in an RKHS(H, k)defined onRdwithksatisfying Assumption 1. LetφPandφQbe the characteristic functions of probability measuresP andQdefined onRd. Then

γF(P, Q) =k[(φP−φQ)Λ]∨kH, (13) where−represents complex conjugation, ∨represents the inverse Fourier transform and Λ represents the finite non- negative Borel measure onRdas defined in Eq. (3). (φP− φQ)Λrepresents a finite Borel measure defined by Eq. (26).

Proof:From Theorem 3, we haveγF(P, Q) =kP k−QkkH. ConsiderP k=R

Rdk(·, x)dP(x) =R

Rdψ(·−x)dP(x). By Eq. (23),R

Rdψ(· −x)dP(x)represents the convolution ofψ andP, denoted asψ∗P. By appealing to the convolution the- orem (Theorem 22), we have(ψ∗P)∧= ˆPΛ, wherePˆ(ω) =

9Here, the termdistributionshould not be confused with proba- bility distributions. In short, distributions refer to generalized func- tions which cannot be treated as functions in the Lebesgue sense.

Classical examples of distributions are the Dirac-delta function and Heaviside’s function, for which derivatives and Fourier transforms do not exist in the usual sense.

(8)

R

Rde−iωTxdP(x), ∀ω ∈ Rd (by Lemma 20). Note that Pˆ = φP. Therefore, γF(P, Q) = kψ∗P−ψ∗QkH =

°°(φPΛ)∨−(φQΛ)∨°

°H. Using the linearity of the Fourier inverse, we get the desired result.

Remark 14 (a) IfΨis the distributional derivative10 ofΛ, then Eq. (13) can also be written as

γF(P, Q) =k[(φP−φQ)Ψ]∨kH, (14) where the term inside the RKHS norm is the Fourier inverse of a tempered distribution.

(b) By Assumption 1,ψis real-valued and symmetric inRd. Therefore, by (ii) in Lemma 20, Λ and Ψare real-valued, symmetric tempered distributions.

The representation of MMD in terms of the kernel spectrum as in Eq. (13) will be central to deriving our main theorems.

It is easy to see that characteristic kernels can be described indirectly by deriving conditions for the existence ofP 6=Q such thatγF(P, Q) = 0. Using the Fourier representation ofγF, the following result provides necessary and sufficient conditions for the existence ofP 6=Qsuch thatγF(P, Q) = 0.

Lemma 15 LetFbe a unit ball in an RKHS(H, k)defined onRd, and letP, Qbe probability distributions onRdsuch that P 6= Q. Suppose that k satisfies Assumption 1 and supp(Λ) ⊂ Rd. ThenγF(P, Q) = 0 if and only if there existsθ∈Sd0that satisfies the following conditions:

(i) p−q= ˇθ, (ii) θΛ = 0,

wherepandqrepresent the distributional derivatives of P andQrespectively, andθΛrepresents a finite Borel measure defined by Eq. (26).

Proof: The proof follows directly from the formulation of γFin Eq. (13).

(⇒) Letθ∈Sd0satisfy(i)and(ii). Sinceθ∈Sd0, we have θ= ˆˇθ= (p−q)∧ = ˆp−qˆ=φP −φQ. Therefore, by(ii), we haveγF(P, Q) =k[(φP−φQ)Λ]∨kH=k[θΛ]∨kH= 0.

(⇐) LetγF(P, Q) =k[(φP −φQ)Λ]∨kH = 0, which im- plies[(φP−φQ)Λ]∨= 0. Since(φP−φQ)Λis a finite Borel measure as defined by Eq. (26), it is therefore a tempered dis- tribution and so(φP−φQ)Λ = [[(φP−φQ)Λ]∨]∧= 0. Let θ:=φP−φQ. Clearlyθ∈Sd0as by Lemma 20,φP, φQ∈ Sd0. So,p−q= (φP)∨−(φQ)∨= (φP −φQ)∨= ˇθ.

θ = 0trivially satisfies(ii)in Lemma 15. However, it vio- lates our assumption ofP 6=Qwhen it is used in condition

10If Λis absolutely continuous w.r.t. the Lebesgue measure, thenΨrepresents the Radon-Nikodym derivative ofΛw.r.t. the Lebesgue measure. In such a case,ψis the Fourier transform of Ψin the usual sense; i.e.,ψ(x) =R

Rde−ixTωΨ(ω)dmd(ω). On the other hand, ifΨis the distributional derivative ofΛ, thenΨis a symbolic representation of the derivative ofΛand will make sense only under the integral sign.

(i). If we relax this assumption, then the result is trivial as P =Q ⇒ γF(P, Q) = 0. For the results we derive later, it is important to understand the properties ofθ, which we present in the following proposition.

Proposition 16 (Properties ofθ) θin Lemma 15 satisfies the following properties:

(a) θis a conjugate symmetric, bounded and uniformly con- tinuous function onRd.

(b) θ(0) = 0.

(c) supp(θ)⊂Rd\ΩwhereΩ :=supp(Λ). In addition, if Ω ={a1, a2, . . .}, thenθ(aj) = 0,∀aj∈Ω.

Proof:(a)From Lemma 15, we haveθ=φP−φQ. There- fore, the result in(a)follows from Lemma 20, which shows that φP, φQ are conjugate symmetric, bounded, and uni- formly continuous functions onRd.

(b)By Lemma 20,φP(0) =φQ(0) = 1. Therefore,θ(0) = φP(0)−φQ(0) = 0.

(c)Let W := {x ∈ Rd|θ(x) 6= 0}. It suffices to show that W ⊂ Rd\Ω. SupposeW is not contained inRd\Ω.

Then there is a non-empty open subsetU such thatU ⊂ W ∩(Ω∪∂Ω). Fix further a non-empty open subset V withV ⊂ U. SinceV ⊂ Ω, there is ϕ ∈ Dd(V)with Λ(ϕ) 6= 0. Take h ∈ Dd(U)such thath = 1onV, and define a continuous function%= hϕθ onRd, which is well- defined from supp(h) ⊂ U andθ 6= 0on U. By (ii) of Lemma 15,θΛ = 0, whereθΛis a finite Borel measure on Rdas defined by Eq. (26). Therefore,

Z

Rd

%(x)θ(x)dΛ(x) = 0. (15) The left hand side of Eq. (15) simplifies to

Z

Rd

%(x)θ(x)dΛ(x) = Z

U

h(x)ϕ(x)

θ(x) θ(x)dΛ(x)

= Z

U

ϕ(x)dΛ(x) = Λ(ϕ)6= 0, resulting in a contradiction. So, supp(θ)⊂Rd\Ω.

IfΩ = {a1, a2, . . .}, thenΛ = P

aj∈Ωβjδaj,βj > 0 andP

jβj < ∞. θΛ = 0impliesR

Rdχ(x)θ(x)dΛ(x) = P

jβjχ(aj)θ(aj) = 0for any continuous functionχinRd. This impliesθ(aj) = 0,∀aj ∈Ω.

Lemma 15 provides conditions under whichγF(P, Q) = 0 whenP 6=Q. It shows that the kernelkcannot distinguish betweenP andQifP is related toQby condition(i). Con- dition(ii) in Lemma 15 says thatθ has to be chosen such that its support is disjoint with that of the kernel spectrum.

This is what is precisely captured by(c)in Proposition 16.

So, for a givenQ, one can constructPsuch thatP 6=Qand γF(P, Q) = 0by choosingθthat satisfies the properties in Proposition 16. However,Pshould be a positive distribution so that it corresponds to a positive measure.11 Therefore,

11A positive distribution is defined to be as the one that takes nonnegative values on nonnegative test functions. So,D∈Dd0(M)

図

Table 1: k satisfies Assumption 1 and is the Fourier transform of a finite nonnegative Borel measure Λ on R d
Figure 1: Behavior of the empirical estimate of γ F 2 (P, Q) w.r.t. ν for the (a) B 1 -spline kernel and (b) Gaussian kernel

参照

関連したドキュメント

In particular, Proposition 2.1 tells you the size of a maximal collection of disjoint separating curves on S , as there is always a subgroup of rank rkK = rkI generated by Dehn

As explained above, the main step is to reduce the problem of estimating the prob- ability of δ − layers to estimating the probability of wasted δ − excursions. It is easy to see

BOUNDARY INVARIANTS AND THE BERGMAN KERNEL 153 defining function r = r F , which was constructed in [F2] as a smooth approx- imate solution to the (complex) Monge-Amp` ere

The measure µ is said to be an invariant measure of F if and only if µ belongs to the set of probability measures on X (i.e. According to Katok and Hasselblatt [20, Th.. for

If two Banach spaces are completions of a given normed space, then we can use Theorem 3.1 to construct a lin- ear norm-preserving bijection between them, so the completion of a

We consider the Cauchy problem periodic in the spatial variable for the usual cubic nonlinear Schrödinger equation and construct an infinite sequence of invariant mea- sures

We consider the Cauchy problem periodic in the spatial variable for the usual cubic nonlinear Schrödinger equation and construct an infinite sequence of invariant mea- sures

The aim of this paper is not only to give solution spaces in an abstract form but also to give algorithms to construct all the solutions for given differential equations of the form