Two-Sample Testing via Generative Processes
Not on the map. Why?
Abstract (arXiv)
Deciding whether two samples come from the same distribution is a classical problem in statistics, and generative transport offers a new way to approach it. We build a stochastic interpolant directly between the two samples and observe that, for a symmetric schedule, its law is invariant under the time reflection t mapsto 1-t whenever the two distributions coincide. We therefore test whether the marginals at times t and 1-t agree by computing their Jensen--Shannon divergence. Both marginals are explicit mixtures over all cross-pairs of observations, so nothing is learned, and permutation calibration gives an exact finite-sample level. For Gaussian noise, this divergence equals a time integral that pairs the reflection defects of the velocity field and of the score, so the test compares transport dynamics rather than endpoints alone. With a narrow-plus-broad noise design, the test attains the minimax separation rate n-2s/(4s+d) over bounded, compactly supported densities whose difference has Sobolev smoothness s > 3d/4, with no lower bound on the densities. Fusing a dyadic grid of noise scales through their permutation ranks, without sample splitting, preserves exact level and adapts to unknown s at an iterated-logarithmic cost. Empirically, the test matches or outperforms state-of-the-art kernel two-sample tests.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 57 references that are in the map. First posted on arXiv 6 Oct 2026.
Builds on
14 of 57 references.
References · 14
- 2020AutoGluon-Tabular: Robust and Accurate AutoML for Structured Datacited by 383
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
- 2023Text-to-Image Diffusion Models are Zero-Shot Classifierscited by 143
- 2022Denoising diffusion models for out-of-distribution detectioncited by 104
- 2021Density Ratio Estimation via Infinitesimal Classificationcited by 61
- 2023Unsupervised Out-of-Distribution Detection with Diffusion Inpaintingcited by 59
- 2025On the Closed-Form of Flow Matching: Generalization Does Not Arise from Target Stochasticitycited by 50
- 2023Information-Theoretic Diffusioncited by 44
- 2016Classification accuracy as a proxy for two sample testingcited by 42
- 2021A Witness Two-Sample Testcited by 23
- 2025Diffusion-Based Hypothesis Testing and Change-Point Detectioncited by 4
- 2026Midpoint Generative Modelscited by 4
2 more
- 2026Zero-Flow Two-Sample Testscited by 3
- 2026Two-Sample Testing via Path-based Inferencecited by 1
Built on by
Not cited yet.