arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28832cs.CLcs.AI
收藏

基于Transformer的嵌入在主题连贯性中的比较研究

A comparative study of transformer-based embeddings for topic coherence

Worcester Academy Stanford Online High School(沃斯特学院斯坦福在线高中);Stanford Online High School(斯坦福在线高中);Lexington High School(莱克星顿高中)

Alex Ding, Tarun Rapaka, Willy Rodriguez, Jason Yang

AI总结:

本研究系统比较了七种不同规模的Transformer语言模型(从MiniLM到LLaMA-2)在BERTopic流程中对主题质量的影响,发现模型大小(从2200万到130亿参数)对主题连贯性影响可忽略。

摘要:

主题建模是自然语言处理的一个分支,旨在根据词共现模式将大量文本组织成连贯的组,其中潜在狄利克雷分配仍是最广泛使用和可解释的概率方法之一。自然语言处理的最新进展,特别是基于Transformer的语言模型,提供了改进的文档表示。已知模型大小(以参数数量计)对语言模型在不同预定义任务上的性能有显著影响。在本研究中,我们通过分析七种基于Transformer的语言模型(从小型模型如MiniLM到大型模型如LLaMA-2)在BERTopic流程中对多种语料库的性能,系统地考察了模型大小对主题质量的影响。主题质量使用Röder等人(2015)的连贯性和分歧度指标进行评估。我们的结果表明,模型大小从2200万到130亿参数对主题质量的影响可忽略,表明较小的模型可以达到与较大模型相当的性能。

英文摘要:

Topic modeling is a branch of Natural Language Processing (NLP) that aims to organize large collections of texts into coherent groups according to word co-occurrence patterns, with Latent Dirichlet Allocation (LDA) remaining one of the most widely used and interpretable probabilistic approaches. Recent advances in NLP, particularly transformer-based language models, offer improved document representations. It is also known that the size of the model (in terms of number of parameters) has a significant impact in the performance of the language models on different pre-defined tasks. In this study, we systematically examine the effect of model size on topic quality by analyzing the performances of seven transformer-based language models (from small models such as MiniLM to large ones such as LLaMA-2) in a BERTopic pipeline on a variety of corpora. Topic quality is evaluated using coherence and divergence metrics following R{ö}der et al. (2015). Our results indicate that model size, ranging from 22 million to 13 billion parameters, has a negligible impact on the quality of the topic, suggesting that smaller models can achieve comparable performance to larger models.

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

↑