English

Revisiting Topic-Guided Language Models

Computation and Language 2023-12-06 v1 Machine Learning

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.

Keywords

Cite

@article{arxiv.2312.02331,
  title  = {Revisiting Topic-Guided Language Models},
  author = {Carolina Zheng and Keyon Vafa and David M. Blei},
  journal= {arXiv preprint arXiv:2312.02331},
  year   = {2023}
}

Comments

Published in Transactions on Machine Learning Research (TMLR) (12/2023)

R2 v1 2026-06-28T13:41:01.639Z