One PhD thesis, one objective: MMD minimization unifies integration, sampling, and inference

MiniMMD: Minimization of MMD for Sampling, Inference and Integration

Zonghao Chen

stat.ML, cs.LG

2026-10-28

A UCL thesis unifies integration, sampling, generative modeling and inference as MMD minimization; smooth nested expectations drop from ~100M evaluations to a few hundred.

What problem this solves

Numerical integration, sampling, generative modeling, and statistical inference are usually treated as four separate subjects. This UCL PhD thesis (Zonghao Chen, supervised by François-Xavier Briol and Arthur Gretton, the latter an author of the original MMD paper) argues they are one optimization problem: approximate a target distribution by minimizing the maximum mean discrepancy over a restricted class of candidates. Integration optimizes weights, sampling optimizes particle locations, inference optimizes parameters; the objective stays the same.

MMD embeds distributions into an RKHS and measures the distance between embeddings; with a characteristic kernel it is zero exactly when the two distributions coincide. Three properties make it a workable universal objective: the kernel choice controls the topology, finite-sample estimators are closed-form, and for some common kernels the sample complexity avoids the curse of dimensionality.

Method

Each chapter unblocks one direction.

Nested expectations (Ch. 3, ICML 2025). Quantities of the form EQ[f(EP[g])] appear in Bayesian experimental design, look-ahead Bayesian optimization, and distributionally robust optimization. Nested Monte Carlo (NMC) estimates both layers by plain averaging and converges slowly. Nested kernel quadrature (NKQ) replaces both layers with kernel quadrature: keep the points, solve a linear system for optimal weights. With Sobolev kernels of smoothness s, a single layer converges at the minimax-optimal O(N^(−s/d)). A change-of-variables trick maps the integrand onto the uniform distribution, where weights no longer depend on the integrand: precompute once at O(N^3), then every later quadrature costs O(N). The proof also shows the stage-two observation noise has the same order as the stage-one error, so stage two can be treated as noiseless without losing the rate.

Generative modeling (Ch. 4, JMLR 2025). Running a Wasserstein gradient flow on MMD² stalls on non-convexity: the objective is not geodesically convex even for Gaussian targets, and the flow only reaches an unknown barrier. The χ² divergence is geodesically convex for log-concave targets but has no tractable sample-based implementation. DrMMD inserts Tikhonov regularization between the two operator representations: λ→0 recovers χ², λ→∞ recovers MMD², and for every fixed λ it equals an MMD computed with a regularized kernel, so it can still be estimated by plugging in samples from both distributions. An adaptive-λ variant yields a practical particle descent.

Statistical inference (Ch. 5). Minimum MMD estimation swaps the KL in maximum likelihood for MMD²: no density, no normalizing constant, only simulator samples, and bounded kernels cap the influence of any single contaminated observation. Prior methods gradient-descend on the parameter and at best reach stationary points. The new descent scheme (parametric and nonparametric versions, adaptive kernel lengthscale) is proven to reach a global minimizer under explicit assumptions.

Results

Cost to achieve error Δ on a nested expectation, in function evaluations:

MethodCost
NMCO(Δ⁻³) or O(Δ⁻⁴)
NQMCO(Δ⁻²·⁵)
MLMCO(Δ⁻²)
NKQ (this thesis)Õ(Δ^(−dX/sX−dΘ/sΘ))

At Δ=0.01 that is roughly 1 to 100 million evaluations for NMC, 100,000 for NQMC, 10,000 for MLMC, and a few hundred to a few thousand for NKQ when the integrand is smooth and the dimension is modest. NKQ is the only method in the table that exploits the smoothness of f, g, and the densities, and beats everything when dX/sX + dΘ/sΘ < 2. The error bound holds with probability at least 1 − 8e^(−τ) (sub-exponential tails), where prior work only bounded the expected error. Synthetic runs confirm the predicted rates (Δ = cost^(−1) for NKQ versus cost^(−1/3) for NMC); at dX = dΘ = 20 the gap narrows, matching the rate formula. On look-ahead Bayesian optimization over Dropwave, Ackley, and Cosine8, NKQ attains the lowest NMSE of the three methods at a fixed time budget, even though not all theorem assumptions hold.

Chapters 4 and 5 are primarily theoretical: the DrMMD flow converges exponentially to the global minimum up to a λ-controllable barrier for targets satisfying a Poincaré inequality, in both continuous and discrete time. Experiments cover three-ring densities, student-teacher distillation, Gaussian mixtures, the g-and-k distribution, the Lotka-Volterra model, and a composite goodness-of-fit test; the thesis reports no unified cross-chapter benchmark.

Why it matters

Chapter 3 is a drop-in replacement for anyone computing nested expectations with expensive inner evaluations: Bayesian experimental design, look-ahead acquisition functions, simulation-based uncertainty quantification. Code is public. Chapter 4 offers a workable bridge between global convergence guarantees and sample-based implementation for MMD-style particle methods. Chapter 5 targets likelihood-free inference (simulator models, SDEs, latent Markov models), where an R implementation of minimum MMD already exists. The unification itself is a contribution: all three chapters share kernel ridge regression, Sobolev spaces, and Wasserstein geometry, so improvements transfer across settings.

Limitations

NKQ's fast rate needs Sobolev regularity of f and g; once dX/sX + dΘ/sΘ ≥ 2 it no longer beats MLMC, and the d=20 experiments show the advantage mostly gone. Minimax lower bounds for nested expectations remain open. DrMMD's global convergence requires the target to satisfy a Poincaré inequality and converges only up to a controllable barrier; the experiments stop at low-dimensional toy densities and small student-teacher networks, with no large-scale generative modeling tested. Chapter 5 guarantees convergence to a not-necessarily-unique global minimizer under explicit assumptions. As a thesis, the three chapters are self-contained papers (ICML, JMLR, and an arXiv preprint); for any single direction, read the corresponding paper.

Terms

Source

What people are saying

Related papers

All paper explainers