Large Language Models Offer an Alternative to the Traditional Approach of Topic Modelling

Yida Mu, Chun Dong, Kalina Bontcheva, Xingyi Song
3/24/2024
cs.CL

No official code found. Best implementation: GateNLP/LLMs-for-Topic-Modeling (3 stars, MIT, last commit 2024-05-17).

Abstract

Topic modelling, as a well-established unsupervised technique, has found extensive use in automatically detecting significant topics within a corpus of documents. However, classic topic modelling approaches (e.g., LDA) have certain drawbacks, such as the lack of semantic understanding and the presence of overlapping topics. In this work, we investigate the untapped potential of large language models (LLMs) as an alternative for uncovering the underlying topics within extensive text corpora. To this end, we introduce a framework that prompts LLMs to generate topics from a given set of documents and establish evaluation protocols to assess the clustering efficacy of LLMs. Our findings indicate that LLMs with appropriate prompts can stand out as a viable alternative, capable of generating relevant topic titles and adhering to human guidelines to refine and merge topics. Through in-depth experiments and evaluation, we summarise the advantages and constraints of employing LLMs in topic extraction.

View on arXivView PDF

Code Implementations(1)

MIT

Topic Extraction via LLMs

32PythonOct 23, 20232 years agoMIT

Similar Papers

Cite this paper

@article{mu2024large,
  title  = {Large Language Models Offer an Alternative to the Traditional Approach of Topic Modelling},
  author = {Yida Mu and Chun Dong and Kalina Bontcheva and Xingyi Song},
  year   = {2024},
  eprint = {2403.16248},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.16248v2}
}

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

Discussion