Bayesian nonparametric inference for discovery probabilities: credible intervals and large sample asymptotics

Stefano Favaro, Julyan Arbel, Bernardo Nipoti, Yee Whye TehStatistica 2016

Abstract

In species sampling problems, a fundamental challenge is estimating the probability $D_{n}(l)$ that the $(n+1)$-th observation belongs to a species already observed $l$ times in a sample of size $n$. While point estimators for these discovery probabilities exist, quantifying their uncertainty through credible intervals has remained a significant hurdle in Bayesian nonparametrics. This paper addresses this gap by deriving exact posterior credible intervals under the framework of Gibbs-type priors and investigating their large-sample asymptotic behavior. By establishing a mathematical bridge to classical Good-Turing estimators, this work provides both theoretical unification and practical tools for high-throughput biological and ecological data analysis.

Introduction

Whether an ecologist is sampling a remote rainforest or a geneticist is sequencing DNA, a recurring question arises: what is the likelihood that the next item collected will be a new species ($l=0$) or one previously seen exactly $l$ times? This value, the $l$-discovery probability $D_n(l)$, is critical for determining sampling sufficiency and diversity.

While frequentist approaches like the Good-Turing estimator have been staples for decades, Bayesian nonparametric (BNP) methods offer a flexible alternative. However, previous BNP approaches often struggled to provide exact credible intervals without relying on computationally intensive simulations of hypothetical future samples. This research contributes a rigorous methodology for deriving these intervals directly from observed data and explores how these Bayesian estimators behave as the sample size $n$ grows toward infinity.

Methodology

Gibbs-Type Priors

The study utilizes the broad class of Gibbs-type priors, which includes the popular two-parameter Poisson-Dirichlet (PD) prior and the normalized generalized Gamma (GG) prior. These priors are particularly well-suited for modeling populations with an unknown number of species and varying proportions.

Exact Posterior Inference

The authors derived explicit mathematical expressions for the moments of the posterior distribution of $D_n(l)$. For PD and GG priors, these moments were mapped to known probability distributions, such as Beta and exponentially tilted stable distributions. This mapping allows researchers to use Monte Carlo methods to generate exact 95% credible intervals, providing a robust measure of uncertainty that was previously unavailable.

Asymptotic Theory and the Good-Turing Connection

A central contribution of this work is the analysis of large-sample asymptotics. The authors derived first- and second-order asymptotic expansions for the Bayesian estimators. They mathematically demonstrated that as $n \to \infty$, these BNP estimators converge to a smoothed version of the classical Good-Turing estimator. This reveals that the "smoothing" property is an inherent, invariant feature of the entire Gibbs-type prior family.

Empirical Evaluation

The theoretical results were validated using two distinct data sources:

  1. Synthetic Data: Samples were drawn from a Zeta distribution ($s=1.1$ and $s=1.5$) to simulate the power-law behavior typical of ecological and linguistic data, with sample sizes ranging from $10^2$ to $10^5$.
  2. Biological Data: The researchers applied the models to Expressed Sequence Tags (ESTs) from Naegleria gruberi DNA libraries, comparing aerobic and anaerobic conditions. This benchmark dataset allowed for the first direct comparative study between PD and GG priors in this context.

Key Insights and Results

Prior Comparison

One of the most striking findings is the similarity between the PD and GG priors. The study shows they yield nearly identical estimates and credible intervals. This is explained by the mathematical relationship where the PD prior can be expressed as a specific mixture of GG priors, suggesting that for discovery probabilities, the choice between these two specific priors may be less critical than previously thought.

Performance and Scaling

  • Uncertainty Quantification: Bayesian credible intervals for new species discovery ($l=0$) were found to be narrower and more confident than frequentist Good-Turing intervals. Conversely, for species already observed ($l \ge 1$), the Bayesian intervals were slightly wider, reflecting a more conservative estimate of uncertainty.
  • Approximation Accuracy: The first-order asymptotic approximation proved highly accurate even at moderate sample sizes, with a Sum of Squared Errors (SSE) comparable to exact calculations.
  • Computational Efficiency: For massive datasets ($n = 10^5$), the second-order approximation was approximately 2.2 times more accurate than the first-order version while remaining computationally inexpensive, offering a viable alternative to complex recursive weight evaluations.

Conclusion

This research provides a unified framework for Bayesian inference of discovery probabilities. By deriving exact credible intervals and establishing asymptotic equivalence with Good-Turing estimators, the authors have bridged the gap between modern BNP theory and classical frequentist practice. While the current approach uses empirical Bayes for hyperparameter estimation, future work may extend this to a fully Bayesian framework to further refine uncertainty quantification. The results demonstrate that for large-scale genomic and ecological studies, asymptotic approximations provide a fast and accurate means of performing robust statistical inference.

Summary updated

BibTeX
@inproceedings{favaro2016bayesian,
  author = {Stefano Favaro and Julyan Arbel and Bernardo Nipoti and Yee Whye Teh},
  title = {{Bayesian nonparametric inference for discovery probabilities: credible intervals and large sample asymptotics}},
  booktitle = {Statistica},
  year = {2016},
}
Figure