Abstract
While Kernel Mean Embeddings (KME) have revolutionized distribution comparison and independence testing through measures like Maximum Mean Discrepancy (MMD) and Hilbert-Schmidt Independence Criterion (HSIC), these methods are fundamentally limited to first-order statistics in the feature space. This paper introduces kernelized cumulants, a framework that generalizes classical higher-order statistics (such as variance and skewness) to Reproducing Kernel Hilbert Spaces (RKHS). By leveraging tensor algebras and a novel "expected kernel trick," the authors derive new statistics that capture fine-grained distributional differences while maintaining the $O(N^2)$ computational complexity of traditional kernel methods.
Introduction
In classical statistics, moments and cumulants provide a hierarchy of descriptors for a distribution's shape. While the mean (first moment) provides a center of mass, the variance (second cumulant) describes spread by effectively "subtracting out" the influence of the mean. In machine learning, the "kernel trick" allows us to lift data into high-dimensional feature spaces where the Kernel Mean Embedding (KME) acts as a representative of the distribution.
However, current state-of-the-art tools like MMD and HSIC are essentially "degree one" statistics. They rely on the first-order kernel mean, which may fail to distinguish between distributions that share similar low-order characteristics but differ in more subtle ways. This paper addresses this gap by providing a systematic, computationally efficient way to define and compute higher-order cumulants in kernel spaces.
Theoretical Framework
The authors bridge the gap between abstract algebra and practical machine learning using two primary pillars:
1. Tensor Algebras in Hilbert Spaces
To define cumulants in an RKHS, the authors utilize tools from tensor algebra. This provides a rigorous mathematical foundation for "subtracting" lower-order information from higher-order moments. Just as variance is the second moment minus the square of the first moment, kernelized cumulants allow for the isolation of higher-order structural information that is not already explained by lower-order statistics.
2. The Expected Kernel Trick
A significant challenge in higher-order statistics is the curse of dimensionality and computational overhead. The authors prove that these infinite-dimensional objects can be evaluated using an "expected kernel trick." This ensures that higher-order statistics can be computed using only the kernel function evaluated on pairs of data points, avoiding the need to explicitly map data into the feature space.
New Statistical Criteria
The paper introduces two specific new statistics derived from this framework:
- $d^{(m)}$ (Degree-$m$ Semi-metric): A generalization of MMD for two-sample testing. While $d^{(1)}$ is equivalent to MMD, higher degrees (e.g., $d^{(2)}$) provide increased sensitivity to distributional differences.
- CSIC (Cross Skewness Independence Criterion): A higher-order alternative to HSIC designed for independence testing, focusing on third-order interactions.
Crucially, the authors derive V-statistics for these measures, ensuring that the computational complexity remains quadratic ($O(N^2)$) relative to the number of samples, matching the efficiency of MMD and HSIC.
Empirical Results
The proposed methods were evaluated against synthetic and real-world benchmarks to demonstrate their superior statistical power.
Synthetic Benchmarks
In a "Uniform vs. Mixture" two-sample test—where a mixture of uniforms was specifically designed to match the first three moments of a standard uniform distribution—the degree-2 kernelized cumulant ($d^{(2)}$) achieved 100% test power with significantly fewer samples than MMD. This demonstrates that higher-order cumulants can detect differences that first-order embeddings are blind to.
Real-World Applications
- Seoul Bicycle Data: In distinguishing between environmental and rental patterns across different seasons (e.g., winter vs. fall), $d^{(2)}$ consistently outperformed MMD, particularly in low-sample regimes ($N < 40$).
- Sao Paulo Traffic Data: Using a dataset of 16 traffic-related statistics, the authors applied CSIC (degree 3) for independence testing. CSIC showed higher test power than HSIC, suggesting that higher-order interactions are essential for capturing the complex dependencies inherent in urban traffic patterns.
Discussion and Insights
The Power of "Subtracting" the Known
The primary advantage of cumulants is their ability to record only the parts of a distribution's shape that are not explained by lower-order statistics. This makes them highly sensitive to "fine-grained" differences. Furthermore, the authors demonstrate that while MMD requires "characteristic" kernels to be a metric, higher-order cumulants can characterize distributions even with simpler "point-separating" kernels, provided enough cumulant orders are considered.
Limitations and Future Directions
Despite the increased sensitivity, higher-order cumulants may suffer from higher estimation variance. While degrees 2 and 3 showed clear benefits, the utility of much higher orders (e.g., degree 10+) remains an open question. Additionally, like all kernel methods, performance is sensitive to kernel selection and bandwidth ($\sigma$) parameters. Future work is needed to develop principled methods for optimizing these parameters specifically for higher-order cumulant statistics.
Conclusion
Kernelized cumulants represent a significant step beyond the first-order limitations of Kernel Mean Embeddings. By providing a computationally efficient $O(N^2)$ framework for higher-order statistics, this work equips researchers with a more sensitive toolkit for two-sample and independence testing, uncovering distributional nuances that were previously invisible to standard kernel methods.
Summary updated