Approximating $f$-Divergences with Rank Statistics
Viktor Stein, José Manuel de Frutos
TL;DR
The paper tackles the challenge of estimating $f$-divergences from samples without density-ratio estimation by introducing a rank-statistic framework based on the probability integral transform and rank histograms. It defines a univariate rank-divergence $D^{(K)}_{f,\nu}(\mu)$ that is convex, monotone in the resolution $K$, and provides convergence guarantees as $K\to\infty$, along with finite-sample deviation bounds and asymptotic normality. The authors extend the approach to high dimensions via sliced divergences, proving similar properties for the averaged one-dimensional projections and establishing consistency for the sliced limit. They validate the method empirically against neural baselines and demonstrate its utility as a learning objective for generative modelling, including experiments on CelebA, while outlining practical limitations and future research directions.
Abstract
We introduce a rank-statistic approximation of $f$-divergences that avoids explicit density-ratio estimation by working directly with the distribution of ranks. For a resolution parameter $K$, we map the mismatch between two univariate distributions $μ$ and $ν$ to a rank histogram on $\{ 0, \ldots, K\}$ and measure its deviation from uniformity via a discrete $f$-divergence, yielding a rank-statistic divergence estimator. We prove that the resulting estimator of the divergence is monotone in $K$, is always a lower bound of the true $f$-divergence, and we establish quantitative convergence rates for $K\to\infty$ under mild regularity of the quantile-domain density ratio. To handle high-dimensional data, we define the sliced rank-statistic $f$-divergence by averaging the univariate construction over random projections, and we provide convergence results for the sliced limit as well. We also derive finite-sample deviation bounds along with asymptotic normality results for the estimator. Finally, we empirically validate the approach by benchmarking against neural baselines and illustrating its use as a learning objective in generative modelling experiments.
