Prior-aware Dual Decomposition: Document-specific Topic Inference for Spectral Topic Models

Moontae Lee, David Bindel, David M. MimnoarXiv 2017

TL;DR

Spectral topic models are efficient but struggle to infer topic compositions for individual documents. This paper introduces Prior-aware Dual Decomposition (PADD), a novel method that leverages learned topic correlations to infer document-specific topic compositions, achieving performance comparable to traditional methods like Gibbs sampling while being more robust than existing spectral approaches.

What Problem Does This Paper Address?

Topic modeling is a powerful technique for uncovering latent themes in large collections of text. While spectral topic models offer significant advantages in terms of efficiency and provable inference by operating on word co-occurrence statistics rather than raw documents, they historically fail to provide document-specific topic compositions. This means you can learn what topics exist and what words define them, but not how much each topic contributes to a particular document. Existing methods to bridge this gap, like Thresholded Linear Inverse (TLI), are limited by their linear nature and struggle when topics have complex correlations or when documents are short. This paper aims to solve this by developing a method that can infer these document-specific topic compositions effectively, even in the presence of topic correlations.

Methods

The paper proposes two main methods for document-specific topic inference:

  • Simple Probabilistic Inverse (SPI): A baseline method that uses a word-specific topic distribution and a linear estimator to infer topic compositions. It's fast but can be less accurate when topics are correlated.
  • Prior-aware Dual Decomposition (PADD): The core contribution. PADD leverages both the learned topics (represented by matrix B) and, crucially, the learned topic correlations (represented by matrix A) from spectral methods. It formulates the problem as a dual decomposition, specifically using the Alternating Direction Method of Multipliers (ADMM), to optimize for document topic compositions that simultaneously match observed word frequencies and adhere to the learned overall topic correlations. This "prior-aware" aspect is key, allowing PADD to make more informed inferences, especially for documents with limited information.

Datasets

The paper uses the following datasets:

  • Semi-Synthetic (SS) corpus: Synthesized from a fitted LDA model.
  • Semi-Real (SR) corpus: Synthesized from a fitted Correlated Topic Model (CTM).
  • Fully-Real (FR) corpora:
    • NIPS papers
    • NYTimes articles
    • Political blogs

These datasets are used to evaluate the performance of the proposed methods against baselines, particularly in scenarios with varying degrees of topic correlation and document length.

Key Insights and Ideas

  • Topic correlations matter: The paper strongly emphasizes that ignoring topic correlations leads to suboptimal document-specific topic inference, especially in real-world scenarios. PADD's success hinges on its ability to incorporate this information.
  • Spectral methods can be extended: While spectral methods excel at learning topics, they leave a gap in document-level inference. PADD demonstrates a principled way to bridge this gap by using the outputs of spectral methods (B and A) as priors.
  • Dual decomposition for inference: Framing the document-specific inference as a dual decomposition problem allows for efficient, parallelizable computation using ADMM, making it scalable.
  • PADD as a robust prior: PADD acts as a form of Bayesian inference in the spectral setting, using learned topic correlations as a prior to guide the inference of document compositions, making it more robust to short or less informative documents.

Key Results

  • PADD outperforms TLI: On semi-synthetic and semi-real datasets, PADD consistently outperforms TLI, especially as the number of topics increases and when topics exhibit correlations.
  • PADD comparable to Gibbs Sampling: For realistic datasets (SR and FR), PADD achieves performance comparable to Gibbs sampling, which is a standard probabilistic inference method, across various metrics (Precision, Recall, F1-score, KL divergence, Hellinger distance).
  • Efficiency: PADD is significantly faster than Gibbs sampling and TLI (when TLI is made stable), offering a good balance between performance and computational cost. For example, on the NIPS dataset with K=100 and M=10,000, PADD took 849 seconds compared to Gibbs' 3794 seconds.
  • Robustness: PADD shows strong performance on unseen documents in the Fully-Real experiments, indicating its ability to generalize.
  • SPI's niche: SPI performs well on semi-synthetic documents with sparse topics and little correlation, highlighting its utility in specific, simpler scenarios.

Limitations and Future Work

  • Short documents and sparse topics: While PADD is robust, the paper notes that if both the number of documents (M) and document lengths (nm) are very small, PADD might struggle, a limitation shared with probabilistic topic models due to inherent lack of information.
  • Future research for SPI: The authors suggest that SPI could be improved with post-processing techniques, similar to TLI, for faster composition inference.
  • Generalizing PADD: The paper mentions that PADD's framework is applicable to other spectral models beyond Joint Stochastic Matrix Factorization (JSMF), including tensor decomposition methods, suggesting broader applicability.
  • Faster ADMM variants: While ADMM is used for its tight optimization, the authors note that faster gradient-based algorithms could be incorporated into the PADD framework.

Summary updated

BibTeX
@misc{lee2017prior,
  author = {Moontae Lee and David Bindel and David M. Mimno},
  title = {{Prior-aware Dual Decomposition: Document-specific Topic Inference for Spectral Topic Models}},
  year = {2017},
  eprint = {1711.07065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.07065},
}
Figure