Linear Kernel Tests via Empirical Likelihood for High-Dimensional Data

Lizhong Ding, Zhi Liu, Yu Li, Shizhong Liao, Yong Liu, Peng Yang, Ge Yu, Ling Shao, Xin Gao

Introduction

Comparing high-dimensional probability distributions is a cornerstone of modern machine learning, essential for tasks like evaluating generative models (two-sample tests) or assessing model fit (goodness-of-fit tests). While kernel methods like Maximum Mean Discrepancy (MMD) offer powerful non-parametric solutions, their $O(n^2)$ complexity is often prohibitive for large-scale applications. Linear-time $O(n)$ alternatives exist but typically suffer from low statistical power, frequently failing to detect subtle distributional differences. This paper introduces a novel framework that integrates linear-time kernel tests with Empirical Likelihood (EL) to create ELR-MMD and ELR-KSD. These new statistics achieve significantly higher power than existing linear methods while maintaining computational efficiency and providing an analytical "Wilks’ Theorem" for easy significance testing.

Methodology: The ELR Framework

The authors propose a "best of both worlds" approach by wrapping pairwise discrepancies from linear kernel tests within an Empirical Likelihood Ratio (ELR) framework. Unlike standard linear tests that simply average discrepancies, the ELR method assigns optimal probability weights to each data point. This optimization "sharpens" the test, making it more sensitive to subtle differences between distributions.

Key developments include:

  • ELR-MMD: A two-sample test statistic based on the linear MMD estimator.
  • ELR-KSD: A goodness-of-fit test statistic based on the linear Kernel Stein Discrepancy.
  • Nonparametric Wilks’ Theorem: The authors prove that these statistics follow a chi-square ($\chi^2$) distribution asymptotically. This allows practitioners to determine p-values from standard tables, bypassing the need for expensive bootstrap simulations.

Experimental Evaluation

The methods were stress-tested against high-dimensional benchmarks, including Gaussian perturbations, Gaussian vs. Laplacian comparisons, and Restricted Boltzmann Machines (RBM).

Power and Sensitivity

In high-dimensional settings, ELR-based tests consistently outperformed standard linear counterparts (Lin-MMD and Lin-KSD). As shown in Figure 2, the ELR-MMD test maintains high rejection rates as variance perturbation increases, even as dimensionality grows from $d=10$ to $d=100$. Notably, while Finite Set Stein Discrepancy (FSSD) performs well in low dimensions, its power collapses in higher dimensions.

Rejection rates vs. variance perturbation for dimensions d=10, 50, and 100. ELR-MMD shows superior power compared to FSSD and standard linear MMD as dimensionality increases.

Robustness to Dimensionality

A critical finding is the failure of popular methods like FSSD in high dimensions. FSSD maps data to a $d \times J$ matrix; as the dimension $d$ increases, the variance of the FSSD statistic explodes, leading to a collapse in power. In contrast, ELR-MMD and ELR-KSD map high-dimensional data into a 1D scalar discrepancy before testing, making them remarkably robust to the "curse of dimensionality."

Rejection rates vs. dimension for varying sample sizes. ELR-based methods (top row: ELR-MMD, bottom row: ELR-KSD) maintain performance as dimension increases, while FSSD and Lin-KSD power often degrades.

Key Insights

  • Likelihood Power: By leveraging the likelihood ratio principle, EL brings the "most powerful" test property of parametric tests to the non-parametric domain without assuming a specific data distribution.
  • Computational Efficiency: ELR tests are nearly as fast as standard linear tests and avoid the costly "test location" optimization required by FSSD.
  • Consistency: The authors provide mathematical proofs that the power of these tests converges to 1 as sample size increases, ensuring reliable detection given sufficient data.

Conclusion and Future Work

The ELR framework provides a robust, high-power, and computationally efficient solution for high-dimensional hypothesis testing. It overcomes the limitations of previous linear-time methods that struggle with dimensionality. Future research directions include automating kernel selection for ELR tests and extending the framework to other statistical problems such as independence and conditional independence testing.

Summary updated

BibTeX
@inproceedings{ding2019linear,
  author = {Lizhong Ding and Zhi Liu and Yu Li and Shizhong Liao and Yong Liu and Peng Yang and Ge Yu and Ling Shao and Xin Gao},
  title = {{Linear Kernel Tests via Empirical Likelihood for High-Dimensional Data}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33013454},
}
Figure