Papers
Topics
Authors
Recent
Search
2000 character limit reached

Barycenter Kernel MMD

Updated 4 July 2026
  • Barycenter Kernel MMD is a framework that summarizes probability measures by aligning their reproducing kernel Hilbert space (RKHS) mean embeddings.
  • It employs discrete approximations and optimal weight assignments to minimize the MMD, facilitating clustering, quantization, and kernel quadrature.
  • The approach integrates gradient flows, particle algorithms, and multi-kernel aggregations while addressing convergence and higher-order structure challenges.

Barycenter Kernel Maximum Mean Discrepancy (MMD) denotes a class of constructions in which probability measures are compared, summarized, or optimized through their reproducing kernel Hilbert space (RKHS) mean embeddings, and barycentric structure is expressed in that feature-space geometry rather than through transport in the original sample space. In the single-target setting, a discrete weighted measure νY,w=i=1Mwiδyi\nu_{Y,w}=\sum_{i=1}^M w_i\delta_{y_i} is sought so that its mean embedding is close to that of a target π\pi, yielding a “kernel MMD barycenter approximation” of π\pi. In the multi-distribution setting, one minimizes weighted sums of squared MMDs, and the RKHS barycenter is the weighted sum of the constituent mean embeddings (Belhadji et al., 14 Feb 2025). This viewpoint places barycenters, quantization, quadrature, and kernel two-sample methodology inside a common Hilbertian framework, while the mathematical meaning of the induced geometry depends critically on whether the chosen kernel makes MMD a genuine metric that metrizes weak convergence (Simon-Gabriel et al., 2020).

1. RKHS formulation of barycentric MMD

For a positive definite kernel kk with RKHS Hk\mathcal H_k, the kernel mean embedding of a probability measure μ\mu is

mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),

and the maximum mean discrepancy is the RKHS norm distance

MMD(μ,ν)=mμmνHk.\mathrm{MMD}(\mu,\nu)=\|m_\mu-m_\nu\|_{\mathcal H_k}.

Equivalently,

MMDk2(μ,ν)=EX,Xμ[k(X,X)]2EXμ,Yν[k(X,Y)]+EY,Yν[k(Y,Y)].\mathrm{MMD}_k^2(\mu,\nu) = \mathbb E_{X,X'\sim\mu}[k(X,X')] -2\mathbb E_{X\sim\mu,Y\sim\nu}[k(X,Y)] +\mathbb E_{Y,Y'\sim\nu}[k(Y,Y')].

These identities make barycentric formulations immediate: a probability measure is represented by a single element of Hk\mathcal H_k, and barycenters are defined by Hilbert-space averaging of such representations (Belhadji et al., 14 Feb 2025).

In the discrete approximation setting, the target π\pi0 is approximated by

π\pi1

with feature-space representation

π\pi2

Seeking π\pi3 such that π\pi4 is small is therefore exactly the problem of finding a finite barycentric summary whose mean embedding is close to π\pi5 (Belhadji et al., 14 Feb 2025).

For several input measures π\pi6 with weights π\pi7, π\pi8, the natural objective is

π\pi9

The objective is minimized when

π\pi0

so the barycenter in RKHS is simply the weighted sum of mean embeddings (Belhadji et al., 14 Feb 2025). In that sense, “barycenter kernel MMD” is fundamentally a feature-space barycenter construction.

2. Discrete barycenters, weighted quantization, and support constraints

A central finite-dimensional formulation is

π\pi1

With π\pi2 and π\pi3, where

π\pi4

the squared discrepancy satisfies

π\pi5

For fixed support π\pi6, the optimal weights are

π\pi7

and the reduced objective becomes

π\pi8

(Belhadji et al., 14 Feb 2025).

This formulation differs from classical π\pi9-quantization in two ways emphasized in the literature. First, the discrepancy is MMD rather than Wasserstein distance. Second, the weights are not constrained to the simplex; they are allowed to lie in kk0, which is a relaxation of classical Wasserstein quantization (Belhadji et al., 14 Feb 2025). The resulting discrete measure is simultaneously a quantizer, a clustering-type representation, and an RKHS barycenter approximation.

