- Rating
- 4
- Clarity
- 1
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper reframes data-driven kernel selection for MMD two-sample testing as model selection over composite kernels , with a fixed bounded-Lipschitz base kernel and a learnable feature map, unifying bandwidth, polynomial-feature, and deep-kernel selection. Applying a two-sample uniform concentration inequality (Ni and Huo, 2024) keeps the empirical-to-population bound valid at the data-driven , yielding the subtractive criterion (which, unlike a ratio, resists variance collapse) and a post-selection power lower bound. Deployment splits the sample — kernel selected on one half, permutation test on the other — giving exact Type-I control and per-test cost independent of class size (). Experiments span linear, polynomial, and deep regimes plus the Higgs dataset, where one calibrated criterion matches or exceeds regime-specific baselines.
Strengths and weaknesses
Strengths
- The reframing of data-driven kernel selection as model selection, with a uniform concentration bound as the tool that restores validity at the data-driven choice, is a clarifying idea.
- The composite-kernel form unifying the three regimes is elegant and the subtractive-vs-ratio diagnosis of variance collapse is sharp.
- The fact that the per-test cost is independent of class size is an interesting property that can prove useful in real-world applications.
- The evaluation is well designed: each regime is paired with its natural baseline, the class-richness sweep (Figure 1) cleanly isolates the Liu-collapse / Plain-overfit failure modes.
- The appendix is very thorough and interesting.
Weaknesses
- The paper is very hard to read. The quantities differ in kind but only by a hat and a star; appears in Eq. (1) before the reader learns it is a fitted quantity ~3 OOM below the theoretical ; and the misuse of "absolute constant" makes formal statements read stronger than the proofs support. The appendix is necessary to fully understand the main body of the paper (and contains the actual formulation of the theoretical guarantees claimed in the introduction). I think this paper needs more than 9 pages to fully explain its ideas.
- The abstract states that "any fixed kernel inherently fails to distinguish certain distributions``which is, as written, false: characteristic kernels yield injective mean embeddings; the authors probably meant that the choice of kernel heavily affects power.
- The power guarantee is overscoped as stated. Cor. G.7 is proven with the worst-case , which the authors show (Appendix F.6) makes the threshold unreachable at their sample sizes; deployment substitutes calibrated (defined in eq. (11)), with no result certifying the substituted inequality. Since enlarges the LHS of (16), the substitution makes the certificate less conservative, so it cannot inherit the guarantee. "We prove that CP-MMD maximizes true test power" is unsupported on two counts: "maximizes" is never established (§3.2 maximizes a lower bound), and "prove" elides the gap.
- is design-dependent. depends on the imbalance ratio (listed, incorrectly, among "universal regularity quantities") and scales as under imbalance; 30 is its value only at the balanced corner.
- The central deep-regime precondition is circular and asserted as fact. Theorem 3.4 requires a fixed, data-independent finite-Lipschitz ball, and §3.2 states lies in such a ball as though established. But the radius is read off the realized trajectory, so a data-measured radius cannot define a data-independent ball; and the class as written (eq. 10, ) is unbounded, with Appendix H.2 silently substituting the constrained set . The only support is the Appendix E spectral plateau — an empirical observation, not a theorem. Proposition 3.5 and Corollary G.7 both rest on this.
- Missing assumption. The polynomial proxy's Lipschitz bound holds only on bounded inputs (Appendix H.2), yet the polynomial experiments use unbounded-support Gaussian and Student- data.
Questions
- Why is calibrated at width 200 specifically? Table 4 shows it varies across , so the anchor is not innocuous. Relatedly, with the "take the max" convention is a thin basis for a 95th percentile. What happens when grows? Can you get larger "well-behaved widths" ?
- Every experiment, calibration table, and the held-out McDiarmid lemma assume balanced . Under imbalance, does the calibration still yield a sensible , and is power retained?
- The experiments vary the signal/class at small but never fix the alternative and grow . Is CP-MMD's advantage a general improvement or a small-sample effect that vanishes once a crude kernel suffices? A fixed-shift-vs- curve would settle this; the Higgs trend (Median catching up at ) hints at the latter.
- On Figure 3b: CP-MMD's selection cost is paid up front and excluded from per-test timing, while MMDAgg has no training phase? Can you report total wall-clock time including selection?
- Beyond the polynomial/kurtosis case, what kind of distributional difference makes a learned composite kernel actually beat a fixed-bandwidth or aggregation baseline? On Higgs, Median matches at and beats CP-MMD at , and the deep-regime Table 2 is entirely Gaussian mean-shift, a regime you call benign.
- When is your composite kernel a characteristic kernel, should you have more assumptions on to ensure that, under , for all ? Should you constrain the class of function to only contain functions in some Lipschitz ball ?
- Can you comment on the calibration of , namely if I read correctly that the calibration procedure in Appendix F.2 uses with to approximate ? Am I missing something here?
- Could Corollary G.7 be used as a sanity check when using the method to detect failure? Can you comment on experiments where you saw that behaviour?
- On line 232, should it be rather than (as is not random)?
Limitations
yes
Paper formatting concerns
none
Final justification
Based on the answers from the authors, notably about the Lipschitz ball, I believe my grade for quality needs to go up needs to go up.
Line numbers refer to the submitted PDF. We answer all fifteen points; the length limit forces brevity and we are glad to expand any of them.
On the 9-page question. The derivation runs from line 29 to line 317 without leaving the body: motivation (29–33), Lemma 2.1 (151–159), the gap (34–41), the composite reframing (59–67), the UCI (191–198), the certificate (203–210), the complexity proxy (215–222), calibration (226–245), the criterion (252–254), the protocol (255–260), the evidence (270–317). Cor. G.7's inequality and its constants sit with its proof in App. G; we will add a one-sentence statement at 103 of what it establishes, plus an appendix roadmap.
W1, notation and Ĉ₁ at Eq. (1). The fact that Ĉ₁ is a calibrated empirical constant is mentioned on the next line (83). The notation difference rests on their relationship that we planned to expose, stated at 244–247: C₁ is Thm. 3.4's worst case, Ĉ* the H₀ quantile of γ̂²/G̃ that C₁ bounds, Ĉ₁ that quantile from n_cal permutations. "Absolute constant" appears twice, for c_H (217) and c_deep (App. H), each qualified in the same sentence; C₁ is never described so. We will add a Ĉ* row to the notation table for clarification.
W2, "any fixed kernel fails to distinguish". Two different statements, both true. Characteristic kernels give γ² > 0 whenever P ≠ Q; ours is about the two-sample test that kernel induces. Lemma 2.1 (151–159) constructs, for any fixed Gaussian bandwidth, a family with total variation bounded below by c₀ while the population MMD tends to zero, so rejection degrades to α. The kernel is characteristic and γ² > 0 throughout, yet the test is no better than its own level. Line 32 gives the careful version. The shorthand is standard, but we will write "the two-sample test induced by any fixed kernel" in the abstract.
W3, "maximizes true test power". Thank you for the correction. Lines 18–19 are the only place where "maximizes" takes true test power as its object; Contribution 2 at 103 states it correctly as "a finite-sample test power lower bound", which is what Cor. G.7 proves. We will bring the abstract into line and name the distinction it collapsed, between the theoretical form of the criterion and the deployed one. On the substitution: C₁ carries the theoretical statement, Ĉ₁ is the deployed constant, justified by the expectation form (232–233) and computed by Eq. (11) (234–236). Cor. G.7 is proved with C₁ and stays so; we will make the App. F.6 remark at 885–886 conditional.
W4, C₁ design-dependent. The arithmetic is correct. Thm. 3.4 defines ρ* := max{N/m, N/n} (192–193), fixed by the sampling design: once set, C₁ does not vary with H or with (P,Q), which is what lets one Ĉ₁ be reused across architectures. That is what "universal" was meant to convey at 715, and we are happy to add a clarifying sentence.
W5, the Lipschitz ball. We clarify the relationship between the theoretical complexity term and its empirical proxy. The perceived inconsistency stems from a symbol collision regarding L∗, which we will correct in the revision. This adjustment leaves all theoretical guarantees strictly intact.
Finally, we note that the feasible set is established in Appendix H.2 (lines 1014, 1029), and the spectral stabilization in Appendix E provides empirical justification for deployment rather than a requirement for the proofs.
W6, bounded inputs. Thanks for comment. We will add the specific bounded inputs assumption to Proposition 3.5. Notably, in experiments the input samples instead of input distributions are considered. Consequently, our result can still be applied empirically to the distribution with unbounded support. As verified, our criterion is efficient even in the setting outside of the theoretical constraint, validating the empirical feasibility of our result.
Q1, the w = 200 anchor and n_cal. Ĉ₁ is the ratio of maximized MMD to trajectory complexity, justified by the expectation form of the UCI (232–233). The empirical MMD is non-convex, so plain maximization can terminate at a degenerate stationary point on rich classes. At w ≥ 500 it returns an empirical MMD of numerically zero and the ratio it reports is 0: what fails is the estimate of the supremum, not the inequality. We therefore calibrate at w = 200, the largest width where that maximization succeeds, and reuse it. Reuse within one family is supported by the local-to-global complexity gap (226-231, citing Bartlett et al. 2005). On n_cal, 10 is a computational choice: App. F.7 reports seed-to-seed variation of 0.7% (889–891).
Q2, balanced m = n. We will add the results for containing the m=n case. Notably, Thm. 3.4 is stated for general m and n through ρ* (192–195) and App. D carries ρ* throughout. Line 939 already gives the unbalanced held-out bound, with 4ν/min(m_t, n_t). We also ran the check: at d = 20, Δ = 0.5, N = 300 fixed, 100 reps, Ĉ₁ = 0.0114 / 0.0125 / 0.0110 with power 1.00 in all three, for (m,n) = (150,150) / (200,100) / (100,200). Ĉ₁ varies 1.14× while ρ* goes 2.00 → 3.00, so it does not follow the worst case's ρ*² scaling.
Q3, fix the alternative and grow n. We ran it on the multi-scale alternative of Fig. 2(a), 100 reps per cell, CP-MMD under the split and the median heuristic on the full sample. At Δ = 0.30, CP-MMD 0.57 / 0.83 / 1.00 / 1.00 / 1.00 against Median 0.38 / 0.33 / 0.47 / 0.80 / 1.00 for n = 50 / 100 / 200 / 400 / 800. At Δ = 0.10, CP-MMD 0.04 / 0.10 / 0.27 / 0.59 / 0.85 against 0.09 / 0.26 / 0.34 / 0.30 / 0.47. Both saturate at Δ = 0.30, as consistent tests must; what separates them is sample efficiency, 1.00 at n = 200 against n = 800. At Δ = 0.10 the gap opens with n. The small-n half of the conjecture holds and matches App. K. The advantage therefore emerges and grows with n rather than vanishing.
Q4, selection cost excluded from Fig. 3(b). Fig. 3b reports the per-test deployment cost due to the reusability of the kernel selected via CP-MMD. To answer the question, the total wall-clock time including the selection phase at d=28 and n=200 is 131 ms for CP-MMD linear and 313 ms for CP-MMD poly. Let K∗ be the number of tests at which CP-MMD's cumulative time equals MMDAgg's across B∈{5,10,20,50}:
Values of K∗<1 indicate that CP-MMD is faster than MMDAgg even for a single test. We will add a row reporting total wall-clock costs.
Q5, what makes a learned kernel win. The choice of kernel family is orthogonal to our main contribution: a kernel-selection criterion for a specified kernel family (lines 282–284). To demonstrate that CP-MMD matches competitor performance within specific model classes, we structured our baseline comparisons as follows:
We will clarify this evaluation structure in the main text. For discussion, the median heuristic relies on bulk geometry, failing when the informative scale differs from the bulk. This occurs in multi-scale mixtures (1.00 vs 0.47, Fig. 2a) and in high dimensions where noise dominates the bandwidth (1.00 vs 0.14/0.16, Table 2, d=20,n=50). Aggregation searches scales within a fixed metric, failing when the distribution difference is invisible to that metric at all bandwidths, such as differing fourth moments (0.90 vs 0.80, Fig. 2b). In contrast, CP-MMD selects the representation itself. Its penalty scales as 1/N, leading to conservative selection at small sample sizes (Higgs deep: 0.38 at n=200 vs 0.92 at n=500).
Q6, characteristic composite kernels. Characteristicness is not required by any of our statements. k_h is characteristic when k is and h is injective, which holds for x ↦ x/σ and for Ψ_p since it contains the degree-1 block; the condition on k is Sriperumbudur et al. (2010), cited at 140, and in the deep setting Liu et al. (2020) secure it through the raw-input envelope q, which Def. 3.3 places out of scope (64, 170). Under H₀, γ²(h) = 0 for every kernel and every h, so no assumption on H is needed (781). A Lipschitz ball bears on complexity rather than characteristicness.
Q7, App. F.2 and Ĉ*. Yes. Even if Ĉ* serves as a the limitation of Ĉ₁ as n_cal tends to infinity (245–246, 734–735). n_cal = 10 already leads to empirical stability. App. F.7 reports seed-to-seed variation of 0.7% (889–891).
Q8, Cor. G.7 as a failure diagnostic. Corollary G.7 serves as the formalization of Eq. (8), provding a theoretical justification of JCP. Nevertheless, as explained in the calibrating paragraph (line 226-231), the theoretical bound measuring the worst case performance cannot be directly employed in practice. The scope of this theoretical guarantee is discussed in line 1007-1011.
Q9, line 232. Thanks for the comment. We will revise to C₁G(H).