Teh 2010 - DP Mixture Models and Applications
Summary
The DP mixture , , is an infinite mixture model: the number of used components is inferred, grows like , and the DP also serves for model validation (a nonparametric relaxation around a parametric base) and density estimation (kernel-smoothed DP draws).
Overview
Teh gives three applications: (1) Bayesian model validation, (2) density estimation, (3) clustering via DP mixtures. The mixture representation of Eq. 15 and its stick-breaking form (Eq. 16) are the core of what practitioners fit.
Main Content
Finite model whose limit is the DP mixture (Teh Eq. 1)
For large the number of components used by items is approximately independent of , so the model is well defined as (an “infinite mixture”).
DP mixture model (Teh Eqs. 15-16)
equivalently , , , , with and .
Applications.
- Model validation: use the parametric model as the DP base measure ; if the parametric model fits as well as the DP-relaxed one, there is evidence for validity. The DP supplies a broad comparison class.
- Density estimation: (Eq. 14) smooths the discrete ; this is exactly the DP mixture when has density .
- Clustering: the posterior over (or the CRP partition) gives clusters; the number of clusters is a posterior quantity. This replaces model averaging over in a finite mixture.
Inference. Teh points to Neal (2000) for MCMC (collapsed Gibbs over the CRP, Algorithms 1-8), and mentions split-merge and auxiliary-variable samplers, sequential Monte Carlo, expectation propagation and variational methods. In PyMC practice, collapsed samplers are not available and NUTS operates on a truncated stick-breaking model (see below).
Examples
Practical checklist for a truncated DP mixture (the E26 / E75 workflow)
- Choose truncation ; check posterior leftover mass and whether the last components are used (a binding truncation means increase ).
- Prior on (Gamma): the implied prior on the number of clusters is ; simulate it before fitting.
- Do not interpret component labels; they are exchangeable under the prior. Use co-clustering matrices and a point partition (Binder or VI loss) - see Concept - Label Switching and Label-Invariant Summaries.
- Sensitivity: refit with priors shifted by an order of magnitude and compare posterior and density estimates. The number of clusters is the least robust output.
Relevance to marketing measurement
Customer heterogeneity (basket values, response elasticities) is often multimodal; DP mixture random effects are a flexible alternative to a Gaussian prior in a hierarchical model (Hierarchical Models). They are not a substitute for identification: clusters are descriptive and the inferred should not be read as a causal number of segments.
Connections
Vault: Monsters and Mixtures (finite-mixture pathologies), Nonparametric Models Overview, MCMC Basics, Posterior Predictive Checking (PPC for density fit). Generalised priors on (flatter than the DP): De Blasi 2015 - Mixture Models and the Prior on the Number of Clusters.
See Also
Teh 2010 - Stick-Breaking Construction, Teh 2010 - Extensions and Reference Map