In probability theory, Dirichlet processes (after the distribution associated with Peter Gustav Lejeune Dirichlet) are a family of stochastic processes whose realizations are probability distributions. In other words, a Dirichlet process is a probability distribution whose range is itself a set of probability distributions. It is often used in Bayesian inference to describe the prior knowledge about the distribution of random variables—how likely it is that the random variables are distributed according to one or another particular distribution. As an example, a single die represents a probability mass function (pmf), so a bag of 100 real-world dice is a collection of random pmfs—when you put your hand in the bag and draw out a die, you draw a single random pmf, thus sampling from that collection of pmfs. A bag of dice manufactured using a crude process 100 years ago will likely contain dice that deviate wildly from the uniform pmf, whereas a bag of state-of-the-art dice used by Las Vegas casinos may have barely perceptible imperfections. Such a collection of pmfs may be modeled by a distribution over pmfs, such as the Dirichlet distribution. The Dirichlet process is specified by a base distribution H and a positive real number α called the concentration parameter (also known as scaling parameter). The base distribution is the expected value of the process, i.e., the Dirichlet process draws distributions "around" the base distribution the way a normal distribution draws real numbers around its mean. However, even if the base distribution is continuous, the distributions drawn from the Dirichlet process are almost surely discrete. The scaling parameter specifies how strong this discretization is: in the limit of α→0, the realizations are all concentrated at a single value, while in the limit of α→∞ the realizations become continuous. Between the two extremes the realizations are discrete distributions with less and less concentration as α increases. The Dirichlet process can also be seen as the infinite-dimensional generalization of the Dirichlet distribution. In the same way as the Dirichlet distribution is the conjugate prior for the categorical distribution, the Dirichlet process is the conjugate prior for infinite, nonparametric discrete distributions. A particularly important application of Dirichlet processes is as a prior probability distribution in infinite mixture models. The Dirichlet process was formally introduced by Thomas S. Ferguson in 1973. It has since been applied in data mining and machine learning, among others for natural language processing, computer vision and bioinformatics.
Introduction Dirichlet processes are usually used when modelling data that tends to repeat previous values in a so-called "rich get richer" fashion. Specifically, suppose that the generation of values X1,X2,… can be simulated by the following algorithm.
Input: H (a probability distribution called base distribution), α (a positive real number called scaling parameter) For n≥1:
At the same time, another common model for data is that the observations X1,X2,… are assumed to be independent and identically distributed (i.i.d.) according to some (random) distribution P. The goal of introducing Dirichlet processes is to be able to describe the procedure outlined above in this i.i.d. model. The X1,X2,… observations in the algorithm are not independent, since we have to consider the previous results when generating the next value. They are, however, exchangeable. This fact can be shown by calculating the joint probability distribution of the observations and noticing that the resulting formula only depends on which x values occur among the observations and how many repetitions they each have. Because of this exchangeability, de Finetti's representation theorem applies and it implies that the observations X1,X2,… are conditionally independent given a (latent) distribution P. This P is a random variable itself and has a distribution. This distribution (over distributions) is called a Dirichlet process (DP). In summary, this means that we get an equivalent procedure to the above algorithm:
Draw a distribution P from DP(H,α) Draw observations X1,X2,… independently from P. In practice, however, drawing a concrete distribution P is impossible, since its specification requires an infinite amount of information. This is a common phenomenon in the context of Bayesian non-parametric statistics where a typical task is to learn distributions on function spaces, which involve effectively infinitely many parameters. The key insight is that in many applications the infinite-dimensional distributions appear only as an intermediary computational device and are not required for either the initial specification of prior beliefs or for the statement of the final inference.
Formal definition Given a measurable set S, a base probability distribution H and a positive real number α, the Dirichlet process DP(H,α) is a stochastic process whose sample path (or realization, i.e. an infinite sequence of random variates drawn from the process) is a probability distribution over S, such that the following holds. For any measurable finite partition of S, denoted {Bi}i=1n,
if X∼DP(H,α) then (X(B1),…,X(Bn))∼Dir(αH(B1),…,αH(Bn)), where Dir denotes the Dirichlet distribution and the notation X∼D means that the random variable X has the distribution D.
Alternative views There are several equivalent views of the Dirichlet process. Besides the formal definition above, the Dirichlet process can be defined implicitly through de Finetti's theorem as described in the first section; this is often called the Chinese restaurant process. A third alternative is the stick-breaking process, which defines the Dirichlet process constructively by writing a distribution sampled from the process as f(x)=∑k=1∞βkδxk(x), where {xk}k=1∞ are samples from the base distribution H, δxk is an indicator function centered on xk (zero everywhere except for δxk(xk)=1) and the βk are defined by a recursive scheme that repeatedly samples from the beta distribution Beta(1,α).
The Chinese restaurant process
… excerpt ends here. Continue reading the full article.


