arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19616cs.LGcs.AIcs.CL
收藏

TopicTag:使用思维链和LLM提示微调对NMF主题模型进行自动标注

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

Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室);Advanced Research in Cyber Systems(网络系统高级研究中心);Theoretical Division(理论部)

Selma Wanna, Ryan Barron, Nick Solovyev, Maksim E. Eren, Manish Bhattarai, Kim Rasmussen, Boian S. Alexandrov

AI总结:

本文提出TopicTag方法,利用NMFk输出和提示工程驱动LLMs,自动为NMF聚类文档生成主题标签,在3.4万篇摘要上验证了其有效性。

摘要:

主题建模是一种从大量非结构化文本集合中组织和提取主题的技术。非负矩阵分解(NMF)是一种常见的无监督方法,它分解词频-逆文档频率(TF-IDF)矩阵以发现潜在主题并据此对数据集进行划分。尽管NMF在突出模式和聚类文档方面很有用,但它不提供显式的主题标签,需要主题专家(SMEs)手动分配标签。我们提出了一种方法,用于对通过带自动模型确定的NMF(NMFk)聚类的文档进行主题标注的自动化。通过利用NMFk的输出并采用提示工程,我们利用大型语言模型(LLMs)生成准确的主题标签。我们在超过34,000篇关于知识图谱的科学摘要上的案例研究证明了我们的方法在增强知识管理和文档组织方面的有效性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