arXiv Statistics ML

PTED: A multi-dimensional two-sample test for scientific inference and generative machine learning

The article introduces PTED, a Python implementation of a permutation test based on the Energy Distance for two-sample testing in multiple dimensions. PTED uses pairwise distances to compute a test statistic that works in high dimensions, on learned feature representations, and for any data type where a distance can be defined. The authors demonstrate that PTED scales linearly with dimensions and sample size while retaining strong discriminative power, and show it outperforms other multi‑dimensional tests in sensitivity.

arXiv Machine Learning
Jul 20

Testing Distributions Against Bounded Distinguishers

arXiv:2607. 15645v1 Announce Type: cross Abstract: Motivated by the challenge of testing distributions over high-dimensional or continuous domains, we study distribution testing with respect to bounded classes of distinguishers.

By Mark Bun, Rathin Desai, Renato Ferreira Pinto Jr
arXiv Machine Learning
Jun 29

Efficient and Stable Multi-Dimensional Kolmogorov-Smirnov Distance

arXiv:2504. 11299v2 Announce Type: replace-cross Abstract: We revisit extending the Kolmogorov-Smirnov distance between probability distributions to the multi-dimensional setting, and make new arguments about the proper way to approach this generalization.

By Peter Matthew Jacobs, Foad Namjoo, Jeff M. Phillips
arXiv Machine Learning
Oct 28

Finite-Sample Sensitivity of Kernel Metrics for Generative Evaluation

The paper investigates how kernel-based metrics like KID and KAD perform as two‑sample tests on real embeddings of symbolic music, audio, and images. By applying mean shifts, isotropic contractions, and rotations to one sample, the authors find that the default kernels often fail to detect rotations at 780 samples per side, while they reliably detect mean shifts. Adjusting kernel bandwidths or using alternative kernels (e.g., narrower Gaussian, Laplace) restores sensitivity, and the authors recommend reporting the sample budget and detectable changes for any reported kernel distance.

By Tomasz Radzikowski, Mateusz Modrzejewski
arXiv AI
Jun 4

Counterfactual Explanations for Deep Two-Sample Testing

arXiv:2606. 04009v1 Announce Type: cross Abstract: Two-sample testing is a fundamental tool for detecting distributional differences across scientific domains, but classical tests (including kernel-based tests) can be ineffective on high-dimensional structured data such as images.

By Wei-Cheng Lai, Marco Simnacher, Christoph Lippert