The same structure appears in kernel quadrature and Bayesian quadrature. For fixed nodes kk1, kernel quadrature chooses weights by minimizing

kk2

and when the kernel matrix is invertible the posterior variance of Bayesian quadrature is exactly the squared MMD between the quadrature measure and kk3 (Naslidnyk, 25 Feb 2026). In this restricted-support sense, kernel quadrature is a constrained barycenter problem in MMD geometry.

3. Metric meaning and topological conditions

The usefulness of barycenter constructions depends on whether MMD defines a meaningful geometry on probability measures. For bounded continuous kernels, kernel mean embeddings

kk4

exist for finite regular Borel measures, and

kk5

is the induced MMD distance (Simon-Gabriel et al., 2020).

On compact Hausdorff spaces, a bounded Borel measurable kernel metrizes weak convergence of probability measures if and only if it is continuous and characteristic to kk6. On locally compact, non-compact Hausdorff spaces, assuming kk7, the correct condition is stronger: kk8 metrizes weak convergence if and only if it is continuous and integrally strictly positive definite over all signed, finite, regular Borel measures (Simon-Gabriel et al., 2020). These conditions are foundational for barycenter problems in MMD space because they ensure that convergence in MMD coincides with the standard probabilistic notion of weak convergence.

This distinction matters in non-compact spaces. If the kernel fails the relevant condition, one can have sequences that converge in MMD while mass escapes to infinity, which undermines barycentric interpretations at the level of distributions (Simon-Gabriel et al., 2020). By contrast, for standard kernels such as Gaussian, Laplace, Matérn, and inverse multiquadratic on kk9, the condition Hk\mathcal H_k0 is satisfied, and the kernels commonly used in practice fall into the regime where MMD can serve as a probabilistically meaningful geometry (Simon-Gabriel et al., 2020).

A complementary observation is that MMD barycenters are trivial in RKHS but not necessarily trivial as measures. The embedding barycenter is the weighted mean of embeddings; realizing that point as an actual probability measure, or as a discrete approximation with prescribed support size, is the nontrivial part of the problem (Belhadji et al., 14 Feb 2025, Naslidnyk, 25 Feb 2026).

4. Gradient flows and particle algorithms

One line of work studies barycentric MMD optimization dynamically through gradient flows. For

Hk\mathcal H_k1

the Wasserstein gradient flow of MMD satisfies the continuity equation

Hk\mathcal H_k2

where the first variation is the witness function. Along this flow,

Hk\mathcal H_k3

so the MMD energy is non-increasing (Arbel et al., 2019).

For weighted discrete barycenters, a more suitable geometry is Wasserstein–Fisher–Rao (WFR), because WFR allows mass creation and destruction. The associated PDE is

Hk\mathcal H_k4

where the reaction term enables weights to adapt rather than remain simplex-constrained (Belhadji et al., 14 Feb 2025). Under a discrete ansatz

Hk\mathcal H_k5

this yields the interacting ODE system

Hk\mathcal H_k6

Hk\mathcal H_k7

The location dynamics decrease MMD through kernel gradients, while the weight dynamics increase or decrease particle mass according to local over- or under-representation in feature space (Belhadji et al., 14 Feb 2025).

Stationary conditions for this WFR system lead to the fixed-point map called Mean Shift Interacting Particles (MSIP),

Hk\mathcal H_k8

which extends classical mean shift from Hk\mathcal H_k9 to interacting multi-particle barycenters. Under the kernel-gradient structure μ\mu0, the gradient of the reduced objective satisfies

μ\mu1

so MSIP is exactly a preconditioned gradient descent method. The paper further identifies MSIP as an exact MMD-side analog of Lloyd’s algorithm (Belhadji et al., 14 Feb 2025).

A distinct numerical realization is EVI-MMD, which interprets MMD as a free energy and applies an implicit Euler discretization. Each time step solves a proximal problem

μ\mu2

