泊松过程主题模型:整合预训练语言模型的知识
Poisson-Process Topic Model for Integrating Knowledge from Pre-trained Language Models
AI总结:
本文提出基于泊松过程的主题模型,利用预训练语言模型的嵌入信息,改进传统主题建模方法,通过净圆整和核平滑增强,实现更高效的主题估计和收敛性分析。
摘要:
传统上,主题建模是针对词频进行的,而没有考虑词语出现的上下文。近年来,大规模语言模型(LLMs)的进步提供了上下文化的词嵌入,能够捕捉更深层次的词义和词间关系。我们旨在利用这些嵌入来改进主题建模。我们使用预训练的LLM将每个文档转换为词嵌入的序列。然后将该序列建模为泊松点过程,其强度测度表示为K个基础测度的凸组合,每个对应一个主题。为了估计这些主题,我们提出了一种灵活的算法,该算法整合了传统主题建模方法,并通过净圆整处理在前和核平滑处理在后进行增强。该框架的一个优势是它将LLM视为黑盒,无需微调其参数。另一个优势是它能够无缝整合任何传统主题建模方法作为插件模块,而无需修改。假设每个主题是嵌入空间上的β-Holder光滑强度测度,我们建立了我们方法的收敛率。我们还提供了极小大下界,并证明当β≤1时,我们的方法的收敛率与下界一致。此外,我们应用我们的方法到多个数据集上,提供了证据表明它优于传统主题建模方法。
英文摘要:
Topic modeling is traditionally applied to word counts without accounting for the context in which words appear. Recent advancements in large language models (LLMs) offer contextualized word embeddings, which capture deeper meaning and relationships between words. We aim to leverage such embeddings to improve topic modeling. We use a pre-trained LLM to convert each document into a sequence of word embeddings. This sequence is then modeled as a Poisson point process, with its intensity measure expressed as a convex combination of $K$ base measures, each corresponding to a topic. To estimate these topics, we propose a flexible algorithm that integrates traditional topic modeling methods, enhanced by net-rounding applied before and kernel smoothing applied after. One advantage of this framework is that it treats the LLM as a black box, requiring no fine-tuning of its parameters. Another advantage is its ability to seamlessly integrate any traditional topic modeling approach as a plug-in module, without the need for modifications Assuming each topic is a $β$-Hölder smooth intensity measure on the embedded space, we establish the rate of convergence of our method. We also provide a minimax lower bound and show that the rate of our method matches with the lower bound when $β\leq 1$. Additionally, we apply our method to several datasets, providing evidence that it offers an advantage over traditional topic modeling approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。