Likelihood Ratio Tests by Kernel Gaussian Embedding

Leonardo V. Santoro, Victor M. Panaretos
8/11/2025
stat.MLcs.LGstat.ME

No confident code implementation found for this paper.

Abstract

We propose a novel kernel-based nonparametric two-sample test, employing the combined use of kernel mean and kernel covariance embedding. Our test builds on recent results showing how such combined embeddings map distinct probability measures to mutually singular Gaussian measures on the kernel's RKHS. Leveraging this ``separation of measure phenomenon", we construct a test statistic based on the relative entropy between the Gaussian embeddings, in effect the likelihood ratio. The likelihood ratio is specifically tailored to detect equality versus singularity of two Gaussians, and satisfies a ``$0/\infty$" law, in that it vanishes under the null and diverges under the alternative. To implement the test in finite samples, we introduce a regularised version, calibrated by way of permutation. We prove consistency, establish uniform power guarantees under mild conditions, and discuss how our framework unifies and extends prior approaches based on spectrally regularized MMD. Empirical results on synthetic and real data demonstrate remarkable gains in power compared to state-of-the-art methods, particularly in high-dimensional and weak-signal regimes.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{santoro2025likelihood,
  title  = {Likelihood Ratio Tests by Kernel Gaussian Embedding},
  author = {Leonardo V. Santoro and Victor M. Panaretos},
  year   = {2025},
  eprint = {2508.07982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.07982v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.07982.svg)](https://codeofpaper.com/paper/2508.07982)

Discussion