FastMMD: Ensemble of Circular Discrepancy for Efficient Two-Sample Test

被引:33
|
作者
Zhao, Ji [1 ]
Meng, Deyu [2 ]
机构
[1] Carnegie Mellon Univ, Inst Robot, Pittsburgh, PA 15213 USA
[2] Xi An Jiao Tong Univ, Sch Math & Stat, Xian 710049, Peoples R China
关键词
STATISTICS;
D O I
10.1162/NECO_a_00732
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The maximum mean discrepancy (MMD) is a recently proposed test statistic for the two-sample test. Its quadratic time complexity, however, greatly hampers its availability to large-scale applications. To accelerate the MMD calculation, in this study we propose an efficient method called FastMMD. The core idea of FastMMD is to equivalently transform the MMD with shift-invariant kernels into the amplitude expectation of a linear combination of sinusoid components based on Bochner's theorem and Fourier transform (Rahimi & Recht, 2007). Taking advantage of sampling the Fourier transform, FastMMD decreases the time complexity for MMD calculation from O(N-2 d) to O(LN d), where N and d are the size and dimension of the sample set, respectively. Here, L is the number of basis functions for approximating kernels that determines the approximation accuracy. For kernels that are spherically invariant, the computation can be further accelerated to O(LN log d) by using the Fastfood technique (Le, Sarlos, & Smola, 2013). The uniform convergence of our method has also been theoretically proved in both unbiased and biased estimates. We also provide a geometric explanation for our method, ensemble of circular discrepancy, which helps us understand the insight of MMD and we hope will lead to more extensive metrics for assessing the two-sample test task. Experimental results substantiate that the accuracy of FastMMD is similar to that of MMD and with faster computation and lower variance than existing MMD approximation methods.
引用
收藏
页码:1345 / 1372
页数:28
相关论文
共 50 条
  • [1] Two-sample test based on maximum variance discrepancy
    Makigusa, N.
    [J]. COMMUNICATIONS IN STATISTICS-THEORY AND METHODS, 2024, 53 (15) : 5421 - 5438
  • [2] New two-sample test utilizing interpoint distance discrepancy
    Xu, Dong
    [J]. STAT, 2024, 13 (03):
  • [3] A TWO-SAMPLE TEST
    Moses, Lincoln E.
    [J]. PSYCHOMETRIKA, 1952, 17 (03) : 239 - 247
  • [4] Efficient and adaptive nonparametric test for the two-sample problem
    Ducharme, GR
    Ledwina, T
    [J]. ANNALS OF STATISTICS, 2003, 31 (06): : 2036 - 2058
  • [5] A Witness Two-Sample Test
    Kuebler, Jonas M.
    Jitkrittum, Wittawat
    Schoelkopf, Bernhard
    Muandet, Krikamol
    [J]. INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND STATISTICS, VOL 151, 2022, 151
  • [6] A Kernel Two-Sample Test
    Gretton, Arthur
    Borgwardt, Karsten M.
    Rasch, Malte J.
    Schoelkopf, Bernhard
    Smola, Alexander
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2012, 13 : 723 - 773
  • [7] AutoML Two-Sample Test
    Kuebler, Jonas M.
    Stimper, Vincent
    Buchholz, Simon
    Muandet, Krikamol
    Schoelkopf, Bernhard
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35, NEURIPS 2022, 2022,
  • [8] On two-sample McNemar test
    Xiang, Jim X.
    [J]. JOURNAL OF BIOPHARMACEUTICAL STATISTICS, 2016, 26 (02) : 217 - 226
  • [9] A Two-sample Nonparametric Test for Circular Data– its Exact Distribution and Performance
    S. Rao Jammalamadaka
    Stéphane Guerrier
    Vasudevan Mangalam
    [J]. Sankhya B, 2021, 83 : 140 - 166
  • [10] Manifold energy two-sample test
    Chu, Lynna
    Dai, Xiongtao
    [J]. ELECTRONIC JOURNAL OF STATISTICS, 2024, 18 (01): : 145 - 166