What is the generative story of latent Dirichlet allocation (LDA), and what do θd and ϕk represent?

Probabilistic models, Topic models (LDA)
Level L3 Intermediate. Length Short. Nature Th Theoretical.

What's being asked

Whether you can narrate the LDA generative process in order and identify what each distribution means.

Key idea

Each document has its own topic mixture θd. Each topic k is a distribution ϕk over the vocabulary. To write a word, pick a topic from θd, then pick a word from that topic's ϕk.

Steps

  1. Fix K topics. For each topic k, draw a word distribution ϕk∼Dirichlet(β). This is a vector over the vocabulary that sums to 1.
  2. For each document d, draw topic proportions θd∼Dirichlet(α). This says what fraction of the document belongs to each topic.
  3. For each word position n in document d, draw a topic zdn∼Categorical(θd).
  4. Then draw the word wdn∼Categorical(ϕzdn).
  5. Only w is observed. Learning means inferring θd, ϕk and zdn, using variational inference or collapsed Gibbs sampling. The two are different: θd is per document, ϕk is per topic.

Common mistakes

How long your answer should be

5–6 sentences, in the order of the generative steps.

Read this

Previous in Probabilistic models: What does a Gaussian process define, and how does the length-scale ℓ of the RBF kernel k(x,x′)=σf2exp⁡ ⁣(−(x−x′)22ℓ2) change the functions it prefers?
Next in Probabilistic models: An HMM has two states, initial probabilities π=(0.5,0.5), transition matrix A=(0.70.30.40.6), and emissions P(a∣1)=0.9, P(b∣1)=0.1, P(a∣2)=0.2, P(b∣2)=0.8. For the observations (a,b), what are the backward variables, P(O) and the posterior P(z1=1∣O)?