arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1711.07227cs.IRcs.DCcs.DS
收藏

线性复杂度松弛词移动距离的GPU加速算法

Linear-Complexity Relaxed Word Mover's Distance with GPU Acceleration

Kubilay Atasu, Thomas Parnell, Celestine Dünner, Manolis Sifalakis, Haralampos Pozidis, Vasileios Vasileiadis, Michail Vlachos, Cesar Berrospi, Abdel Labbi

摘要:

基于非结构化文本的数据量每天都在增长。查询、聚类和分类这些大数据需要在大量文档中进行相似性计算。虽然低复杂度的相似性度量是可用的,但注意力已经转向实现更高准确度的更复杂的方法。特别是,Kusner等人提出的词移动器距离(WMD)方法是一种很有前途的新方法,但其时间复杂度随着文档中唯一词的数量呈三次方增长。由Kusner等人再次提出的放松词移动者距离(RWMD)方法,将时间复杂度从二次型降低到二次型,并且与WMD相比导致有限的精度损失。我们的工作有助于一个低复杂度的RWMD的实现,降低了平均时间复杂度线性操作时,对大型文件集。我们的线性复杂度RWMD实现,以下简称为LC-RWMD,可以很好地映射到GPU上,并且可以有效地分布在GPU集群中。我们在真实数据集上的实验表明:1)相对于我们基于GPU的二次RWMD分布式实现,性能提高了两个数量级; 2)相对于我们使用基于GPU的RWMD进行修剪的分布式WMD实现,性能提高了三到四个数量级。

英文摘要:

The amount of unstructured text-based data is growing every day. Querying, clustering, and classifying this big data requires similarity computations across large sets of documents. Whereas low-complexity similarity metrics are available, attention has been shifting towards more complex methods that achieve a higher accuracy. In particular, the Word Mover's Distance (WMD) method proposed by Kusner et al. is a promising new approach, but its time complexity grows cubically with the number of unique words in the documents. The Relaxed Word Mover's Distance (RWMD) method, again proposed by Kusner et al., reduces the time complexity from qubic to quadratic and results in a limited loss in accuracy compared with WMD. Our work contributes a low-complexity implementation of the RWMD that reduces the average time complexity to linear when operating on large sets of documents. Our linear-complexity RWMD implementation, henceforth referred to as LC-RWMD, maps well onto GPUs and can be efficiently distributed across a cluster of GPUs. Our experiments on real-life datasets demonstrate 1) a performance improvement of two orders of magnitude with respect to our GPU-based distributed implementation of the quadratic RWMD, and 2) a performance improvement of three to four orders of magnitude with respect to our distributed WMD implementation that uses GPU-based RWMD for pruning.

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

↑