Revisiting Topic-Guided Language Models

Carolina Zheng, Keyon Vafa, David M. Blei
12/4/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

A recent line of work in natural language processing has aimed to combine language models and topic models. These topic-guided language models augment neural language models with topic models, unsupervised learning methods that can discover document-level patterns of word use. This paper compares the effectiveness of these methods in a standardized setting. We study four topic-guided language models and two baselines, evaluating the held-out predictive performance of each model on four corpora. Surprisingly, we find that none of these methods outperform a standard LSTM language model baseline, and most fail to learn good topics. Further, we train a probe of the neural language model that shows that the baseline's hidden states already encode topic information. We make public all code used for this study.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zheng2023revisiting,
  title  = {Revisiting Topic-Guided Language Models},
  author = {Carolina Zheng and Keyon Vafa and David M. Blei},
  year   = {2023},
  eprint = {2312.02331},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02331v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02331.svg)](https://codeofpaper.com/paper/2312.02331)

Discussion