Latent Dirichlet Allocation
What it is
Documents as mixtures over topics, topics as distributions over words, inferred by variational or Gibbs sampling.
When to use it
Topic discovery, document exploration, and a readable baseline before you reach for embeddings.
Caveats
The number of topics must be chosen, and the topics can be hard to interpret or unstable between runs. Bag-of-words input ignores word order, and it works poorly on very short texts.
Key ideas
- Each document is a mixture of topics; each topic is a distribution over words
- Dirichlet priors encourage documents to use few topics
- Fitted with variational inference or Gibbs sampling
Related architectures
Original paper
Latent Dirichlet Allocation (2002, DOI)