Skip to main content
QUICK REVIEW

[Paper Review] Improved Bayesian Logistic Supervised Topic Models with Data Augmentation

Jun Zhu, Xun Zheng|arXiv (Cornell University)|Oct 9, 2013
Advanced Text Analysis TechniquesComputer Science20 references8 citations
TL;DR

This paper proposes a regularized Bayesian logistic supervised topic model (gSLDA) that balances word and response variable contributions using a regularization parameter, and introduces an efficient Gibbs sampling algorithm via Polya-Gamma data augmentation to enable exact posterior inference without mean-field assumptions. The method achieves significant improvements in classification accuracy and training speed, especially with parallelization, outperforming standard sLDA and variational methods.

ABSTRACT

Supervised topic models with a logistic likelihood have two issues that potentially limit their practical use: 1) response variables are usually over-weighted by document word counts; and 2) existing variational inference methods make strict mean-field assumptions. We address these issues by: 1) introducing a regularization constant to better balance the two parts based on an optimization formulation of Bayesian inference; and 2) developing a simple Gibbs sampling algorithm by introducing auxiliary Polya-Gamma variables and collapsing out Dirichlet variables. Our augment-and-collapse sampling algorithm has analytical forms of each conditional distribution without making any restricting assumptions and can be easily parallelized. Empirical results demonstrate significant improvements on prediction performance and time efficiency.

Motivation & Objective

  • Address model imbalance in supervised topic models where response variables are underweighted due to scale differences with word counts.
  • Overcome the intractability of posterior inference in logistic supervised topic models due to non-conjugate likelihoods.
  • Develop a scalable, efficient inference algorithm that avoids restrictive mean-field variational approximations.
  • Enable exact Bayesian inference through data augmentation with Polya-Gamma variables and collapsed Gibbs sampling.
  • Achieve high performance and parallel scalability for large-scale text classification tasks.

Proposed method

  • Introduce a regularization parameter in a generalized Bayesian inference framework to balance the surrogate classification loss (response likelihood) and word likelihood.
  • Reformulate the logistic likelihood using Polya-Gamma distributed auxiliary variables to create a scale mixture representation, enabling conditional conjugacy.
  • Derive analytically tractable conditional distributions for all latent variables, including topics, topic assignments, and classifier parameters.
  • Collapse out Dirichlet priors for topics and mixing proportions to improve mixing and reduce dimensionality in Gibbs sampling.
  • Implement a collapsed Gibbs sampler that avoids Metropolis-Hastings steps and supports efficient parallelization using GraphLab.
  • Use burn-in steps to improve convergence and stability of the sampling process in practice.

Experimental results

Research questions

  • RQ1How can model imbalance between word counts and response variables be effectively mitigated in supervised topic models?
  • RQ2Can data augmentation with Polya-Gamma variables enable exact, efficient Gibbs sampling in generalized logistic supervised topic models?
  • RQ3What is the impact of the regularization parameter on classification accuracy and model stability?
  • RQ4How does the proposed Gibbs sampling algorithm compare in performance and scalability to variational inference methods?
  • RQ5To what extent can the algorithm be parallelized without sacrificing predictive accuracy?

Key findings

  • The gSLDA model with an optimal regularization parameter (c=25 for binary, c=256 for multi-class) achieves significantly higher test accuracy than standard sLDA (c=1), with stable performance across a wide range of c values.
  • The model converges to optimal performance within 20 burn-in steps, and training time increases linearly with the number of burn-in steps.
  • The parallel implementation using GraphLab achieves approximately two orders of magnitude speedup compared to sequential Gibbs sampling.
  • Classification performance remains stable and competitive across different values of the Dirichlet prior α (from 0.1 to 10), indicating robustness to prior specification.
  • The proposed Gibbs sampler with Polya-Gamma augmentation achieves better mixing and inference quality than mean-field variational methods, without requiring Metropolis-Hastings corrections.
  • Empirical results show that the method outperforms existing approaches in both prediction accuracy and time efficiency on real-world datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.