arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1206.1147cs.LGcs.IR
收藏

内存高效的主题建模

Memory-Efficient Topic Modeling

Soochow University(苏州大学);City University of Hong Kong(香港城市大学)

Jia Zeng, Zhi-Qiang Liu, Xiao-Qin Cao

摘要:

潜在狄利克雷分配(LDA)作为最简单的概率主题建模技术之一,在文本挖掘、计算机视觉和计算生物学等领域有着重要的应用。最近的LDA训练算法可以在一个统一的消息传递框架内解释。但是,消息传递需要用大量的内存空间存储以前的消息,随着文档数量或主题数量的线性增加。因此,对于包含大量主题的大规模语料库,高内存使用率往往是主题建模的主要问题。为了降低LDA的空间复杂度,本文提出了一种新的LDA训练算法:微小置信传播(TBP)。TBP的基本思想是将消息传递算法与非负矩阵分解(NMF)算法相结合,将消息更新吸收到消息传递过程中,从而避免存储先前的消息。在四个大型数据集上的实验结果证实,TBP的性能优于甚至优于当前最先进的LDA训练算法,但内存消耗要少得多。TBP可以在海量语料无法容纳计算机内存的情况下进行主题建模,例如,在内存为2GB的普通台式计算机上从7GB的PUBMED语料中提取主题。

英文摘要:

As one of the simplest probabilistic topic modeling techniques, latent Dirichlet allocation (LDA) has found many important applications in text mining, computer vision and computational biology. Recent training algorithms for LDA can be interpreted within a unified message passing framework. However, message passing requires storing previous messages with a large amount of memory space, increasing linearly with the number of documents or the number of topics. Therefore, the high memory usage is often a major problem for topic modeling of massive corpora containing a large number of topics. To reduce the space complexity, we propose a novel algorithm without storing previous messages for training LDA: tiny belief propagation (TBP). The basic idea of TBP relates the message passing algorithms with the non-negative matrix factorization (NMF) algorithms, which absorb the message updating into the message passing process, and thus avoid storing previous messages. Experimental results on four large data sets confirm that TBP performs comparably well or even better than current state-of-the-art training algorithms for LDA but with a much less memory consumption. TBP can do topic modeling when massive corpora cannot fit in the computer memory, for example, extracting thematic topics from 7 GB PUBMED corpora on a common desktop computer with 2GB memory.

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

↑