Autoencoding Variational Inference For Topic Models
Akash Srivastava Affiliation: Informatics Forum, University of Edinburgh Affiliation: 10, Crichton St Affiliation: Edinburgh, EH89AB, UK Email: Charles Sutton Thanks: Additional affiliation: Alan Turing Institute, British Library, 96 Euston Road, London NW1 2DB Affiliation: Informatics Forum, University of Edinburgh Affiliation: 10, Crichton St Affiliation: Edinburgh, EH89AB, UK Email:
Abstract
Topic models are one of the most popular methods for learning representations of text, but a major challenge is that any change to the topic model requires mathematically deriving a new inference algorithm. A promising approach to address this problem is autoencoding variational Bayes (AEVB), but it has proven difficult to apply to topic models in practice. We present what is to our knowledge the first effective AEVB based inference method for latent Dirichlet allocation (LDA), which we call Autoencoded Variational Inference For Topic Model (AVITM). This model tackles the problems caused for AEVB by the Dirichlet prior and by component collapsing. We find that AVITM matches traditional methods in accuracy with much better inference time. Indeed, because of the inference network, we find that it is unnecessary to pay the computational cost of running variational optimization on test data. Because AVITM is black box, it is readily applied to new topic models. As a dramatic illustration of this, we present a new topic model called ProdLDA, that replaces the mixture model in LDA with a product of experts. By changing only one line of code from LDA, we find that ProdLDA yields much more
原文 arXiv:1703.01488;中英对照 + 大白话阅读 https://aha.fim.ai/paper/1703.01488v1