Dirichlet distribution
Dir(α) is a distribution over probability vectors: each draw is a list of K numbers that sum to 1.
In ML papers
A draw from is itself a probability vector: non-negative numbers that sum to 1. It is the usual prior over the parameters of a Categorical distribution distribution, and it is conjugate to it: after seeing counts , the posterior is .
The concentration parameters shape the draws. The mean is . Large gives vectors close to the mean; all gives sparse vectors with most of the mass on a few classes. Latent Dirichlet allocation (Blei, Ng & Jordan 2003) uses it for each document's topic mix, and AlphaZero adds Dirichlet noise to its root move probabilities for exploration.
How to type it
| LaTeX | Shows |
|---|---|
\operatorname{Dir}(\boldsymbol{\alpha}) | |
\operatorname{Dirichlet}(\alpha) |
A worked example
Each draw is a different 3-way split, but on average the first class gets half the mass.