Copula-based Kernel Dependency Measures

Barnabás Póczos, Zoubin Ghahramani, Jeff G. Schneider

Abstract

Measuring dependence between random variables is a cornerstone of statistical analysis and machine learning. However, traditional methods often struggle with high dimensionality, sensitivity to outliers, or a lack of scale invariance. This paper introduces a novel dependency measure that combines the structural benefits of Copulas with the computational efficiency of Maximum Mean Discrepancy (MMD). The resulting measure is invariant to strictly increasing transformations, robust to outliers, and avoids the "curse of dimensionality" associated with traditional density estimation.

Introduction

In tasks such as feature selection and causal discovery, quantifying the relationship between variables is essential. While Shannon Mutual Information (MI) is theoretically robust, its estimation in high-dimensional spaces is notoriously difficult. Alternative measures, such as the Hilbert-Schmidt Independence Criterion (HSIC), often lack scale invariance—meaning that changing the units of a variable (e.g., from grams to kilograms) can significantly alter the dependency score. Furthermore, many existing methods are sensitive to outliers, where a single extreme value can disproportionately influence the result.

To address these issues, the authors propose a measure that satisfies the dependence axioms formalized by Schweizer and Wolff. Specifically, they seek a metric that is invariant to any strictly increasing transformation of the data, ensuring that the underlying dependence structure is captured regardless of how the variables are scaled or distributed.

Methodology

The proposed framework utilizes a two-step process to quantify dependence:

  1. Empirical Copula Transformation: Raw data is transformed into its copula form by replacing each observation with its relative rank within its respective dimension. This process effectively "flattens" marginal distributions into uniforms, isolating the dependence structure from the specific scaling of individual variables.
  2. Kernel Divergence Estimation: Once in the copula space, the distance between the joint distribution and the state of perfect independence (represented by a joint uniform distribution) is measured using Maximum Mean Discrepancy (MMD), a tool from Reproducing Kernel Hilbert Space (RKHS) literature.
The two-step process for estimating dependence: empirical copula transformation followed by distance estimation to a joint uniform distribution.

By applying MMD to the copula rather than the raw data, the authors create a non-parametric, scale-invariant measure. This approach allows for the calculation of both biased ($I_b$) and unbiased ($I_u$) estimators that are proven to be statistically consistent even as dimensionality increases.

Visual representation of the copula transformation, where a joint distribution is decomposed into its marginal distributions ($F_1, F_2$) and the underlying copula ($C$).

Experimental Evaluation

The method was evaluated using both synthetic and real-world datasets to demonstrate its robustness and predictive power:

  • Synthetic Data: The authors designed "deceptive" distributions where variables were related via deterministic functions (e.g., sine waves) but had vastly different scales (e.g., $U[0, 1]$ vs $U[0, 500]$). While standard MMD failed to identify the correct predictive features due to these scaling issues, the Copula-MMD method correctly identified the dependent variable in every instance.
  • UCI Housing Dataset: In predicting median home values, standard MMD prioritized the "average number of rooms" (RM). In contrast, the Copula-MMD method identified "lower status of the population" (LSTAT) as a more significant predictor. Subsequent testing with linear regressors confirmed that the feature selected by the Copula-based method resulted in lower prediction error.
  • Visualization: Using the measure as a distance metric for low-dimensional embeddings (similar to Multi-Dimensional Scaling), the authors found that the Copula-based approach produced significantly clearer clusters of related features compared to standard kernel methods.

Key Insights and Discussion

The Copula-based approach offers several distinct advantages over traditional dependency measures:

  • Robustness to Outliers: Because the method relies on rank statistics (the relative position of a value) rather than the values themselves, individual extreme outliers have a negligible impact on the final score.
  • Scale Invariance: This is a "killer feature" for real-world datasets where features are measured in different units. It ensures that algorithms do not prioritize variables simply because they have larger numerical ranges.
  • Beating the Curse of Dimensionality: Unlike many dependence measures that require estimating probability densities, the kernel-based approach maintains a convergence rate that makes it practical for high-dimensional data.

Conclusion and Future Work

This paper presents a robust, scale-invariant alternative to traditional dependency measures by leveraging the synergy between Copulas and MMD. While the choice of kernel bandwidth remains a topic for future optimization—the current work uses a heuristic of $\sigma^2 = 1/12$—the empirical results are promising. Future research will focus on formalizing the null distribution for rigorous independence testing and exploring automated kernel selection techniques for copula spaces.

Summary updated

BibTeX
@inproceedings{poczos2012copula,
  author = {Barnabás Póczos and Zoubin Ghahramani and Jeff G. Schneider},
  title = {{Copula-based Kernel Dependency Measures}},
  booktitle = {International Conference on Machine Learning},
  year = {2012},
  url = {https://openreview.net/forum?id=BJbQUhWdZB},
}
Figure