Skip to main content
QUICK REVIEW

[Paper Review] Representing Mixtures of Word Embeddings with Mixtures of Topic Embeddings

Dongsheng Wang, Dandan Guo|arXiv (Cornell University)|Mar 3, 2022
Topic ModelingComputer Science9 citations
TL;DR

This paper proposes WeTe, a novel topic modeling framework that represents documents as mixtures of word embeddings and topics as learnable embedding vectors in a shared semantic space. By minimizing the optimal transport cost between word and topic embeddings using a bidirectional transport method, WeTe enables scalable, end-to-end training via stochastic gradient descent, achieving state-of-the-art performance in topic coherence, diversity, and document representation on both short and long texts, especially when combined with pretrained word embeddings.

ABSTRACT

A topic model is often formulated as a generative model that explains how each word of a document is generated given a set of topics and document-specific topic proportions. It is focused on capturing the word co-occurrences in a document and hence often suffers from poor performance in analyzing short documents. In addition, its parameter estimation often relies on approximate posterior inference that is either not scalable or suffers from large approximation error. This paper introduces a new topic-modeling framework where each document is viewed as a set of word embedding vectors and each topic is modeled as an embedding vector in the same embedding space. Embedding the words and topics in the same vector space, we define a method to measure the semantic difference between the embedding vectors of the words of a document and these of the topics, and optimize the topic embeddings to minimize the expected difference over all documents. Experiments on text analysis demonstrate that the proposed method, which is amenable to mini-batch stochastic gradient descent based optimization and hence scalable to big corpora, provides competitive performance in discovering more coherent and diverse topics and extracting better document representations.

Motivation & Objective

  • To address the limitations of traditional topic models in handling short documents and scalability issues in Bayesian and neural topic models.
  • To eliminate the need for complex posterior inference or generative modeling by directly optimizing semantic alignment between word and topic embeddings.
  • To improve topic coherence and diversity by learning topic embeddings that are semantically aligned with word embeddings in a shared vector space.
  • To enable scalable, mini-batch stochastic optimization for large-scale corpora by avoiding iterative inference procedures.
  • To enhance document representation quality for downstream tasks like clustering, particularly on short texts.

Proposed method

  • Represents each document as a discrete distribution over word embeddings, and each topic as a learnable vector in the same H-dimensional embedding space.
  • Uses a probabilistic bidirectional optimal transport method to measure semantic distance between word embeddings in a document and topic embeddings, with cost based on embedding similarity.
  • Jointly optimizes topic embeddings and document topic proportions by minimizing the expected transport cost between the empirical word distribution and the topic-based mixture distribution.
  • Leverages the reparameterization trick via stochastic gradient descent for scalable training, avoiding Gibbs sampling or variational inference.
  • Introduces a hybrid objective combining transport cost and Poisson likelihood to balance topic quality and document representation.
  • Employs pretrained word embeddings as input, allowing end-to-end fine-tuning and improved performance on low-resource and short-text scenarios.

Experimental results

Research questions

  • RQ1Can a topic model that directly optimizes semantic alignment between word and topic embeddings in a shared embedding space outperform existing models in topic coherence and diversity?
  • RQ2Can such a model achieve competitive performance on short texts without relying on complex posterior inference or generative assumptions?
  • RQ3Does minimizing optimal transport cost between word and topic embeddings lead to better document representations for downstream clustering tasks?
  • RQ4How does the combination of transport cost and likelihood loss affect topic quality and representation learning?
  • RQ5Can the model learn interpretable, semantically coherent topics that are spatially clustered in the embedding space?

Key findings

  • WeTe achieves state-of-the-art performance in topic coherence and diversity, with top-6 word clusters for each topic showing strong semantic consistency in t-SNE visualization.
  • The model significantly improves document representation quality, outperforming competitive baselines in clustering tasks on both short and regular documents.
  • Hyperparameter tuning of the trade-off between transport cost and likelihood (via ε) allows further performance gains, with the hybrid objective outperforming either component alone.
  • Topic embeddings are spatially well-distributed in the embedding space, with each topic acting as a concept center surrounded by semantically related words.
  • WeTe discovers more diverse topics than NSTM, particularly for queries like 'desktop', due to the bidirectional transport mechanism encouraging broader semantic coverage.
  • The model is scalable and amenable to mini-batch stochastic optimization, enabling efficient training on large corpora without iterative inference.

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.