TL;DR
This paper establishes a crucial link between the Maximum Mean Discrepancy (MMD) and the classifiability of probability distributions using kernel methods. It introduces a generalized MMD that adapts to different kernel choices, offering a more robust way to measure distances between distributions, especially in practical applications like hypothesis testing.
What Problem Does This Paper Address?
Comparing and classifying probability distributions is a fundamental task in many fields. Kernel methods, which embed data into high-dimensional Reproducing Kernel Hilbert Spaces (RKHSs), offer a powerful framework for this. The Maximum Mean Discrepancy (MMD) is a popular distance measure derived from these embeddings. However, a key requirement for MMD to be a reliable measure of distributional difference is that the chosen kernel must be "characteristic." This means that if the MMD between two distributions is zero, they must be identical. Without this property, MMD can fail to distinguish between different distributions, leading to incorrect conclusions in tasks like hypothesis testing or classification. Furthermore, when faced with a family of potential kernels (e.g., Gaussian kernels with varying bandwidths), choosing the "best" one can be challenging. This paper addresses these issues by:
- Formalizing the link between MMD and classification: Demonstrating that MMD is directly related to the optimal risk of kernel-based classifiers.
- Expanding the set of characteristic kernels: Including kernels that were previously excluded, such as those on non-compact domains or those that are not translation-invariant.
- Proposing a generalized MMD: Creating a single, adaptive distance measure that considers a whole family of kernels, rather than relying on a single, fixed kernel.
Methods
The paper builds upon the concept of embedding probability distributions into RKHSs. The core of their work involves:
- MMD as Optimal Risk: They show that the MMD between two distributions, $P$ and $Q$, using a kernel $k$, is equivalent to the negative of the optimal risk of a Parzen window classifier (a type of kernel-based classifier) using that same kernel. This establishes that a characteristic kernel is necessary for distributions to be classifiable.
- Strictly Positive Definite Kernels: The authors introduce and prove that "strictly positive definite" kernels (a stronger condition than standard positive definiteness) are always characteristic. This significantly broadens the set of usable kernels, especially for non-compact domains or non-translation-invariant scenarios.
- Generalized MMD: They define a generalized MMD, denoted as $\gamma(P, Q)$, as the supremum of the MMDs calculated over a family of kernels $\mathcal{K}$. This means $\gamma(P, Q) = \sup_{k \in \mathcal{K}} \{ \text{MMD}_k(P, Q) \}$. This approach allows the distance measure to adapt to the "best" kernel within a given family for distinguishing $P$ and $Q$.
- Statistical Consistency: They provide theoretical guarantees that the empirical estimator of the generalized MMD is consistent, meaning it converges to the true generalized MMD as the sample size increases. This is crucial for practical application.
Datasets
The paper does not introduce new datasets. Instead, it uses synthetic data generated from specific probability distributions (e.g., Gaussian distributions with varying parameters) to evaluate the performance of the proposed generalized MMD in a homogeneity testing scenario.
Key Insights and Ideas
- MMD is not just a distance; it's a classifier's performance metric: The most striking insight is the direct mathematical connection between MMD and the optimal risk of a kernel classifier. This means that if two distributions are hard to distinguish with MMD, they are also hard to classify using kernel methods.
- "Strictly positive definite" is the magic bullet for characteristic kernels: This new class of kernels guarantees characteristic behavior, opening doors for using a wider range of kernels, especially in more complex settings.
- Generalizing MMD makes it adaptive: The supremum over a family of kernels allows the distance measure to "find" the most discriminative kernel for a given pair of distributions, making it more powerful than relying on a single, fixed kernel. This is akin to learning the best kernel for the task.
- The generalized MMD is statistically sound: The theoretical guarantees of consistency mean that we can trust the results obtained from this generalized measure, even with finite samples.
Key Results
- Theorem 1: Establishes that MMD is the negative of the optimal risk for a Parzen window classifier. This implies that characteristic kernels are essential for classifiability.
- Theorem 4: Proves that strictly positive definite kernels are always characteristic.
- Generalized MMD Definition: $\gamma(P, Q) = \sup_{k \in \mathcal{K}} \{ \text{MMD}_k(P, Q) \}$ is proposed as a robust distance measure.
- Theorem 7: Shows that the empirical estimator of $\gamma(P, Q)$ is statistically consistent.
- Experimental Results (Section 5): The generalized MMD successfully distinguishes between perturbed Gaussian distributions, outperforming a fixed-kernel MMD approach, especially when the perturbations (differences between distributions) become more complex. The generalized MMD adaptively selects a kernel bandwidth that is well-suited to the specific differences between the distributions.
Limitations and Future Work
- Computational Cost: While the generalized MMD is powerful, computing the supremum over a family of kernels can be computationally intensive. The paper mentions that this can be framed as a semidefinite program or solved with gradient descent for specific kernel families.
- Choice of Kernel Family $\mathcal{K}$: The performance of the generalized MMD depends on the chosen family of kernels $\mathcal{K}$. Selecting an appropriate family is still a practical consideration.
- Bayesian Approach: The paper briefly mentions an alternative Bayesian approach where MMDs are averaged over a kernel family. While this also yields a pseudometric, it's noted that the generalized MMD is stronger.
- Future Work: The authors suggest further experimental validation and exploration of different kernel families for the generalized MMD. The connection to learning kernels for SVMs also suggests avenues for future research in kernel selection.
Summary updated