LGAICLJul 29, 2024

TopicTag: Automatic Annotation of NMF Topic Models Using Chain of Thought and Prompt Tuning with LLMs

arXiv:2407.19616v17 citationsh-index: 25
Originality Incremental advance
AI Analysis

This addresses the need for subject matter experts to manually label topics in document clustering, offering an automated solution for knowledge management tasks.

The paper tackles the problem of manually labeling topics in NMF topic models by automating the process using large language models (LLMs) with prompt engineering, applied to over 34,000 scientific abstracts on Knowledge Graphs to enhance knowledge management.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes