Kernel Selection is Model Selection: A Unified Complexity-Penalized Approach for MMD Two-Sample Tests
Yijin Ni, Xiaoming Huo
TL;DR. Treat MMD kernel selection as model selection: one complexity-penalized criterion enables grid-free continuous optimization across linear, polynomial, and deep kernels.
Abstract. The Maximum Mean Discrepancy (MMD) is a cornerstone statistic for nonparametric two-sample testing, but its test power is dictated entirely by the chosen kernel. Because the two-sample test induced by any fixed kernel fails to distinguish certain distributions, the kernel must be optimized from data. However, data-driven optimization violates the foundational i.i.d. assumption, forcing a strict trade-off in existing frameworks. Ratio criteria ignore this dependence, inducing overfitting and variance collapse on rich kernel classes. Conversely, aggregation methods bypass the dependence using finite grids, but this strategy cannot scale to continuous search spaces like deep kernels. To break this dichotomy, we establish data-driven kernel selection as a model selection problem. We propose Complexity-Penalized MMD (CP-MMD), a criterion derived by applying the two-sample uniform concentration inequality of Ni and Huo [2024] to the post-optimization MMD problem. The resulting penalty bounds the empirical MMD by the complexity of the kernel search space, mathematically absorbing the cost of optimization, so that CP-MMD enables direct, grid-free maximization over continuous parametric classes, including scalar bandwidths, polynomial feature bandwidths, and deep network parameters. By formally accounting for optimization complexity, we prove a finite-sample lower bound on the post-selection test power; the deployed criterion, which replaces the worst-case constants of this bound with calibrated ones, empirically maximizes test power, and sample splitting ensures unconditional Type-I validity. Consequently, CP-MMD enables grid-free kernel selection across linear, polynomial-feature, and deep regimes, matching or exceeding state-of-the-art test power.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
I have considered the reviewers’ feedback, the authors’ rebuttal, and the subsequent discussion. The paper presents an interesting approach that reframes data-driven kernel selection for MMD two-sample testing as a model selection problem, with a complexity-penalized objective and a unified treatment of different kernel regimes.
The rebuttal addressed main concerns raised during review. In particular, the authors provided additional clarification regarding the scope of the theoretical guarantees and the relationship between the formal bound and the practical criterion. The authors also identified several concrete revisions to improve the presentation, including clarifying the algorithmic pipeline and strengthening the discussion of related methods.
The remaining important point is that these changes need to be reflected carefully in the final version. In particular, the manuscript should incorporate the clarifications discussed during rebuttal, avoid overstating theoretical or empirical claims, and make the assumptions, limitations, and scope of the guarantees clearer to readers. The additional comparisons, explanations of design choices, and presentation improvements discussed during the rebuttal will be important to ensure that the contribution is properly understood and that the manuscript reaches the expected level of clarity and completeness.
Final justification
The paper was initially borderline due to concerns about the precision of its theoretical claims, the presentation of the practical criterion, comparisons with related approaches, and the clarity of the deep-kernel setting. The rebuttal improved the assessment by addressing these points and providing convincing clarifications, and the majority of reviewer feedback became more positive. However, some reviewers remained concerned that the manuscript requires significant changes in presentation and clarification. Given the overall balance of the reviews and the technical merit of the work, I recommend acceptance.
Read meta-review
Meta-review
I have considered the reviewers’ feedback, the authors’ rebuttal, and the subsequent discussion. The paper presents an interesting approach that reframes data-driven kernel selection for MMD two-sample testing as a model selection problem, with a complexity-penalized objective and a unified treatment of different kernel regimes.
The rebuttal addressed main concerns raised during review. In particular, the authors provided additional clarification regarding the scope of the theoretical guarantees and the relationship between the formal bound and the practical criterion. The authors also identified several concrete revisions to improve the presentation, including clarifying the algorithmic pipeline and strengthening the discussion of related methods.
The remaining important point is that these changes need to be reflected carefully in the final version. In particular, the manuscript should incorporate the clarifications discussed during rebuttal, avoid overstating theoretical or empirical claims, and make the assumptions, limitations, and scope of the guarantees clearer to readers. The additional comparisons, explanations of design choices, and presentation improvements discussed during the rebuttal will be important to ensure that the contribution is properly understood and that the manuscript reaches the expected level of clarity and completeness.
Final justification
The paper was initially borderline due to concerns about the precision of its theoretical claims, the presentation of the practical criterion, comparisons with related approaches, and the clarity of the deep-kernel setting. The rebuttal improved the assessment by addressing these points and providing convincing clarifications, and the majority of reviewer feedback became more positive. However, some reviewers remained concerned that the manuscript requires significant changes in presentation and clarification. Given the overall balance of the reviews and the technical merit of the work, I recommend acceptance.
3 comments
Scope of the power guarantee, Effect of calibrating, and Scope of the primary deep-kernel baseline
Precise scope of the power guarantee
The formal scope of the power guarantee is given as follows:
We propose a finite-sample lower bound for the expected value of MMD equipped with a data-dependent kernel, from the pre-specified composite-kernel class. This yields a finite-sample lower bound on the population MMD of the selected kernel and, when the bound clears the held-out testing threshold in Corollary G.7, guarantees test power of at least 1−δ−δ′ (lines 185–210 and 988–1011).
The guarantee applies to the theoretical model-selection objective over the composite-kernel class. Our deployed criterion J_CP is the practical realization of this result: it replaces the conservative global complexity and worst-case constants with a model-dependent proxy and calibrated coefficient, so its effectiveness is established empirically rather than by the same exact power certificate.
Likewise, applications outside the composite-kernel class, such as Liu’s full mixture kernel, are heuristic extensions. We will therefore revise the claim that CP-MMD “maximizes true test power” to state that the model-selection formulation yields a finite-sample post-selection power guarantee and motivates an empirically validated, grid-free optimization criterion.
Effect of learning the calibration constant and choice of plain MMD
We will separate the theoretical target
from the deployed empirical objective
The former is the formal post-selection certificate. The latter is a theory-guided practical realization obtained by replacing global class complexity with a model-dependent proxy and replacing the worst-case scale with instance-specific null-permutation calibration. We do not claim that the numerical value of J_CP itself retains the exact lower-bound guarantee after these substitutions. Rather, deriving a usable objective from the structure of the formal bound—and validating that it prevents the overfitting of plain maximization and the collapse of the ratio criterion—is part of the paper’s main contribution (current lines 203–254).
We employ the plain MMD maximization for the calibration of Ĉ₁ based on the expected formulation of UCI under H_0, as stated in line 232:
whereas the left-hand-side requires the calculation of the supremum of empirical MMD, achieved via plain-max. We will clarify that this non-convex optimization may only approximate the supremum and can fail for rich kernel class as shown for (current lines 743–778). In that case, the relationship between local and global complexity (Bartlett et al., 2005) justifies a surrogate approach. Calibrating the constant using a tighter kernel class of the same type effectively bypasses the trap of local optimizer of the non-convex optimization. Furthermore, Appendices F.6–F.8 detail the sensitivity of the test power to variations in , model architectures, and data shifts. A summary of this evidence and the clarification of choosing as the surrogate will be integrated into the main text.
Scope for the primary deep-kernel baseline
The primary deep-kernel baseline is developed under the composite kernel setting, i.e., , comparing our criterion with Liu's and the plain-max, evaluating the kernel selection performance in this specific setting.
Here, the empirical implementation of does not assume a restrictive finite Lipschitz-norm ball. This theoretical condition serves solely to construct a computable proxy for the trajectory complexity .
Deriving the complexity term in from the theoretical objective requires two steps.
- the model-independent trajectory complexity is localized into a per-iterate kernel-based complexity .
- Proposition 3.5 provides a computable surrogate by replacing the trajectory-based Lipschitz constant with a model-specific equivalent.
This finite Lipschitz requirement does not constrain the empirical formulation. Because any practical optimization process consists of finite discrete steps, the trajectory-based Lipschitz constant is strictly finite. Consequently, the mathematical condition in Proposition 3.5 is inherently satisfied by the data, validating the transition from the theoretical bound to the empirical heuristic.
Scope for the primary deep-kernel baseline (follow-up) and Cost of sample splitting
Scope for the primary deep-kernel baseline
Liu’s full ϵ-mixture lies outside our composite kernel setting as given in Definition 3.3. owever, to rigorously assess whether the composite kernel is unduly constrained, Appendix J (Table 6) provides a comprehensive cross-comparison of both optimization methods (Ours vs. Liu's) across both kernel architectures (Composite vs. Mixture), employing heuristic extension of J_CP for the ϵ-mixture kernel class. The empirical evidence demonstrates two conclusions:
-
First, the proposed optimization criterion consistently outperforms Liu's method, even when applied directly to their mixture kernel architecture.
-
Second, the composite kernel architecture outperforms the mixture kernel in all evaluated scenarios, with a single exception in a restricted, low-dimensional setting (). Even in this specific case, the composite kernel remains highly competitive, achieving a test power of 0.81 compared to the mixture kernel's 0.98. This comprehensive evaluation validates the effectiveness of both the proposed criterion and the composite kernel formulation.
Cost of sample splitting
All reported CP-MMD results use the 50/50 sample-split protocol, while the no-split baselines retain all observations under their native testing procedures. Therefore, the reported power comparisons already include the practical disadvantage of sample splitting. Despite using fewer observations for both kernel selection and testing, CP-MMD remains competitive with or outperforms the no-split alternatives across the main bandwidth, polynomial-feature, deep-kernel, and Higgs experiments. The cost is visible in the small-sample regimes: the median heuristic performs better on Higgs at n=200, and MMDAgg performs better on the Tennessee Eastman task at n=200. Thus, splitting is not cost-free, and no-split methods may be preferable when samples are very limited; however, our results show that its cost is generally offset by the benefit of supervised continuous kernel optimization in the regimes targeted by CP-MMD.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 1/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
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.
Formatting concerns
none
9 comments
Rebuttal
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 , which we will correct in the revision. This adjustment leaves all theoretical guarantees strictly intact.
- Empirical deployment (Prop 3.5): The proxy for is evaluated per iterate (Eq. 10, line 222) using the Lipschitz constant of instead of .
- Resolving the symbol collision: At line 216, should be defined as a data-independent constant where L* ≥ max_{t≤T} L(h⁽ᵗ⁾). Lines 207–208 will be updated to state that the finite trajectory set H_T is contained in a data-independent Lipschitz-norm ball {h : L(h) ≤ L*}. Because H_T contains finitely many elements, this bounded-norm property holds naturally without explicit constraints. Proposition 3.5 requires solely as an upper bound, preserving the proofs.
- Theorem independence: Theorem 3.4 (lines 191–198) does not require this norm ball, relying only on Assumption 3.2 and finite Gaussian complexity. Furthermore, Corollary G.7's proof strictly requires the training-half measurability of .
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 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 and is 131 ms for CP-MMD linear and 313 ms for CP-MMD poly. Let be the number of tests at which CP-MMD's cumulative time equals MMDAgg's across :
- Linear: / / /
- Polynomial$_3$: / / /
Values of 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:
- Linear: Median heuristic vs. CP-MMD linear.
- Polynomial: Aggregation-based methods (Laplacian and Gaussian) vs. CP-MMD poly.
- Deep: Liu's method vs. CP-MMD deep.
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, ). 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 , leading to conservative selection at small sample sizes (Higgs deep: 0.38 at vs 0.92 at ).
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 . 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).
Follow-up on Rebuttal
Thank you for your detailed review. As the discussion period concludes soon, we are following up on our rebuttal. To address your feedback, we outlined the following specific changes to the manuscript:
- Restructuring: We moved Corollary G.7 to the main body.
- Abstract Revision: We changed "maximize the true test power" to "empirically maximize the test power" to clearly separate the theoretical results from the empirical ones.
- Clarification of Objectives: We spelled out the distinction between the theoretical work that serves as a motivation and the empirical objective that transforms the worst-case theoretical inequality into a data-adaptive, applicable objective function.
- Additional Experiments: We included the requested runtime experiments.
We believe these revisions and our detailed rebuttal fully covered the specific concerns raised in your initial review. Please let us know if you have any follow-up questions.
I thank the authors for a detailed and cooperative response, and for replying to each of my points. Some are resolved; others are not.
I withdraw Q3: the fixed-alternative sweep across n is the experiment I asked for, and it shows the advantage widening rather than vanishing with sample size. I also accept the responses on W2, W4, Q2, Q4, Q6 and Q9, and welcome the planned corrections to the abstract and notation.
Two points remain open in my reading: the status of the data-independent Lipschitz ball on which Theorem 3.4 and Proposition 3.5 rest in the deep regime (W5), and the estimation of at the maximiser of the numerator (Q7). Both concern the scope of the theoretical claim rather than the validity of the test. I also maintain that the paper could still be improved substantially in terms of readability; the planned roadmap and notation additions do not, in my view, go far enough.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes CP-MMD, a complexity-penalized criterion that treats kernel selection for MMD two-sample tests as a model selection problem. The method unifies linear, polynomial, and deep kernel regimes under a single framework, provides finite-sample theoretical guarantees via uniform concentration inequalities, and achieves strong empirical performance across all three regimes. Overall, this is a novel and well-grounded contribution to the field.
Strengths and weaknesses
Strengths • This paper elegantly unifies three distinct kernel selection paradigms, namely bandwidth selection, polynomial features, and deep features, under a single composite-kernel formulation. • The method is built upon the two-sample uniform concentration inequality (UCI), providing a theoretical foundation. The finite-sample power lower bound for the post-selection MMD test represents a notable theoretical advancement in the field. • The numerical experiments demonstrate clear advantages over existing methods across all three regimes: CP-MMD outperforms the median heuristic on multi-scale data, matches or exceeds MMDAgg on kurtosis shifts, and maintains robust power in deep settings where competing methods fail due to variance collapse or overfitting. Additionally, the B-free deployment cost offers a significant practical advantage over aggregation-based approaches.
Weaknesses
- The penalty coefficient is calibrated via plain MMD maximization (rather than maximization of JCP itself), which the authors acknowledge to underestimate the population target. Moreover, the worst-case theoretical constant and the calibrated value differ by three orders of magnitude, and this gap is checked empirically rather than theoretically.
- Liu’s -mixture kernel, used as the primary deep-learning baseline in Table 2, is explicitly not of the composite-kernel form required by Definition 3.3. The authors provide only a heuristic adaptation in Appendix J, which is not derived from the theoretical analysis.
Questions
- The calibration procedure uses plain MMD maximization rather than JCP ascent to estimate . Could the authors provide a more rigorous theoretical justification for this choice?
- Can the authors provide any conditions under which the JCP gradient is guaranteed to prevent unbounded spectral-norm growth for any ?
Limitations
- Calibration breaks down at wide architectures. The calibration procedure using plain MMD maximization fails for , requiring a heuristic surrogate rule (calibrate at and reuse).
- Out-of-scope kernel coverage. Liu’s -mixture kernel is not formally covered by the theory; only a heuristic adaptation is provided.
- Spectral stabilization lacks theoretical analysis. The key mechanism that prevents unbounded Lipschitz growth is checked empirically but not analyzed theoretically.
Final justification
The manuscript dealt with an important problem with an original solution. The authors' replies addressed my concerns. And I maintain my positive score.
Formatting concerns
The appendix jumps between proofs, implementation details, and calibration procedures without clear separation, making it difficult to follow; its current structure undermines readability.
3 comments
Rebuttal
We thank the reviewer for a careful reading, and in particular for engaging with App. F.2's own statement that the estimator underestimates the population target. We answer each point below.
Weaknesses
W1. "The penalty coefficient is calibrated via plain MMD maximization (rather than maximization of JCP itself), which the authors acknowledge to underestimate the population target. Moreover, the wide-architecture case requires a surrogate rule."
Response. We would read this as the bridge from the theoretical inequality to practical use rather than as a weakness. The theoretical constant is the worst case over every class satisfying Assumption 3.2, and the paper shows it is loose by three orders of magnitude in deployment: Ĉ₁ ∈ [0.005, 0.014] against C₁ ≈ 30 (243–244). Landing well below the worst case is the purpose of calibrating, since the complexity along the realized trajectory is local and far smaller than the global quantity the theorem bounds (226–231).
Plain maximization is the estimator that inequality calls for. Its expectation form under H₀ is E[sup_h γ̂²(h)] ≤ C₁·E[G(H)] (232–233), and under H₀ the population MMD is zero for every h, so the left-hand side is a supremum of the empirical MMD; estimating it means maximizing γ̂². J_CP ascent maximizes a penalized objective and does not recover that supremum. The residual gap to Ĉ* is disclosed at 767, and §F.6's seven-OOM ablation shows it does not reach the test: deployed power is insensitive to Ĉ₁ across [10⁻⁴, 10] (870–871).
Notably, 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).
W2. "Liu's eps-mixture kernel, used as the primary deep-learning baseline in Table 2, is explicitly not of the composite-kernel form required by Definition 3.3."
Response. That is correct: Liu's ε-mixture is not of the composite form of Def. 3.3, as we state at 64 and 170. This is a question about whether the composite family is the right class rather than about the criterion, and it is why App. J exists. The factorial there finds the criterion advantage holds on the mixture as well as in scope, with CP-MMD ≥ Plain ≥ Liu's ratio in 9 of 10 cells (1191–1193), and that the mixture structure itself degrades at high d through its raw-input envelope, from 0.98 to 0.01 as d grows from 2 to 100 (1194–1197).
Questions
Q1. "The calibration procedure uses plain MMD maximization rather than JCP ascent. Could the authors provide a more rigorous theoretical justification for this choice?"
Response. See W1: the expectation form determines the quantity to be estimated, and plain maximization is the estimator for it, whereas J_CP ascent maximizes a penalized objective and targets something else.
Q2. "Can the authors provide any conditions under which the JCP gradient is guaranteed to prevent unbounded spectral-norm growth for any C1hat > 0?"
Response. This question related to an important clarification for our deployment of the complexity term. More specifically, no constraint on the global Lipschitz constant is needed due to the following two reasons:
- The trajectory H_T contains only finite elements, guaranteeing the existence of global Lipschitz constant in practical implementation without any constraints.
- Prop. 3.5 serves as a bridge to turn the computation of the unknown complexity G(H_T) into the practical usage: replacing it with the one related to h⁽ᵗ⁾. More specifically, the clarification we will add to the paper is: to turn the unknown G(H_T) into an objective tied to the selected feature map, the proxy at the current step is taken as the realization of the trajectory complexity up to that step, so L* is replaced by L(h⁽ᵗ⁾) (Eq. (10), 222). Consequently, L(h⁽ᵗ⁾) is read off the realized weights and is finite for any practically employed network. The stabilization clause at 223–224, with App. E (Fig. 4(d)) behind it, is our discussion of when that choice is accurate, not a hypothesis any proof uses.
Consequently, the constraint is not theoretically required. Empirically, the formulation of J_CP = γ̂²(h) − Ĉ₁·G̃(h) is the Lagrangian of maximizing γ̂² subject to G̃(h) ≤ B, with Ĉ₁ the multiplier, providing an implicit spectral norm constraint. That reading also matches the direction App. E reports, since the plateau level depends monotonically on Ĉ₁ (686–689), as a multiplier's effective constraint level should.
Paper formatting
Paper formatting. "The appendix jumps between proofs, implementation details, and calibration procedures without clear separation, making it difficult to follow."
Response. We accept this and will add an appendix roadmap that groups the material by function, separating the proofs (App. B, D, G, H) from the calibration procedure and its validation (App. F) and from the additional experiments (App. J, K), and mapping each appendix to the body claim it supports.
Follow-up on the status of the remaining concerns
Thank you again for your positive and careful review. As the discussion period closes, we would like to address the remaining questions listed in your review.
First, plain MMD maximization does not underestimate or otherwise affect our formal post-selection result: Theorem 3.4 and Corollary G.7 are stated entirely in terms of and do not use calibration. At the separate practical stage, the expectation-form UCI requires the null supremum of empirical MMD, so plain maximization is the corresponding non-circular objective. Any failure to attain the supremum in a non-convex network is an ordinary numerical-optimization issue, whose practical effect is addressed by the architecture and calibration-robustness ablations. We will revise the wording in Appendix F.2 to make this distinction explicit.
Second, Table 2 isolates the kernel-selection criteria by evaluating them under the same pure-feature kernel and MLP. Liu's full mixture is an out-of-class architecture rather than an omitted baseline. Appendix J provides the complete criterion-by-kernel factorial comparison, which we will summarize in the main text.
Third, a theorem guaranteeing bounded spectral growth for every Ĉ₁ > 0 is not required by our formal power result. The spectral proxy is used exclusively to construct the practical criterion , and its deployment behavior is validated empirically. We will correct the associated notation and reorganize the appendix as requested.
In summary, we hope these clarifications resolve your remaining questions regarding the formal results, test validity, and methodology. All local presentation and notation corrections will be incorporated into the revision. We greatly appreciate any final feedback you might have before the discussion period ends.
Thank the authors for the detailed responses. The replies addressed my concerns. And I maintain my positive score.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper tackles data-driven kernel selection for MMD two-sample testing by reframing it as a model-selection problem over composite kernels with learnable feature maps. Leveraging a recent two-sample uniform concentration inequality (UCI), the authors derive a complexity-penalized objective, CP-MMD, that subtracts a calibrated, trajectory-adaptive complexity proxy from the empirical MMD, enabling grid-free optimization over continuous classes including bandwidths, polynomial features, and deep networks while preserving Type-I validity via sample-splitting and permutation. The paper provides a finite-sample lower bound on post-selection test power, shows rate connections to discrete aggregation methods, and demonstrates competitive power to median-heuristic, and deep-kernel baselines on synthetic and real data.
Strengths and weaknesses
Strengths:
- Recasts kernel selection as continuous model selection over composite kernels, unifying bandwidth tuning, polynomial-feature lifts, and deep representational kernels within one framework.
- Introduces a practical, per-trajectory complexity proxy based on Lipschitz/spectral norms and a null-permutation calibration of the penalty constant to tighten worst-case bounds.
- Evaluates across three regimes (linear bandwidths, polynomial features, deep kernels) and on both synthetic and real data (Higgs), including an informative class-richness sweep.
Weakness:
- The Gaussian-complexity term is replaced by a loose Lipschitz/spectral proxy; theoretical tightness relies on a calibrated constant Ĉ1 learned from permutations, which weakens purely non-asymptotic guarantees and introduces a data/architecture-dependent hyperparameter.
- For deep networks, formal control of the Lipschitz/product-of-spectral-norm term along optimization is argued empirically (spectral stabilization) rather than proved; no hard constraint (e.g., spectral normalization enforcement) is mandated.
- The claim that the method “maximizes true test power” is stronger than the provided guarantees (a lower bound/certificate under UCI and a penalized empirical objective). Optimality claims should be toned down or more precisely stated.
- Sample splitting halves the data used for testing, which may reduce power compared with approaches that avoid splitting while preserving validity (e.g., aggregation with permutation calibration).
- The deep-kernel baseline uses a simplified version of Liu et al. (ε-mixture omitted), with the full baseline deferred to the appendix; the main text should include the strongest available competitor.
- Comparisons to recent non-permutation calibration methods (e.g., mMMD with asymptotic normal calibration) and spectral/regularized alternatives (KDCA, st‑nMMD) are missing; these could provide additional perspective on calibration/power trade-offs without splitting.
- Runtime results show CP-MMD is B-independent but not necessarily faster in absolute terms than MMD-FUSE (which appears faster in Fig. 3b); this nuance deserves explicit discussion.
- The calibration uses n_cal = 10 permutations to estimate a high quantile of a ratio; while stability is discussed, additional quantiles/seeds would strengthen confidence in robustness.
- Recent alternatives and perspectives are not discussed: mMMD (permutation-free calibration via martingale CLTs), st‑nMMD (non-asymptotic chi-square-like calibration via spectral truncation), KDCA (directional-component truncation with multiplier bootstrap), and recent RFF trade-off analyses. Also, high-dimensional asymptotics for MMD could contextualize the regimes studied.
Questions
- Deep regime complexity: Do you enforce any explicit spectral normalization or Lipschitz control during optimization, or are spectral norms merely monitored? If not enforced, can you formalize conditions under which empirical spectral stabilization holds (e.g., due to gradient clipping or early stopping)?
- Calibration robustness: n_cal = 10 seems small for estimating a high quantile of the ratio under H0. Can you report additional experiments showing the variability of Ĉ1 across seeds and n_cal (e.g., 10/50/100) and its impact on power/size?
- Full baseline: Since the ε-mixture is outside your composite class, could you move the full baseline into the main paper for the deep experiments, or summarize the Appendix J results to ensure readers see performance against the strongest published variant?
- Absolute runtime vs asymptotics: Figure 3(b) suggests MMD-FUSE can be faster than CP-MMD at B up to 50. Can you discuss the regimes (n, d, B) where CP-MMD is absolutely faster or slower, and whether CP’s constant factors can be reduced (e.g., via lower-variance permutation approximations or partial reuse of computations)?
- Type-I control breadth: Beyond Table 2, did you verify Type-I error for the linear/polynomial/Higgs panels (with and without sample splitting)? A small table summarizing empirical size across settings would be helpful.
- Choice of T and early stopping: You select the best iterate by maximizing J_CP over the trajectory. Did you observe sensitivity to the number of steps or to optimizer hyperparameters? Any guidance on step selection, or a stopping rule derived from stability of J_CP?
- Lipschitz constants for Gaussian/Laplacian: Since the penalty depends on l and bandwidth, could you provide explicit expressions or bounds for l(σ) and how they affect calibration across σ?
Limitations
Yes
Formatting concerns
No
3 comments
Rebuttal
Line numbers refer to the submitted PDF. We answer all sixteen points; the length limit forces brevity and we are glad to expand any of them.
Scope. The paper contributes a kernel selection criterion, and two things sit outside it. The choice of kernel family is model specification: our claim is that one criterion, unchanged, applies within whichever class is specified, so Liu's ε-mixture is a different family rather than a different criterion (W5, Q3). Calibration and testing for a given kernel is the second: mMMD, st-nMMD and KDCA operate downstream of selection and compose with CP-MMD rather than competing with it (W6, W9).
W1, loose proxy and a calibrated constant. We would read this as the bridge from the theoretical inequality to practical use rather than as a weakness. C₁ is the worst case over every class satisfying Assumption 3.2, and the paper shows it loose by three orders of magnitude in deployment, Ĉ₁ ∈ [0.005, 0.014] against C₁ ≈ 30 (243–244); landing below it is the purpose of calibrating, since the complexity along the realized trajectory is local and far smaller than the global quantity the theorem bounds (226–231). The expectation form under H₀, E[sup_h γ̂²(h)] ≤ C₁·E[G(H)], identifies the ratio the constant must dominate (232–233), and Ĉ₁ is that ratio's H₀ quantile on null permutations (Eq. (11), 234–236). Ĉ₁ is also not a tuned hyperparameter: §F.8 measures it stable to ≤1.52× across widths and ≤1.73× across data shifts (249–250). Cor. G.7 is stated and proved with C₁, so nothing non-asymptotic is weakened.
W2, spectral control argued empirically. Response. No constraint on the global Lipschitz constant is needed due to the following two reasons:
- The trajectory H_T contains only finite elements, guaranteeing the existence of global Lipschitz constant in practical implementation without explicit constraints.
- Prop. 3.5 only serves a bridge from the unknown G(H_T) relates to the unknown trajectory to the per-iterate proxy that is adopted in J_CP. More specifically, we will add this clarification in our manuscript: to turn the unknown G(H_T) into an objective tied to the selected feature map, the proxy at the current step is taken as the realization of the trajectory complexity up to that step, so L* is replaced by L(h⁽ᵗ⁾) (Eq. (10), 222). Consequently, L(h⁽ᵗ⁾) is read off the realized weights, which is finite for any practically employed network. The stabilization clause at 223–224, with App. E (Fig. 4(d)) behind it, is our discussion of when that choice is accurate, not a hypothesis any proof uses.
For discussion, the formulation J_CP = γ̂²(h) − Ĉ₁·G̃(h) is the Lagrangian of maximizing γ̂² subject to G̃(h) ≤ B, with Ĉ₁ the multiplier, providing an implicit spectral norm constraint. That reading also matches the direction App. E reports, since the plateau level depends monotonically on Ĉ₁ (686–689), as a multiplier's effective constraint level should.
W3, "maximizes true test power". Agreed. Lines 18–19 are the only place where "maximizes" takes true test power as its object; Contribution 2 at 103 already states it as "a finite-sample test power lower bound". We will bring the abstract into line with the body.
W4, sample splitting halves the test data. CP-MMD is evaluated under the split in these comparisons and still wins: 1.00 against the median heuristic's 0.47 on the multi-scale task (Fig. 2(a), 294); 0.90 against MMDAgg's 0.80 on kurtosis (Fig. 2(b), 300); 1.00 in four of five cells against Liu and plain maximization on the deep class (Table 2, 301–305). The deep panel states the protocol at 303; the linear and polynomial panels do not, and we will add that clarification.
W5, simplified Liu baseline. Liu's ε-mixture lies outside the composite family of Def. 3.3 (64, 170), so the main body does not discuss it; see Scope. To verify the suitability of the composite family, the comparison is in App. J, which finds the criterion advantage holds on Liu's own mixture kernel as well as in scope, CP-MMD ≥ Plain ≥ Liu's ratio in 9 of 10 cells (1191–1193), and that the mixture structure is the weaker kernel at the dimensions we study, degrading 0.98 → 0.01 as d grows from 2 to 100 through its raw-input envelope (1194–1197). We are happy to summarize this in the main text.
W6, missing comparisons. None of these performs kernel selection, as the review's descriptions indicate: mMMD and st-nMMD are named as calibration methods and KDCA as truncation with a multiplier bootstrap. All three operate on a kernel already chosen, so they sit downstream of the step this paper addresses. We will say so in related work.
W7, not faster than MMD-FUSE. The paper already states this. Contribution 3 gives MMD-FUSE's complexity as O((B + N_perm)·N²) against MMDAgg's O(B·N_perm·N²) (110–112), and the Fig. 3 caption records MMD-FUSE as near-constant in B. Our only comparative claim is against MMDAgg, 1.6× at B = 10 (321–323). The panel exists to show that adopting our criterion does not cost more at deployment.
W8, n_cal = 10. §F.7 reports a seed-to-seed coefficient of variation of 0.7% for Ĉ₁ at the calibration anchor (889–891), and §F.6 shows power flat across seven orders of magnitude in Ĉ₁ (870–871). Since n_cal affects only the precision of Ĉ₁, and that precision is already far finer than the range over which power varies, larger n_cal cannot change the selection.
W9, recent alternatives. The three methods are addressed in W6, and RFF analyses fall in the same category: they approximate the computation of a given kernel rather than select one. On high-dimensional asymptotics, Ramdas et al. (2015) is already cited at 147 as motivation for the paper's central claim.
Q1, spectral normalization enforced or monitored. Monitored, not enforced; the only optimizer constraint is a gradient-clip norm of 5.0 (267–268). As stated in W2, the existence of the Lipschitz constant is naturally guaranteed by the finite elements of the trajectory set. Consequently, it is not necessary for us to bound the spectral norm that controls the Lipschitz constant during optimization. The spectral stabilization is verification for the empirical deployment of L(h⁽ᵗ⁾), serving as a discussion comparing our employed criterion with its theoretical formulation. Formalizing the conditions under which it holds is an interesting question for discussion; the Lagrangian reading in W2 is the natural starting point, and we leave it to future work.
Q2, calibration robustness. See W8: the seed variability is 0.7% and power is flat across seven orders of magnitude in Ĉ₁, so n_cal within this range cannot move the result. We are happy to add the sweep to the appendix.
Q3, full baseline in the main paper. We will summarize App. J in the main text. See W5 for why the comparison belongs there rather than in §4.
Q4, absolute runtime versus asymptotics. Fig. 3(b) already shows the regimes: CP-MMD-linear is comparable to MMD-FUSE across the range plotted, CP-MMD-polynomial₃ is slower than MMD-FUSE, and both stay below MMDAgg at every B. This lead to an explanation for the runtime of CP-MMD: it relates to the complexity of the involved model class. The speed claim of CP-MMD relates to the structural B-independence rather than asymptotic: CP-MMD evaluates one learned kernel, so its cost carries no B because there is no grid. On constant factors: the reuse is already in the timed implementation, which builds the kernel matrix once and indexes into it per permutation. Exact headroom remains, and batching all 200 permutations into one matmul cuts per-test cost from 65.7 to 13.6 ms at n = 200 and from 1536 to 189 ms at n = 1000, with identical decisions.
Q5, Type-I control breadth. Type-I control is exact by construction rather than an empirical question: ĥ depends only on the training half, so the held-out half is exchangeable under H₀ and the permutation test holds level α (259–260), for any kernel class (1184–1186), which is a widespread permutation-based two-sample test methods that has been validated in Gretton et al. (2012). We are happy to add a table of measured sizes across the panels as confirmation.
Q6, choice of T and early stopping. We take the best iterate over the whole trajectory, ĥ := arg max_{0 ≤ t ≤ T} J_CP(h⁽ᵗ⁾) (258). A larger T only adds candidates to that maximization, so the selected value cannot get worse as T grows and there is no sweet spot to tune. Empirically the trajectory settles well before the budget: the spectral product stabilizes after about 30 steps (683–684, Fig. 4(d)) while we run 100 (267–268), and the plateau persists across Ĉ₁ ∈ [10⁻⁴, 10] (687–689). That plateau is also the stopping rule the question asks for. We have not swept the learning rate or clip norm, and are happy to add that.
Q7, Lipschitz constants for Gaussian and Laplacian. These are given in Ni and Huo (2024), Table 1 and Lemmas 34–35, the source of Thm. 3.4: for the Gaussian exp(−σ⁻²‖u−u′‖²), ν ≤ 1 and l ≤ 2σ⁻¹√(2/e); for the Laplacian exp(−σ⁻¹‖u−u′‖₁), written in the ℓ₁ norm, ν ≤ 1 and l ≤ 2σ⁻¹√d. In our composite form the bandwidth sits in h rather than in k (Eq. (10), 222), so l is a property of the unit-bandwidth base kernel and does not vary with σ. Notably, these constants also enter no step of the algorithm: Ĉ₁ is the H₀ quantile of γ̂²/G̃ measured under the kernel actually in use, so a kernel whose constants are larger produces a correspondingly larger measured ratio, and the calibration adjusts without needing their values. They appear explicitly only in C₁ = 2√(2π)·l·ρ*(1+ρ*) and C₂ = 4νρ* (195).
Follow-up on rebuttal
As the discussion period concludes soon, we are following up on our detailed rebuttal. We want to ensure our responses and planned revisions have fully resolved your initial concerns. To summarize our detailed response, we addressed your points with the following facts and clarifications:
- Baselines and Topic Scope: The additional works you suggested focus on calibration given a pre-selected kernel, rather than the task of kernel selection itself. Because they address a different topic, they are not directly comparable to our setting. We have compared our approach against representative methods in kernel selection.
- Core Contribution: We provide a unified kernel selection method by transforming kernel selection into model selection. Our empirical results validate that this objective functions effectively across all three settings evaluated in the paper. Specifically, our work fills a documented gap: no existing kernel selection criterion, to the best of our knowledge, works for the deep kernel regime where the kernel is composed of a deep neural network. To justify the validity and success of our method specifically in this deep regime, our rebuttal detailed the following evidence:
- Spectral Norm: The concern regarding the spectral norm stems from a presentation ambiguity. We clarified that our method does not require a spectral norm constraint in practice.
- Calibration Method: We provided a theoretical justification for our calibration approach and the specific selection of , supported by the exact relationship between local and global complexity.
- Composite Kernel Setting: We empirically demonstrated the sufficiency of our composite kernel setting in the Appendix, which we will move to the main body for clarity.
We believe our detailed response covered all issues raised in your review. We would appreciate your feedback and are available for any follow-up questions.
Follow-up on Rebuttal
Thank you again for the review. Since the discussion period is closing soon, we would appreciate it if you could let us know whether our clarification resolves the concern about the recent alternatives. In particular, the cited methods primarily address statistic construction, calibration, spectral truncation, or random-feature approximation, whereas our paper studies supervised, data-dependent selection of the kernel itself over a continuous class. We would be grateful for any remaining specific concern.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Clarification for Contribution, Presentation, and Alternatives
Thank you for distilling the reviewers’ main questions. Most of these points are already addressed in the manuscript, but their relationship is not sufficiently visible in the current presentation. We will make targeted clarifications to the abstract, the comparison with related work, the transition from the theoretical certificate to the deployed criterion, and the deep-kernel discussion. We will also add a concise algorithm box and move Corollary G.7 to the main text. These revisions do not change the method, theoretical results, experimental protocol, or conclusions.
Contribution at a glance
Our contribution has three connected parts.
First, we reformulate data-driven kernel selection as model selection. By representing a kernel as
we convert kernel selection into model selection over the feature-map class H. This unifies bandwidth, polynomial-feature, and neural-feature optimization and makes uniform-concentration tools available for analyzing data-dependent kernel selection (current lines 58–81).
Second, we derive a finite-sample post-selection theoretical target. The uniform concentration inequality holds simultaneously over a pre-specified class H, and therefore remains valid at a data-dependent selector h∈H. It yields a lower confidence bound on population MMD after kernel optimization. Together with the held-out testing threshold in Corollary G.7, this gives a sufficient finite-sample condition for high power of the final test (current lines 185–210 and 981–1011).
Third, we transform this theoretical target into a usable criterion. The global class complexity and worst-case constants in the exact bound are operationally too conservative and do not distinguish candidate models within a fixed class. We therefore replace the global term with a per-model complexity proxy and calibrate its scale using training-set null permutations, producing the grid-free objective J_CP. This theory-to-practice transformation is a methodological contribution of the paper, whose effectiveness is validated across all three kernel-selection regimes (current lines 211–260).
In the following, we will provide detailed answers to the concerns you raised.
Presentation, algorithmic steps, and recent alternatives
We will add a concise algorithm box summarizing the procedure already described in Section 3.3 and Appendix F.2:
Importantly, the recent works identified by the reviewer address complementary parts of the kernel-testing pipeline rather than the kernel-selection problem studied here. mMMD constructs a martingale MMD statistic with permutation-free asymptotic calibration for a prescribed kernel; st-nMMD regularizes and calibrates a spectrally truncated normalized statistic in a given RKHS; KDCA retains well-estimated directional components of a given kernel statistic and uses a parametric bootstrap; and the RFF analyses study the computational–statistical trade-off from approximating a prescribed translation-invariant kernel. High-dimensional MMD theory characterizes the behavior of a given kernel test as dimension and sample size grow. These works do not perform supervised selection of the kernel or feature map over a continuous class and therefore do not address the post-selection empirical-to-population gap arising in CP-MMD. We will clarify that these contributions are complementary rather than claim direct dominance or require head-to-head experiments.
We evaluated our criterion against all representative relevant alternatives for each kernel selection setting, to the best of our knowledge. We compare against the median heuristic for bandwidth selection. We compare against MMDAgg for kernel aggregation. We compare against Liu's criterion for deep kernels. Our method matches or outperforms these benchmarks across all settings.