LLM Reading Tea Leaves: Automatically Evaluating Topic Models with Large Language Models

Xiaohao Yang, He Zhao, Dinh Phung, Wray Buntine, Lan Du
6/13/2024
cs.CL

Official code: Xiaohao-Yang/Topic_Model_Evaluation (12 stars, Apache-2.0, last commit 2025-01-14).

Abstract

Topic modeling has been a widely used tool for unsupervised text analysis. However, comprehensive evaluations of a topic model remain challenging. Existing evaluation methods are either less comparable across different models (e.g., perplexity) or focus on only one specific aspect of a model (e.g., topic quality or document representation quality) at a time, which is insufficient to reflect the overall model performance. In this paper, we propose WALM (Word Agreement with Language Model), a new evaluation method for topic modeling that considers the semantic quality of document representations and topics in a joint manner, leveraging the power of Large Language Models (LLMs). With extensive experiments involving different types of topic models, WALM is shown to align with human judgment and can serve as a complementary evaluation method to the existing ones, bringing a new perspective to topic modeling. Our software package is available at https://github.com/Xiaohao-Yang/Topic_Model_Evaluation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[TACL 2025] LLM Reading Tea Leaves: Automatically Evaluating Topic Models with Large Language Models

121Python, Jupyter NotebookApr 7, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{yang2024reading,
  title  = {LLM Reading Tea Leaves: Automatically Evaluating Topic Models with Large Language Models},
  author = {Xiaohao Yang and He Zhao and Dinh Phung and Wray Buntine and Lan Du},
  year   = {2024},
  eprint = {2406.09008},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.09008v2}
}

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/2406.09008.svg)](https://codeofpaper.com/paper/2406.09008)

Discussion