Neural Topic Modeling with Deep Mutual Information Estimation

Kang Xu, Xiaoqiu Lu, Yuan-Fang Li, Tongtong Wu, Guilin Qi, Ning Ye, Dong Wang, Zheng Zhou

Abstract

Neural Topic Models (NTMs) have largely superseded traditional methods like Latent Dirichlet Allocation (LDA) due to their flexibility and scalability. However, many NTMs suffer from significant information loss, failing to capture the unique semantic essence of documents within their latent representations. This paper presents NTM-DMIE, a novel framework that integrates Deep Mutual Information (MI) estimation into the training objective. By maximizing the mutual information between documents and their latent topics through adversarial learning, NTM-DMIE produces topics that are significantly more coherent, unique, and representative than previous state-of-the-art models.

Introduction

Topic modeling serves as a cornerstone of unsupervised text mining, enabling the discovery of underlying themes in massive document collections. While the transition from traditional probabilistic models to neural architectures has improved performance, a persistent challenge remains: ensuring that the learned latent topic vector actually captures the distinguishing features of a document.

Existing NTMs often focus heavily on reconstructing the "Bag-of-Words" (BoW) input. While this helps in learning general patterns, it does not explicitly prevent the loss of document-specific information. Consequently, these models frequently produce topics that lack clear semantic boundaries or appear repetitive across the corpus. NTM-DMIE addresses this by treating topic modeling as an information-maximization problem.

Methodology

The NTM-DMIE framework introduces several key innovations to the standard variational autoencoder (VAE) approach used in neural topic modeling.

Deep Mutual Information Estimation

The core innovation is the integration of Deep MI estimation. The model is designed to maximize the dependency between the input document and its latent topic representation. This acts as a powerful regularizer, forcing the latent space to be informative rather than merely reconstructive.

Global and Local MI

To ensure topics are both broad and grounded, the model optimizes two levels of information:

  • Global MI: Maximizes the information between the entire document and the topic vector.
  • Local MI: Maximizes the average MI between the topic representation and individual words within the document. This ensures that topics are anchored to specific, meaningful terms rather than vague document-level averages.

Adversarial Learning and Negative Sampling

To estimate MI in high-dimensional space, NTM-DMIE employs an adversarial discriminator. This discriminator is trained to distinguish between "positive" pairs (a document and its corresponding topic representation) and "negative" pairs (a document paired with a topic representation from a different document).

Crucially, the authors utilize Similarity-Based Negative Sampling. Instead of selecting negative examples at random, the model chooses documents that are semantically similar but distinct. This forces the discriminator to learn finer nuances, providing a cleaner and more robust signal for the encoder.

Discrete Topic Assignment

Because topics are discrete categories, the model utilizes the Gumbel-Softmax trick. This allows for backpropagation through the discrete topic assignment process, ensuring the entire architecture remains end-to-end trainable.

Experimental Setup

The researchers evaluated NTM-DMIE against strong baselines, including ProdLDA, GSM, and Gaussian-BAT, across four diverse datasets:

  1. 20 Newsgroups (20NG): A standard benchmark for text classification and clustering.
  2. AG_News: A collection of news articles categorized into four major groups.
  3. NYTimes: A large-scale, unlabeled collection of articles spanning two decades.
  4. Wikitext-103: A high-quality dataset derived from Wikipedia articles.

Results and Discussion

NTM-DMIE demonstrated superior performance across all primary metrics, highlighting the efficacy of MI-based regularization.

Topic Coherence and Uniqueness

On the 20NG dataset, NTM-DMIE achieved a Topic Coherence (NPMI) of 0.298, outperforming ProdLDA (0.267) and Gaussian-BAT (0.285). This indicates that the words associated with each discovered topic are more semantically related. Furthermore, the model achieved Topic Uniqueness (TU) scores between 0.93 and 0.96, a significant improvement over earlier models that typically scored between 0.60 and 0.85. This suggests that NTM-DMIE effectively avoids the problem of redundant or overlapping topics.

Downstream Performance

The quality of the learned representations was further validated through document clustering. NTM-DMIE reached a clustering accuracy of 45.2% on the 20NG dataset, a substantial increase from the 39.9% achieved by the previous best-performing baseline.

Conclusion and Future Work

NTM-DMIE represents a significant step forward in neural topic modeling by explicitly addressing information loss through Deep Mutual Information estimation. The combination of local and global MI, coupled with adversarial training and similarity-based negative sampling, results in more discriminative and coherent latent features.

While the model shows clear empirical gains, future work will address the computational overhead introduced by the discriminator and the sensitivity of the MI loss hyperparameter (currently optimized at $\mu=0.4$). Additionally, the authors plan to explore self-supervised extensions to further enhance the model's performance on unlabeled data.

Summary updated

BibTeX
@article{xu2022neural,
  author = {Kang Xu and Xiaoqiu Lu and Yuan-Fang Li and Tongtong Wu and Guilin Qi and Ning Ye and Dong Wang and Zheng Zhou},
  title = {{Neural Topic Modeling with Deep Mutual Information Estimation}},
  journal = {Big Data Res.},
  year = {2022},
  doi = {10.1016/j.bdr.2022.100344},
}
Figure