Toward Purpose-oriented Topic Model Evaluation enabled by Large Language Models

Zhiyin Tan, Jennifer D'Souza
9/8/2025
cs.CLcs.AIcs.DL

Official code: zhiyintan/topic-model-LLMjudgment (3 stars, MIT, last commit 2025-10-02).

Abstract

This study presents a framework for automated evaluation of dynamically evolving topic models using Large Language Models (LLMs). Topic modeling is essential for organizing and retrieving scholarly content in digital library systems, helping users navigate complex and evolving knowledge domains. However, widely used automated metrics, such as coherence and diversity, often capture only narrow statistical patterns and fail to explain semantic failures in practice. We introduce a purpose-oriented evaluation framework that employs nine LLM-based metrics spanning four key dimensions of topic quality: lexical validity, intra-topic semantic soundness, inter-topic structural soundness, and document-topic alignment soundness. The framework is validated through adversarial and sampling-based protocols, and is applied across datasets spanning news articles, scholarly publications, and social media posts, as well as multiple topic modeling methods and open-source LLMs. Our analysis shows that LLM-based metrics provide interpretable, robust, and task-relevant assessments, uncovering critical weaknesses in topic models such as redundancy and semantic drift, which are often missed by traditional metrics. These results support the development of scalable, fine-grained evaluation tools for maintaining topic relevance in dynamic datasets. All code and data supporting this work are accessible at https://github.com/zhiyintan/topic-model-LLMjudgment.

View on arXivView PDF

Code Implementations(1)

MIT
31Python, Jupyter NotebookJan 20, 20251 years agoMIT

Similar Papers

Cite this paper

@article{tan2025toward,
  title  = {Toward Purpose-oriented Topic Model Evaluation enabled by Large Language Models},
  author = {Zhiyin Tan and Jennifer D'Souza},
  year   = {2025},
  eprint = {2509.07142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.07142v1}
}

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

Discussion