FastMMD: Ensemble of Circular Discrepancy for Efficient Two-Sample Test
Not on the map. Why?
Abstract (arXiv)
The maximum mean discrepancy (MMD) is a recently proposed test statistic for 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 of Fourier transform, FastMMD decreases the time complexity for MMD calculation from O(N2 d) to O(L N 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 which determines the approximation accuracy. For kernels that are spherically invariant, the computation can be further accelerated to O(L N log d) by using the Fastfood technique (Le et al., 2013). The uniform convergence of our method has also been theoretically proved in both unbiased and biased estimates. We have further provided a geometric explanation for our method, namely ensemble of circular discrepancy, which facilitates us to understand the insight of MMD, and is hopeful to help arouse more extensive metrics for assessing two-sample test. Experimental results substantiate that FastMMD is with similar accuracy as exact MMD, while with faster computation speed and lower variance than the existing MMD approximation methods.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 12 May 2014.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 4; 2024: 2; 2025: 3; 2026: 3.
17 papers.
Sort:
By area:
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2022Efficient Aggregated Kernel Tests using Incomplete U-statisticscited by 27
- 2022A Permutation-free Kernel Two-Sample Testcited by 21
- 2021Fair Representation: Guaranteeing Approximate Multiple Group Fairness for Unknown Taskscited by 16
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Sciencecited by 14
- 2021Learning Domain Invariant Representations in Goal-conditioned Block MDPscited by 12
- 2021Convergence of Gaussian-smoothed optimal transport distance with sub-gamma distributions and dependent samplescited by 8
- 2024Robust Kernel Hypothesis Testing under Data Corruptioncited by 7
- 2023The Conditional Cauchy-Schwarz Divergence with Applications to Time-Series Data and Sequential Decision Makingcited by 6
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learningcited by 6
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutationscited by 4
5 more
- 2025A Unified View of Optimal Kernel Hypothesis Testingcited by 4
- 2023Error Estimation for Random Fourier Featurescited by 1
- 2026Kernel-based potential mean-field games with unbiased random Fourier U-statisticscited by 1
- 2026Finite-Sample Unbiased Variance of MMD under Unbalanced Sampling: Exact Estimation and Quasi-Linear Computationcited by 0
- 2026A Splitting Method for SDE Terminal-Law Estimationcited by 0
- 2026A Splitting Method for SDE Terminal-Law Estimation11 Sep 2026
- 2026Kernel-based potential mean-field games with unbiased random Fourier U-statistics28 May 2026
- 2026Finite-Sample Unbiased Variance of MMD under Unbalanced Sampling: Exact Estimation and Quasi-Linear Computation20 Jan 2026
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learning22 Dec 2025
- 2025A Unified View of Optimal Kernel Hypothesis Testing10 Mar 2025
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutations19 Feb 2025
- 2024Robust Kernel Hypothesis Testing under Data Corruption30 May 2024
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science19 Mar 2024
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting14 Jun 2023
- 2023Error Estimation for Random Fourier Features22 Feb 2023
- 2023The Conditional Cauchy-Schwarz Divergence with Applications to Time-Series Data and Sequential Decision Making21 Jan 2023
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Time14 Jan 2023
5 more
- 2022A Permutation-free Kernel Two-Sample Test27 Nov 2022
- 2022Efficient Aggregated Kernel Tests using Incomplete U-statistics18 Jun 2022
- 2021Learning Domain Invariant Representations in Goal-conditioned Block MDPs27 Oct 2021
- 2021Fair Representation: Guaranteeing Approximate Multiple Group Fairness for Unknown Tasks1 Sep 2021
- 2021Convergence of Gaussian-smoothed optimal transport distance with sub-gamma distributions and dependent samples28 Feb 2021
- 2026A Splitting Method for SDE Terminal-Law Estimationcited by 0
- 2026A Splitting Method for SDE Terminal-Law Estimation11 Sep 2026
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2022Efficient Aggregated Kernel Tests using Incomplete U-statisticscited by 27
- 2022A Permutation-free Kernel Two-Sample Testcited by 21
- 2021Fair Representation: Guaranteeing Approximate Multiple Group Fairness for Unknown Taskscited by 16
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Sciencecited by 14
- 2021Learning Domain Invariant Representations in Goal-conditioned Block MDPscited by 12
- 2021Convergence of Gaussian-smoothed optimal transport distance with sub-gamma distributions and dependent samplescited by 8
- 2024Robust Kernel Hypothesis Testing under Data Corruptioncited by 7
- 2023The Conditional Cauchy-Schwarz Divergence with Applications to Time-Series Data and Sequential Decision Makingcited by 6
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learningcited by 6
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutationscited by 4
12 most cited of 16 All 16 (JSON)
- 2026Kernel-based potential mean-field games with unbiased random Fourier U-statistics28 May 2026
- 2026Finite-Sample Unbiased Variance of MMD under Unbalanced Sampling: Exact Estimation and Quasi-Linear Computation20 Jan 2026
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learning22 Dec 2025
- 2025A Unified View of Optimal Kernel Hypothesis Testing10 Mar 2025
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutations19 Feb 2025
- 2024Robust Kernel Hypothesis Testing under Data Corruption30 May 2024
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science19 Mar 2024
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting14 Jun 2023
- 2023Error Estimation for Random Fourier Features22 Feb 2023
- 2023The Conditional Cauchy-Schwarz Divergence with Applications to Time-Series Data and Sequential Decision Making21 Jan 2023
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Time14 Jan 2023
- 2022A Permutation-free Kernel Two-Sample Test27 Nov 2022
12 newest of 16 All 16 (JSON)