TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Autoencoding Variational Inference For Topic Models

Autoencoding Variational Inference For Topic Models

Akash Srivastava, Charles Sutton

2017-03-04Topic ModelsVariational Inference
PaperPDFCodeCodeCodeCodeCodeCode

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 diffi- cult 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 interpretable topics, even if LDA is trained via collapsed Gibbs sampling.

Results

TaskDatasetMetricValueModel
Text ClassificationAG NewsC_v0.32ProdLDA
Text ClassificationAG NewsNPMI-0.22ProdLDA
Text Classification20NewsGroupsC_v0.35ProdLDA
Topic ModelsAG NewsC_v0.32ProdLDA
Topic ModelsAG NewsNPMI-0.22ProdLDA
Topic Models20NewsGroupsC_v0.35ProdLDA
ClassificationAG NewsC_v0.32ProdLDA
ClassificationAG NewsNPMI-0.22ProdLDA
Classification20NewsGroupsC_v0.35ProdLDA

Related Papers

Interpretable Bayesian Tensor Network Kernel Machines with Automatic Rank and Feature Selection2025-07-15Scalable Bayesian Low-Rank Adaptation of Large Language Models via Stochastic Variational Subspace Inference2025-06-26Narrative Shift Detection: A Hybrid Approach of Dynamic Topic Models and Large Language Models2025-06-25VHU-Net: Variational Hadamard U-Net for Body MRI Bias Field Correction2025-06-23Branching Stein Variational Gradient Descent for sampling multimodal distributions2025-06-16Robust Recursive Fusion of Multiresolution Multispectral Images with Location-Aware Neural Networks2025-06-16Variational Inference with Mixtures of Isotropic Gaussians2025-06-16Robust Filtering -- Novel Statistical Learning and Inference Algorithms with Applications2025-06-13