Topic Specificity: a Descriptive Metric for Algorithm Selection and Finding the Right Number of Topics

Emil Rijcken, Kalliopi Zervanou, Pablo Mosteiro Romero, F.E. Scheepers, Marco Spruit, Uzay Kaymak

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

Topic modeling is a prevalent task for discovering the latent structure of a corpus, identifying a set of topics that represent the underlying themes of the documents. Despite its popularity, issues with its evaluation metric, the coherence score, result in two common challenges: algorithm selection and determining the number of topics. To address these two issues, we propose the topic specificity metric, which captures the relative frequency of topic words in the corpus and is used as a proxy for the specificity of a word. In this work, we formulate the metric firstly. Secondly, we demonstrate that algorithms train topics at different specificity levels. This insight can be used to address algorithm selection as it allows users to distinguish and select algorithms with the desired specificity level. Lastly, we show a strictly positive monotonic correlation between the topic specificity and the number of topics for LDA, FLSA-W, NMF and LSI. This correlation can be used to address the selection of the number of topics, as it allows users to adjust the number of topics to their desired level. Moreover, our descriptive metric provides a new perspective to characterize topic models, allowing them to be understood better.
Original languageEnglish
Article number100082
JournalNatural Language Processing
Volume8
Early online date4 Jun 2024
DOIs
Publication statusPublished - Sept 2024

Keywords

  • Topic modeling
  • Metric
  • algorithm selection

Fingerprint

Dive into the research topics of 'Topic Specificity: a Descriptive Metric for Algorithm Selection and Finding the Right Number of Topics'. Together they form a unique fingerprint.

Cite this