Two-Sample Testing via Generative Processes
Abstract
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 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.
Create a lesson
Related papers
Two-Sample Testing for Random Graphs without Vertex Correspondence
Shared title terminology · Soham Dan
Two-Sample Testing via Path-based Inference
Shared title terminology · Eshant English, Wei-Cheng Lai, Yanfeng Yang et al.
A Critical Look at Power Sampling when Test Time Sharpening LLMs
Shared title terminology · Abiel Malkani Talwar, Christopher Nemeth, Henry Moss
From Imbalance to Evidence: Deep Nonparametric Testing for Complex Data under Severe Sample Imbalance
Shared title terminology · Guanhao Zhou, Xiufan Yu
Scalable Logistic Gaussian Process Density Regression with Kinetic Langevin Sampling
Shared title terminology · Daniel Paulin, Ádám Jung, András A. Benczúr
Gradient-Free Sampling from Generative Models via Stochastic Bounded Extremum Seeking
Shared title terminology · Alexander Scheinker