Strong Consistency of the Good-Turing Estimator

Aaron B. Wagner, Pramod Viswanath, Sanjeev R. Kulkarni

Abstract

This paper provides the first formal proof of the strong consistency of the Good-Turing estimator, a foundational statistical tool for estimating the probability of rare or unseen events. By modeling a regime where symbols remain rare even as the sample size grows, the authors demonstrate that the estimator converges almost surely to the true underlying probabilities. This work bridges a long-standing gap between the practical utility of the Good-Turing estimator and its theoretical foundations in infinite-alphabet settings.

Introduction

In statistical inference, the Maximum Likelihood (ML) estimator is the standard approach for estimating probabilities: if a specific event occurs $k$ times in $n$ trials, its probability is estimated as $k/n$. However, this approach fails significantly when dealing with rare events or large alphabets. For instance, in a sample of 100 words from a 10,000-word vocabulary, the ML estimator would assign a 0% probability to the 9,900 words not seen in the sample. In reality, the probability that the next word is one of those unseen entries is often quite high.

The Good-Turing (GT) estimator, developed by I.J. Good and Alan Turing during their cryptanalytic work in World War II, addresses this "zero-frequency" problem. It utilizes the "frequency of frequencies"—using the number of symbols seen exactly once to estimate the total probability of symbols seen zero times. Despite its widespread application in natural language processing, biology, and ecology, the theoretical guarantee of its "strong consistency"—the assurance that it converges to the correct value with probability one as data increases—had not been established for the regime where it is most useful: the rare-event regime.

Modeling the Rare-Event Regime

The primary challenge in proving consistency for the GT estimator lies in the nature of the data. In traditional statistics, the distribution is fixed as the sample size $n$ grows. In the rare-event regime, however, the number of possible symbols is often large relative to $n$. To capture this, the authors define a mathematical framework involving:

  1. Varying Distributions: Instead of a fixed distribution, the underlying probability distribution is allowed to change as $n$ increases. This ensures that symbols remain "rare" (with probabilities on the order of $O(1/n)$) even as more data is collected, mimicking real-world scenarios like expanding text corpora.
  2. The "Shadow" of a Distribution: The authors introduce the concept of the "shadow"—the distribution of the probabilities themselves, independent of the specific symbols they represent. This abstraction allows the analysis to focus on the statistical structure of the rarity rather than the identity of the symbols.

Methodology and Convergence

The authors establish strong consistency by showing that the total probability of all symbols appearing exactly $k$ times converges to a deterministic limit. This limit is characterized by a Poisson mixture:

$$\lambda_k := \int_0^\infty \frac{y^k \exp(-y)}{k!} dQ(y)$$

where $Q$ represents the distribution of the scaled probabilities (the shadow).

To prove that the GT estimator converges to this limit almost surely, the authors employ the Azuma-Hoeffding-Bennett concentration inequality. This rigorous approach demonstrates that the estimator does not merely converge on average but remains close to the true value with overwhelming probability as the sample size increases. The GT estimator acts as a mathematical "shortcut," estimating the limit of total probabilities without requiring an explicit estimation of the underlying shadow distribution $Q$.

Key Insights and Results

The primary contribution of this research is Theorem 1, which formally states that the Good-Turing total probability estimator is strongly consistent. The research highlights several critical insights:

  • Deterministic Limits in Random Environments: Even though the total probabilities of rare events are random variables, they converge to a deterministic limit as the sample size grows in the rare-event regime.
  • The Power of the Shortcut: The GT estimator effectively bypasses the need to reconstruct the entire probability distribution, providing a robust estimate of the "missing mass" and other frequency-based probabilities directly from observed counts.
  • L1 Convergence: The authors prove that the $L^1$ distance between the true total probabilities and the Good-Turing estimates vanishes almost surely.

Limitations and Future Directions

While the paper establishes a landmark theoretical result, it also identifies specific boundaries for the GT estimator. The estimator is known to perform poorly for "heavy" symbols—those with high individual probabilities. However, the authors note that this is not a practical drawback, as the standard ML estimator is highly effective for such symbols.

Future research may explore the "plug-in" approach suggested by the paper: explicitly estimating the mixing distribution $Q$ (the shadow) to estimate other statistical quantities beyond simple frequencies. Additionally, while this paper proves that the estimator converges, further work is needed to determine the rate of convergence, which would provide deeper insights into the estimator's efficiency in finite-sample scenarios.

Summary updated

BibTeX
@inproceedings{wagner2006strong,
  author = {Aaron B. Wagner and Pramod Viswanath and Sanjeev R. Kulkarni},
  title = {{Strong Consistency of the Good-Turing Estimator}},
  booktitle = {ISIT},
  year = {2006},
  doi = {10.1109/isit.2006.262066},
}
Figure