Introduction
Gaussian Mixture Models (GMMs) serve as a fundamental tool in machine learning for representing complex, multimodal data distributions. However, a persistent challenge in the field is the development of robust metrics to measure the distance between two such mixtures. While the Wasserstein distance—derived from Optimal Transport (OT) theory—is theoretically appealing due to its sensitivity to the underlying geometry of the data space, it often fails to preserve the inherent structure of GMMs. Specifically, during "displacement interpolation" (the process of morphing one distribution into another), standard Wasserstein methods often cause distinct clusters to merge into a single, unstructured "blob."
Presented at the OPT2023 workshop, this research introduces a novel framework that addresses these limitations by integrating Optimal Transport with Kernel Methods. By lifting the problem into a Reproducing Kernel Hilbert Space (RKHS), the authors provide a method that captures non-linear relationships while maintaining the structural integrity of the mixture components.
The Kernel Gaussian Framework
The proposed methodology operates through a structured three-step process designed to leverage the "kernel trick," allowing for computations in high-dimensional feature spaces without explicit mapping.
1. Kernel Gaussian Distance ($KW_2$)
The foundation of the framework is the definition of the $W_2$ Wasserstein distance for individual Gaussian components mapped into an RKHS. By utilizing the kernel trick, the authors derive a closed-form solution that relies solely on the kernel Gram matrices ($K$) of the data. This avoids the computational prohibitive task of working directly in infinite-dimensional feature spaces.
2. GMM Distance in RKHS
To compare two full mixtures, the authors treat the task as a discrete OT problem. In this setup, the "atoms" of transport are the individual Gaussian components of each mixture. The cost function for moving mass between component $i$ of the first mixture and component $j$ of the second is defined by the squared $KW_2$ distance established in the first step. This hierarchical approach ensures that the transport respects the cluster-based nature of the data.
3. Entropy Regularization
For practical implementation, the authors provide theoretical extensions for entropy-regularized versions of these distances. Regularization is a critical component in modern OT, as it stabilizes optimization and improves computational efficiency. A key theoretical contribution in the work is the proof that different formulations of entropy-regularized Wasserstein distances in RKHS are equivalent under specific parameter scaling ($2\sigma^2 = \epsilon$).
Experimental Evaluation
The framework was tested against several synthetic benchmarks designed to challenge standard Euclidean metrics, including 1D synthetic mixtures and 2D "toy" datasets such as concentric rings and interlocking moons. These datasets are particularly useful because they represent non-linearly separable manifolds where traditional GMM distances often fail.
Key Findings
- Structure Preservation: A primary advantage of the proposed metric is its ability to maintain the identity of mixture components during interpolation. Unlike standard Wasserstein distances that "melt" mixtures together, this kernel-based approach allows components to travel toward their counterparts as distinct entities.
- The Role of Kernel Scale: The RBF kernel parameter $\gamma$ (the kernel width) significantly influences the resulting distance. As $\gamma$ increases, the measured distance between distributions also increases, highlighting that the choice of kernel scale is a vital hyperparameter for defining "closeness" in the feature space.
- Convergence and Stability: Simulation tests demonstrated that the metric converges steadily as the sample size increases. When computing distances from random subsets (ranging from 200 to 800 points), the results consistently approached the value computed on the full dataset, with a narrowing standard deviation as more data was provided.
Limitations and Future Work
While the framework offers significant qualitative and theoretical advantages, it faces challenges regarding scalability. The reliance on Gram matrix operations—specifically matrix square roots and inversions—results in a computational complexity of $O(n^3)$. This cubic scaling limits the application of the method to very large datasets without the use of approximation techniques like Nyström sampling.
Furthermore, while the sensitivity to the kernel parameter $\gamma$ is well-documented, the paper notes that a formal, automated method for selecting the optimal $\gamma$ remains an open question. Future research directions include applying this framework to high-dimensional real-world data, such as genomics or medical imaging, where GMMs are frequently employed to model heterogeneous populations.
Conclusion
By combining the geometric awareness of Optimal Transport with the non-linear flexibility of Kernel Methods, this framework provides a powerful new lens for comparing complex distributions. The ability to preserve mixture structures during transformation makes it a promising candidate for applications in data augmentation, generative modeling, and manifold learning.
Summary updated