NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Complexity of Estimating Renyi Divergences

Maciej SkorskiISIT 2017

TL;DR

This paper investigates the sample complexity of estimating Renyi divergences between two discrete distributions, $p$ (observed from samples) and $q$ (known a priori). The authors show that unlike Renyi entropy estimation, Renyi divergence estimation's sample complexity can be unbounded and heavily depends on rare events in the reference distribution $q$. They provide theoretical guarantees and insights into why certain heuristics are used in practice.

What Problem Does This Paper Address?

In many applications, such as anomaly detection in network traffic, we need to compare an observed data distribution ($p$) against a known "profile" or reference distribution ($q$). Renyi divergences are a family of metrics used to quantify the difference between these distributions. While estimating Renyi entropy (a special case where $q$ is uniform) has been studied, the more general problem of estimating Renyi divergence when $q$ is arbitrary and known a priori has remained less understood, particularly concerning the theoretical limits on how many samples are needed. Existing methods often struggle with numerical instability when $q$ has very small probabilities, and the theoretical sample complexity implications of this were unclear.

Methods

The paper extends techniques from prior work on Renyi entropy estimation ([AOST15]) to develop improved estimators for Renyi divergence. A key innovation is the use of "falling powers" to estimate power sums, which acts as a bias correction method for the estimator. This leads to better statistical properties and, consequently, potentially lower sample complexity.

For establishing theoretical bounds, the authors employ a novel approach for deriving lower bounds. They construct pairs of distributions that are close in total variation but have significantly different Renyi divergences with respect to $q$. This variational approach allows them to derive lower bounds that hold for any estimation technique, regardless of its specific design.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and bounds for discrete distributions, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Unbounded Complexity: The most striking finding is that, unlike Renyi entropy, the sample complexity for estimating Renyi divergence can be unbounded in general. This is directly tied to the probabilities of events that are rare in the reference distribution $q$.
  • Dependence on $q$: The complexity is not just dependent on the alphabet size but critically on the distribution of probabilities in $q$. If $q$ has "non-negligible" probabilities (i.e., not arbitrarily close to zero), the complexity can be polynomial in the alphabet size. However, if $q$ assigns very small probabilities to some events, the sample complexity can explode.
  • Numerical vs. Sample Complexity: The paper provides a theoretical explanation for why small probabilities in $q$ cause issues. It's not just about numerical instability in the formula itself, but also about a dramatic blow-up in the number of samples required for a reliable estimate.
  • New Lower Bound Technique: The authors introduce a new method for deriving lower bounds on sample complexity using variational arguments, which is more general than previous approaches and holds for all accuracy regimes.

Key Results

  • Upper Bounds: The paper provides general upper bounds on the sample complexity for estimating Renyi divergence. These bounds are similar to those for Renyi entropy but incorporate weights reflecting the reference distribution $q$.
  • Sublinear Complexity for Near-Uniform $q$: When the reference distribution $q$ is close to uniform, the sample complexity can be sublinear in the alphabet size, similar to Renyi entropy estimation.
  • Polynomial Complexity Condition: The sample complexity is polynomial in the alphabet size if and only if the probabilities in the reference distribution $q$ are non-negligible.
  • Lower Bounds: The paper establishes lower bounds showing that estimating Renyi divergence generally requires $\Omega(k)$ samples (where $k$ is the alphabet size). For cases with very small probabilities in $q$, the complexity can be super-polynomial.

Limitations and Future Work

  • Discrete Distributions: The analysis is focused on discrete distributions. The authors mention that continuous distributions would require additional smoothness assumptions.
  • Fixed Divergence Order: The results are for a fixed order $\alpha > 1$ of the Renyi divergence. Analyzing the complexity as $\alpha$ varies might be a future direction.
  • Theoretical Focus: The paper is primarily theoretical, providing bounds and insights. Empirical validation of the proposed estimators and comparison with existing methods on real-world anomaly detection tasks would be a valuable next step.
  • Practical Implications: While the paper explains the theoretical reasons behind numerical instability and sample complexity blow-up, further work could explore practical strategies for handling these challenges in real-time systems.

Summary updated

BibTeX
@inproceedings{skorski2017complexity,
  author = {Maciej Skorski},
  title = {{On the Complexity of Estimating Renyi Divergences}},
  booktitle = {ISIT},
  year = {2017},
  url = {https://openreview.net/forum?id=7nnEI7XSXu},
}
Figure