Dirichlet Multinomial Mixture with Variational Manifold Regularization: Topic Modeling over Short Texts

Ximing Li, Jiaojiao Zhang, Jihong Ouyang

Abstract

Traditional topic models like Latent Dirichlet Allocation (LDA) struggle with short texts due to severe data sparsity. While the Dirichlet Multinomial Mixture (DMM) model addresses some of these issues by assuming a single topic per document, it remains sensitive to noise. This paper introduces LapDMM, a novel framework that integrates variational manifold regularization into the DMM. By constructing a semantic graph of documents—utilizing Word Mover’s Distance and pre-trained embeddings—LapDMM enforces topical consistency among semantically similar documents. Our evaluation across three benchmark datasets shows that LapDMM significantly outperforms existing short-text topic models in clustering and classification tasks, achieving up to a 47% improvement in clustering accuracy on technical datasets.

Introduction

The explosion of short-text data from social media, search queries, and technical forums has created a demand for effective topic modeling. However, the brevity of these documents (often fewer than 20 words) means that standard statistical patterns of word co-occurrence are unreliable. This leads to two major issues: the sparsity problem, where documents lack enough context to define a topic, and the sensitivity problem, where a single irrelevant word can misguide the model.

Methodology: The LapDMM Framework

To mitigate these problems, the authors propose the Laplacian DMM (LapDMM). The core idea is to treat the document collection as a manifold where proximity implies semantic similarity.

Variational Manifold Regularization

LapDMM adds a regularization term to the standard DMM objective function. This term penalizes the model when neighboring documents in the semantic space are assigned divergent topic distributions. This "smoothing" effect allows the model to propagate topical signals from high-quality documents to their noisier neighbors.

Semantic Graph Construction

The effectiveness of manifold regularization depends on the quality of the document graph. The authors explored two variants:

  • LapDMM_T: Uses traditional cosine similarity based on term frequencies.
  • LapDMM_W: Employs Word Mover’s Distance (WMD) and GloVe embeddings. This approach captures deeper semantic relationships, recognizing synonyms and related concepts that do not share exact keywords.

Optimization via Collapsed Variational Inference

Unlike standard DMMs that often use Gibbs sampling, LapDMM utilizes Collapsed Variational Inference (CVI). This choice facilitates the integration of the manifold penalty. The authors developed a double-loop optimization strategy, using Newton-Raphson iterations in the inner loop to maintain the smoothness of the topic manifold.

Experimental Evaluation

The model was tested on three datasets: Trec (questions), Snippets (search results), and StackOverflow (technical titles). LapDMM demonstrated superior performance across multiple metrics, including Clustering Accuracy (ACC), Normalized Mutual Information (NMI), and Classification Accuracy. For instance, on the StackOverflow dataset, LapDMM achieved a clustering accuracy of 0.728, a massive leap from the 0.494 achieved by standard DMM. Similarly, on the Trec dataset, classification accuracy improved by approximately 0.17 over the strongest baseline models.

Parameter Sensitivity

The researchers investigated how the model responds to its two primary hyperparameters: the number of nearest neighbors ($R$) used to build the graph, and the regularization weight ($ρ$).

Evaluation results for different values of R (number of nearest neighbors) across Clustering ACC, NMI, and Classification Accuracy.

As shown in the figure above, performance generally improves as the number of neighbors ($R$) increases, eventually reaching a stable plateau. This indicates that the model effectively leverages local document neighborhoods to refine topic assignments without requiring an excessively large graph.

Evaluation results for different values of the regularization parameter ρ across Clustering ACC, NMI, and Classification Accuracy.

Furthermore, the model exhibits high stability with respect to the regularization parameter $ρ$. Across a wide range of values (0.1 to 0.9), the performance remains consistently high, suggesting that the manifold regularization is robust and not overly sensitive to hyperparameter tuning.

Conclusion

LapDMM represents a significant step forward in short-text topic modeling. By moving beyond the "isolated document" assumption and incorporating external semantic knowledge through manifold regularization, it achieves state-of-the-art results. While the $O(D^2)$ complexity of graph construction remains a challenge for massive datasets, the use of approximate nearest neighbor methods offers a promising path for scaling this approach to real-world social media streams.

Summary updated

BibTeX
@inproceedings{li2019dirichlet,
  author = {Ximing Li and Jiaojiao Zhang and Jihong Ouyang},
  title = {{Dirichlet Multinomial Mixture with Variational Manifold Regularization: Topic Modeling over Short Texts}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33017884},
}
Figure