Fast Two-Sample Testing with Analytic Representations of Probability Measures

By Kacper P. Chwialkowski, Aaditya Ramdas, Dino Sejdinovic, Arthur Gretton. 2015

169 citations recorded by the source corpus.

We propose a class of nonparametric two-sample tests with a cost linear in the sample size. Two tests are given, both based on an ensemble of distances between analytic functions representing each of the distributions. The first test uses smoothed empirical characteristic functions to represent the distributions, the second uses distribution embeddings in a reproducing kernel Hilbert space. Analyticity implies that differences in the distributions may be detected almost surely at a finite number of randomly chosen locations/frequencies. The new tests are consistent against a larger class of alternatives than the previous linear-time tests based on the (non-smoothed) empirical characteristic functions, while being much faster than the current state-of-the-art quadratic-time kernel-based or energy distance-based tests. Experiments on artificial benchmarks and on challenging real-world testing problems demonstrate that our tests give a better power/time tradeoff than competing approaches, and in some cases, better outright power than even the most expensive quadratic-time tests. This performance advantage is retained even in high dimensions, and in cases where the difference in distributions is not observable with low order statistics.

Subfields: Artificial Intelligence, Management Science and Operations Research, Statistics and Probability, Statistical Learning Theory

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Bernhard Schölkopf
  2. Arthur Gretton
  3. Bharath K. Sriperumbudur
  4. Kenji Fukumizu
  5. David Lopez-Paz
  6. Krikamol Muandet
  7. Mingsheng Long
  8. Jianmin Wang

In Management Science and Operations Research

  1. Arthur Gretton
  2. Balaji Lakshminarayanan
  3. Bernhard Schölkopf
  4. David Lopez-Paz
  5. Maxime Oquab
  6. Dino Sejdinovic
  7. Kacper P. Chwialkowski
  8. Mingsheng Long

In Statistics and Probability

  1. Arthur Gretton
  2. Kenji Fukumizu
  3. Bharath K. Sriperumbudur
  4. Bernhard Schölkopf
  5. Krikamol Muandet
  6. Dino Sejdinovic
  7. David Lopez-Paz
  8. Kacper P. Chwialkowski

In Statistical Learning Theory

  1. Arthur Gretton
  2. Bharath K. Sriperumbudur
  3. Kenji Fukumizu
  4. Bernhard Schölkopf
  5. Krikamol Muandet
  6. Dino Sejdinovic
  7. David Lopez-Paz
  8. Kacper P. Chwialkowski

Citations in the corpus