arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1402.3010cs.IRcs.DC
收藏

全对相似问题的一维和二维并行算法

1-D and 2-D Parallel Algorithms for All-Pairs Similarity Problem

Eray Özkural, Cevdet Aykanat

摘要:

全对相似性问题是指在一组向量中找出所有相似度超过给定阈值的向量对,是数据采掘和信息检索中的计算核心。我们研究了最近的快速顺序算法的并行化。我们提出了有效的1-D和2-D的数据分布策略,保持快速算法中的基本优化。1-D并行算法分配维度或向量,而2-D并行算法以两种方式分配数据。对1-D垂直分布的其他贡献包括用于减少候选者数量的局部修剪策略、递归修剪算法和用于减少不平衡的块处理。并行算法采用OCaml语言编程,使用方便.我们的实验表明,性能取决于数据集,因此各种并行化是有用的。

英文摘要:

All-pairs similarity problem asks to find all vector pairs in a set of vectors the similarities of which surpass a given similarity threshold, and it is a computational kernel in data mining and information retrieval for several tasks. We investigate the parallelization of a recent fast sequential algorithm. We propose effective 1-D and 2-D data distribution strategies that preserve the essential optimizations in the fast algorithm. 1-D parallel algorithms distribute either dimensions or vectors, whereas the 2-D parallel algorithm distributes data both ways. Additional contributions to the 1-D vertical distribution include a local pruning strategy to reduce the number of candidates, a recursive pruning algorithm, and block processing to reduce imbalance. The parallel algorithms were programmed in OCaml which affords much convenience. Our experiments indicate that the performance depends on the dataset, therefore a variety of parallelizations is useful.

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

↑