Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Topic Modeling in Embedding Spaces

About

Topic modeling analyzes documents to learn meaningful patterns of words. However, existing topic models fail to learn interpretable topics when working with large and heavy-tailed vocabularies. To this end, we develop the Embedded Topic Model (ETM), a generative model of documents that marries traditional topic models with word embeddings. In particular, it models each word with a categorical distribution whose natural parameter is the inner product between a word embedding and an embedding of its assigned topic. To fit the ETM, we develop an efficient amortized variational inference algorithm. The ETM discovers interpretable topics even with large vocabularies that include rare words and stop words. It outperforms existing document models, such as latent Dirichlet allocation (LDA), in terms of both topic quality and predictive performance.

Adji B. Dieng, Francisco J. R. Ruiz, David M. Blei• 2019

Related benchmarks

TaskDatasetResultRank
Text ClassificationYelp (5-fold cross-validation)
Accuracy68.6
36
Text ClassificationSMS Spam Collection (5-fold cross-validation)
Accuracy86.4
36
Text ClassificationNewsgroup Science (5-fold cross-validation)
Accuracy0.297
36
Text ClassificationNewsgroup Religion (5-fold cross-validation)
Accuracy40.4
36
Text ClassificationDrug Review Norethindrone (5-fold cross-validation)
Accuracy45.2
36
Text ClassificationDrug Review Norgestimate (5-fold cross-validation)
Accuracy49.6
36
Topic Coherence20News
NPMI0.06
26
Topic Modeling20NG
NPMI0.066
23
Topic ModelingNewsgroup Science
Cv0.469
18
Topic ModelingNewsgroup Religion
Cv0.422
18
Showing 10 of 65 rows

Other info

Code

Follow for update