vONTSS: vMF based semi-supervised neural topic modeling with optimal transport

Weijie Xu, Xiaoyu Jiang, Srinivasan Sengamedu Hanumantha Rao, Francis Iannacci, Jinjin Zhao

Introduction

Topic modeling is a fundamental task in Natural Language Processing (NLP), used to uncover latent themes within massive document collections. While Neural Topic Models (NTMs) based on Variational Autoencoders (VAEs) have improved scalability, they face two significant challenges: "tangled" latent spaces and misalignment with human intuition.

Standard NTMs typically use Gaussian priors. In low-dimensional spaces, Gaussian density concentrates at the origin, leading to overlapping document representations that make topics difficult to distinguish. Furthermore, unsupervised models often produce topics that do not match how humans categorize information. While semi-supervised methods can incorporate domain knowledge via seed keywords, they are often unstable or prone to high variance.

The vONTSS Framework

The authors introduce vONTSS (von Mises-Fisher based Optimal traNsport Semi-Supervised) to address these flaws through three primary innovations:

  • Spherical (vMF) Latent Space: Instead of a Euclidean Gaussian "blob," vONTSS utilizes the von Mises-Fisher (vMF) distribution, which resides on the surface of a hypersphere. This geometric shift encourages "polarization," pushing different topics into distinct quadrants and significantly improving clusterability.
  • Learnable Temperature and Concentration: The model introduces a temperature function ($\tau$) to modify the distribution's radius and makes the concentration parameter ($\kappa$) learnable. This allows the model to dynamically adjust how "tight" or "spread out" a topic is based on the data, enhancing coherence.
  • Optimal Transport (OT) for Supervision: To incorporate human knowledge, vONTSS uses Optimal Transport (specifically the Sinkhorn distance) to match user-provided keywords to latent topics. This acts as a stable bridge, ensuring topic alignment without collapsing the latent space or overfitting to labels.
Comparison of Softmax density for Gaussian, vMF, and vMF with temperature distributions.

Training occurs in two stages: an initial unsupervised phase to discover the natural data structure, followed by a joint optimization phase where the OT loss aligns these structures with user-provided seed keywords.

Experimental Evaluation

The model was evaluated on four benchmark datasets: 20News, AgNews, DBLP, and R8. The results demonstrate that vONTSS achieves state-of-the-art performance across multiple metrics.

t-SNE visualization of the latent space using vMF distribution and temperature, showing clear class separation.

Key Results

  • Superior Clustering: In unsupervised settings, the model outperformed baselines like ETM and GSM in Km-Purity and Km-NMI, proving that the vMF prior creates cleaner topic separations.
  • State-of-the-Art Classification: In semi-supervised tasks, vONTSS reached 82.3% accuracy on AgNews, outperforming specialized weakly-supervised methods with lower variance.
  • Human Interpretability: Qualitative evaluations showed that users found vONTSS topics significantly easier to interpret and more coherent than those from traditional models like LDA or ProdLDA.
  • Efficiency: vONTSS is approximately 15x faster than competing weakly-supervised methods like CatE, making it a practical choice for interactive applications.

Conclusion and Future Work

vONTSS demonstrates that geometry matters in topic modeling. By shifting from Gaussian to Spherical geometry and utilizing Optimal Transport for stable supervision, the model "untangles" the latent space and aligns it with human intuition. While the unit constraint of the vMF distribution and the requirement for per-topic keywords present minor hurdles, the framework offers a robust and efficient path forward for neural topic modeling. Future research may explore richer directional distributions, such as the Kent distribution, to allow for even more flexible topic shapes.

Summary updated

BibTeX
@inproceedings{xu2023vontss,
  author = {Weijie Xu and Xiaoyu Jiang and Srinivasan Sengamedu Hanumantha Rao and Francis Iannacci and Jinjin Zhao},
  title = {{vONTSS: vMF based semi-supervised neural topic modeling with optimal transport}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.271},
}
Figure