Nearly Minimax Discrete Distribution Estimation in Kullback-Leibler Divergence with High Probability

Dirk van der Hoeven, Julia Olkhovskaia, Tim van Erven

TL;DR

This paper pins down the minimax rate for estimating a discrete distribution under Kullback-Leibler (KL) divergence with high probability, closing the gap down to a doubly logarithmic factor ($\ln \ln K$). It reveals that high-probability KL estimation has fundamentally worse tail behavior than total variation or Hellinger distance, requiring a novel "weak hypothesis testing" framework to establish tight lower bounds.

What Problem Does This Paper Address?

Discrete distribution estimation is a foundational problem in statistics and machine learning: given $n$ independent samples drawn from an unknown distribution over $K$ categories, how accurately can we reconstruct the true distribution?

While this problem is well-understood when performance is measured using metrics like Total Variation or Hellinger distance, analyzing it under Kullback-Leibler (KL) divergence with high probability ($1-\delta$) introduces significant mathematical hurdles. Because the log-loss associated with KL divergence is unbounded, rare or unobserved events can cause the estimation error to blow up to infinity. Prior works either focused on the expected error or provided loose high-probability bounds. This paper aims to resolve this gap by finding the exact minimax rate for high-probability discrete distribution estimation in KL divergence.

Methods

The authors tackle the problem by developing tightly matching upper and lower bounds using two main innovations:

  • Upper Bound via Suffix-Averaged Online-to-Batch (OTB) Conversion: Standard OTB conversions turn online learning algorithms into batch estimators by averaging predictions over all time steps, which unfortunately introduces an unwanted $\ln n$ error factor. To circumvent this, the authors employ suffix-averaging—averaging predictions only over the second half of the data. They combine this with a variant of the add-$\gamma$ smoothing estimator where $\gamma$ is adaptively tuned based on a hold-out set.
  • Lower Bound via Weak Hypothesis Testing: Traditional information-theoretic lower bounds rely on reducing the estimation problem to a standard hypothesis testing problem (e.g., using Fano's inequality) to guess the exact true distribution from a candidate set. The authors prove this standard approach is fundamentally incapable of proving the tight lower bound here. Instead, they introduce a new reduction to weak hypothesis testing, where the goal is much easier: merely identify any incorrect distribution from the candidate set. This weaker requirement paradoxically yields a stronger, tighter lower bound that captures the correct tail behavior.

Datasets

Not discussed in the paper. This is a purely theoretical paper focused on mathematical proofs and minimax rate derivations; no empirical datasets or simulations were used.

Key Insights and Ideas

  • The KL Tail Penalty: Perhaps the most surprising finding is that the tail behavior for KL divergence is fundamentally worse than for total variation or Hellinger distance. For those metrics, the confidence term scales as $\frac{\ln(1/\delta)}{n}$. For KL divergence, it scales as $\frac{\ln K \ln(1/\delta)}{n}$. The size of the domain ($K$) directly multiplies the confidence parameter, meaning high-confidence estimation is intrinsically harder under KL divergence.
  • Why the MLE Fails (and When it Succeeds): The Maximum Likelihood Estimator (MLE) fails globally because if a category has a non-zero true probability but happens to show up zero times in the sample, the KL divergence becomes infinite. However, the authors show a refined result: if you rule out extremely small outcome probabilities (specifically, those smaller than $O(\ln(K/\delta)/n)$), the MLE actually achieves the optimal rate without the $\ln K$ penalty.
  • Weak Testing is a Stronger Tool: The introduction of weak hypothesis testing highlights a structural limitation in standard reduction techniques for unbounded losses, providing a new tool for information theorists tackling similar problems.

Key Results

  • Sandwiched Minimax Rate: The authors prove that the minimax rate $r_n^*(\delta)$ at error probability $\delta$ and sample size $n$ is tightly bounded: $$C_1 \left( \frac{K + \ln(K)\ln(1/\delta)}{n} \right) \le r_n^*(\delta) \le C_2 \left( \frac{K\ln\ln(K) + \ln(K)\ln(1/\delta)}{n} \right)$$ for absolute constants $C_1, C_2$. This pins down the exact rate up to the doubly logarithmic factor $\ln \ln K$.

  • Suboptimality of Standard Smoothers: They demonstrate that standard add-$\gamma$ estimators that do not depend on $\delta$ (like the Laplace estimator where $\gamma=1$, or the Krichevsky-Trofimov estimator where $\gamma=1/2$) cannot achieve the optimal rate, resulting in a worse $\ln(1/\delta)\ln\ln(1/\delta)/n$ dependence.

Limitations and Future Work

  • The $\ln\ln K$ Gap: A small gap remains between the upper and lower bounds due to the $\ln\ln K$ factor multiplying $K$ in the upper bound. Closing this final gap remains an open question.
  • Coarse Constants: The constants $C_1$ and $C_2$ derived in the proofs are coarse (e.g., the lower bound constant $C \approx 4.1 \times 10^{-6}$) and are not optimized for practical application.
  • Extension to Complex Models: The authors note that an exciting direction for future work is extending these high-probability, unbounded-loss estimation techniques to more complex structures, such as Markov chains and logistic regression.

Summary updated

BibTeX
@misc{hoeven2025nearly,
  author = {Dirk van der Hoeven and Julia Olkhovskaia and Tim van Erven},
  title = {{Nearly Minimax Discrete Distribution Estimation in Kullback-Leibler Divergence with High Probability}},
  year = {2025},
  eprint = {2507.17316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.17316},
}
Figure