Blei 2003 - Smoothed LDA, Examples and Experiments

Summary

Smoothed LDA places an exchangeable prior on each row of and adds the update . Experiments: perplexity on C. Elegans and AP, SVM classification on Reuters-21578 with 50 LDA features, and collaborative filtering on EachMovie, where LDA is best.

Main Content

Smoothing (5.4, Fig. 7). Maximum likelihood assigns zero probability to unseen words. Laplace smoothing is not a MAP justification in mixture models. LDA treats and uses a separable variational family with the same updates and . and by approximate empirical Bayes.

Example (Sec. 6, Fig. 8). 16,000 TREC AP documents, 100-topic LDA, stop words removed. Top words for four topics: “Arts” (new, film, show, music, movie, play), “Budgets” (million, tax, program, budget, billion, federal), “Children” (children, women, people, child, years, families), “Education” (school, students, schools, education, teachers). Posterior inference on a held-out article (Hearst Foundation grants to Lincoln Center, the Metropolitan Opera, New York Philharmonic, Juilliard) loads on arts, budgets, children and education: words are coloured by their most likely topic.

Perplexity (7.1)

For a held-out set of documents, : the inverse geometric mean per-word likelihood; lower is better.

7.1 Document modelling. Corpora: C. Elegans abstracts (5,225 documents, 28,414 unique terms) and TREC AP subset (16,333 articles, 23,075 unique terms); 10% held out; 50 stop words removed (AP: also words seen once). Models trained by EM with stopping rule: average change in expected log-likelihood below 0.001%. Compared: unigram, mixture of unigrams, pLSI (folding-in), LDA (smoothed where noted).

Table 1 (AP) shows the overfitting of the unsmoothed models:

Topics Perplexity, mixture of unigramsPerplexity, pLSI
222,2667,052
517,588
1063,800
20
50
100
200

Interpretation: perplexity explodes with because test documents contain words that have tiny probability in the sharp components. After smoothing / folding-in correction, Fig. 9 shows LDA with the lowest perplexity at every on both corpora; latent variable models beat the smoothed unigram.

7.2 Classification (Fig. 10). Reuters-21578 (8,000 documents, 15,818 words), two binary tasks (EARN vs not, GRAIN vs not). An SVM (SVMLight) on 50 LDA features (99.6% feature reduction) shows little reduction in accuracy relative to an SVM on all word features and in almost all cases improves it, across training proportions (the authors note the results need further substantiation and suggest LDA as a fast feature-selection filter).

7.3 Collaborative filtering (Fig. 11). EachMovie; users with at least 100 positively rated movies (rating at least 4 of 5): 3,300 training users, 390 test users, vocabulary 1,600 movies. Predictive perplexity for the held-out movie; LDA predicts via , a linear combination of Dirichlet expectations. LDA obtains the best predictive perplexity (mixture of unigrams and pLSI corrected for overfitting).

8 Discussion. Extensions listed: Laplace and higher-order variational (Leisink and Kappen 2002), expectation propagation (Minka and Lafferty 2002), MCMC (Griffiths and Steyvers 2002), -gram / paragraph mixtures via partial exchangeability, and generalised exchangeability results (Diaconis 1988).

Examples

Reading the perplexity blow-up

A test word with per-component probability in the document’s assigned component contributes to the log-likelihood; across hundreds of words and components this accumulates into the astronomically large values in Table 1. Smoothing with lifts every word above zero.

Connections

Posterior Predictive Checking and held-out likelihood as validation tools; yardsticks beyond perplexity: Concept - Topic Model Evaluation and Stability.

See Also

Blei 2003 - Latent Dirichlet Allocation - Overview