Skip to main content
QUICK REVIEW

[Paper Review] Nonparametric Spherical Topic Modeling with Word Embeddings

Kayhan Batmanghelich, Ardavan Saeedi|arXiv (Cornell University)|Apr 1, 2016
Bayesian Methods and Mixture ModelsComputer Science15 references9 citations
TL;DR

This paper proposes spherical HDP (sHDP), a nonparametric topic model that uses the von Mises-Fisher (vMF) distribution to model word embeddings on a unit sphere, leveraging cosine similarity for semantic consistency. By combining hierarchical Dirichlet processes with stochastic variational inference, sHDP discovers topic counts flexibly and achieves state-of-the-art topic coherence, outperforming HDP and Gaussian LDA by 65.5% and 97.5% on 20 Newsgroups and NIPS datasets, respectively.

ABSTRACT

Traditional topic models do not account for semantic regularities in language. Recent distributional representations of words exhibit semantic consistency over directional metrics such as cosine similarity. However, neither categorical nor Gaussian observational distributions used in existing topic models are appropriate to leverage such correlations. In this paper, we propose to use the von Mises-Fisher distribution to model the density of words over a unit sphere. Such a representation is well-suited for directional data. We use a Hierarchical Dirichlet Process for our base topic model and propose an efficient inference algorithm based on Stochastic Variational Inference. This model enables us to naturally exploit the semantic structures of word embeddings while flexibly discovering the number of topics. Experiments demonstrate that our method outperforms competitive approaches in terms of topic coherence on two different text corpora while offering efficient inference.

Motivation & Objective

  • To address the limitation of traditional topic models in capturing semantic regularities in language.
  • To integrate distributional word representations—specifically, semantic consistency via cosine similarity—into probabilistic topic modeling.
  • To develop a nonparametric topic model that automatically infers the number of topics while leveraging directional word vector structures.
  • To improve topic coherence by replacing categorical or Gaussian likelihoods with a directional distribution suited for word embeddings.
  • To enable efficient inference using stochastic variational inference on large-scale text corpora.

Proposed method

  • The model uses the von Mises-Fisher (vMF) distribution as the likelihood function, where word vectors are treated as points on a unit sphere and topics as directional means.
  • Each topic is represented by a mean direction μₖ and concentration parameter κₖ, with the vMF density proportional to exp(κₖ μₖᵀ xₙ) up to a normalization constant.
  • The base topic model is a Hierarchical Dirichlet Process (HDP), enabling nonparametric inference over an infinite number of topics.
  • Stochastic Variational Inference (SVI) is employed for scalable and efficient posterior approximation over topic assignments and parameters.
  • Word embeddings are normalized to unit length, enabling cosine similarity to serve as a natural semantic metric within the vMF framework.
  • The generative process assigns each word to a topic via a categorical distribution over document-specific topic proportions drawn from a DP.

Experimental results

Research questions

  • RQ1Can the von Mises-Fisher distribution effectively model word embeddings as directional data to improve topic coherence?
  • RQ2Does replacing categorical or Gaussian likelihoods with a directional likelihood enhance semantic consistency in topic modeling?
  • RQ3Can a nonparametric Bayesian model like HDP be effectively adapted to work with continuous word embeddings using vMF?
  • RQ4Does the proposed method outperform existing topic models in terms of topic coherence while maintaining efficient inference?
  • RQ5How does the use of cosine similarity in the vMF likelihood compare to Euclidean distance in Gaussian LDA for topic modeling?

Key findings

  • sHDP achieves a topic coherence score of 0.442 on the NIPS dataset, outperforming Gaussian LDA (k=100) by 0.174 points and HDP by 0.172 points.
  • On the 20 Newsgroups dataset, sHDP achieves a coherence of 0.162, a 97.5% improvement over Gaussian LDA (k=100) and a 65.5% improvement over HDP.
  • sHDP discovered 92 topics on the NIPS dataset and 16 topics on 20 Newsgroups, demonstrating automatic topic discovery without manual k-setting.
  • The model produces qualitatively consistent and semantically coherent topics, as confirmed by top-word analysis in Table 1.
  • Stochastic Variational Inference enables faster convergence: sHDP reaches convergence in about five iterations, while Gaussian LDA requires significantly more time.
  • Normalized log-likelihood plots show that sHDP converges more rapidly than Gaussian LDA, indicating superior inference efficiency.

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.