Skip to main content
QUICK REVIEW

[Paper Review] Neural Topic Model via Optimal Transport

He Zhao, Dinh Phung|arXiv (Cornell University)|Aug 12, 2020
Topic ModelingComputer Science48 references5 citations
TL;DR

This paper proposes Neural Topic Model via Optimal Transport (NSTM), a novel neural topic model that leverages optimal transport to directly minimize the distance between document word distributions and learned topic distributions using pretrained word embeddings as a semantic cost matrix. The method achieves state-of-the-art performance in topic coherence, diversity, and document representation, especially on short texts, by jointly learning topic embeddings and minimizing OT-based reconstruction loss without reparameterization.

ABSTRACT

Recently, Neural Topic Models (NTMs) inspired by variational autoencoders have obtained increasingly research interest due to their promising results on text analysis. However, it is usually hard for existing NTMs to achieve good document representation and coherent/diverse topics at the same time. Moreover, they often degrade their performance severely on short documents. The requirement of reparameterisation could also comprise their training quality and model flexibility. To address these shortcomings, we present a new neural topic model via the theory of optimal transport (OT). Specifically, we propose to learn the topic distribution of a document by directly minimising its OT distance to the document's word distributions. Importantly, the cost matrix of the OT distance models the weights between topics and words, which is constructed by the distances between topics and words in an embedding space. Our proposed model can be trained efficiently with a differentiable loss. Extensive experiments show that our framework significantly outperforms the state-of-the-art NTMs on discovering more coherent and diverse topics and deriving better document representations for both regular and short texts.

Motivation & Objective

  • To address the limitations of existing Neural Topic Models (NTMs), including poor topic coherence-diversity trade-offs and degradation on short texts.
  • To eliminate reliance on reparameterization by avoiding complex posterior sampling in topic modeling.
  • To improve document representation quality by directly aligning word and topic distributions via optimal transport.
  • To enable better generalization and robustness on sparse, short-text inputs such as tweets and headlines.
  • To integrate pretrained word embeddings meaningfully into the topic modeling process through geometric distance in embedding space.

Proposed method

  • The model uses an encoder to map a document’s bag-of-words representation into a topic distribution, minimizing the optimal transport (OT) distance to the observed word distribution.
  • The cost matrix in OT is defined as the cosine similarity between topic and word embeddings, learned jointly during training.
  • The method avoids reparameterization by directly optimizing the OT distance, which is differentiable and enables end-to-end training.
  • Topic and word embeddings are jointly optimized via backpropagation using a differentiable OT loss function.
  • The framework leverages the geometric structure of embedding spaces to model semantic relationships between topics and words.
  • The model is trained using a differentiable objective that balances reconstruction fidelity and semantic coherence.

Experimental results

Research questions

  • RQ1Can optimal transport be effectively used to align document word distributions with latent topic distributions in neural topic modeling?
  • RQ2Does using pretrained word embeddings as a cost function in OT improve topic coherence and diversity compared to standard NTMs?
  • RQ3Can the proposed method achieve better document representation and topic quality on short texts where conventional NTMs underperform?
  • RQ4How does the absence of reparameterization affect training stability and model flexibility in this OT-based framework?
  • RQ5To what extent does the geometric structure of embedding space enhance topic interpretability and semantic alignment?

Key findings

  • NSTM significantly outperforms state-of-the-art NTMs in topic coherence (TC) and topic diversity (TD), achieving the best balance across both metrics on all datasets.
  • On short-text datasets (WS and TMN), NSTM consistently achieves the highest performance, demonstrating robustness to data sparsity.
  • In document clustering, NSTM achieves the best overall performance, with a significant margin over other NTMs, except being second on 20NG with KMeans.
  • The model shows comparable scalability to other NTMs, with training speed similar to ProdLDA and faster than DVAE on large-scale datasets with 500 topics.
  • Qualitative analysis via t-SNE visualization confirms that topic embeddings capture meaningful semantic relationships, with clear interpretability and geometric structure.
  • The model successfully recovers polysemous word meanings—e.g., 'apple' shifts from 'company' to 'fruit' when conditioned on topic embeddings—demonstrating semantic adaptability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.