TopicTag: Automatic Annotation of NMF Topic Models Using Chain of Thought and Prompt Tuning with LLMs
Wanna, Selma, Barron, Ryan, Solovyev, Nick, Eren, Maksim E., Bhattarai, Manish, Rasmussen, Kim, Alexandrov, Boian S.
–arXiv.org Artificial Intelligence
Topic modeling is a technique for organizing and extracting themes from large collections of unstructured text. Non-negative matrix factorization (NMF) is a common unsupervised approach that decomposes a term frequency-inverse document frequency (TF-IDF) matrix to uncover latent topics and segment the dataset accordingly. While useful for highlighting patterns and clustering documents, NMF does not provide explicit topic labels, necessitating subject matter experts (SMEs) to assign labels manually. We present a methodology for automating topic labeling in documents clustered via NMF with automatic model determination (NMFk). By leveraging the output of NMFk and employing prompt engineering, we utilize large language models (LLMs) to generate accurate topic labels. Our case study on over 34,000 scientific abstracts on Knowledge Graphs demonstrates the effectiveness of our method in enhancing knowledge management and document organization.
arXiv.org Artificial Intelligence
Jul-28-2024
- Country:
- North America > United States
- Pennsylvania > Philadelphia County
- Philadelphia (0.04)
- New York > New York County
- New York City (0.05)
- New Mexico > Los Alamos County
- Los Alamos (0.05)
- California > Santa Clara County
- San Jose (0.15)
- Pennsylvania > Philadelphia County
- Europe
- Switzerland (0.04)
- Germany > Berlin (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Asia
- Singapore (0.04)
- Middle East > Jordan (0.04)
- Indonesia > Bali (0.04)
- North America > United States
- Genre:
- Research Report > New Finding (0.47)
- Technology: