Skip to main content
QUICK REVIEW

[Paper Review] Kernel Topic Models

Philipp Hennig, David Stern|arXiv (Cornell University)|Oct 21, 2011
Bayesian Methods and Mixture ModelsComputer Science18 references33 citations
TL;DR

This paper introduces Kernel Topic Models (KTM), a probabilistic framework that generalizes Latent Dirichlet Allocation by modeling document topic proportions as Gaussian processes over a Hilbert space of document features, enabling non-linear, structured modeling of temporal, spatial, and social metadata. The method uses a Laplace approximation in a transformed basis for efficient approximate inference, achieving superior modeling flexibility over linear models while maintaining competitive performance on medium-sized corpora.

ABSTRACT

Latent Dirichlet Allocation models discrete data as a mixture of discrete distributions, using Dirichlet beliefs over the mixture weights. We study a variation of this concept, in which the documents' mixture weight beliefs are replaced with squashed Gaussian distributions. This allows documents to be associated with elements of a Hilbert space, admitting kernel topic models (KTM), modelling temporal, spatial, hierarchical, social and other structure between documents. The main challenge is efficient approximate inference on the latent Gaussian. We present an approximate algorithm cast around a Laplace approximation in a transformed basis. The KTM can also be interpreted as a type of Gaussian process latent variable model, or as a topic model conditional on document features, uncovering links between earlier work in these areas.

Motivation & Objective

  • To extend traditional LDA by incorporating structured metadata (e.g., time, author, social networks) into topic modeling beyond linear or point-estimate approaches.
  • To model topic distributions as functions over a Hilbert space using Gaussian processes, enabling non-linear and complex dependencies between documents.
  • To develop an efficient inference algorithm for latent Gaussian processes in the context of topic models, overcoming intractable posterior computation.
  • To unify topic modeling with Gaussian process latent variable models, enabling Bayesian uncertainty estimation and consistent hyperparameter learning.

Proposed method

  • Models document topic proportions πd as a softmax transformation of latent Gaussian processes h(φd), where φd are features in a Hilbert space H.
  • Uses a Gaussian process prior over functions h(φ) with mean and covariance functions defined by kernel functions ηk, enabling non-linear regression of topics on features.
  • Applies a Laplace approximation in a transformed basis to approximate the intractable posterior over latent Gaussian variables, enabling efficient variational inference.
  • Casts the model as a hybrid of LDA and Gaussian process latent variable models, linking topic modeling with non-parametric regression.
  • Employs a variational inference framework with iterative optimization of document-level posteriors and hyperparameters, updating kernel hyperparameters every 10 iterations.
  • Uses a rational quadratic kernel and radial basis functions to model temporal and author-based structure in the State of the Union dataset.

Experimental results

Research questions

  • RQ1Can topic models be extended to model non-linear relationships between document metadata and topic distributions?
  • RQ2How can Gaussian process priors be effectively integrated into topic models to model structured metadata such as time, location, or social networks?
  • RQ3What inference method enables efficient approximate posterior computation in a non-conjugate, non-linear topic model with latent Gaussian processes?
  • RQ4How does the performance of the kernel topic model compare to linear models (e.g., DMR) and baseline LDA in terms of perplexity and convergence?
  • RQ5Can the Laplace approximation in the softmax basis provide a computationally efficient and Bayesian alternative to point estimates in topic modeling?

Key findings

  • The kernel topic model achieves a final perplexity score approximately 12% lower than the Dirichlet-multinomial regression (DMR) baseline on the State of The Union dataset, despite similar convergence speed.
  • On the Wikipedia graph dataset, the model shows a temporary increase in perplexity during hyperparameter optimization due to non-word-level updates, but recovers to a better representation afterward.
  • The NIPS dataset results show significant improvement in perplexity after hyperparameter optimization, demonstrating the model’s ability to adapt to complex data structures.
  • The Laplace approximation enables efficient inference and supports full Bayesian uncertainty quantification, replacing point estimates used in prior work.
  • The model’s computational cost is cubic in the number of documents, making it less scalable for very large corpora but highly effective for medium-sized, structured datasets.
  • The kernel model outperforms constant and linear models in all tested datasets, especially when metadata structure is non-linear or complex.

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.