A Neural Network Algorithm for KL Divergence Estimation with Quantitative Error Bounds

Mikil Foss, Andrew Lamperski
10/6/2025
cs.LGcs.ITmath.OC

No confident code implementation found for this paper.

Abstract

Estimating the Kullback-Leibler (KL) divergence between random variables is a fundamental problem in statistical analysis. For continuous random variables, traditional information-theoretic estimators scale poorly with dimension and/or sample size. To mitigate this challenge, a variety of methods have been proposed to estimate KL divergences and related quantities, such as mutual information, using neural networks. The existing theoretical analyses show that neural network parameters achieving low error exist. However, since they rely on non-constructive neural network approximation theorems, they do not guarantee that the existing algorithms actually achieve low error. In this paper, we propose a KL divergence estimation algorithm using a shallow neural network with randomized hidden weights and biases (i.e. a random feature method). We show that with high probability, the algorithm achieves a KL divergence estimation error of $O(m^{-1/2}+T^{-1/3})$, where $m$ is the number of neurons and $T$ is both the number of steps of the algorithm and the number of samples.

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{foss2025neural,
  title  = {A Neural Network Algorithm for KL Divergence Estimation with Quantitative Error Bounds},
  author = {Mikil Foss and Andrew Lamperski},
  year   = {2025},
  eprint = {2510.05386},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.05386v1}
}

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

Discussion