arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.01190cs.DScs.DBcs.DCcs.IRcs.PF
收藏

FLASH:基于CPU-GPU的超高维相似搜索随机算法

FLASH: Randomized Algorithms Accelerated over CPU-GPU for Ultra-High Dimensional Similarity Search

Yiqiu Wang, Anshumali Shrivastava, Jonathan Wang, Junghee Ryu

摘要:

我们提出了FLASH(\textbf{F} ast \textbf{L} SH \textbf{A} lsm for \textbf{S} imilarity search accelerated with \textbf{H} PC),一个在单机上的超高维数据集的相似性搜索系统,它不需要相似性计算,是为高性能计算平台量身定制的。通过利用LSH风格的随机化索引过程,并将其与几种原则性技术相结合,如水库采样,最新进展的一次通过minwise散列,基于计数的估计,我们降低了相似性搜索的计算和并行化成本,同时保留了良好的理论保证。我们评估FLASH上的几个真正的,高维的数据集,从不同的领域,包括文本,恶意URL,点击预测,社交网络等,我们的实验揭示了新的光与数据集具有数百万个维度的困难。当前最先进的实现要么在所呈现的规模上失败,要么比闪存慢几个数量级。FLASH能够在不到10秒的时间内从零开始计算整个垃圾邮件数据集(13亿个非零值)的近似k-NN图。使用蛮力($n^2D$)在不到10秒的时间内在webspam数据集上计算一个完整的k-NN图,将需要至少20 teraflops。我们提供闪存的CPU和GPU实现,以实现结果的可复制性。

英文摘要:

We present FLASH (\textbf{F}ast \textbf{L}SH \textbf{A}lgorithm for \textbf{S}imilarity search accelerated with \textbf{H}PC), a similarity search system for ultra-high dimensional datasets on a single machine, that does not require similarity computations and is tailored for high-performance computing platforms. By leveraging a LSH style randomized indexing procedure and combining it with several principled techniques, such as reservoir sampling, recent advances in one-pass minwise hashing, and count based estimations, we reduce the computational and parallelization costs of similarity search, while retaining sound theoretical guarantees. We evaluate FLASH on several real, high-dimensional datasets from different domains, including text, malicious URL, click-through prediction, social networks, etc. Our experiments shed new light on the difficulties associated with datasets having several million dimensions. Current state-of-the-art implementations either fail on the presented scale or are orders of magnitude slower than FLASH. FLASH is capable of computing an approximate k-NN graph, from scratch, over the full webspam dataset (1.3 billion nonzeros) in less than 10 seconds. Computing a full k-NN graph in less than 10 seconds on the webspam dataset, using brute-force ($n^2D$), will require at least 20 teraflops. We provide CPU and GPU implementations of FLASH for replicability of our results.

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

↑