Suppose you have a million news articles and no labels. You want to know: what are they about? Which documents share a subject? Which words cluster together into coherent themes?
Latent Dirichlet Allocation (LDA), introduced in 2003 by David Blei, Andrew Ng, and Michael I. Jordan, answers that question without any human annotations. It is a generative probabilistic model: it proposes a simple story for how documents could have been written, then runs the story backwards to discover the hidden topics that best explain the words it observes.
The story goes like this. Before writing a document, an author picks a mixture of topics — say 70% politics, 20% economics, 10% sports. For every word, the author first picks a topic from that mixture, then picks a word that topic likes to use. The model encodes both mixtures using the Dirichlet distribution, a probability distribution over distributions, controlled by a single concentration parameter (for document-topic mixes) and (for topic-word mixes).
The insight is that every document in a corpus was generated by this same latent machinery. LDA's task is inference: given only the words, recover the topic-word distributions and the per-document topic proportions . That inversion is what makes the problem both powerful and computationally interesting.
Related ideas appear in dimensionality reduction — LDA can be seen as finding a low-dimensional topic space — and in Bayesian inference, since the full model is a hierarchical Bayes network.
Comments
Loading comments...