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

一种通过词嵌入进行主题建模的流程

A Process for Topic Modelling Via Word Embeddings

Diego Saldaña Ulloa

AI总结:

本文提出结合BERT词嵌入、UMAP降维与K-Means聚类的无监督主题建模流程,并通过TF-IDF、主题多样性和一致性验证其有效性。

摘要:

这项工作结合了基于词嵌入、降维和聚类的算法。目标是从一组未分类文本中获取主题。用于获取词嵌入的算法是BERT模型,这是一种广泛用于NLP任务的神经网络架构。由于维度较高,本文采用一种名为UMAP的降维技术。该方法能够在降低维度的同时,保留原始数据的部分局部和全局信息。K-Means被用作聚类算法以获取主题。随后,使用TF-IDF统计量、Topic Diversity(主题多样性)和Topic Coherence(主题一致性)对主题进行评估,以理解聚类中词语的含义。该流程的结果显示出良好的数值,因此该流程的主题建模是对无标签文本进行分类或聚类的一种可行选择。

英文摘要:

This work combines algorithms based on word embeddings, dimensionality reduction, and clustering. The objective is to obtain topics from a set of unclassified texts. The algorithm to obtain the word embeddings is the BERT model, a neural network architecture widely used in NLP tasks. Due to the high dimensionality, a dimensionality reduction technique called UMAP is used. This method manages to reduce the dimensions while preserving part of the local and global information of the original data. K-Means is used as the clustering algorithm to obtain the topics. Then, the topics are evaluated using the TF-IDF statistics, Topic Diversity, and Topic Coherence to get the meaning of the words on the clusters. The results of the process show good values, so the topic modeling of this process is a viable option for classifying or clustering texts without labels.

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

↑