typically by L-BFGS, and uses an adaptive Gaussian bandwidth

μ\mu3

to interpolate between coarse exploration and fine exploitation (Chen et al., 2021).

Barycentric structure also appears on the kernel side. Because MMD is linear in the kernel,

μ\mu4

when μ\mu5. This makes multi-scale Gaussian mixtures a natural way to define composite MMD geometries, although scale normalization can be important because raw MMD values vary substantially with bandwidth, dimension, and batch size (Rustamov, 2019).

A more general aggregation strategy is to combine several single-kernel MMD estimates through their Mahalanobis distance. For a kernel family μ\mu6, let

μ\mu7

Then the Mahalanobis-aggregated statistic is

μ\mu8

where μ\mu9 estimates the joint null covariance of the MMD vector. This aggregation is universally consistent, has non-trivial asymptotic Pitman efficiency under local alternatives, and is more powerful in finite samples across a range of alternatives than single-kernel tests in the reported experiments (Chatterjee et al., 2023). Although this is a testing construction rather than a distributional barycenter, it is another instance of covariance-aware barycentric combination in MMD space.

Random-feature kernel learning yields a related perspective. A kernel can be written as

mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),0

so learning the distribution mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),1 over random features amounts to learning a mixture, or empirical barycenter, of rank-one base kernels mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),2. In the mean-field limit, the empirical distribution of the feature particles follows a Wasserstein gradient flow on the space of feature distributions (Khuzani et al., 2019).

6. Applications, limitations, and broader landscape

Barycenter kernel MMD constructions appear in several applied forms. In weighted quantization they provide clustering- and quadrature-type summaries of a target distribution with adaptive locations and weights (Belhadji et al., 14 Feb 2025). In simulation-based inference, optimally weighted MMD estimators use Bayesian quadrature weights to approximate mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),3 more efficiently than standard empirical estimators under smoothness assumptions (Naslidnyk, 25 Feb 2026). In deterministic sampling and generative modeling, particle systems are evolved so that the empirical measure minimizes MMD to a target distribution or to empirical data (Chen et al., 2021). In Wasserstein auto-encoders, Gaussian-kernel MMD admits closed forms against the standard normal prior, and multi-kernel mixtures can be standardized componentwise to avoid scale domination (Rustamov, 2019).

A persistent misconception is to identify MMD barycenters with Wasserstein barycenters. The two geometries are different. Under MMD, each distribution is represented by a point in an RKHS, and the barycenter is the Euclidean barycenter of those points in feature space. Under Wasserstein mμ=k(,x)dμ(x),m_\mu = \int k(\cdot,x)\,d\mu(x),4, the geometry is based on transporting mass in the original space, and the barycenter minimizes average transport cost (Rustamov, 2019). The analogy between MSIP and Lloyd’s algorithm is structural, not geometric: both are preconditioned fixed-point methods, but one operates in RKHS-induced MMD geometry and the other in Euclidean transport geometry (Belhadji et al., 14 Feb 2025).

Several open questions remain explicit. For MSIP, the analytical status of non-degeneracy, descent, local minima versus saddle points, and convergence rates is unresolved (Belhadji et al., 14 Feb 2025). More broadly, recent work on kernel quantile discrepancies argues that MMD’s reliance on mean embeddings can miss higher-order structure, and proposes quantile-based kernel discrepancies that recover sliced Wasserstein and max-sliced Wasserstein as special cases while retaining near-linear algorithms (Naslidnyk, 25 Feb 2026). This suggests that barycenter methodology in kernel geometry may continue to bifurcate: one branch centered on RKHS means and MMD, the other on kernelized quantile and transport-like structures.

In its most compact form, barycenter kernel MMD is the principle that a probability measure can be summarized or optimized by matching kernel mean embeddings, and that barycentric combination is therefore linear in RKHS even when the realization of the resulting object as a concrete distribution, a sparse particle system, or a computationally stable algorithm is highly nontrivial (Belhadji et al., 14 Feb 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Barycenter Kernel Maximum Mean Discrepancy (MMD).