高维Kolmogorov-Smirnov距离的加速计算
Accelerated Computation of a High Dimensional Kolmogorov-Smirnov Distance
摘要:
统计检验是广泛的和关键的各种科学学科。机器学习的出现和计算能力的提高增加了对多维数据的分析和统计测试的兴趣。我们以与Fasano(Fasano,1987)类似的方式将强大的Kolmogorov-Smirnov两样本检验扩展到高维形式。我们将我们的结果称为d维Kolmogorov-Smirnov检验(ddKS),并提供了三个新的贡献:我们为给定ddKS分数的重要性开发了一个分析方程,我们提供了一个在现代计算硬件上计算ddKS的算法,该算法对于小样本量和维度具有恒定的时间复杂度,并且我们提供了ddKS的两个近似计算:一种是在较大的样本量下将时间复杂度降低到线性,另一种是随着维数的增加将时间复杂度降低到线性。我们在一个数据集上对ddKS及其近似进行了功效分析,并与其他常见的高维两样本检验和距离进行了比较:Hotelling的T^2检验和库尔贝克-莱布勒散度。我们的ddKS测试对所有测试的数据集,维度和大小都表现良好,而其他测试和距离无法拒绝至少一个数据集上的原假设。因此,我们得出结论,ddKS是一个功能强大的多维两样本测试的一般用途,并可以在一个快速和有效的方式使用我们的并行或近似的方法计算。本工作中描述的所有方法的开源实现位于https://github.com/pnnl/ddks。
英文摘要:
Statistical testing is widespread and critical for a variety of scientific disciplines. The advent of machine learning and the increase of computing power has increased the interest in the analysis and statistical testing of multidimensional data. We extend the powerful Kolmogorov-Smirnov two sample test to a high dimensional form in a similar manner to Fasano (Fasano, 1987). We call our result the d-dimensional Kolmogorov-Smirnov test (ddKS) and provide three novel contributions therewith: we develop an analytical equation for the significance of a given ddKS score, we provide an algorithm for computation of ddKS on modern computing hardware that is of constant time complexity for small sample sizes and dimensions, and we provide two approximate calculations of ddKS: one that reduces the time complexity to linear at larger sample sizes, and another that reduces the time complexity to linear with increasing dimension. We perform power analysis of ddKS and its approximations on a corpus of datasets and compare to other common high dimensional two sample tests and distances: Hotelling's T^2 test and Kullback-Leibler divergence. Our ddKS test performs well for all datasets, dimensions, and sizes tested, whereas the other tests and distances fail to reject the null hypothesis on at least one dataset. We therefore conclude that ddKS is a powerful multidimensional two sample test for general use, and can be calculated in a fast and efficient manner using our parallel or approximate methods. Open source implementations of all methods described in this work are located at https://github.com/pnnl/ddks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。