我们提出了两种基于最大均值差异(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.
Efficient Aggregated Kernel Tests using Incomplete $U$-statistics
Centre for Artificial Intelligence(人工智能中心);Gatsby Computational Neuroscience Unit(盖茨比计算神经科学研究组);University College London(伦敦大学学院);Inria London(法国国家信息与自动化研究所伦敦分部);Yonsei University(延世大学)
A Scalable Nystrom-Based Kernel Two-Sample Test with Permutations
CNRS, Univ. Grenoble-Alpes, GIPSA-lab, France e1;MaLGa Center - DIBRIS, Università di Genova, Genoa, Italy e2,e4;CNRS, Laboratoire d'Informatique Gaspard Monge, Champs-sur-Marne, France e3;CBMM - Massachusets Institute of Technology, Cambridge, MA, USA
Equivalence of distance-based and RKHS-based statistics in hypothesis testing
University College London(伦敦大学学院);University of Cambridge(剑桥大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Institute of Statistical Mathematics(统计数学研究所)
Center for Visual Computing(视觉计算中心);École Centrale Paris(巴黎中央理工学院);Gatsby Unit(盖茨比单元);University College London(伦敦大学学院);Équipe GALEN(GALEN团队);Inria Saclay(法国国家信息与自动化研究所萨克雷分部)
Integral-Operator-Based Spectral Algorithms for Goodness-of-Fit Tests
School of Mathematics and Statistics, Xi’an Jiaotong University(西安交通大学数学与统计学院);Center for Intelligent Decision-Making and Machine Learning, School of Management, Xi’an Jiaotong University(西安交通大学管理学院智能决策与机器学习中心)
Centre for Artificial Intelligence(人工智能中心);Gatsby Computational Neuroscience Unit(盖茨比计算神经科学研究组);University College London(伦敦大学学院);Inria London(法国国家信息与自动化研究所伦敦分所)
A Test of Relative Similarity For Model Selection in Generative Models
KU Leuven(鲁汶大学);CentraleSupélec(巴黎中央理工-高等电力学院);Inria Saclay(法国国家信息与自动化研究所萨克莱分院);Université Paris-Saclay(巴黎萨克雷大学);Google Deepmind(谷歌DeepMind);University College London(伦敦大学学院)
Computational-Statistical Trade-off in Kernel Two-Sample Testing with Random Fourier Features
Department of Statistics and Data Sciences, The University of Texas at Austin(德克萨斯大学奥斯汀分校统计与数据科学系);Department of Mathematical Sciences, KAIST(韩国科学技术院数学科学系)
University of Toronto(多伦多大学);Canadian Institute for Advanced Research(加拿大高等研究院)
我们考虑从数据中学习深度生成模型的问题。我们制定了一种方法,该方法通过多层感知器的单次前馈来生成独立样本,如最近提出的生成对抗网络(Goodfellow et al.,2014年)。然而,训练一个生成对抗网络需要仔细优化一个困难的极小极大程序。相反,我们利用了一种被称为最大平均差异(MMD)的统计假设检验技术,这导致了一个简单的目标,可以被解释为匹配数据集和模型样本之间的所有统计阶数,并且可以通过反向传播进行训练。我们通过将我们的生成网络与自动编码器网络相结合,使用MMD来学习生成代码,然后可以解码生成样本,从而进一步提高了这种方法的性能。我们表明,这些技术的组合产生优秀的生成模型相比,MNIST和多伦多人脸数据库上测量的基线方法。
Maximum Mean Discrepancy Test is Aware of Adversarial Attacks
Hong Kong Baptist University(香港浸会大学);The Chinese University of Hong Kong(香港中文大学);University of Technology Sydney(悉尼科技大学);RIKEN-AIP(理化学研究所人工智能研究中心);University of Sydney(悉尼大学);University of Tokyo(东京大学)
最大平均差异(MMD)是最近提出的两样本检验统计量。然而,它的二次时间复杂度,极大地阻碍了其大规模应用的可用性。为了加速MMD计算,在这项研究中,我们提出了一种高效的方法称为FastMMD。FastMMD的核心思想是基于Bochner定理和傅立叶变换将具有移位不变核的MMD等效地变换为正弦分量的线性组合的幅度期望(Rahimi & Recht,2007)。FastMMD算法利用傅立叶变换的采样特性,将MMD计算的时间复杂度从$O(N^2 d)$降低到$O(L N d)$,其中$N$和$d$分别是样本集的大小和维数。这里,$L$是用于确定近似精度的近似核的基函数的数量。对于球形不变的内核,可以通过使用Fastfood技术将计算进一步加速到$O(L N \log d)$(Le等人,2013年)的报告。在无偏估计和有偏估计下,我们的方法的一致收敛性也得到了理论证明。我们进一步提供了我们的方法的几何解释,即集合的圆形差异,这有助于我们理解MMD的洞察力,并希望有助于引起更广泛的衡量两个样本的测试。实验结果表明,FastMMD具有与精确MMD相似的精度,而与现有的MMD近似方法相比,具有更快的计算速度和更低的方差。
Robust Kernel Hypothesis Testing under Data Corruption
Centre for Artificial Intelligence(人工智能中心);Gatsby Computational Neuroscience Unit(加布特计算神经科学单位);University College London(伦敦大学学院);Inria London(伦敦研究所);Department of Statistics and Data Science(统计与数据科学系);Department of Applied Statistics(应用统计学系);Yonsei University(延世大学)
Unbiased estimators for the variance of MMD estimators
最大平均差异(MMD)是在许多应用中有用的概率分布之间的基于核的距离(Gretton et al. 2012),具有令人满意的计算和统计特性的简单估计量。能够有效地估计该估计量的方差,对解决双样本检验中的各种问题都有很大的帮助。为此,Bounliphone等人。(2016)使用U-统计量理论来推导MMD估计量方差的估计量,以及两个这样的估计量之间的差异。然而,他们的估计器丢弃了低阶项,并且不必要地存在偏差。我们在这篇笔记中表明-扩展和纠正Sutherland等人的工作。(2017)-我们可以找到一个真正的无偏估计量,用于平方MMD估计量和两个相关平方MMD估计量之差的实际方差,基本上没有额外的计算成本。
A Semi-Bayesian Nonparametric Estimator of the Maximum Mean Discrepancy Measure: Applications in Goodness-of-Fit Testing and Generative Adversarial Networks
University of Hong Kong(香港大学);University of Maryland(马里兰大学)