arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1207.0141cs.DB
收藏

使用MapReduce高效处理k个最近邻连接

Efficient Processing of k Nearest Neighbor Joins using MapReduce

Wei Lu, Yanyan Shen, Su Chen, Beng Chin Ooi

摘要:

k最近邻连接(kNN join)被设计为从数据集S中为另一数据集R中的每个对象找到k个最近邻,是被许多数据采掘应用广泛采用的基本操作。作为k近邻查询和连接操作的组合,kNN连接是一个昂贵的操作。由于数据量不断增加,很难在集中式机器上有效地执行kNN连接。在本文中,我们研究了如何使用MapReduce来执行kNN连接,MapReduce是一个被广泛接受的数据密集型计算机集群应用程序框架。简而言之,映射器将对象聚类成组;归约器分别对每组对象执行kNN连接。我们设计了一个有效的映射机制,利用修剪规则的距离过滤,从而减少了洗牌和计算成本。为了减少洗牌成本,我们提出了两个近似算法,以尽量减少副本的数量。在我们的内部集群上进行的大量实验表明,我们提出的方法是有效的,鲁棒性和可扩展性。

英文摘要:

k nearest neighbor join (kNN join), designed to find k nearest neighbors from a dataset S for every object in another dataset R, is a primitive operation widely adopted by many data mining applications. As a combination of the k nearest neighbor query and the join operation, kNN join is an expensive operation. Given the increasing volume of data, it is difficult to perform a kNN join on a centralized machine efficiently. In this paper, we investigate how to perform kNN join using MapReduce which is a well-accepted framework for data-intensive applications over clusters of computers. In brief, the mappers cluster objects into groups; the reducers perform the kNN join on each group of objects separately. We design an effective mapping mechanism that exploits pruning rules for distance filtering, and hence reduces both the shuffling and computational costs. To reduce the shuffling cost, we propose two approximate algorithms to minimize the number of replicas. Extensive experiments on our in-house cluster demonstrate that our proposed methods are efficient, robust and scalable.

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

↑