arXiv Analytics

Sign in

arXiv:2111.01480 [cs.LG]AbstractReferencesReviewsResources

A derivation of variational message passing (VMP) for latent Dirichlet allocation (LDA)

Rebecca M. C. Taylor, Dirko Coetsee, Johan A. du Preez

Published 2021-11-02, updated 2022-08-25Version 2

Latent Dirichlet Allocation (LDA) is a probabilistic model used to uncover latent topics in a corpus of documents. Inference is often performed using variational Bayes (VB) algorithms, which calculate a lower bound to the posterior distribution over the parameters. Deriving the variational update equations for new models requires considerable manual effort; variational message passing (VMP) has emerged as a "black-box" tool to expedite the process of variational inference. But applying VMP in practice still presents subtle challenges, and the existing literature does not contain the steps that are necessary to implement VMP for the standard smoothed LDA model, nor are available black-box probabilistic graphical modelling software able to do the word-topic updates necessary to implement LDA. In this paper, we therefore present a detailed derivation of the VMP update equations for LDA. We see this as a first step to enabling other researchers to calculate the VMP updates for similar graphical models.

Comments: 24 pages,not yet submitted anywhere
Categories: cs.LG, stat.ML
Subjects: G.3
Related articles: Most relevant | Search more
arXiv:1701.02960 [cs.LG] (Published 2017-01-11)
Slow mixing for Latent Dirichlet allocation
arXiv:2405.20542 [cs.LG] (Published 2024-05-30)
On the Connection Between Non-negative Matrix Factorization and Latent Dirichlet Allocation
arXiv:1205.1053 [cs.LG] (Published 2012-05-04)
Variable Selection for Latent Dirichlet Allocation