Scalable Parallel Algorithms for Shared Nearest Neighbor Clustering

S. Kumari, Saurabh Maurya, Poonam Goyal, S. Balasubramaniam, Navneet Goyal
{"title":"Scalable Parallel Algorithms for Shared Nearest Neighbor Clustering","authors":"S. Kumari, Saurabh Maurya, Poonam Goyal, S. Balasubramaniam, Navneet Goyal","doi":"10.1109/HiPC.2016.018","DOIUrl":null,"url":null,"abstract":"Clustering is a popular data mining technique which discovers structure in unlabeled data by grouping objects together on the basis of a similarity criterion. Traditional similarity measures lose their meaning as the number of dimensions increases and as a consequence, distance or density based clustering algorithms become less meaningful. Shared Nearest Neighbor (SNN) is a solution to clustering high-dimensional data with the ability to find clusters of varying density. SNN assigns objects to a cluster, which share a large number of their nearest neighbors. However, SNN is compute and memory intensive for data of large size and/or dimensionality. Nearest neighbor queries are responsible for a major proportion of computations in SNN, resulting in lower efficiency for higher value of number of nearest neighbors (k). The main motivation of this work is to improve the efficiency of SNN and to parallelize it so that it can be used for clustering large high-dimensional datasets and for large values of k. Existing SNN algorithms become inefficient in these situations. In this paper, we present a new sequential SNN algorithm, R-SNN, which uses R-tree for executing neighborhood queries efficiently and exploiting spatial locality to minimize memory usage. R-SNN is benchmarked against the best available implementation of SNN and is found up to 77 times faster when tested on various real datasets. R-SNN is parallelized for distributed memory, shared memory, and hybrid systems. Significant speedup and scalability achieved can be attributed to parallelization and good load balancing strategies and also to exploitation of spatial locality. Experimental results demonstrate the same for datasets of varying dimensionality and size. The maximum speedup achieved for shared, distributed, and hybrid models are 427.19 using 48 threads, 394.24 using 32 processes, and 1380.69 on 32 nodes (with each node spawning 4 threads), respectively. Super-linear speedup for some datasets is attributed to optimized neighborhood queries. All the proposed algorithms produce identical clustering results as that of the classical SNN.","PeriodicalId":200751,"journal":{"name":"2016 IEEE 23rd International Conference on High Performance Computing (HiPC)","volume":"199 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE 23rd International Conference on High Performance Computing (HiPC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/HiPC.2016.018","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Clustering is a popular data mining technique which discovers structure in unlabeled data by grouping objects together on the basis of a similarity criterion. Traditional similarity measures lose their meaning as the number of dimensions increases and as a consequence, distance or density based clustering algorithms become less meaningful. Shared Nearest Neighbor (SNN) is a solution to clustering high-dimensional data with the ability to find clusters of varying density. SNN assigns objects to a cluster, which share a large number of their nearest neighbors. However, SNN is compute and memory intensive for data of large size and/or dimensionality. Nearest neighbor queries are responsible for a major proportion of computations in SNN, resulting in lower efficiency for higher value of number of nearest neighbors (k). The main motivation of this work is to improve the efficiency of SNN and to parallelize it so that it can be used for clustering large high-dimensional datasets and for large values of k. Existing SNN algorithms become inefficient in these situations. In this paper, we present a new sequential SNN algorithm, R-SNN, which uses R-tree for executing neighborhood queries efficiently and exploiting spatial locality to minimize memory usage. R-SNN is benchmarked against the best available implementation of SNN and is found up to 77 times faster when tested on various real datasets. R-SNN is parallelized for distributed memory, shared memory, and hybrid systems. Significant speedup and scalability achieved can be attributed to parallelization and good load balancing strategies and also to exploitation of spatial locality. Experimental results demonstrate the same for datasets of varying dimensionality and size. The maximum speedup achieved for shared, distributed, and hybrid models are 427.19 using 48 threads, 394.24 using 32 processes, and 1380.69 on 32 nodes (with each node spawning 4 threads), respectively. Super-linear speedup for some datasets is attributed to optimized neighborhood queries. All the proposed algorithms produce identical clustering results as that of the classical SNN.
共享最近邻聚类的可扩展并行算法
聚类是一种流行的数据挖掘技术,它根据相似性标准将对象分组在一起,从而发现未标记数据中的结构。传统的相似性度量随着维数的增加而失去意义,因此,基于距离或密度的聚类算法变得不那么有意义。共享最近邻(SNN)是一种聚类高维数据的解决方案,能够找到不同密度的聚类。SNN将对象分配给一个集群,这些集群共享大量最近的邻居。然而,SNN对于大尺寸和/或维度的数据来说是计算和内存密集型的。在SNN中,最近邻查询占了很大的计算比例,导致最近邻数量(k)的值越大,效率越低。这项工作的主要动机是提高SNN的效率并使其并行化,以便它可以用于聚类大型高维数据集和大k值。现有的SNN算法在这些情况下效率低下。本文提出了一种新的序列SNN算法R-SNN,该算法利用R-tree来高效地执行邻域查询,并利用空间局部性来最小化内存使用。R-SNN是针对SNN的最佳实现进行基准测试的,在各种真实数据集上进行测试时,发现速度快了77倍。R-SNN在分布式内存、共享内存和混合系统中是并行的。实现显著的加速和可伸缩性可归因于并行化和良好的负载平衡策略以及对空间局部性的利用。实验结果表明,对于不同维数和大小的数据集也是如此。共享、分布式和混合模型实现的最大加速分别是427.19(使用48个线程)、394.24(使用32个进程)和1380.69(每个节点产生4个线程)。一些数据集的超线性加速归因于优化的邻域查询。所有算法的聚类结果与经典SNN的聚类结果相同。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书