# Exponentially Consistent Kernel Two-Sample Tests

**Authors:** Shengyu Zhu, Biao Chen, Zhitang Chen

arXiv: 1802.08407 · 2018-05-22

## TL;DR

This paper proves that a class of kernel two-sample tests are exponentially consistent, with optimal decay rates, providing theoretical guarantees and insights into kernel selection and applications like change detection.

## Contribution

It establishes the exponential consistency and optimal decay rate of kernel two-sample tests in general sample spaces, filling a key theoretical gap.

## Key findings

- Kernel two-sample tests are exponentially consistent.
- The decay rate is optimal among all tests with level constraint.
- Kernel-based tests achieve optimal detection in nonparametric change detection.

## Abstract

Given two sets of independent samples from unknown distributions $P$ and $Q$, a two-sample test decides whether to reject the null hypothesis that $P=Q$. Recent attention has focused on kernel two-sample tests as the test statistics are easy to compute, converge fast, and have low bias with their finite sample estimates. However, there still lacks an exact characterization on the asymptotic performance of such tests, and in particular, the rate at which the type-II error probability decays to zero in the large sample limit. In this work, we establish that a class of kernel two-sample tests are exponentially consistent with Polish, locally compact Hausdorff sample space, e.g., $\mathbb R^d$. The obtained exponential decay rate is further shown to be optimal among all two-sample tests satisfying the level constraint, and is independent of particular kernels provided that they are bounded continuous and characteristic. Our results gain new insights into related issues such as fair alternative for testing and kernel selection strategy. Finally, as an application, we show that a kernel based test achieves the optimal detection for off-line change detection in the nonparametric setting.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1802.08407/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1802.08407/full.md

## References

36 references — full list in the complete paper: https://tomesphere.com/paper/1802.08407/full.md

---
Source: https://tomesphere.com/paper/1802.08407