The Representation Jensen-Shannon Divergence

Jhoan K. Hoyos-Osorio, Luis G. Sanchez-Giraldo
5/25/2023
17 citations
cs.LGcs.ITstat.ML

Official code: uk-cliplab/representationJSD (3 stars, Jupyter Notebook, last commit 2023-10-03).

Abstract

Quantifying the difference between probability distributions is crucial in machine learning. However, estimating statistical divergences from empirical samples is challenging due to unknown underlying distributions.

Show full abstract

This work proposes the representation Jensen-Shannon divergence (RJSD), a novel measure inspired by the traditional Jensen-Shannon divergence. Our approach embeds data into a reproducing kernel Hilbert space (RKHS), representing distributions through uncentered covariance operators. We then compute the Jensen-Shannon divergence between these operators, thereby establishing a proper divergence measure between probability distributions in the input space. We provide estimators based on kernel matrices and empirical covariance matrices using Fourier features. Theoretical analysis reveals that RJSD is a lower bound on the Jensen-Shannon divergence, enabling variational estimation. Additionally, we show that RJSD is a higher-order extension of the maximum mean discrepancy (MMD), providing a more sensitive measure of distributional differences. Our experimental results demonstrate RJSD's superiority in two-sample testing, distribution shift detection, and unsupervised domain adaptation, outperforming state-of-the-art techniques. RJSD's versatility and effectiveness make it a promising tool for machine learning research and applications.

View on arXivView PDF

Code Implementations(1)

32Jupyter Notebook, PythonMay 24, 20233 years ago

Similar Papers

Cite this paper

@article{hoyososorio2023representation,
  title  = {The Representation Jensen-Shannon Divergence},
  author = {Jhoan K. Hoyos-Osorio and Luis G. Sanchez-Giraldo},
  year   = {2023},
  eprint = {2305.16446},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.16446v4}
}

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/2305.16446.svg)](https://codeofpaper.com/paper/2305.16446)

Discussion