Teh 2010 - Dirichlet Process - Overview
Summary
Teh’s Encyclopedia of Machine Learning entry defines the Dirichlet process (DP) as a distribution over distributions with Dirichlet-distributed finite-dimensional marginals, then derives its conjugate posterior, the Blackwell-MacQueen urn, the Chinese restaurant process (CRP), the stick-breaking construction and the DP mixture. Key takeaway: one object, four equivalent views, and the prior number of clusters grows only like .
Overview
Research question. How can a Bayesian place a prior on an unknown distribution (or on the number of mixture components) without fixing a finite parameterisation, while keeping the posterior tractable?
Contribution. A compact, self-contained exposition of the DP: definition via partitions, posterior conjugacy, predictive urn, induced random partition (CRP), Sethuraman stick-breaking, and use as the mixing measure of an infinite mixture model.
Key results.
- iff for every finite measurable partition.
- Posterior is again a DP with concentration and base .
- Prior number of clusters: .
- Draws are discrete with probability one, even if is smooth.
Source Map
| Paper section | Pages | Covered in |
|---|---|---|
| Definition; Motivation and Background | 1-2 | Teh 2010 - DP Definition and Posterior Conjugacy |
| Theory: finite mixture with (Eq. 1) | 2-3 | Teh 2010 - DP Mixture Models and Applications (finite-to-infinite limit) and Teh 2010 - DP Definition and Posterior Conjugacy |
| Theory: Dirichlet Process (Eq. 2), existence | 3-4 | Teh 2010 - DP Definition and Posterior Conjugacy |
| Posterior Distribution (Eqs. 3-4) | 4-5 | Teh 2010 - DP Definition and Posterior Conjugacy |
| Predictive Distribution and Blackwell-MacQueen Urn (Eqs. 5-9) | 5-6 | Teh 2010 - Blackwell-MacQueen Urn and Chinese Restaurant Process |
| Clustering, Partitions and CRP (Eqs. 10-12) | 6-8 | Teh 2010 - Blackwell-MacQueen Urn and Chinese Restaurant Process |
| Stick-breaking Construction (Eq. 13) | 8 | Teh 2010 - Stick-Breaking Construction |
| Applications: model validation, density estimation (Eq. 14) | 9 | Teh 2010 - DP Mixture Models and Applications |
| DP Mixture Models (Eqs. 15-16) | 9-10 | Teh 2010 - DP Mixture Models and Applications |
| Generalizations and Extensions; Future Directions | 10-11 | Teh 2010 - Extensions and Reference Map |
| Cross References; Recommended Reading; refs [1]-[18] | 11-13 | Teh 2010 - Extensions and Reference Map |
Motivating PyMC examples
Examples from the PyMC challenges example list that use these methods:
- E26 Bayesian nonparametrics: Dirichlet process mixtures (enzyme activity of 245 people; PBC bilirubin slopes;
pm.StickBreakingWeights+pm.NormalMixture, truncation check, co-clustering, sensitivity to ). - E30 Exchangeable partitions: Polya urns, CRP, Pitman-Yor and unseen species (see De Blasi 2015 - Gibbs-Type Priors - Overview).
- E75 Image segmentation with an unknown number of regions (see Concept - DP Mixtures for Image Segmentation).
Relevance to marketing measurement
DP mixtures give a data-driven number of customer or market segments without refitting for ; the same machinery underlies nonparametric random effects (for example geo or campaign effects that are clumpy rather than Gaussian). Treat the posterior over with care: it is sensitive to and to the kernel family (see Teh 2010 - DP Mixture Models and Applications).
Connections
- Vault background: Nonparametric Models Overview, Monsters and Mixtures, Hierarchical Models.
- Next step on partitions beyond the DP: De Blasi 2015 - EPPF and Predictive Structure.