# Two-sample Statistics Based on Anisotropic Kernels

arXiv: https://arxiv.org/abs/1709.05006 · HTML: https://mlsanity.com/paper/1709.05006/

## Key facts

- Cited by 6 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 14 Sep 2017.

## Built on by (most cited first, 6 of 6)

- [Neural Tangent Kernel Maximum Mean Discrepancy](https://mlsanity.com/paper/2106.03227/) (2021)
- [Supervised learning of sheared distributions using linearized optimal transport](https://mlsanity.com/paper/2201.10590/) (2022)
- [Kernel Two-Sample Tests for Manifold Data](https://mlsanity.com/paper/2105.03425/) (2021)
- [Kernel distance measures for time series, random fields and other structured data](https://mlsanity.com/paper/2109.14752/) (2021)
- [Point Cloud Classification via Deep Set Linearized Optimal Transport](https://mlsanity.com/paper/2401.01460/) (2024)
- [LINSCAN -- A Linearity Based Clustering Algorithm](https://mlsanity.com/paper/2406.17952/) (2024)

## Abstract (arXiv)

The paper introduces a new kernel-based Maximum Mean Discrepancy (MMD) statistic for measuring the distance between two distributions given finitely-many multivariate samples. When the distributions are locally low-dimensional, the proposed test can be made more powerful to distinguish certain alternatives by incorporating local covariance matrices and constructing an anisotropic kernel. The kernel matrix is asymmetric; it computes the affinity between n data points and a set of nR reference points, where nR can be drastically smaller than n. While the proposed statistic can be viewed as a special class of Reproducing Kernel Hilbert Space MMD, the consistency of the test is proved, under mild assumptions of the kernel, as long as |p-q| √n → ∞ , and a finite-sample lower bound of the testing power is obtained. Applications to flow cytometry and diffusion MRI datasets are demonstrated, which motivate the proposed approach to compare distributions.
