Exploring the Efficacy of Large Language Models in Topic Modelling: A Comparative Analysis

Topic modelling is an important technique in natural language processing, used to discover topics or themes present within a given corpus. This paper investigates the performance of advanced Large Language Models (LLMs) at the task of topic modelling. We have evaluated the performance of LLMs such as BERT, RoBERTa, ALBERT and ELECTRA. Presently, the contribution discusses a paradigm shift from the classic topic modelling using models such as Latent Dirichlet Allocation (LDA) to the state-of-the-art approaches which adopt pre-trained models with the incorporation of contextual embeddings. With such embeddings and advanced tokenization schemes, the work investigates the capability of the models to catch latent semantic structures effectively. Experiments were conducted on the New York Times annotated corpus, where spherical K-means clustering algorithm was applied to project topics into common latent space. We used Normalised Mutual Information Score as our principal metric for evaluation, with BERT language model performing the best, giving a score of 0.45 among other language models; namely ALBERT, RoBERTa and ELECTRA. The results show two very different phenomena: BERT and ALBERT are substantially better in coherence and topic interpretability, while RoBERTa and ELECTRA showed limitations to keep topic coherence. These findings indicate how topic modelling could be improved, with the support of LLMs, to better balance coherence and diversity.

Authors

Institutions

Publication Details

Published
2024-11-21
DOI
https://doi.org/10.1109/delcon64804.2024.10867157
Primary Topic
Computational and Text Analysis Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring the Efficacy of Large Language Models in Topic Modelling: A Comparative Analysis

Nabeel Jamshed, Rais Ahmad, Mohd Umar Khan, Syed Rizvi et al.
Computational and Text Analysis Methods
article

Exploring the Efficacy of Large Language Models in Topic Modelling: A Comparative Analysis

Nabeel Jamshed, Rais Ahmad, Mohd Umar Khan, Syed Rizvi, Tameem Ahmad, Fawwaz Bin Tasneem
article en

Abstract

Topic modelling is an important technique in natural language processing, used to discover topics or themes present within a given corpus. This paper investigates the performance of advanced Large Language Models (LLMs) at the task of topic modelling. We have evaluated the performance of LLMs such as BERT, RoBERTa, ALBERT and ELECTRA. Presently, the contribution discusses a paradigm shift from the classic topic modelling using models such as Latent Dirichlet Allocation (LDA) to the state-of-the-art approaches which adopt pre-trained models with the incorporation of contextual embeddings. With such embeddings and advanced tokenization schemes, the work investigates the capability of the models to catch latent semantic structures effectively. Experiments were conducted on the New York Times annotated corpus, where spherical K-means clustering algorithm was applied to project topics into common latent space. We used Normalised Mutual Information Score as our principal metric for evaluation, with BERT language model performing the best, giving a score of 0.45 among other language models; namely ALBERT, RoBERTa and ELECTRA. The results show two very different phenomena: BERT and ALBERT are substantially better in coherence and topic interpretability, while RoBERTa and ELECTRA showed limitations to keep topic coherence. These findings indicate how topic modelling could be improved, with the support of LLMs, to better balance coherence and diversity.

Aligarh Muslim University (IN)
Quality Education
Openalex Percentile: Top 52%
Computational and Text Analysis Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.