arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.15073stat.MLcs.LGmath.STstat.MEstat.TH
收藏

MMD聚合两样本检验

MMD Aggregated Two-Sample Test

University College London(伦敦大学学院);Inria(法国国家信息与自动化研究所);Yonsei University(延世大学);Université de Toulouse(图卢兹大学);CNRS(法国国家科学研究中心);INSA(法国国立应用科学学院)

Antonin Schrab, Ilmun Kim, Mélisande Albert, Béatrice Laurent, Benjamin Guedj, Arthur Gretton

AI总结:

本研究提出两种基于MMD的非参数两样本核检验,固定核检验可非渐近控制一类错误且具极小极大最优性,聚合检验MMDAgg可自适应光滑度参数,在合成与真实数据上均表现优异。

摘要:

我们提出了两种基于最大均值差异(Maximum Mean Discrepancy, MMD)的新型非参数两样本核检验方法。首先,针对固定核,我们利用置换法和野生自助法这两种常用的确定检验阈值的数值方法,构建了一种MMD检验。我们证明该检验能够非渐近地控制第一类错误概率,因此即使在小样本场景下也能保持良好的校准性,可被可靠使用,这与以往仅能渐近保证检验水平正确性的MMD检验不同。当密度差异位于索伯列夫球(Sobolev ball)内时,我们证明采用依赖于索伯列夫球光滑度参数的特定核的MMD检验具有极小极大最优性。在实际应用中,该参数是未知的,因此无法使用带有该特定核的最优MMD检验。为解决这一问题,我们构建了一种名为MMDAgg的聚合检验,它能够自适应于光滑度参数。该检验在所用核集合上最大化检验功效,无需预留数据用于核选择(预留数据会导致检验功效损失),也无需进行诸如中位数启发式这类的任意核选择。我们证明MMDAgg仍能非渐近地控制检验水平,并且在索伯列夫球上能达到极小极大速率,仅相差一个迭代对数项。我们的保证不限于特定类型的核,而是适用于任何一维平移不变特征核的乘积。我们利用自适应带宽集合提供了MMDAgg的易用无参数实现。我们通过实验证明,在满足索伯列夫光滑性假设的合成数据上,MMDAgg的表现显著优于其他现有最先进的基于MMD的两样本检验;而在真实图像数据上,MMDAgg的检验功效与利用神经网络等模型的检验方法十分接近。

英文摘要:

We propose two novel nonparametric two-sample kernel tests based on the Maximum Mean Discrepancy (MMD). First, for a fixed kernel, we construct an MMD test using either permutations or a wild bootstrap, two popular numerical procedures to determine the test threshold. We prove that this test controls the probability of type I error non-asymptotically. Hence, it can be used reliably even in settings with small sample sizes as it remains well-calibrated, which differs from previous MMD tests which only guarantee correct test level asymptotically. When the difference in densities lies in a Sobolev ball, we prove minimax optimality of our MMD test with a specific kernel depending on the smoothness parameter of the Sobolev ball. In practice, this parameter is unknown and, hence, the optimal MMD test with this particular kernel cannot be used. To overcome this issue, we construct an aggregated test, called MMDAgg, which is adaptive to the smoothness parameter. The test power is maximised over the collection of kernels used, without requiring held-out data for kernel selection (which results in a loss of test power), or arbitrary kernel choices such as the median heuristic. We prove that MMDAgg still controls the level non-asymptotically, and achieves the minimax rate over Sobolev balls, up to an iterated logarithmic term. Our guarantees are not restricted to a specific type of kernel, but hold for any product of one-dimensional translation invariant characteristic kernels. We provide a user-friendly parameter-free implementation of MMDAgg using an adaptive collection of bandwidths. We demonstrate that MMDAgg significantly outperforms alternative state-of-the-art MMD-based two-sample tests on synthetic data satisfying the Sobolev smoothness assumption, and that, on real-world image data, MMDAgg closely matches the power of tests leveraging the use of models such as neural networks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