- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
Authors propose a subquadratic estimator for the MMD, valid for a small collection of kernels. This estimator achieves a complexity while sacrificing no testing power for separable kernels (leading to minimax optimality), while controlling the error for almost separable kernels (leading to minimax optimality, under certain conditions). They also studied the minimax optimality under the growing dimensionality regime, and modeled a latent low-dimensional setting. In their experiment section authors showcase their approach against a collection of baselines, where they achieved equal power to the V-estimator, while being significantly faster.
Strengths and weaknesses
Strengths
-
The fast computation of the MMD is an important and non-trivial problem. Providing a subquadratic estimator that does not require any distributional conditions would be valuable to the community.
-
The authors introduce a new definition of kernels [separable and -separable kernels] for which their estimator is suited. While very restrictive, they show that many of the popular kernels are in the class.
-
The experiment section checks some of the theoretical results [mainly, that -APS/AOS kernels achieve the same power as the V-statistic in low-dimensional settings].
-
The paper is well written and is clear. It is easy to follow and understand the author's arguments.
Weaknesses
While I am favorable towards the content and theoretical derivations of this manuscript, I believe that it contains certain weaknesses that pull it below the acceptance threshold.
-
While authors prove (Theorem 2) that one may achieve minimax optimality for large enough (and a precisely chosen kernel), the test error is separated to that of the V-statistic by a value . This does not scale with the number of samples, but it does (exponentially so) with the number of dimension in the case of -AOS kernels (see Theorem 1). Authors do not justify the use of these approximately separable kernels in practice, neither by proving that the can be controlled theoretically, nor by showing that in practice one may mitigate this scaling (more about the experiments later). This is very important, as the class of PS and OS separable kernels seem to be very small (the only known is the Laplace kernel), and there is no characterization available.
-
The experimental evaluation is lacking. While authors have experimented on small toy datasets, they only tested their results from Lemma 1 ( test error control using APS and AOS kernels). The (very important) questions regarding the scaling with dimensionality (see above) and its suitability in the growing dimensionality regime (Lemma 2) are left unchecked. The lack of proper evaluation is aggravated by the fact that the code is not available.
-
The limitations where not properly addressed. More about that in the Limitations section.
Questions
I believe this article could be raised above the threshold of acceptance if the authors tackle the following questions.
Q1) The scaling in dimensionality plays a heavy roll in the test error in the case of AOS kernels (as we can see in Lemma 1). When one construct the AOS kernels via the product kernel, we can see how this error scales exponentially with the dimensionality (see Theorem 1). While there are experiments, these are limited to kernels in and . Could the authors extend their experiments from Section 5 to test a growing dimensionality setup (say, )? Would the performance of AOS kernels greatly deteriorate, or can it be controlled (via rescalling tricks)?
Q2) Why did the authors leave out important baselines like the Nyström MMD [1] or the RFF MMD [2]? These Nyström/RFF-accelarated estimators are used extensively in the kernel literature.
Q3) The baselines included in the experiments are not completely clear. What is the "full MMD" and how it relates with the V-statistic ("linear MMD")?
Q3) The limitations are under-reported. Could the authors consider introducing them more in detail (see next section)?
Limitations
While the theoretical results are solid, this paper has clear limitations that are not properly addressed with the corresponding severity in the article, nor addressed in their conclusion (no limitations section is available). For instance,
-
The total amount of kernels that are APS or AOS is very limited. This paper's selling point is that it does not have strict distributional assumptions unlike other estimators [1]. However, while the estimator may be free of severe distributional limitations, the number of kernels that can be coupled with it is limited. This can pose a great limitation if this estimator is to be used outside of two sample testing (like in g.o.f. testing, where one employs a Stein kernel [3]).
-
No known way of characterizing separable (of any kind) kernels exists. This greatly limits the applicability of this estimator due to the aforementioned scarcity of such kernels.
Minor comment: Some references seem to have formatting issues ([27], for instance).
References
[1] Antoine Chatalic, Marco Letizia, Nicolas Schreuder, and Lorenzo Rosasco. A scalable Nyström based kernel two-sample test with permutations, 2025, ArXiV.
[2] Soumya Mukherjee, and Bharath Sriperumbudur. Minimax Optimal Kernel Two-Sample Tests with Random Features, 2025, ArXiV.
[3] Florian Kalinke, Zoltán Szabó, and Bharath Sriperumbudur. Nyström Kernel Stein Discrepancy, 2025, AIStats.
Paper formatting concerns
None
Final justification
I believe the authors answered my concerns and have greatly improved the manuscript by adding the extra experiments showing the usability of the approach. Given this, and the other positive reviews and rebuttals, I lean towards acceptance.
We greatly appreciate the reviewer for the positive assessment of the paper’s theoretical contributions and constructive comments. We clarify below the dimensional dependence, kernel scope, experiments, baselines, and limitations.
W1: Control on δ
We first clarify that the error δ in approximating the MMD U-statistic is tunable rather than fixed independently of N. In Theorem 2, we choose δ≲N−4s/(4s+d) and show that the required number of separable components remains polylogarithmic in N for fixed d. Our class is not limited to Laplace: half-integer Matérn kernels admit exact finite separable representations, while Gaussian and inverse multiquadric kernels admit exponentially accurate, kernel-specific approximations that need not take the Laplace-kernel form.
W2: Lack of experiments
Please see Q1 below.
Q1: Error scaling with dimension
We thank the reviewer for suggesting this experiment. We added a growing-dimensional stress test with n=m=1024 and d∈{2,4,…,20}, with the null being the standard Gaussian and mean-shift alternative affecting every coordinate. We compare with full Gaussian MMD (unapproximated kernel matrix) with approximation budgets Ri∈{3,5,7}. We note that the variance-shift alternative gave similar results.
Even when the statistic has large relative error (∣MMDAOS−MMD∣/∣MMD∣) for small Ri, power and p-value errors remain small because the relative error need not translate into permutation-test error; for example, positive kernel rescaling changes relative error yet leaves the permutation test unchanged.
The dimensional degradation is observable when the approximation budget is too small, but a modest increase in the budget controls it well through d=20 in these experiments. We will add these results and clarify that they provide empirical evidence over the tested range rather than removing the worst-case exponential dependence on d.
Mean-shift by μ=.05 — Power
Mean-shift by μ=.05 — Relative error in the statistic
Mean-shift by μ=.05 — p-value error
As an extension of the Section 5 experiments, we evaluate the practical power of PCA-Fenwick as the ambient dimension increases. Under the null, both samples follow a product of d standard Gaussians, with d∈{8,16,24,32,40}. The first alternative changes the variance to 1.2 in the first three coordinates, while the second changes it to 1.1 in the first eight coordinates. We retain four PCA components. As expected, PCA-Fenwick maintains high power in the first setting, where the retained subspace contains the signal, but its power decreases more rapidly in the second, where the signal dimension exceeds the number of retained components.
PCA experiment (k=3, σ2=1.2)
PCA experiment (k=3, σ2=1.1)
Q2. Comparison with Nyström MMD [1] or the RFF MMD [2]
We have now added comparisons to both [1] and [2]. Nyström and RFF apply more broadly and are better suited to high-dimensional settings (where our algorithm would run slow in practice), whereas our method requires low-dimensional OS/AOS structure. Nyström may lose power with too few landmarks relative to the effective dimension, while RFF may lose power with too few features to capture the relevant spectrum. In contrast, our method is exact for OS kernels and deterministically controlled by δ for AOS kernels. In our new Gaussian-mixture experiment, Fenwick tracks full MMD while both Nyström and RFF show a power gap. We therefore view these methods as complementary rather than uniformly ordered.
For this comparison, we use the two-dimensional Gaussian-grid benchmark of Gretton et al. (2012b): equally weighted mixtures on a 3×3 grid with spacing 10, covariance I2 under the null, and covariance [1\0.60.61] under the alternative, so the difference is only in the local correlation structure. We follow their bandwidth choice.
Q3: "full MMD" and "linear MMD"?
In our experiments, “Full MMD” denotes the standard quadratic-time unbiased MMD U-statistic defined in Section 2.2. “Linear MMD” denotes the linear-time unbiased estimator obtained by retaining only a linear number of disjoint pair terms from the full quadratic U-statistic, see e.g., Gretton et al. (2012a).
Limitations
We agree that our method imposes a structural requirement on the kernel, and is limited to Rd. Our current results cover Laplace, half-integer Matérn, Gaussian, and inverse multiquadric kernels, and as the reviewer points out, we do not claim analogous approximation guarantees for an arbitrary characteristic kernel. We focus on these four kernels because we restrict our attention to Rd, where they are among the popular characteristic kernels commonly used in practice (see, e.g., Muandet et al., 2017, Table 3.1). Our theoretical guarantees allow arbitrary product kernels formed from these kernels. Extending the framework to additional characteristic kernels on Rd, or obtaining a more general characterization of kernels admitting efficient separable approximations, would be an interesting future direction. We also clarify that our method can be applied straightforwardly to MMD-based GoF testing, which is minimax optimal in Rd. Li and Yuan, 2024 show that an MMD test using its asymptotic distribution is minimax optimal, and the analysis on the permutation procedure in Schrab et al. (2023) can be used for goodness-of-fit testing (also, see the comments in Hagrass et al. (2025, page 3)). We expect that our fast kernel-sum computation could apply to such MMD permutation GoF testing. KSD is also widely used for goodness-of-fit testing, but since the present paper focuses on MMD rather than Stein kernels, extending our approximation framework to KSD is left for future work.
References
Muandet, K., Fukumizu, K., Sriperumbudur, B. K., and Schölkopf, B. Kernel Mean Embedding of Distributions. Foundations and Trends in Machine Learning (2017).
Schrab, A., Kim, I., Albert, M., Laurent, B., Guedj, B., and Gretton, A. MMD Aggregated Two-Sample Test. JMLR (2023).
Gretton, A., Borgwardt, K. M., Rasch, M. J., Schölkopf, B., and Smola, A. A Kernel Two-Sample Test. JMLR (2012a).
Gretton, A., Sejdinovic, D., Strathmann, H., Balakrishnan, S., Pontil, M., Fukumizu, K., and Sriperumbudur, B. K. Optimal Kernel Choice for Large-Scale Two-Sample Tests. NIPS (2012b).
Hagrass, O., Sriperumbudur, B. K., and Li, B. Spectral Regularized Kernel Goodness-of-Fit Tests. JMLR (2024).
Li, T., and Yuan, M. On the Optimality of Gaussian Kernel Based Nonparametric Tests against Smooth Alternatives. JMLR (2024).