Comparing distributions: ℓ1 geometry improves kernel two-sample testing
Not on the map. Why?
Abstract (arXiv)
Are two sets of observations drawn from the same distribution? This problem is a two-sample test. Kernel methods lead to many appealing properties. Indeed state-of-the-art approaches use the L2 distance between kernel-based distribution representatives to derive their test statistics. Here, we show that Lp distances (with p≥ 1) between these distribution representatives give metrics on the space of distributions that are well-behaved to detect differences between distributions as they metrize the weak convergence. Moreover, for analytic kernels, we show that the L1 geometry gives improved testing power for scalable computational procedures. Specifically, we derive a finite dimensional approximation of the metric given as the ℓ1 norm of a vector which captures differences of expectations of analytic functions evaluated at spatial locations or frequencies (i.e, features). The features can be chosen to maximize the differences of the distributions and give interpretable indications of how they differs. Using an ℓ1 norm gives better detection because differences between representatives are dense as we use analytic kernels (non-zero almost everywhere). The tests are consistent, while much faster than state-of-the-art quadratic-time kernel-based tests. Experiments on artificial and real-world problems demonstrate improved power/time tradeoff than the state of the art, based on ℓ2 norms, and in some cases, better outright power than even the most expensive quadratic-time tests.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 0; 2024: 0; 2025: 2.
5 papers.
- 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matricescited by 62
- 2021An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddingscited by 12
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testingcited by 1
- 2022Synthetic Power Analyses: Empirical Evaluation and Application to Cognitive Neuroimagingcited by 0
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approachcited by 0
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testing12 Oct 2025
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approach17 Jul 2025
- 2022Synthetic Power Analyses: Empirical Evaluation and Application to Cognitive Neuroimaging11 Oct 2022
- 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matrices23 Sep 2022
- 2021An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddings28 Oct 2021