Topic Modeling in Embedding Spaces

Adji B. Dieng, Francisco J. R. Ruiz, David M. Blei
7/8/2019
cs.IRcs.CLcs.LG

Official code: adjidieng/ETM (559 stars, MIT, last commit 2023-10-03).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

adjidieng/ETMOfficial100%
MIT

Topic Modeling in Embedding Spaces

559130PythonJul 11, 20193 years agoMIT

Similar Papers

Cite this paper

@article{dieng2019topic,
  title  = {Topic Modeling in Embedding Spaces},
  author = {Adji B. Dieng and Francisco J. R. Ruiz and David M. Blei},
  year   = {2019},
  eprint = {1907.04907},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.04907}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.04907.svg)](https://codeofpaper.com/paper/1907.04907)

Discussion