52
9

Kernel Two-Sample Tests for Manifold Data

Abstract

We present a study of kernel based two-sample test statistic, which is related to the Maximum Mean Discrepancy (MMD), in the manifold data setting, assuming that high-dimensional observations are close to a low-dimensional manifold. We characterize the test level and power in relation to the kernel bandwidth, the number of samples, and the intrinsic dimensionality of the manifold. Specifically, we show that when data densities are supported on a dd-dimensional sub-manifold M\mathcal{M} embedded in an mm-dimensional space, the kernel two-sample test for data sampled from a pair of distributions (p,q)(p, q) that are H\"older with order β\beta is consistent and powerful when the number of samples nn is greater than δ2(p,q)2d/β\delta_2(p,q)^{-2-d/\beta} up to certain constant, where δ2\delta_2 is the squared 2\ell_2-divergence between two distributions on manifold. Moreover, to achieve testing consistency under this scaling of nn, our theory suggests that the kernel bandwidth γ\gamma scales with n1/(d+2β)n^{-1/(d+2\beta)}. These results indicate that the kernel two-sample test does not have a curse-of-dimensionality when the data lie on a low-dimensional manifold. We demonstrate the validity of our theory and the property of the kernel test for manifold data using several numerical experiments.

View on arXiv
Comments on this paper