Topic extraction from extremely short texts with variational manifold regularization

Ximing Li, Yang Wang, Jihong Ouyang, Meng Wang

Abstract

Traditional topic modeling techniques, such as Latent Dirichlet Allocation (LDA), struggle with the extreme sparsity and noise inherent in short-form texts like tweets and search queries. This paper presents LapDMM, a model that incorporates variational manifold regularization into the Dirichlet Multinomial Mixture (DMM) framework. By leveraging semantic relationships between documents via a Laplacian regularizer, LapDMM effectively "corrects" topic assignments in noisy data. Experimental results across multiple datasets demonstrate significant improvements in topic coherence and classification accuracy over state-of-the-art baselines.

Introduction: The Challenge of Short Texts

In the modern digital landscape, short-form content—ranging from social media posts to technical Q&A titles—dominates information exchange. However, extracting meaningful topics from these "micro-documents" is notoriously difficult. Traditional models like LDA rely on dense word co-occurrence patterns within a single document. When a document contains only a handful of words, these patterns disappear, leading to the "sparsity problem."

While the Dirichlet Multinomial Mixture (DMM) model was specifically designed for short texts by assuming each document belongs to a single topic, it introduces a new "sensitivity problem." In a five-word sentence, a single typo or a domain-specific stopword can disproportionately influence the model, leading to incorrect topic inference.

Figure 1: Examples of short texts where standard DMM fails due to noisy words like 'error' or 'delicious' hijacking the topic inference.

Methodology: Variational Manifold Regularization

The authors propose LapDMM (Laplacian Dirichlet Multinomial Mixture) to address these limitations. The core innovation is the integration of manifold regularization into the variational inference process.

1. Manifold Regularization

The model assumes that if two documents are semantically similar, they should likely share the same topic. By adding a Laplacian regularizer to the DMM objective function, the model forces "neighboring" documents in a semantic space to have similar topic distributions. This allows the topical signal from a "clean" document to help categorize a nearby "noisy" one.

2. Semantic Graph Construction

To identify these neighbors, the authors move beyond simple word overlap (lexical similarity). They utilize Word Mover’s Distance (WMD) combined with pre-trained word embeddings. This approach captures semantic relationships (e.g., "President" and "Obama") that traditional bag-of-words models miss.

3. Notations and Objective

The model's mathematical framework relies on several key parameters to balance the Dirichlet priors and the manifold regularization.

Table 1: Summary of important notations used in the LapDMM and OLapDMM frameworks.

Scaling to Big Data: OLapDMM

To handle industrial-scale datasets, the authors developed OLapDMM (Online LapDMM). This version utilizes stochastic optimization with mini-batches. To avoid the quadratic complexity of building a full document graph, OLapDMM employs an efficient online graph construction method using approximate nearest neighbors, allowing it to scale to millions of documents without losing the benefits of regularization.

Key Results and Insights

The performance of LapDMM was evaluated on five benchmarks, including a massive dataset of 10 million tweets.

  • Accuracy Gains: On the Trec dataset, LapDMM achieved a Normalized Mutual Information (NMI) improvement of up to 168% compared to standard DMM and LDA.
  • Topic Coherence: The topics generated were more semantically consistent. By looking at the "neighborhood" of a document, the model effectively filters out the noise of individual words.
  • Efficiency: OLapDMM demonstrated a 10x to 20x speedup over the batch version on the BaiduQA dataset, proving its viability for real-time applications.

Conclusion

LapDMM represents a significant step forward in short-text analysis. By treating documents not as isolated points but as part of a semantic manifold, it overcomes the inherent noise and sparsity of modern digital communication. Future work may involve incorporating external metadata, such as user networks or temporal data, to further refine the manifold and capture evolving topical trends.

Reference: Li, X., Wang, Y., Ouyang, J. et al. Topic extraction from extremely short texts with variational manifold regularization. Mach Learn 110, 1029–1066 (2021).

Summary updated

BibTeX
@article{li2021topic,
  author = {Ximing Li and Yang Wang and Jihong Ouyang and Meng Wang},
  title = {{Topic extraction from extremely short texts with variational manifold regularization}},
  journal = {Machine Learning},
  year = {2021},
  doi = {10.1007/s10994-021-05962-3},
}
Figure